using System; using System.Collections; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Xml.Serialization { /// Represents an abstract class used for controlling serialization by the class. // Token: 0x02000143 RID: 323 [Token(Token = "0x2000143")] public abstract class XmlSerializationWriter : XmlSerializationGeneratedCode { /// Initializes a new instance of the class. // Token: 0x06000DE2 RID: 3554 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DE2")] [Address(RVA = "0xE06F20", Offset = "0xE05F20", VA = "0x180E06F20")] protected XmlSerializationWriter() { } // Token: 0x06000DE3 RID: 3555 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DE3")] [Address(RVA = "0xE04680", Offset = "0xE03680", VA = "0x180E04680")] internal void Initialize(XmlWriter writer, XmlSerializerNamespaces nss) { } /// Gets or sets the that is being used by the . /// The used by the class instance. // Token: 0x170003AC RID: 940 // (get) Token: 0x06000DE4 RID: 3556 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170003AC")] protected XmlWriter Writer { [Token(Token = "0x6000DE4")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { return null; } } /// Stores an implementation of the delegate and the type it applies to, for a later invocation. /// The of objects that are serialized. /// The name of the type of objects that are serialized. /// The namespace of the type of objects that are serialized. /// An instance of the delegate. // Token: 0x06000DE5 RID: 3557 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DE5")] [Address(RVA = "0xE03F10", Offset = "0xE02F10", VA = "0x180E03F10")] protected void AddWriteCallback(Type type, string typeName, string typeNs, XmlSerializationWriteCallback callback) { } /// Creates an that indicates that an XML element that should adhere to the XML Schema element declaration cannot be processed. /// The XML element that cannot be processed. /// The namespace of the XML element. /// The newly created exception. // Token: 0x06000DE6 RID: 3558 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DE6")] [Address(RVA = "0xE040A0", Offset = "0xE030A0", VA = "0x180E040A0")] protected Exception CreateUnknownAnyElementException(string name, string ns) { return null; } /// Creates an that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered. /// The object whose type cannot be serialized. /// The newly created exception. // Token: 0x06000DE7 RID: 3559 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DE7")] [Address(RVA = "0xE04180", Offset = "0xE03180", VA = "0x180E04180")] protected Exception CreateUnknownTypeException(object o) { return null; } /// Creates an that indicates that a type being serialized is not being used in a valid manner or is unexpectedly encountered. /// The type that cannot be serialized. /// The newly created exception. // Token: 0x06000DE8 RID: 3560 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DE8")] [Address(RVA = "0xE04110", Offset = "0xE03110", VA = "0x180E04110")] protected Exception CreateUnknownTypeException(Type type) { return null; } /// Returns an XML qualified name, with invalid characters replaced by escape sequences. /// An that represents the XML to be written. /// An XML qualified name, with invalid characters replaced by escape sequences. // Token: 0x06000DE9 RID: 3561 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DE9")] [Address(RVA = "0xE04210", Offset = "0xE03210", VA = "0x180E04210")] protected string FromXmlQualifiedName(XmlQualifiedName xmlQualifiedName) { return null; } // Token: 0x06000DEA RID: 3562 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DEA")] [Address(RVA = "0xE042F0", Offset = "0xE032F0", VA = "0x180E042F0")] private string GetId(object o, bool addToReferencesList) { return null; } // Token: 0x06000DEB RID: 3563 RVA: 0x00006EB8 File Offset: 0x000050B8 [Token(Token = "0x6000DEB")] [Address(RVA = "0xE03FF0", Offset = "0xE02FF0", VA = "0x180E03FF0")] private bool AlreadyQueued(object ob) { return default(bool); } // Token: 0x06000DEC RID: 3564 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DEC")] [Address(RVA = "0xE043E0", Offset = "0xE033E0", VA = "0x180E043E0")] private string GetNamespacePrefix(string ns) { return null; } // Token: 0x06000DED RID: 3565 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000DED")] [Address(RVA = "0xE044F0", Offset = "0xE034F0", VA = "0x180E044F0")] private string GetQualifiedName(string name, string ns) { return null; } /// Initializes an instances of the delegate to serialize SOAP-encoded XML data. // Token: 0x06000DEE RID: 3566 [Token(Token = "0x6000DEE")] [Address(Slot = "4")] protected abstract void InitCallbacks(); /// Initializes object references only while serializing a SOAP-encoded SOAP message. // Token: 0x06000DEF RID: 3567 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DEF")] [Address(RVA = "0xE048A0", Offset = "0xE038A0", VA = "0x180E048A0")] protected void TopLevelElement() { } /// Writes an XML attribute. /// The local name of the XML attribute. /// The namespace of the XML attribute. /// The value of the XML attribute as a string. // Token: 0x06000DF0 RID: 3568 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF0")] [Address(RVA = "0xE04B80", Offset = "0xE03B80", VA = "0x180E04B80")] protected void WriteAttribute(string localName, string ns, string value) { } /// Writes an XML attribute where the namespace prefix is provided manually. /// The namespace prefix to write. /// The local name of the XML attribute. /// The namespace represented by the prefix. /// The value of the XML attribute as a string. // Token: 0x06000DF1 RID: 3569 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF1")] [Address(RVA = "0xE04B40", Offset = "0xE03B40", VA = "0x180E04B40")] protected void WriteAttribute(string prefix, string localName, string ns, string value) { } // Token: 0x06000DF2 RID: 3570 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF2")] [Address(RVA = "0xE06D20", Offset = "0xE05D20", VA = "0x180E06D20")] private void WriteXmlNode(XmlNode node) { } /// Writes an XML node object within the body of a named XML element. /// The XML node to write, possibly a child XML element. /// The local name of the parent XML element to write. /// The namespace of the parent XML element to write. /// /// to write an attribute if the object to serialize is ; otherwise, . /// /// to indicate that the node, if an XML element, adheres to an XML Schema element declaration; otherwise, . // Token: 0x06000DF3 RID: 3571 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF3")] [Address(RVA = "0xE04BC0", Offset = "0xE03BC0", VA = "0x180E04BC0")] protected void WriteElementEncoded(XmlNode node, string name, string ns, bool isNullable, bool any) { } /// Instructs an object to write an object within the body of a named XML element. /// The XML node to write, possibly a child XML element. /// The local name of the parent XML element to write. /// The namespace of the parent XML element to write. /// /// to write an attribute if the object to serialize is ; otherwise, . /// /// to indicate that the node, if an XML element, adheres to an XML Schema element declaration; otherwise, . // Token: 0x06000DF4 RID: 3572 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF4")] [Address(RVA = "0xE04CB0", Offset = "0xE03CB0", VA = "0x180E04CB0")] protected void WriteElementLiteral(XmlNode node, string name, string ns, bool isNullable, bool any) { } /// Writes an XML element with a specified qualified name in its body. /// The local name of the XML element. /// The namespace of the XML element. /// The name to write, using its prefix if namespace-qualified, in the element text. // Token: 0x06000DF5 RID: 3573 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF5")] [Address(RVA = "0xE04DA0", Offset = "0xE03DA0", VA = "0x180E04DA0")] protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value) { } /// Writes an XML element with a specified qualified name in its body. /// The local name of the XML element. /// The namespace of the XML element. /// The name to write, using its prefix if namespace-qualified, in the element text. /// The name of the XML Schema data type to be written to the attribute. // Token: 0x06000DF6 RID: 3574 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF6")] [Address(RVA = "0xE04DC0", Offset = "0xE03DC0", VA = "0x180E04DC0")] protected void WriteElementQualifiedName(string localName, string ns, XmlQualifiedName value, XmlQualifiedName xsiType) { } /// Writes an XML element with a specified value in its body. /// The local name of the XML element. /// The namespace of the XML element. /// The text value of the XML element. // Token: 0x06000DF7 RID: 3575 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF7")] [Address(RVA = "0xE04F00", Offset = "0xE03F00", VA = "0x180E04F00")] protected void WriteElementString(string localName, string ns, string value) { } /// Writes an XML element with a specified value in its body. /// The local name of the XML element. /// The namespace of the XML element. /// The text value of the XML element. /// The name of the XML Schema data type to be written to the attribute. // Token: 0x06000DF8 RID: 3576 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF8")] [Address(RVA = "0xE04F20", Offset = "0xE03F20", VA = "0x180E04F20")] protected void WriteElementString(string localName, string ns, string value, XmlQualifiedName xsiType) { } /// Writes a element tag. // Token: 0x06000DF9 RID: 3577 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DF9")] [Address(RVA = "0x4B7EA0", Offset = "0x4B6EA0", VA = "0x1804B7EA0")] protected void WriteEndElement() { } /// Writes a element tag. /// The object being serialized. // Token: 0x06000DFA RID: 3578 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFA")] [Address(RVA = "0xE05090", Offset = "0xE04090", VA = "0x180E05090")] protected void WriteEndElement(object o) { } /// Writes the namespace declaration attributes. /// The XML namespaces to declare. // Token: 0x06000DFB RID: 3579 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFB")] [Address(RVA = "0xE050E0", Offset = "0xE040E0", VA = "0x180E050E0")] protected void WriteNamespaceDeclarations(XmlSerializerNamespaces xmlns) { } /// Writes an XML element whose body contains a valid XML qualified name. inserts an attribute if the string's value is . /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The XML qualified name to write in the body of the XML element. /// The name of the XML Schema data type to be written to the attribute. // Token: 0x06000DFC RID: 3580 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFC")] [Address(RVA = "0xE05580", Offset = "0xE04580", VA = "0x180E05580")] protected void WriteNullableQualifiedNameEncoded(string name, string ns, XmlQualifiedName value, XmlQualifiedName xsiType) { } /// Writes an XML element whose body contains a valid XML qualified name. inserts an attribute if the string's value is . /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The XML qualified name to write in the body of the XML element. // Token: 0x06000DFD RID: 3581 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFD")] [Address(RVA = "0xE05630", Offset = "0xE04630", VA = "0x180E05630")] protected void WriteNullableQualifiedNameLiteral(string name, string ns, XmlQualifiedName value) { } /// Writes an XML element that contains a string as the body. inserts an attribute if the string's value is . /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The string to write in the body of the XML element. /// The name of the XML Schema data type to be written to the attribute. // Token: 0x06000DFE RID: 3582 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFE")] [Address(RVA = "0xE056E0", Offset = "0xE046E0", VA = "0x180E056E0")] protected void WriteNullableStringEncoded(string name, string ns, string value, XmlQualifiedName xsiType) { } /// Writes an XML element that contains a string as the body. inserts an attribute if the string's value is . /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The string to write in the body of the XML element. // Token: 0x06000DFF RID: 3583 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000DFF")] [Address(RVA = "0xE05700", Offset = "0xE04700", VA = "0x180E05700")] protected void WriteNullableStringLiteral(string name, string ns, string value) { } /// Writes an XML element with an attribute. /// The local name of the XML element to write. /// The namespace of the XML element to write. // Token: 0x06000E00 RID: 3584 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E00")] [Address(RVA = "0xE05410", Offset = "0xE04410", VA = "0x180E05410")] protected void WriteNullTagEncoded(string name, string ns) { } /// Writes an XML element with an attribute. /// The local name of the XML element to write. /// The namespace of the XML element to write. // Token: 0x06000E01 RID: 3585 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E01")] [Address(RVA = "0xE054C0", Offset = "0xE044C0", VA = "0x180E054C0")] protected void WriteNullTagLiteral(string name, string ns) { } /// Writes a SOAP message XML element that can contain a reference to a XML element for a given object. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The object being serialized either in the current XML element or a element that referenced by the current element. /// The type stored in the object's type mapping (as opposed to the object's type found directly through the operation). /// /// to serialize the object directly into the XML element rather than make the element reference another element that contains the data; otherwise, . /// /// to write an attribute if the object to serialize is ; otherwise, . // Token: 0x06000E02 RID: 3586 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E02")] [Address(RVA = "0xE05730", Offset = "0xE04730", VA = "0x180E05730")] protected void WritePotentiallyReferencingElement(string n, string ns, object o, Type ambientType, bool suppressReference, bool isNullable) { } /// Serializes objects into SOAP-encoded XML elements in a SOAP message. // Token: 0x06000E03 RID: 3587 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E03")] [Address(RVA = "0xE05B50", Offset = "0xE04B50", VA = "0x180E05B50")] protected void WriteReferencedElements() { } // Token: 0x06000E04 RID: 3588 RVA: 0x00006ED0 File Offset: 0x000050D0 [Token(Token = "0x6000E04")] [Address(RVA = "0xE047A0", Offset = "0xE037A0", VA = "0x180E047A0")] private bool IsPrimitiveArray(TypeData td) { return default(bool); } // Token: 0x06000E05 RID: 3589 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E05")] [Address(RVA = "0xE048B0", Offset = "0xE038B0", VA = "0x180E048B0")] private void WriteArray(object o, TypeData td) { } /// Writes a SOAP message XML element that contains a reference to a element for a given object. /// The local name of the referencing element being written. /// The namespace of the referencing element being written. /// The object being serialized. /// /// to write an attribute if the object to serialize is ; otherwise, . // Token: 0x06000E06 RID: 3590 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E06")] [Address(RVA = "0xE05D70", Offset = "0xE04D70", VA = "0x180E05D70")] protected void WriteReferencingElement(string n, string ns, object o, bool isNullable) { } // Token: 0x06000E07 RID: 3591 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E07")] [Address(RVA = "0xE04030", Offset = "0xE03030", VA = "0x180E04030")] private void CheckReferenceQueue() { } /// Writes an object that uses custom XML formatting as an XML element. /// An object that implements the interface that uses custom XML formatting. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// /// to write an attribute if the class object is ; otherwise, . // Token: 0x06000E08 RID: 3592 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E08")] [Address(RVA = "0xE05EC0", Offset = "0xE04EC0", VA = "0x180E05EC0")] protected void WriteSerializable(IXmlSerializable serializable, string name, string ns, bool isNullable) { } /// Instructs to write an object that uses custom XML formatting as an XML element. /// An object that implements the interface that uses custom XML formatting. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// /// to write an attribute if the object is ; otherwise, . /// /// to ignore writing the opening element tag; otherwise, to write the opening element tag. // Token: 0x06000E09 RID: 3593 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E09")] [Address(RVA = "0xE05EF0", Offset = "0xE04EF0", VA = "0x180E05EF0")] protected void WriteSerializable(IXmlSerializable serializable, string name, string ns, bool isNullable, bool wrapped) { } /// Writes the XML declaration if the writer is positioned at the start of an XML document. // Token: 0x06000E0A RID: 3594 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0A")] [Address(RVA = "0xE06030", Offset = "0xE05030", VA = "0x180E06030")] protected void WriteStartDocument() { } /// Writes an opening element tag, including any attributes. /// The local name of the XML element to write. /// The namespace of the XML element to write. // Token: 0x06000E0B RID: 3595 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0B")] [Address(RVA = "0xE066E0", Offset = "0xE056E0", VA = "0x180E066E0")] protected void WriteStartElement(string name, string ns) { } /// Writes an opening element tag, including any attributes. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// /// to write the element name with a prefix if none is available for the specified namespace; otherwise, . // Token: 0x06000E0C RID: 3596 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0C")] [Address(RVA = "0xE06680", Offset = "0xE05680", VA = "0x180E06680")] protected void WriteStartElement(string name, string ns, bool writePrefixed) { } /// Writes an opening element tag, including any attributes. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The object being serialized as an XML element. // Token: 0x06000E0D RID: 3597 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0D")] [Address(RVA = "0xE066B0", Offset = "0xE056B0", VA = "0x180E066B0")] protected void WriteStartElement(string name, string ns, object o) { } /// Writes an opening element tag, including any attributes. /// The local name of the XML element to write. /// The namespace of the XML element to write. /// The object being serialized as an XML element. /// /// to write the element name with a prefix if none is available for the specified namespace; otherwise, . // Token: 0x06000E0E RID: 3598 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0E")] [Address(RVA = "0xE06090", Offset = "0xE05090", VA = "0x180E06090")] protected void WriteStartElement(string name, string ns, object o, bool writePrefixed) { } // Token: 0x06000E0F RID: 3599 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E0F")] [Address(RVA = "0xE060C0", Offset = "0xE050C0", VA = "0x180E060C0")] private void WriteStartElement(string name, string ns, object o, bool writePrefixed, ICollection namespaces) { } /// Writes an XML element whose text body is a value of a simple XML Schema data type. /// The local name of the element to write. /// The namespace of the element to write. /// The object to be serialized in the element body. /// /// if the XML element explicitly specifies the text value's type using the attribute; otherwise, . // Token: 0x06000E10 RID: 3600 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E10")] [Address(RVA = "0xE06710", Offset = "0xE05710", VA = "0x180E06710")] protected void WriteTypedPrimitive(string name, string ns, object o, bool xsiType) { } /// Writes a specified string value. /// The value of the string to write. // Token: 0x06000E11 RID: 3601 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E11")] [Address(RVA = "0xE06A30", Offset = "0xE05A30", VA = "0x180E06A30")] protected void WriteValue(string value) { } /// Writes the specified object as an XML attribute. /// The XML node to write. /// An object (or ) used to generate a qualified name value for an attribute from the Web Services Description Language (WSDL) namespace ("http://schemas.xmlsoap.org/wsdl/"). // Token: 0x06000E12 RID: 3602 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E12")] [Address(RVA = "0xE06A70", Offset = "0xE05A70", VA = "0x180E06A70")] protected void WriteXmlAttribute(XmlNode node, object container) { } /// Writes an attribute for an XML element that is being serialized into a document. /// The local name of an XML Schema data type. /// The namespace of an XML Schema data type. // Token: 0x06000E13 RID: 3603 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E13")] [Address(RVA = "0xE06E50", Offset = "0xE05E50", VA = "0x180E06E50")] protected void WriteXsiType(string name, string ns) { } // Token: 0x04000739 RID: 1849 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000739")] private ObjectIDGenerator idGenerator; // Token: 0x0400073A RID: 1850 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400073A")] private int qnameCount; // Token: 0x0400073B RID: 1851 [FieldOffset(Offset = "0x1C")] [Token(Token = "0x400073B")] private bool topLevelElement; // Token: 0x0400073C RID: 1852 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400073C")] private ArrayList namespaces; // Token: 0x0400073D RID: 1853 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400073D")] private XmlWriter writer; // Token: 0x0400073E RID: 1854 [FieldOffset(Offset = "0x30")] [Token(Token = "0x400073E")] private Queue referencedElements; // Token: 0x0400073F RID: 1855 [FieldOffset(Offset = "0x38")] [Token(Token = "0x400073F")] private Hashtable callbacks; // Token: 0x04000740 RID: 1856 [FieldOffset(Offset = "0x40")] [Token(Token = "0x4000740")] private Hashtable serializedObjects; // Token: 0x02000144 RID: 324 [Token(Token = "0x2000144")] private class WriteCallbackInfo { // Token: 0x06000E14 RID: 3604 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E14")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] public WriteCallbackInfo() { } // Token: 0x04000741 RID: 1857 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4000741")] public Type Type; // Token: 0x04000742 RID: 1858 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4000742")] public string TypeName; // Token: 0x04000743 RID: 1859 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4000743")] public string TypeNs; // Token: 0x04000744 RID: 1860 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4000744")] public XmlSerializationWriteCallback Callback; } } }