Visitar URL original
Best effort serialization by BadSingleton · Pull Request #1892 · pythonnet/pythonnet · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Last line of defense, best effort serialization
This commit adds a "last line of defense, best effort serialization"
to serialize types not marked as Serializable. Such objects are
deserialized as derived classes with all methods and properties
overriden to throw a "Not Serialized" Exception.
Fields are not initialized and may be null.

Sealed classes and implemented interface methods are still a problem to
be solved.
  • Loading branch information
BadSingleton committed Jul 29, 2022
commit 61e1ede339b9e1b8d859dd2aa08c6d2b1af12c27
Loading