You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -38,17 +38,11 @@ namespace System.Xml.Serialization
|
||||
{
|
||||
|
||||
public class XmlCodeExporter
|
||||
#if NET_2_0
|
||||
: CodeExporter
|
||||
#endif
|
||||
{
|
||||
#region Fields
|
||||
|
||||
#if NET_2_0
|
||||
// CodeGenerationOptions options;
|
||||
#else
|
||||
XmlMapCodeGenerator codeGenerator;
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
|
||||
@ -60,14 +54,9 @@ namespace System.Xml.Serialization
|
||||
|
||||
public XmlCodeExporter (CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit)
|
||||
{
|
||||
#if NET_2_0
|
||||
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, CodeGenerationOptions.GenerateProperties);
|
||||
#else
|
||||
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, CodeGenerationOptions.None);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if NET_2_0
|
||||
public XmlCodeExporter (CodeNamespace codeNamespace,
|
||||
CodeCompileUnit codeCompileUnit,
|
||||
CodeGenerationOptions options)
|
||||
@ -93,17 +82,11 @@ namespace System.Xml.Serialization
|
||||
{
|
||||
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, codeProvider, options, mappings);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion // Constructors
|
||||
|
||||
#region Properties
|
||||
|
||||
#if !NET_2_0
|
||||
public CodeAttributeDeclarationCollection IncludeMetadata {
|
||||
get { return codeGenerator.IncludeMetadata; }
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion Properties
|
||||
|
||||
|
Reference in New Issue
Block a user