mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* SoapCodeExporter.cs:
Fix return value of ExportTypeMapping.
* XmlCustomFormatter.cs:
Change methods to be internal instead of public.
* XmlSerializationWriter.cs:
Modify GetPrimitiveTypeName to build on linux.
Modify GetQualifiedName to return an incrementing prefix
instead of the same one all the time (still need to manage
conflicts)
Modify WriteElementString to only do special stuff is XsiType
is not defined.
Modify WriteTypedPrimitive to use FromXmlQualifiedName if it's
an XmlQualifiedName.
svn path=/trunk/mcs/; revision=7023
76 lines
1.6 KiB
C#
76 lines
1.6 KiB
C#
//
|
|
// System.Xml.Serialization.SoapCodeExporter
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2002
|
|
//
|
|
|
|
using System.CodeDom;
|
|
|
|
namespace System.Xml.Serialization {
|
|
public class SoapCodeExporter {
|
|
|
|
#region Fields
|
|
|
|
CodeNamespace codeNamespace;
|
|
CodeCompileUnit codeCompileUnit;
|
|
CodeAttributeDeclarationCollection includeMetadata;
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public SoapCodeExporter (CodeNamespace codeNamespace)
|
|
{
|
|
includeMetadata = new CodeAttributeDeclarationCollection ();
|
|
this.codeNamespace = codeNamespace;
|
|
}
|
|
|
|
public SoapCodeExporter (CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit)
|
|
: this (codeNamespace)
|
|
{
|
|
this.codeCompileUnit = codeCompileUnit;
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public CodeAttributeDeclarationCollection IncludeMetadata {
|
|
get { return includeMetadata; }
|
|
}
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
[MonoTODO]
|
|
public void AddMappingMetadata (CodeAttributeDeclarationCollection metadata, XmlMemberMapping member)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public void AddMappingMetadata (CodeAttributeDeclarationCollection metadata, XmlMemberMapping member, bool forceUseMemberName)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public void ExportMembersMapping (XmlMembersMapping xmlMembersMapping)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
[MonoTODO]
|
|
public void ExportTypeMapping (XmlTypeMapping xmlTypeMapping)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|