name.
* MapCodeGenerator.cs: Ensure fields that back properties are unique.
* XmlSerializationReaderTests.cs: Marked HandleOutAttributeParameters
test as NotDotNet on 1.0 profile.
* XmlCodeExporterTests.cs: Improved test for duplicate identifiers.
Fixed ExportTypeMapping_Root and ExportTypeMapping_Field tests to
pass on .NET 2.0.
svn path=/trunk/mcs/; revision=99345
* MapCodeGenerator.cs : found the true culprit for the previous
attempt to the fix.
* XmlCodeExporterTests.cs : enable the previous test again.
svn path=/trunk/mcs/; revision=88365
* MapCodeGenerator.cs, XmlSchemaImporter.cs: revert the previous
change; the type is included in the output, but it should not be
the base type.
* XmlCodeExporterTests.cs : disable the previous test; it's reverted.
svn path=/trunk/mcs/; revision=88364
* MapCodeGenerator.cs, XmlSchemaImporter.cs: when a complexType has
simple content extension/restriction and the simple base type is
schema-defined, it must be written in exported code. Fixed (part
of?) bug #336739.
* XmlCodeExporterTests.cs : added test for (part of?) bug #336739,
base simple content enum type output.
svn path=/trunk/mcs/; revision=88363
* MapCodeGenerator.cs : avoid possible duplicates in generated field
names. Fixed bug #82078.
* XmlCodeExporterTests.cs : test for bug #82078.
* 82078.xsd : new test file.
* Makefile : extra distfiles (82078.xsd).
svn path=/trunk/mcs/; revision=84531
XmlRootAttribute in tests.
* XmlCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods that specifies whether we're dealing with a type
for a top-level element. In GenerateClass, do not always add Namespace
argument for XmlRootAttribute if isTopLevel is false, and do not
emit XmlRootAttribute if isTopLevel is false and no arguments have been
added.
* SoapCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods.
* MapCodeGenerator.cs: Added bool argument to GenerateClass and
GenerateEnum methods.
svn path=/trunk/mcs/; revision=60710
* XmlSchemaImporterTests.cs: Fixed EnumSimpleContent test to pass
on MS.NET 2.0.
* XmlCodeExporter.cs: On 2.0 profile, CodeGenerationOptions defaults to
GenerateProperties. Use full type name for XML serialization attributes
instead of shortcut (without Attribute suffix). Always add Namespace
argument for XmlRootAttribute on classes. Added IsNullable argument for
XmlRootRootAttribute on classes. For attribute members, only output
Form argument for XmlSchemaForm.Qualified. Use MapCodeGenerator base
ctor that takes CodeGenerationOptions.
* SoapCodeExporter.cs: Use MapCodeGenerator base ctor that takes
CodeGenerationOptions.
* MapCodeGenerator.cs: Added CodeGenerationOptions to ctor. On 2.0
profile, emit GeneratedCodeAttribute, SerializableAttribute,
DebuggerStepThroughAttribute and DesignerCategoryAttribute for classes.
To match MS.NET, emit attribute members before element members.
* XmlReflectionImporter.cs: Enums are never nullable.
* XmlSchemaImporter.cs: Set IsNullable on map using value of
XmlSchemaElement.IsNillable. Added LocateElement overload that takes
XmlSchemaElement.
svn path=/trunk/mcs/; revision=59768