mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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