[Mono-dev] Type.cs patch wrt serializability
Atsushi Eno
atsushi at ximian.com
Tue Nov 8 03:42:30 EST 2005
Hello,
Here is a patch for Type.cs to not add SerializableAttribute for
Serializable type (the code affects only on 2.0 profile). Currently
all enums and delegates are automatically added this attribute.
I guess it used to do that, does not seem to apply to in 2.0 RTM.
The attached test should print
True[CR]False[CR]System.MonoTODOAttribute (no SerializableAttribute).
Is there still any reason we need SerializableAttribute there?
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: do-not-add-serializable.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051108/27083f2a/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051108/27083f2a/attachment-0001.pl
More information about the Mono-devel-list
mailing list