265 lines
11 KiB
C#
265 lines
11 KiB
C#
using System;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Provides all the context information required by the <see cref="T:System.Xml.XmlReader" /> to parse an XML fragment.</summary>
|
|
// Token: 0x0200001F RID: 31
|
|
[Token(Token = "0x200001F")]
|
|
public class XmlParserContext
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="XmlParserContext" /> class with the specified <see cref="T:System.Xml.XmlNameTable" />, <see cref="T:System.Xml.XmlNamespaceManager" />, base URI, <see langword="xml:lang" />, <see langword="xml:space" />, and document type values.</summary>
|
|
/// <param name="nt">The <see cref="T:System.Xml.XmlNameTable" /> to use to atomize strings. If this is <see langword="null" />, the name table used to construct the <paramref name="nsMgr" /> is used instead. For more information about atomized strings, see <see cref="T:System.Xml.XmlNameTable" />. </param>
|
|
/// <param name="nsMgr">The <see cref="T:System.Xml.XmlNamespaceManager" /> to use for looking up namespace information, or <see langword="null" />. </param>
|
|
/// <param name="docTypeName">The name of the document type declaration. </param>
|
|
/// <param name="pubId">The public identifier. </param>
|
|
/// <param name="sysId">The system identifier. </param>
|
|
/// <param name="internalSubset">The internal DTD subset. The DTD subset is used for entity resolution, not for document validation.</param>
|
|
/// <param name="baseURI">The base URI for the XML fragment (the location from which the fragment was loaded). </param>
|
|
/// <param name="xmlLang">The <see langword="xml:lang" /> scope. </param>
|
|
/// <param name="xmlSpace">An <see cref="T:System.Xml.XmlSpace" /> value indicating the <see langword="xml:space" /> scope. </param>
|
|
/// <exception cref="T:System.Xml.XmlException">
|
|
/// <paramref name="nt" /> is not the same <see langword="XmlNameTable" /> used to construct <paramref name="nsMgr" />. </exception>
|
|
// Token: 0x06000086 RID: 134 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000086")]
|
|
[Address(RVA = "0x5DFBC0", Offset = "0x5DE9C0", VA = "0x1805DFBC0")]
|
|
public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, string docTypeName, string pubId, string sysId, string internalSubset, string baseURI, string xmlLang, XmlSpace xmlSpace)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlParserContext" /> class with the specified <see cref="T:System.Xml.XmlNameTable" />, <see cref="T:System.Xml.XmlNamespaceManager" />, base URI, <see langword="xml:lang" />, <see langword="xml:space" />, encoding, and document type values.</summary>
|
|
/// <param name="nt">The <see cref="T:System.Xml.XmlNameTable" /> to use to atomize strings. If this is <see langword="null" />, the name table used to construct the <paramref name="nsMgr" /> is used instead. For more information about atomized strings, see <see cref="T:System.Xml.XmlNameTable" />. </param>
|
|
/// <param name="nsMgr">The <see cref="T:System.Xml.XmlNamespaceManager" /> to use for looking up namespace information, or <see langword="null" />. </param>
|
|
/// <param name="docTypeName">The name of the document type declaration. </param>
|
|
/// <param name="pubId">The public identifier. </param>
|
|
/// <param name="sysId">The system identifier. </param>
|
|
/// <param name="internalSubset">The internal DTD subset. The DTD is used for entity resolution, not for document validation.</param>
|
|
/// <param name="baseURI">The base URI for the XML fragment (the location from which the fragment was loaded). </param>
|
|
/// <param name="xmlLang">The <see langword="xml:lang" /> scope. </param>
|
|
/// <param name="xmlSpace">An <see cref="T:System.Xml.XmlSpace" /> value indicating the <see langword="xml:space" /> scope. </param>
|
|
/// <param name="enc">An <see cref="T:System.Text.Encoding" /> object indicating the encoding setting. </param>
|
|
/// <exception cref="T:System.Xml.XmlException">
|
|
/// <paramref name="nt" /> is not the same <see langword="XmlNameTable" /> used to construct <paramref name="nsMgr" />. </exception>
|
|
// Token: 0x06000087 RID: 135 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000087")]
|
|
[Address(RVA = "0x5DF9A0", Offset = "0x5DE7A0", VA = "0x1805DF9A0")]
|
|
public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, string docTypeName, string pubId, string sysId, string internalSubset, string baseURI, string xmlLang, XmlSpace xmlSpace, Encoding enc)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Xml.XmlNameTable" /> used to atomize strings. For more information on atomized strings, see <see cref="T:System.Xml.XmlNameTable" />.</summary>
|
|
/// <returns>The <see langword="XmlNameTable" />.</returns>
|
|
// Token: 0x17000050 RID: 80
|
|
// (get) Token: 0x06000088 RID: 136 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000050")]
|
|
public XmlNameTable NameTable
|
|
{
|
|
[Token(Token = "0x6000088")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see cref="T:System.Xml.XmlNamespaceManager" />.</summary>
|
|
/// <returns>The <see langword="XmlNamespaceManager" />.</returns>
|
|
// Token: 0x17000051 RID: 81
|
|
// (get) Token: 0x06000089 RID: 137 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000051")]
|
|
public XmlNamespaceManager NamespaceManager
|
|
{
|
|
[Token(Token = "0x6000089")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the name of the document type declaration.</summary>
|
|
/// <returns>The name of the document type declaration.</returns>
|
|
// Token: 0x17000052 RID: 82
|
|
// (get) Token: 0x0600008A RID: 138 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000052")]
|
|
public string DocTypeName
|
|
{
|
|
[Token(Token = "0x600008A")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the public identifier.</summary>
|
|
/// <returns>The public identifier.</returns>
|
|
// Token: 0x17000053 RID: 83
|
|
// (get) Token: 0x0600008B RID: 139 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000053")]
|
|
public string PublicId
|
|
{
|
|
[Token(Token = "0x600008B")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the system identifier.</summary>
|
|
/// <returns>The system identifier.</returns>
|
|
// Token: 0x17000054 RID: 84
|
|
// (get) Token: 0x0600008C RID: 140 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000054")]
|
|
public string SystemId
|
|
{
|
|
[Token(Token = "0x600008C")]
|
|
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the base URI.</summary>
|
|
/// <returns>The base URI to use to resolve the DTD file.</returns>
|
|
// Token: 0x17000055 RID: 85
|
|
// (get) Token: 0x0600008D RID: 141 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000055")]
|
|
public string BaseURI
|
|
{
|
|
[Token(Token = "0x600008D")]
|
|
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the internal DTD subset.</summary>
|
|
/// <returns>The internal DTD subset. For example, this property returns everything between the square brackets <!DOCTYPE doc [...]>.</returns>
|
|
// Token: 0x17000056 RID: 86
|
|
// (get) Token: 0x0600008E RID: 142 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000056")]
|
|
public string InternalSubset
|
|
{
|
|
[Token(Token = "0x600008E")]
|
|
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the current <see langword="xml:lang" /> scope.</summary>
|
|
/// <returns>The current <see langword="xml:lang" /> scope. If there is no <see langword="xml:lang" /> in scope, <see langword="String.Empty" /> is returned.</returns>
|
|
// Token: 0x17000057 RID: 87
|
|
// (get) Token: 0x0600008F RID: 143 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000057")]
|
|
public string XmlLang
|
|
{
|
|
[Token(Token = "0x600008F")]
|
|
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the current <see langword="xml:space" /> scope.</summary>
|
|
/// <returns>An <see cref="T:System.Xml.XmlSpace" /> value indicating the <see langword="xml:space" /> scope.</returns>
|
|
// Token: 0x17000058 RID: 88
|
|
// (get) Token: 0x06000090 RID: 144 RVA: 0x00002370 File Offset: 0x00000570
|
|
[Token(Token = "0x17000058")]
|
|
public XmlSpace XmlSpace
|
|
{
|
|
[Token(Token = "0x6000090")]
|
|
[Address(RVA = "0x430CC0", Offset = "0x42FAC0", VA = "0x180430CC0")]
|
|
get
|
|
{
|
|
return XmlSpace.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the encoding type.</summary>
|
|
/// <returns>An <see cref="T:System.Text.Encoding" /> object indicating the encoding type.</returns>
|
|
// Token: 0x17000059 RID: 89
|
|
// (get) Token: 0x06000091 RID: 145 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000059")]
|
|
public Encoding Encoding
|
|
{
|
|
[Token(Token = "0x6000091")]
|
|
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700005A RID: 90
|
|
// (get) Token: 0x06000092 RID: 146 RVA: 0x00002388 File Offset: 0x00000588
|
|
[Token(Token = "0x1700005A")]
|
|
internal bool HasDtdInfo
|
|
{
|
|
[Token(Token = "0x6000092")]
|
|
[Address(RVA = "0x5DFC30", Offset = "0x5DEA30", VA = "0x1805DFC30")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400003E RID: 62
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400003E")]
|
|
private XmlNameTable _nt;
|
|
|
|
// Token: 0x0400003F RID: 63
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400003F")]
|
|
private XmlNamespaceManager _nsMgr;
|
|
|
|
// Token: 0x04000040 RID: 64
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000040")]
|
|
private string _docTypeName;
|
|
|
|
// Token: 0x04000041 RID: 65
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000041")]
|
|
private string _pubId;
|
|
|
|
// Token: 0x04000042 RID: 66
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000042")]
|
|
private string _sysId;
|
|
|
|
// Token: 0x04000043 RID: 67
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000043")]
|
|
private string _internalSubset;
|
|
|
|
// Token: 0x04000044 RID: 68
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000044")]
|
|
private string _xmlLang;
|
|
|
|
// Token: 0x04000045 RID: 69
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000045")]
|
|
private XmlSpace _xmlSpace;
|
|
|
|
// Token: 0x04000046 RID: 70
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000046")]
|
|
private string _baseURI;
|
|
|
|
// Token: 0x04000047 RID: 71
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000047")]
|
|
private Encoding _encoding;
|
|
}
|
|
}
|