[Mono-dev] [PATCH] NET_2_0 Serialization Callbacks

Robert Jordan robertj at gmx.net
Tue Jun 6 20:45:55 EDT 2006


I've attached the patches to this bug:


The code could be used for 1.1 as well (the 1.1 support
is commented out). However, as Lluis wrote, the
formatters must cope with these changes. Ours do, but
custom formatters do not.

There is an unsolved issue with the callbacks:

MS.NET's Type Loader does not load a type which has
more than one method marked with the same attribute:

The sample

class T
	void A (StreamingContext ctx)

	void B (StreamingContext ctx)

leads to a TypeLoadException. The loader also checks whether
the method has the proper signature.

Where do we implement this?


More information about the Mono-devel-list mailing list