Files
Apr2020-Cpp2Il-Dump/System.Xml/XmlTextReader.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

428 lines
19 KiB
C#

using System;
using System.ComponentModel;
using System.IO;
using Cpp2IlInjected;
namespace System.Xml
{
/// <summary>Represents a reader that provides fast, non-cached, forward-only access to XML data.Starting with the .NET Framework 2.0, we recommend that you use the <see cref="T:System.Xml.XmlReader" /> class instead.</summary>
// Token: 0x02000023 RID: 35
[Token(Token = "0x2000023")]
[EditorBrowsable(EditorBrowsableState.Never)]
public class XmlTextReader : XmlReader, IXmlNamespaceResolver
{
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlTextReader" /> class with the specified <see cref="T:System.IO.TextReader" /> and <see cref="T:System.Xml.XmlNameTable" />.</summary>
/// <param name="input">The <see langword="TextReader" /> containing the XML data to read. </param>
/// <param name="nt">The <see langword="XmlNameTable" /> to use. </param>
/// <exception cref="T:System.NullReferenceException">The <paramref name="nt" /> value is <see langword="null" />. </exception>
// Token: 0x060000C7 RID: 199 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000C7")]
[Address(RVA = "0x5F5C50", Offset = "0x5F4A50", VA = "0x1805F5C50")]
public XmlTextReader(TextReader input, XmlNameTable nt)
{
}
/// <summary>Gets the type of the current node.</summary>
/// <returns>One of the <see cref="T:System.Xml.XmlNodeType" /> values representing the type of the current node.</returns>
// Token: 0x1700007A RID: 122
// (get) Token: 0x060000C8 RID: 200 RVA: 0x00002418 File Offset: 0x00000618
[Token(Token = "0x1700007A")]
public override XmlNodeType NodeType
{
[Token(Token = "0x60000C8")]
[Address(RVA = "0x5667A0", Offset = "0x5655A0", VA = "0x1805667A0", Slot = "6")]
get
{
return XmlNodeType.None;
}
}
/// <summary>Gets the qualified name of the current node.</summary>
/// <returns>The qualified name of the current node. For example, <see langword="Name" /> is <see langword="bk:book" /> for the element &lt;bk:book&gt;.The name returned is dependent on the <see cref="P:System.Xml.XmlTextReader.NodeType" /> of the node. The following node types return the listed values. All other node types return an empty string.Node Type Name
/// <see langword="Attribute" />
/// The name of the attribute.
/// <see langword="DocumentType" />
/// The document type name.
/// <see langword="Element" />
/// The tag name.
/// <see langword="EntityReference" />
/// The name of the entity referenced.
/// <see langword="ProcessingInstruction" />
/// The target of the processing instruction.
/// <see langword="XmlDeclaration" />
/// The literal string <see langword="xml" />. </returns>
// Token: 0x1700007B RID: 123
// (get) Token: 0x060000C9 RID: 201 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700007B")]
public override string Name
{
[Token(Token = "0x60000C9")]
[Address(RVA = "0x5F5EA0", Offset = "0x5F4CA0", VA = "0x1805F5EA0", Slot = "7")]
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 <see langword="book" /> for the element &lt;bk:book&gt;.For node types that do not have a name (like <see langword="Text" />, <see langword="Comment" />, and so on), this property returns <see langword="String.Empty" />.</returns>
// Token: 0x1700007C RID: 124
// (get) Token: 0x060000CA RID: 202 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700007C")]
public override string LocalName
{
[Token(Token = "0x60000CA")]
[Address(RVA = "0x5F5E40", Offset = "0x5F4C40", VA = "0x1805F5E40", Slot = "8")]
get
{
return null;
}
}
/// <summary>Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.</summary>
/// <returns>The namespace URI of the current node; otherwise an empty string.</returns>
// Token: 0x1700007D RID: 125
// (get) Token: 0x060000CB RID: 203 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700007D")]
public override string NamespaceURI
{
[Token(Token = "0x60000CB")]
[Address(RVA = "0x5F5ED0", Offset = "0x5F4CD0", VA = "0x1805F5ED0", Slot = "9")]
get
{
return null;
}
}
/// <summary>Gets the namespace prefix associated with the current node.</summary>
/// <returns>The namespace prefix associated with the current node.</returns>
// Token: 0x1700007E RID: 126
// (get) Token: 0x060000CC RID: 204 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700007E")]
public override string Prefix
{
[Token(Token = "0x60000CC")]
[Address(RVA = "0x5F5F00", Offset = "0x5F4D00", VA = "0x1805F5F00", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets the text value of the current node.</summary>
/// <returns>The value returned depends on the <see cref="P:System.Xml.XmlTextReader.NodeType" /> of the node. The following table lists node types that have a value to return. All other node types return <see langword="String.Empty" />.Node Type Value
/// <see langword="Attribute" />
/// The value of the attribute.
/// <see langword="CDATA" />
/// The content of the CDATA section.
/// <see langword="Comment" />
/// The content of the comment.
/// <see langword="DocumentType" />
/// The internal subset.
/// <see langword="ProcessingInstruction" />
/// The entire content, excluding the target.
/// <see langword="SignificantWhitespace" />
/// The white space within an <see langword="xml:space" />= 'preserve' scope.
/// <see langword="Text" />
/// The content of the text node.
/// <see langword="Whitespace" />
/// The white space between markup.
/// <see langword="XmlDeclaration" />
/// The content of the declaration. </returns>
// Token: 0x1700007F RID: 127
// (get) Token: 0x060000CD RID: 205 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700007F")]
public override string Value
{
[Token(Token = "0x60000CD")]
[Address(RVA = "0x53AEB0", Offset = "0x539CB0", VA = "0x18053AEB0", Slot = "11")]
get
{
return null;
}
}
/// <summary>Gets the base URI of the current node.</summary>
/// <returns>The base URI of the current node.</returns>
// Token: 0x17000080 RID: 128
// (get) Token: 0x060000CE RID: 206 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000080")]
public override string BaseURI
{
[Token(Token = "0x60000CE")]
[Address(RVA = "0x52BD90", Offset = "0x52AB90", VA = "0x18052BD90", Slot = "12")]
get
{
return null;
}
}
/// <summary>Gets a value indicating whether the current node is an empty element (for example, &lt;MyElement/&gt;).</summary>
/// <returns>
/// <see langword="true" /> if the current node is an element (<see cref="P:System.Xml.XmlTextReader.NodeType" /> equals <see langword="XmlNodeType.Element" />) that ends with /&gt;; otherwise, <see langword="false" />.</returns>
// Token: 0x17000081 RID: 129
// (get) Token: 0x060000CF RID: 207 RVA: 0x00002430 File Offset: 0x00000630
[Token(Token = "0x17000081")]
public override bool IsEmptyElement
{
[Token(Token = "0x60000CF")]
[Address(RVA = "0x5F5E10", Offset = "0x5F4C10", VA = "0x1805F5E10", Slot = "13")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.</summary>
/// <returns>This property always returns <see langword="false" />. (<see cref="T:System.Xml.XmlTextReader" /> does not expand default attributes.) </returns>
// Token: 0x17000082 RID: 130
// (get) Token: 0x060000D0 RID: 208 RVA: 0x00002448 File Offset: 0x00000648
[Token(Token = "0x17000082")]
public override bool IsDefault
{
[Token(Token = "0x60000D0")]
[Address(RVA = "0x5F5DE0", Offset = "0x5F4BE0", VA = "0x1805F5DE0", Slot = "14")]
get
{
return default(bool);
}
}
/// <summary>Moves to the attribute with the specified name.</summary>
/// <param name="name">The qualified name of the attribute. </param>
/// <returns>
/// <see langword="true" /> if the attribute is found; otherwise, <see langword="false" />. If <see langword="false" />, the reader's position does not change.</returns>
// Token: 0x060000D1 RID: 209 RVA: 0x00002460 File Offset: 0x00000660
[Token(Token = "0x60000D1")]
[Address(RVA = "0x5F5A90", Offset = "0x5F4890", VA = "0x1805F5A90", Slot = "16")]
public override bool MoveToAttribute(string name)
{
return default(bool);
}
/// <summary>Moves to the first attribute.</summary>
/// <returns>
/// <see langword="true" /> if an attribute exists (the reader moves to the first attribute); otherwise, <see langword="false" /> (the position of the reader does not change).</returns>
// Token: 0x060000D2 RID: 210 RVA: 0x00002478 File Offset: 0x00000678
[Token(Token = "0x60000D2")]
[Address(RVA = "0x5F5AF0", Offset = "0x5F48F0", VA = "0x1805F5AF0", Slot = "17")]
public override bool MoveToFirstAttribute()
{
return default(bool);
}
/// <summary>Moves to the next attribute.</summary>
/// <returns>
/// <see langword="true" /> if there is a next attribute; <see langword="false" /> if there are no more attributes.</returns>
// Token: 0x060000D3 RID: 211 RVA: 0x00002490 File Offset: 0x00000690
[Token(Token = "0x60000D3")]
[Address(RVA = "0x5F5B20", Offset = "0x5F4920", VA = "0x1805F5B20", Slot = "18")]
public override bool MoveToNextAttribute()
{
return default(bool);
}
/// <summary>Moves to the element that contains the current attribute node.</summary>
/// <returns>
/// <see langword="true" /> if the reader is positioned on an attribute (the reader moves to the element that owns the attribute); <see langword="false" /> if the reader is not positioned on an attribute (the position of the reader does not change).</returns>
// Token: 0x060000D4 RID: 212 RVA: 0x000024A8 File Offset: 0x000006A8
[Token(Token = "0x60000D4")]
[Address(RVA = "0x5F5AC0", Offset = "0x5F48C0", VA = "0x1805F5AC0", Slot = "19")]
public override bool MoveToElement()
{
return default(bool);
}
/// <summary>Parses the attribute value into one or more <see langword="Text" />, <see langword="EntityReference" />, or <see langword="EndEntity" /> nodes.</summary>
/// <returns>
/// <see langword="true" /> if there are nodes to return.
/// <see langword="false" /> if the reader is not positioned on an attribute node when the initial call is made or if all the attribute values have been read.An empty attribute, such as, misc="", returns <see langword="true" /> with a single node with a value of <see langword="String.Empty" />.</returns>
// Token: 0x060000D5 RID: 213 RVA: 0x000024C0 File Offset: 0x000006C0
[Token(Token = "0x60000D5")]
[Address(RVA = "0x5F5B50", Offset = "0x5F4950", VA = "0x1805F5B50", Slot = "20")]
public override bool ReadAttributeValue()
{
return default(bool);
}
/// <summary>Reads the next node from the stream.</summary>
/// <returns>
/// <see langword="true" /> if the next node was read successfully; <see langword="false" /> if there are no more nodes to read.</returns>
/// <exception cref="T:System.Xml.XmlException">An error occurred while parsing the XML. </exception>
// Token: 0x060000D6 RID: 214 RVA: 0x000024D8 File Offset: 0x000006D8
[Token(Token = "0x60000D6")]
[Address(RVA = "0x5F5B80", Offset = "0x5F4980", VA = "0x1805F5B80", Slot = "21")]
public override bool Read()
{
return default(bool);
}
/// <summary>Changes the <see cref="P:System.Xml.XmlReader.ReadState" /> to <see langword="Closed" />.</summary>
// Token: 0x060000D7 RID: 215 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000D7")]
[Address(RVA = "0x4A64A0", Offset = "0x4A52A0", VA = "0x1804A64A0", Slot = "22")]
public override void Close()
{
}
/// <summary>Gets the state of the reader.</summary>
/// <returns>One of the <see cref="T:System.Xml.ReadState" /> values.</returns>
// Token: 0x17000083 RID: 131
// (get) Token: 0x060000D8 RID: 216 RVA: 0x000024F0 File Offset: 0x000006F0
[Token(Token = "0x17000083")]
public override ReadState ReadState
{
[Token(Token = "0x60000D8")]
[Address(RVA = "0x5F5F30", Offset = "0x5F4D30", VA = "0x1805F5F30", Slot = "23")]
get
{
return ReadState.Initial;
}
}
/// <summary>Gets the <see cref="T:System.Xml.XmlNameTable" /> associated with this implementation.</summary>
/// <returns>The <see langword="XmlNameTable" /> enabling you to get the atomized version of a string within the node.</returns>
// Token: 0x17000084 RID: 132
// (get) Token: 0x060000D9 RID: 217 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000084")]
public override XmlNameTable NameTable
{
[Token(Token = "0x60000D9")]
[Address(RVA = "0x5F5E70", Offset = "0x5F4C70", VA = "0x1805F5E70", Slot = "24")]
get
{
return null;
}
}
/// <summary>Resolves a namespace prefix in the current element's scope.</summary>
/// <param name="prefix">The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized. </param>
/// <returns>The namespace URI to which the prefix maps or <see langword="null" /> if no matching prefix is found.</returns>
/// <exception cref="T:System.ArgumentNullException">The <see cref="P:System.Xml.XmlTextReader.Namespaces" /> property is set to <see langword="true" /> and the <paramref name="prefix" /> value is <see langword="null" />. </exception>
// Token: 0x060000DA RID: 218 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000DA")]
[Address(RVA = "0x5F5A50", Offset = "0x5F4850", VA = "0x1805F5A50", Slot = "25")]
public override string LookupNamespace(string prefix)
{
return null;
}
/// <summary>Gets a value indicating whether this reader can parse and resolve entities.</summary>
/// <returns>
/// <see langword="true" /> if the reader can parse and resolve entities; otherwise, <see langword="false" />. The <see langword="XmlTextReader" /> class always returns <see langword="true" />.</returns>
// Token: 0x17000085 RID: 133
// (get) Token: 0x060000DB RID: 219 RVA: 0x00002508 File Offset: 0x00000708
[Token(Token = "0x17000085")]
public override bool CanResolveEntity
{
[Token(Token = "0x60000DB")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "26")]
get
{
return default(bool);
}
}
/// <summary>Resolves the entity reference for <see langword="EntityReference" /> nodes.</summary>
// Token: 0x060000DC RID: 220 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000DC")]
[Address(RVA = "0x5F5BB0", Offset = "0x5F49B0", VA = "0x1805F5BB0", Slot = "27")]
public override void ResolveEntity()
{
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.IXmlNamespaceResolver.LookupNamespace(System.String)" />.</summary>
/// <param name="prefix">The prefix whose namespace URI you wish to find.</param>
/// <returns>The namespace URI that is mapped to the prefix; <see langword="null" /> if the prefix is not mapped to a namespace URI.</returns>
// Token: 0x060000DD RID: 221 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000DD")]
[Address(RVA = "0x5F5BE0", Offset = "0x5F49E0", VA = "0x1805F5BE0", Slot = "30")]
string IXmlNamespaceResolver.LookupNamespace(string prefix)
{
return null;
}
/// <summary>For a description of this member, see <see cref="M:System.Xml.IXmlNamespaceResolver.LookupPrefix(System.String)" />.</summary>
/// <param name="namespaceName">The namespace URI whose prefix you wish to find.</param>
/// <returns>The prefix that is mapped to the namespace URI; <see langword="null" /> if the namespace URI is not mapped to a prefix.</returns>
// Token: 0x060000DE RID: 222 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000DE")]
[Address(RVA = "0x5F5C10", Offset = "0x5F4A10", VA = "0x1805F5C10", Slot = "31")]
string IXmlNamespaceResolver.LookupPrefix(string namespaceName)
{
return null;
}
/// <summary>Gets or sets a value that specifies how the reader handles entities.</summary>
/// <returns>One of the <see cref="T:System.Xml.EntityHandling" /> values. If no <see langword="EntityHandling" /> is specified, it defaults to <see langword="EntityHandling.ExpandCharEntities" />.</returns>
// Token: 0x17000086 RID: 134
// (set) Token: 0x060000DF RID: 223 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000086")]
public EntityHandling EntityHandling
{
[Token(Token = "0x60000DF")]
[Address(RVA = "0x5F5F60", Offset = "0x5F4D60", VA = "0x1805F5F60")]
set
{
}
}
/// <summary>Sets the <see cref="T:System.Xml.XmlResolver" /> used for resolving DTD references.</summary>
/// <returns>The <see langword="XmlResolver" /> to use. If set to <see langword="null" />, external resources are not resolved.In version 1.1 of the .NET Framework, the caller must be fully trusted in order to specify an <see langword="XmlResolver" />.</returns>
// Token: 0x17000087 RID: 135
// (set) Token: 0x060000E0 RID: 224 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000087")]
public XmlResolver XmlResolver
{
[Token(Token = "0x60000E0")]
[Address(RVA = "0x5F6000", Offset = "0x5F4E00", VA = "0x1805F6000")]
set
{
}
}
// Token: 0x17000088 RID: 136
// (get) Token: 0x060000E1 RID: 225 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000088")]
internal XmlTextReaderImpl Impl
{
[Token(Token = "0x60000E1")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
// Token: 0x17000089 RID: 137
// (set) Token: 0x060000E2 RID: 226 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000089")]
internal bool XmlValidatingReaderCompatibilityMode
{
[Token(Token = "0x60000E2")]
[Address(RVA = "0x5F6080", Offset = "0x5F4E80", VA = "0x1805F6080")]
set
{
}
}
// Token: 0x1700008A RID: 138
// (get) Token: 0x060000E3 RID: 227 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700008A")]
internal override IDtdInfo DtdInfo
{
[Token(Token = "0x60000E3")]
[Address(RVA = "0x5F5DB0", Offset = "0x5F4BB0", VA = "0x1805F5DB0", Slot = "29")]
get
{
return null;
}
}
// Token: 0x04000063 RID: 99
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000063")]
private XmlTextReaderImpl impl;
}
}