379 lines
15 KiB
C#
379 lines
15 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Represents an element.</summary>
|
|
// Token: 0x02000040 RID: 64
|
|
[Token(Token = "0x2000040")]
|
|
public class XmlElement : XmlLinkedNode
|
|
{
|
|
// Token: 0x060002E0 RID: 736 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002E0")]
|
|
[Address(RVA = "0x46BE60", Offset = "0x46AC60", VA = "0x18046BE60")]
|
|
internal XmlElement(XmlName name, bool empty, XmlDocument doc)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlElement" /> class.</summary>
|
|
/// <param name="prefix">The namespace prefix; see the <see cref="P:System.Xml.XmlElement.Prefix" /> property.</param>
|
|
/// <param name="localName">The local name; see the <see cref="P:System.Xml.XmlElement.LocalName" /> property.</param>
|
|
/// <param name="namespaceURI">The namespace URI; see the <see cref="P:System.Xml.XmlElement.NamespaceURI" /> property.</param>
|
|
/// <param name="doc">The parent XML document.</param>
|
|
// Token: 0x060002E1 RID: 737 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002E1")]
|
|
[Address(RVA = "0x46BDF0", Offset = "0x46ABF0", VA = "0x18046BDF0")]
|
|
protected internal XmlElement(string prefix, string localName, string namespaceURI, XmlDocument doc)
|
|
{
|
|
}
|
|
|
|
// Token: 0x17000122 RID: 290
|
|
// (get) Token: 0x060002E2 RID: 738 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060002E3 RID: 739 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000122")]
|
|
internal XmlName XmlName
|
|
{
|
|
[Token(Token = "0x60002E2")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60002E3")]
|
|
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Creates a duplicate of this node.</summary>
|
|
/// <param name="deep">
|
|
/// <see langword="true" /> to recursively clone the subtree under the specified node; <see langword="false" /> to clone only the node itself (and its attributes if the node is an <see langword="XmlElement" />). </param>
|
|
/// <returns>The cloned node.</returns>
|
|
// Token: 0x060002E4 RID: 740 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002E4")]
|
|
[Address(RVA = "0x46B690", Offset = "0x46A490", VA = "0x18046B690", Slot = "27")]
|
|
public override XmlNode CloneNode(bool deep)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the qualified name of the node.</summary>
|
|
/// <returns>The qualified name of the node. For <see langword="XmlElement" /> nodes, this is the tag name of the element.</returns>
|
|
// Token: 0x17000123 RID: 291
|
|
// (get) Token: 0x060002E5 RID: 741 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000123")]
|
|
public override string Name
|
|
{
|
|
[Token(Token = "0x60002E5")]
|
|
[Address(RVA = "0x46C110", Offset = "0x46AF10", VA = "0x18046C110", Slot = "6")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the local name of the current node.</summary>
|
|
/// <returns>The name of the current node with the prefix removed. For example, <see langword="LocalName" /> is book for the element <bk:book>.</returns>
|
|
// Token: 0x17000124 RID: 292
|
|
// (get) Token: 0x060002E6 RID: 742 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000124")]
|
|
public override string LocalName
|
|
{
|
|
[Token(Token = "0x60002E6")]
|
|
[Address(RVA = "0x46C0F0", Offset = "0x46AEF0", VA = "0x18046C0F0", Slot = "31")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the namespace URI of this node.</summary>
|
|
/// <returns>The namespace URI of this node. If there is no namespace URI, this property returns String.Empty.</returns>
|
|
// Token: 0x17000125 RID: 293
|
|
// (get) Token: 0x060002E7 RID: 743 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000125")]
|
|
public override string NamespaceURI
|
|
{
|
|
[Token(Token = "0x60002E7")]
|
|
[Address(RVA = "0x46C130", Offset = "0x46AF30", VA = "0x18046C130", Slot = "29")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the namespace prefix of this node.</summary>
|
|
/// <returns>The namespace prefix of this node. If there is no prefix, this property returns String.Empty.</returns>
|
|
/// <exception cref="T:System.ArgumentException">This node is read-only </exception>
|
|
/// <exception cref="T:System.Xml.XmlException">The specified prefix contains an invalid character.The specified prefix is malformed.The namespaceURI of this node is <see langword="null" />.The specified prefix is "xml" and the namespaceURI of this node is different from http://www.w3.org/XML/1998/namespace. </exception>
|
|
// Token: 0x17000126 RID: 294
|
|
// (get) Token: 0x060002E8 RID: 744 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000126")]
|
|
public override string Prefix
|
|
{
|
|
[Token(Token = "0x60002E8")]
|
|
[Address(RVA = "0x46C1B0", Offset = "0x46AFB0", VA = "0x18046C1B0", Slot = "30")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the type of the current node.</summary>
|
|
/// <returns>The node type. For <see langword="XmlElement" /> nodes, this value is XmlNodeType.Element.</returns>
|
|
// Token: 0x17000127 RID: 295
|
|
// (get) Token: 0x060002E9 RID: 745 RVA: 0x000031C8 File Offset: 0x000013C8
|
|
[Token(Token = "0x17000127")]
|
|
public override XmlNodeType NodeType
|
|
{
|
|
[Token(Token = "0x60002E9")]
|
|
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "9")]
|
|
get
|
|
{
|
|
return XmlNodeType.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the parent of this node (for nodes that can have parents).</summary>
|
|
/// <returns>The <see langword="XmlNode" /> that is the parent of the current node. If a node has just been created and not yet added to the tree, or if it has been removed from the tree, the parent is <see langword="null" />. For all other nodes, the value returned depends on the <see cref="P:System.Xml.XmlNode.NodeType" /> of the node. The following table describes the possible return values for the <see langword="ParentNode" /> property.</returns>
|
|
// Token: 0x17000128 RID: 296
|
|
// (get) Token: 0x060002EA RID: 746 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000128")]
|
|
public override XmlNode ParentNode
|
|
{
|
|
[Token(Token = "0x60002EA")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Xml.XmlDocument" /> to which this node belongs.</summary>
|
|
/// <returns>The <see langword="XmlDocument" /> to which this element belongs.</returns>
|
|
// Token: 0x17000129 RID: 297
|
|
// (get) Token: 0x060002EB RID: 747 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000129")]
|
|
public override XmlDocument OwnerDocument
|
|
{
|
|
[Token(Token = "0x60002EB")]
|
|
[Address(RVA = "0x46C190", Offset = "0x46AF90", VA = "0x18046C190", Slot = "15")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700012A RID: 298
|
|
// (get) Token: 0x060002EC RID: 748 RVA: 0x000031E0 File Offset: 0x000013E0
|
|
[Token(Token = "0x1700012A")]
|
|
internal override bool IsContainer
|
|
{
|
|
[Token(Token = "0x60002EC")]
|
|
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "18")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002ED RID: 749 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002ED")]
|
|
[Address(RVA = "0x46B4F0", Offset = "0x46A2F0", VA = "0x18046B4F0", Slot = "23")]
|
|
internal override XmlNode AppendChildForLoad(XmlNode newChild, XmlDocument doc)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets or sets the tag format of the element.</summary>
|
|
/// <returns>Returns <see langword="true" /> if the element is to be serialized in the short tag format "<item/>"; <see langword="false" /> for the long format "<item></item>".When setting this property, if set to <see langword="true" />, the children of the element are removed and the element is serialized in the short tag format. If set to <see langword="false" />, the value of the property is changed (regardless of whether or not the element has content); if the element is empty, it is serialized in the long format.This property is a Microsoft extension to the Document Object Model (DOM).</returns>
|
|
// Token: 0x1700012B RID: 299
|
|
// (get) Token: 0x060002EE RID: 750 RVA: 0x000031F8 File Offset: 0x000013F8
|
|
// (set) Token: 0x060002EF RID: 751 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700012B")]
|
|
public bool IsEmpty
|
|
{
|
|
[Token(Token = "0x60002EE")]
|
|
[Address(RVA = "0x46C0D0", Offset = "0x46AED0", VA = "0x18046C0D0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60002EF")]
|
|
[Address(RVA = "0x46C3A0", Offset = "0x46B1A0", VA = "0x18046C3A0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700012C RID: 300
|
|
// (get) Token: 0x060002F0 RID: 752 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060002F1 RID: 753 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700012C")]
|
|
internal override XmlLinkedNode LastNode
|
|
{
|
|
[Token(Token = "0x60002F0")]
|
|
[Address(RVA = "0x46C0E0", Offset = "0x46AEE0", VA = "0x18046C0E0", Slot = "19")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60002F1")]
|
|
[Address(RVA = "0x4437E0", Offset = "0x4425E0", VA = "0x1804437E0", Slot = "20")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002F2 RID: 754 RVA: 0x00003210 File Offset: 0x00001410
|
|
[Token(Token = "0x60002F2")]
|
|
[Address(RVA = "0x46BB20", Offset = "0x46A920", VA = "0x18046BB20", Slot = "24")]
|
|
internal override bool IsValidChildType(XmlNodeType type)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Gets an <see cref="T:System.Xml.XmlAttributeCollection" /> containing the list of attributes for this node.</summary>
|
|
/// <returns>
|
|
/// <see cref="T:System.Xml.XmlAttributeCollection" /> containing the list of attributes for this node.</returns>
|
|
// Token: 0x1700012D RID: 301
|
|
// (get) Token: 0x060002F3 RID: 755 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700012D")]
|
|
public override XmlAttributeCollection Attributes
|
|
{
|
|
[Token(Token = "0x60002F3")]
|
|
[Address(RVA = "0x46BF80", Offset = "0x46AD80", VA = "0x18046BF80", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a <see langword="boolean" /> value indicating whether the current node has any attributes.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the current node has attributes; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x1700012E RID: 302
|
|
// (get) Token: 0x060002F4 RID: 756 RVA: 0x00003228 File Offset: 0x00001428
|
|
[Token(Token = "0x1700012E")]
|
|
public virtual bool HasAttributes
|
|
{
|
|
[Token(Token = "0x60002F4")]
|
|
[Address(RVA = "0x46C090", Offset = "0x46AE90", VA = "0x18046C090", Slot = "46")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Adds the specified <see cref="T:System.Xml.XmlAttribute" />.</summary>
|
|
/// <param name="newAttr">The <see langword="XmlAttribute" /> node to add to the attribute collection for this element. </param>
|
|
/// <returns>If the attribute replaces an existing attribute with the same name, the old <see langword="XmlAttribute" /> is returned; otherwise, <see langword="null" /> is returned.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The <paramref name="newAttr" /> was created from a different document than the one that created this node. Or this node is read-only. </exception>
|
|
/// <exception cref="T:System.InvalidOperationException">The <paramref name="newAttr" /> is already an attribute of another <see langword="XmlElement" /> object. You must explicitly clone <see langword="XmlAttribute" /> nodes to re-use them in other <see langword="XmlElement" /> objects. </exception>
|
|
// Token: 0x060002F5 RID: 757 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002F5")]
|
|
[Address(RVA = "0x46BCD0", Offset = "0x46AAD0", VA = "0x18046BCD0", Slot = "47")]
|
|
public virtual XmlAttribute SetAttributeNode(XmlAttribute newAttr)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Removes all specified attributes from the element. Default attributes are not removed.</summary>
|
|
// Token: 0x060002F6 RID: 758 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002F6")]
|
|
[Address(RVA = "0x46BB80", Offset = "0x46A980", VA = "0x18046BB80", Slot = "48")]
|
|
public virtual void RemoveAllAttributes()
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes all specified attributes and children of the current node. Default attributes are not removed.</summary>
|
|
// Token: 0x060002F7 RID: 759 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002F7")]
|
|
[Address(RVA = "0x46BCA0", Offset = "0x46AAA0", VA = "0x18046BCA0", Slot = "37")]
|
|
public override void RemoveAll()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002F8 RID: 760 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002F8")]
|
|
[Address(RVA = "0x46BC90", Offset = "0x46AA90", VA = "0x18046BC90")]
|
|
internal void RemoveAllChildren()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the markup representing just the children of this node.</summary>
|
|
/// <returns>The markup of the children of this node.</returns>
|
|
/// <exception cref="T:System.Xml.XmlException">The XML specified when setting this property is not well-formed. </exception>
|
|
// Token: 0x1700012F RID: 303
|
|
// (set) Token: 0x060002F9 RID: 761 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700012F")]
|
|
public override string InnerXml
|
|
{
|
|
[Token(Token = "0x60002F9")]
|
|
[Address(RVA = "0x46C2B0", Offset = "0x46B0B0", VA = "0x18046C2B0", Slot = "35")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the concatenated values of the node and all its children.</summary>
|
|
/// <returns>The concatenated values of the node and all its children.</returns>
|
|
// Token: 0x17000130 RID: 304
|
|
// (get) Token: 0x060002FA RID: 762 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060002FB RID: 763 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000130")]
|
|
public override string InnerText
|
|
{
|
|
[Token(Token = "0x60002FA")]
|
|
[Address(RVA = "0x46C0C0", Offset = "0x46AEC0", VA = "0x18046C0C0", Slot = "33")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60002FB")]
|
|
[Address(RVA = "0x46C1D0", Offset = "0x46AFD0", VA = "0x18046C1D0", Slot = "34")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Xml.XmlNode" /> immediately following this element.</summary>
|
|
/// <returns>The <see langword="XmlNode" /> immediately following this element.</returns>
|
|
// Token: 0x17000131 RID: 305
|
|
// (get) Token: 0x060002FC RID: 764 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000131")]
|
|
public override XmlNode NextSibling
|
|
{
|
|
[Token(Token = "0x60002FC")]
|
|
[Address(RVA = "0x46C150", Offset = "0x46AF50", VA = "0x18046C150", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002FD RID: 765 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60002FD")]
|
|
[Address(RVA = "0x3F7200", Offset = "0x3F6000", VA = "0x1803F7200", Slot = "39")]
|
|
internal override void SetParent(XmlNode node)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400016E RID: 366
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400016E")]
|
|
private XmlName name;
|
|
|
|
// Token: 0x0400016F RID: 367
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400016F")]
|
|
private XmlAttributeCollection attributes;
|
|
|
|
// Token: 0x04000170 RID: 368
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000170")]
|
|
private XmlLinkedNode lastChild;
|
|
}
|
|
}
|