projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[sgen] Untag the vtable during concurrent mark
[mono.git]
/
mcs
/
class
/
System.XML
/
System.Xml.Serialization
/
XmlCodeExporter.cs
diff --git
a/mcs/class/System.XML/System.Xml.Serialization/XmlCodeExporter.cs
b/mcs/class/System.XML/System.Xml.Serialization/XmlCodeExporter.cs
index f5ab65c318fac00f5cb3645337281aa1d649aea1..3c9246a71ca6b1d5639f03d3b08e510b7137dda4 100644
(file)
--- a/
mcs/class/System.XML/System.Xml.Serialization/XmlCodeExporter.cs
+++ b/
mcs/class/System.XML/System.Xml.Serialization/XmlCodeExporter.cs
@@
-38,17
+38,11
@@
namespace System.Xml.Serialization
{
public class XmlCodeExporter
{
public class XmlCodeExporter
-#if NET_2_0
: CodeExporter
: CodeExporter
-#endif
{
#region Fields
{
#region Fields
-#if NET_2_0
// CodeGenerationOptions options;
// CodeGenerationOptions options;
-#else
- XmlMapCodeGenerator codeGenerator;
-#endif
#endregion
#endregion
@@
-60,14
+54,9
@@
namespace System.Xml.Serialization
public XmlCodeExporter (CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit)
{
public XmlCodeExporter (CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit)
{
-#if NET_2_0
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, CodeGenerationOptions.GenerateProperties);
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)
public XmlCodeExporter (CodeNamespace codeNamespace,
CodeCompileUnit codeCompileUnit,
CodeGenerationOptions options)
@@
-93,17
+82,11
@@
namespace System.Xml.Serialization
{
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, codeProvider, options, mappings);
}
{
codeGenerator = new XmlMapCodeGenerator (codeNamespace, codeCompileUnit, codeProvider, options, mappings);
}
-#endif
#endregion // Constructors
#region Properties
#endregion // Constructors
#region Properties
-#if !NET_2_0
- public CodeAttributeDeclarationCollection IncludeMetadata {
- get { return codeGenerator.IncludeMetadata; }
- }
-#endif
#endregion Properties
#endregion Properties