{V}Specified is a property or field and ShouldSerialize{V} is a method that can be set to false if we do not want to serialize an attribute with name {V}.
XmlSerializerTests was mostly testing XmlSerializationReaderInterpreter and XmlSerializationWriterInterpreter.
XmlSerializerGeneratorTests forces the usage of SerializationCodeGenerator while running XmlSerializerTests.
* XmlReflectionImporter.cs, SerializationCodeGenerator.cs,
XmlSerializationWriterInterpreter.cs: XmlAnyElementAttribute can be
still used for non-XmlNode (object) array. It only fails when it
tries to serialize non-XmlNode object at run-time.
Fixed bug #553032.
* XmlSerializerTests.cs : added test for bug #553032.
svn path=/trunk/mcs/; revision=150197
* SerializationCodeGenerator.cs : enum value identifiers should be
escaped with '@'. Fixed bug #566370.
* XmlSerializerTests.cs : added test for #566370.
svn path=/trunk/mcs/; revision=149104
* SerializationCodeGenerator.cs
XmlSerializationWriterInterpreter.cs : fixed bug #419973.
Sometimes implicit operators could involve and it affects on
typecasting. It's simple for code generator, but very bad for
reflection.
* XmlSerializerTestClasses.cs, XmlSerializerTests.cs:
added test for bug #419973.
svn path=/trunk/mcs/; revision=112103
* XmlTypeMapping.cs : .NET 2.0 has a weird behavior that swallows
exception from IXmlSerializable.GetSchema().
* XmlSerializerTestClasses.cs, XmlSerializerTests.cs : added test
for IXmlSerializable serialization whose GetSchema() borks.
svn path=/trunk/mcs/; revision=100415
* TypeTranslator.cs : for duration, rather use primitiveTypes than
nameCache, and hence TimeSpan could be serialized just as custom
type. Fixed bug #338705.
* XmlSerializerTests.cs : added test for bug #338705.
svn path=/trunk/mcs/; revision=88729
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
not Parse(). Use 'K' for roundtrip format.
* XmlCustomFormatter.cs : use RoundtripKind when converting to and
from DateTime.
* XmlConvertTest.cs : added test for DateTime roundtrip.
* XmlSerializerTests.cs : added test for bug #337729.
svn path=/trunk/mcs/; revision=88448
* TypeTranslator.cs, XmlCustomFormatter.cs : looks like duration is
serialized to System.String, not TimeSpan. Fixed bug #336625.
* XmlSerializerTests.cs : added test for DataType in [XmlElement].
svn path=/trunk/mcs/; revision=88247
* XmlSerializerTests.cs : added deserialization test for
XmlSchemaProviderAttribute use.
* XmlReflectionImporterTests.cs : added test for conclict resolution
between defaultNamespace and XmlSchemaProvider() namespace.
* XmlSchemaExporterTests.cs : use Infoset() comparison.
* XmlTypeMapping.cs : Namespace and XmlTypeNamespace could be
different when an explicit namespace is specified (e.g. at
XmlReflectionImporter.ctor).
* SerializationCodeGenerator.cs,
XmlSerializationWriterInterpreter.cs :
revert XmlTypeMapping.XmlTypeNamsepace usage. Now with the fix
above, original code should work fine.
svn path=/trunk/mcs/; revision=86346
* XmlTypeMapping.cs, XmlSerializationWriterInterpreter.cs,
SerializationCodeGenerator.cs :
More XmlSchemaProviderAttribute method check. Use QName returned
by the method for the output root name.
* XmlSerializerTests.cs, XmlReflectionImporterTests.cs :
added tests for XmlSchemaProviderAttribute and how its qname works.
svn path=/trunk/mcs/; revision=86340
* XmlSerializationWriterInterpreter.cs : looks like XmlNode[]
serialization is a complicated mess. bug #81539.
* XmlSerializerTests.cs : test for #81539.
Sigh, why no one added tests.
svn path=/trunk/mcs/; revision=82708
* XmlConvert.cs : in 2.0, use F instead of f in dateTime formatting.
* XmlCustomFormatter.cs :
in 2.0, use F instead of f for dateTime formatting.
* XmlSerializationWriterTests.cs, XmlSerializerTests.cs :
fixed wrong dateTime formatting tests.
svn path=/trunk/mcs/; revision=76268
* XmlCustomFormatter.cs : ditto for reader method generation.
* SerializationCodeGenerator.cs : for generic nullable values it
needs to store ReadNullableString() result to a temporary variable.
* XmlSerializerTests.cs : another case on #80759 from gert.
svn path=/trunk/mcs/; revision=76160
* TypeData.cs, XmlCustomFormatter.cs : generic nullable values did
not fit with non-nullable formatting. Fixed#80759 regression.
* XmlSerializerTests.cs :
added missing test from 80759, and marked similar but different one
from the same bug as not working.
svn path=/trunk/mcs/; revision=76099
* XmlSerializationWriter.cs : WriteTypedPrimitive() does not support
XmlNode arrays.
* XmlSerializationWriterInterpreter.cs,
SerializationCodeGenerator.cs : so they have to be handled here.
* XmlSerializerTests.cs : added some XmlNode array/list tests.
* XmlSerializationWriterTests.cs : removed more NotWorking. Added
WriteTypedPrimitive() error test for XmlNode.
svn path=/trunk/mcs/; revision=72448
* TypeData.cs : reject generic type definitions.
* TypeTranslator.cs : Make generic type names in XML compatible with
.net: foo_x0060_1 -> fooOfString.
* XmlSerializerTests.cs : most of generic tests are working now.
* XmlReflectionImporterTests.cs : test for rejecting generic type
definition.
svn path=/trunk/mcs/; revision=71001
* SerializationCodeGenerator.cs, XmlCustomFormatter.cs :
GenerateToXmlString() needed hexBinary support as well. Since
XmlConvert.[To|From]BinHexString() are internal, use reflection.
Really fixed bug #79989 and #79990 for generated serializers.
* XmlSerializerTests.cs :
added base64 tests which is similar to hexBinary.
svn path=/trunk/mcs/; revision=68927
* XmlSerializerTests.cs : added tests for serialization of generic types.
* DeserializeTests.cs : added tests for deserialization of generic types.
* XmlSerializerTestClasses.cs : added classes for tests which use generic types.
svn path=/trunk/mcs/; revision=68886
* XmlReflectionImporter.cs : implemented several missing check and
support for XmlArrayAttribute. Fixed bug #78042.
* XmlSerializerTests.cs : added tests for XmlArrayAttribute support.
svn path=/trunk/mcs/; revision=68792