There is no error reported. I just have the usual serializer call with the
object.GetType() in the first parameter and the extra types for the array of
objects , it works fine in the inline but as a generalized method its not
serializing the array of types.
I am passing in to the generaliezd one as generalSerializer(object o,
Type[] t) and passing in o.GetType(), and t[0] = someType.GetType(); I
even tried typeof(blah.blah) and same result.
Can you provide a simple repro that shows this?
Thanks.
Matt Tavis
Program Manager
XML Web Services
Microsoft Corporation
--------------------
>>From: <discussion@discussion.microsoft.com>
>>References: <#HMUUi4pDHA.2404@TK2MSFTNGP12.phx.gbl>
<OswMXR5pDHA.1928@TK2MSFTNGP12.phx.gbl>
>>Subject: Re: XmlSerializer.Serialize
>>Date: Mon, 10 Nov 2003 15:22:57 +0100
[quoted text clipped - 5 lines]
>>Message-ID: <ehNrCW5pDHA.3180@TK2MSFTNGP11.phx.gbl>
>>Newsgroups:
microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.clr,micr
osoft.public.dotnet.general,microsoft.public.dotnet.languages.csharp,microso
ft.public.vsnet.debugging
>>NNTP-Posting-Host: h97n3c1o1031.bredband.skanova.com 213.65.34.97
>>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
>>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.clr:8664
microsoft.public.dotnet.general:115123
microsoft.public.dotnet.languages.csharp:198033
microsoft.public.vsnet.debugging:4106
microsoft.public.dotnet.framework:58428
>>X-Tomcat-NG: microsoft.public.dotnet.framework.clr
>>
[quoted text clipped - 31 lines]
>>> >
>>> > Is this odd behaviour of the Serializer?