summaryrefslogtreecommitdiff
path: root/src/vm/genmeth.cpp
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2017-05-31 02:16:32 +0200
committerDan Moseley <danmose@microsoft.com>2017-05-30 17:16:32 -0700
commit48d5a81782370f45cb06231ffa707147c6c79fc5 (patch)
tree47ee70013f50ff89112ab9bb33fa0eac74546091 /src/vm/genmeth.cpp
parente368c0903d0f4952ac8c4676e24d7d86b906b632 (diff)
downloadcoreclr-48d5a81782370f45cb06231ffa707147c6c79fc5.tar.gz
coreclr-48d5a81782370f45cb06231ffa707147c6c79fc5.tar.bz2
coreclr-48d5a81782370f45cb06231ffa707147c6c79fc5.zip
Coretype variables renamed back to netfx counterpart for reflection based serialization (#11910)
* Variables renamed for reflection based serialization * Make EqualityComparers serialize like desktop * add missing interfaces * TimeZone serializable added * Internal hashtable serializable * Removed TimeZone as serializable type * Remove Lazy<T>'s [Serializable] attribute for 2.0 For performance, Lazy was completely rewritten for .NET Core 2.0 and has an entirely different format than desktop; trying to get it to match the desktop serialization format would require either reverting or providing a complicated custom serialization/deserialization implementation to try to match. Lazy can also wrap an Exception that occurred from trying to instantiate the object, and the only exception types that are serializable as of now in core are the base Exception and AggregateException. As such, we're cutting it from the list of supported types in 2.0. An easy workaround is simply to do what the implementation does: serialize lazy.Value instead of lazy. * tiny fixes to equalitycomparer.cs
Diffstat (limited to 'src/vm/genmeth.cpp')
0 files changed, 0 insertions, 0 deletions