You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
@ -42,9 +42,7 @@ using System.Reflection;
|
||||
namespace System.Xml.Serialization
|
||||
{
|
||||
public abstract class XmlSerializationWriter
|
||||
#if NET_2_0
|
||||
: XmlSerializationGeneratedCode
|
||||
#endif
|
||||
{
|
||||
|
||||
#region Fields
|
||||
@ -763,9 +761,7 @@ namespace System.Xml.Serialization
|
||||
WriteSerializable (serializable, name, ns, isNullable, true);
|
||||
}
|
||||
|
||||
#if NET_2_0
|
||||
protected
|
||||
#endif
|
||||
void WriteSerializable (IXmlSerializable serializable, string name, string ns, bool isNullable, bool wrapped)
|
||||
{
|
||||
if (serializable == null)
|
||||
@ -814,12 +810,10 @@ namespace System.Xml.Serialization
|
||||
WriteStartElement (name, ns, o, writePrefixed, namespaces);
|
||||
}
|
||||
|
||||
#if NET_2_0
|
||||
protected void WriteStartElement (string name, string ns, Object o, bool writePrefixed, XmlSerializerNamespaces xmlns)
|
||||
{
|
||||
WriteStartElement (name, ns, o, writePrefixed, xmlns != null ? xmlns.ToArray () : null);
|
||||
}
|
||||
#endif
|
||||
|
||||
void WriteStartElement (string name, string ns, object o, bool writePrefixed, ICollection namespaces)
|
||||
{
|
||||
@ -948,7 +942,6 @@ namespace System.Xml.Serialization
|
||||
WriteAttribute ("type", XmlSchema.InstanceNamespace, name);
|
||||
}
|
||||
|
||||
#if NET_2_0
|
||||
|
||||
protected Exception CreateInvalidAnyTypeException (object o)
|
||||
{
|
||||
@ -992,7 +985,6 @@ namespace System.Xml.Serialization
|
||||
get { throw new NotImplementedException(); }
|
||||
set { throw new NotImplementedException(); }
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion
|
||||
|
||||
|
Reference in New Issue
Block a user