* System.Collections/ArrayList.cs:
* System.Collections/Hashtable.cs:
Do not include debugger-related attributes and some interfaces
when compiled outside corlib
* System.Runtime.Serialization/ObjectIDGenerator.cs: Ensure this can be
compiled outside corlib (needed for ML S.X.S.dll where even internals
cannot be used)
Storing the objects in Hashtable causes the GetHashCode() and may be
Equals() methods to be called on the object, which MS does not do.
I'm using a list holding WeakReferences. Not sure if hard references
would be ok.
Fixes bug #640688.
* moonlight_raw_corlib.dll.sources: Fix Moonlight since these
types now reside in mscorlib (not System.Coe) for NET_4_0 and
also for SL4
2010-03-26 Sebastien Pouliot <[email protected]>
* moonlight_raw_corlib.dll.sources: Add MonoAssembly to ML build
since it contains parts of the Assembly features (partial class)
svn path=/trunk/mcs/; revision=154531
* SerializationCallbacks.cs: This lock has a high contention rate
on ASP.NET web sites, with multiple cores we end up spending a lot
of time on this check.
Rewrite this code to have two code paths since we know that the
cache is append-only.
svn path=/trunk/mcs/; revision=103852
* DirectoryInfo.cs (GetFiles): Implement option with SearchOptions
== AllDirectories
And a lot of MonoTODOs updated as well
svn path=/trunk/mcs/; revision=67998
* Added ComVisibleAttribute in the ISerializable,
ISerializationSurrogate and ISurrogateSelector interface.
* Added the sealed keyword to the OnDeserializedAttribute,
OnDeserializingAttribute, OnSerializedAttribute,
OnSerializingAttribute and OptionalFieldAttribute class.
svn path=/trunk/mcs/; revision=67733
* SerializationObjectManager.cs,
SerializationCallbacks.cs: Add support for NET_2_0 serialization
events. See bug #78594.
svn path=/trunk/mcs/; revision=67105
* OptionalFieldAttribute.cs, OnSerializedAttribute.cs,
OnSerializingAttribute.cs, OnDeserializedAttribute.cs,
OnDeserializingAttribute.cs: Added a few attributes for the
version tolerant serialization.
svn path=/trunk/mcs/; revision=61447
* ObjectManager.cs: When deserializing an object that has a
surrogate, actually check the return value of
ISerializationSurrogate.SetObjectData(); fixes#76931.
svn path=/trunk/mcs/; revision=54464
* SerializationInfo.cs: Use IsInstanceOfType instead of IsAssignableFrom
since GetType() may not return the correct type if the object is
a remoting proxy.
svn path=/trunk/mcs/; revision=44635
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)
svn path=/trunk/mcs/; revision=44558
* FormatterServices.cs: In GetSerializableMembers, private fields
from base classes must include the class name in the field name.
In this case, it now creates a clone of the field with the
modified name. This patch together with r44260 fixes bug #74760.
svn path=/trunk/mcs/; revision=44267
* ObjectManager.cs: When deserializing an object that implements
ISerializable, check if a surrogate exists for that object, before
trying to deserialize it as ISerializable. This fixes bug #70104.
svn path=/trunk/mcs/; revision=37479
IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
from the newly added ArrayList in SerializationInfo.
* SerializationInfo.cs: Added an extra ArrayList so that we can
keep the SerializationEntrys added in the order.
(SerializationInfo, AddValue): Throw ArgumentNullException
correctly.
svn path=/trunk/mcs/; revision=29118