Commit Graph
18 Commits
Author SHA1 Message Date
Lluis Sanchez 4a8e55bf69 Fix serialization issue
Fixes BXC 5667 - SerializationException: The object with ID 1 could
not be resolved
2014-02-06 22:01:14 +01:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Robert Jordan 9cadcf198f 2006-10-30 Robert Jordan <[email protected]>
* Apply ComVisibleAttribute.


svn path=/trunk/mcs/; revision=67118
2006-10-30 00:35:56 +00:00
Robert Jordan 6c3340f05c 2006-10-29 Robert Jordan <[email protected]>
* ObjectManager.cs: Add NET_2_0 serialization callbacks.


svn path=/trunk/mcs/; revision=67107
2006-10-29 20:30:10 +00:00
Robert Jordan fd24a48b6e Normalize EOL style to CRLF (least changes).
svn path=/trunk/mcs/; revision=67088
2006-10-29 15:59:14 +00:00
Lluis Sanchez 0d899fd4d7 2006-08-06 Lluis Sanchez Gual <[email protected]>
* ObjectManager.cs: Add support for nested IObjectReference.
	Fixes bug #78749.


svn path=/trunk/mcs/; revision=64997
2006-09-06 12:01:03 +00:00
Raja R Harinath cad45543c8 * ObjectManager.cs (ObjectRecord.IsInstanceReady): Fix regression
introduced in previous patch.  See the re-opened bug #76931.

svn path=/trunk/mcs/; revision=55052
2006-01-04 15:18:39 +00:00
Raja R Harinath 7e877a1546 Make line-ending uniform
svn path=/trunk/mcs/; revision=54688
2005-12-21 10:41:07 +00:00
Martin Baulig 4c590bcbe3 2005-12-15 Martin Baulig <[email protected]>
* 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
2005-12-15 15:39:31 +00:00
Lluis Sanchez 7519af4c16 2004-12-09 Lluis Sanchez Gual <[email protected]>
* 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
2004-12-09 11:27:17 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Duncan Mak 7e1ce1a201 (RegisterObject): Add checks for ArgumentNullException as well.
r=lluis

svn path=/trunk/mcs/; revision=29138
2004-06-09 22:21:22 +00:00
Duncan Mak 042a130ac1 (RegisterObject): Throw ArgumentOutOfRangeException if the objectID
parameter is less than or equal to zero. This check was missing from
this particular overload.

svn path=/trunk/mcs/; revision=29053
2004-06-08 18:39:04 +00:00
Andreas N c7cb04a69d 2003-11-18 Andreas Nahr <[email protected]>
* ObjectManager.cs: Fixed header, internalized enum
	* Formatter.cs: Implemented

svn path=/trunk/mcs/; revision=20186
2003-11-18 20:03:41 +00:00
Lluis Sanchez a7a4e09ae6 * ObjectManager.cs: Corrected a problem with arrays of structs. Elements where
not correctly updated by the final fixup.

svn path=/trunk/mcs/; revision=11660
2003-02-18 00:51:24 +00:00
Lluis Sanchez 192e07c742 ObjectManager.cs: Corrected a problem with IObjectReferece objects.
svn path=/trunk/mcs/; revision=10963
2003-01-27 20:33:05 +00:00
Martin Baulig 33792aae6e 2003-01-24 Martin Baulig <[email protected]>
* ObjectManager.cs (RaiseDeserializationEvent): Walk the object
	list in the correct order.

svn path=/trunk/mcs/; revision=10872
2003-01-24 16:34:40 +00:00
Lluis Sanchez c3b1984cf2 * ObjectManager.cs: Implemented and added file
* SurrogateSelector.cs: completed implementation.
* SerializationInfo.cs: corrected a bug in GetValue method.
* ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
id for two different instances that return true when calling Equal.

svn path=/trunk/mcs/; revision=10615
2003-01-17 14:18:43 +00:00