[Mono-devel-list] Status of XML code

Miguel de Icaza miguel at ximian.com
Tue May 27 10:58:40 EDT 2003


Hello,

> - However the method XmlSerializer.Serialize seems to be missing.  I get an error "error
> CS8006: Could not find any applicable function for this argument list" when I try to
> compile:
>     Serialize lSerial;
> <snip>
>     XmlSerializer lSerializer = new XmlSerializer(typeof(Serialize));
>     lSerializer.Serialize(lSerial);   << Error on this line.
> [N.B. I am running the Windows version.]

You need to pass an XmlWriter or a stream, not a "Serialize" object.

That being said, the current XmlSerializer is known to have plenty of
architectural limitations, so we have started an effort to rewrite it. 
CVS contains the new architected version, but it wont be finished for a
few weeks.

Miguel



More information about the Mono-devel-list mailing list