Jonathan Gagnon wrote:
> Lately, I started using the OnDeserialized event to do some stuff after an
> object is deserialized.  It works fine when I compile it on my machine,
> unfortunately, when compiled on our build machine, I get the following error
> when deserializing my object with mono :
>  
> System.NotSupportedException: Collection is read-only
>   at System.Array.InternalArray__RemoveAt[Object] (Int32 index) [0x00000] in
> /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/corlib/System/Array.cs:131

OnDeserialized was not supported in 1.2.3.1. Please update to the
latest Mono 1.2.5.1.

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to