279 lines
12 KiB
C#
279 lines
12 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: 0x02000067 RID: 103
|
|
[Token(Token = "0x2000067")]
|
|
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" />, <see langword="xml:lang" />, and <see langword="xml:space" /> 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="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: 0x0600039C RID: 924 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600039C")]
|
|
[Address(RVA = "0x4B2BB0", Offset = "0x4B1BB0", VA = "0x1804B2BB0")]
|
|
public XmlParserContext(XmlNameTable nt, XmlNamespaceManager nsMgr, 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" />, 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: 0x0600039D RID: 925 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600039D")]
|
|
[Address(RVA = "0x4B2E80", Offset = "0x4B1E80", VA = "0x1804B2E80")]
|
|
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: 0x0600039E RID: 926 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600039E")]
|
|
[Address(RVA = "0x4B2C60", Offset = "0x4B1C60", VA = "0x1804B2C60")]
|
|
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: 0x170000CB RID: 203
|
|
// (get) Token: 0x0600039F RID: 927 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CB")]
|
|
public XmlNameTable NameTable
|
|
{
|
|
[Token(Token = "0x600039F")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see cref="T:System.Xml.XmlNamespaceManager" />.</summary>
|
|
/// <returns>The <see langword="XmlNamespaceManager" />.</returns>
|
|
// Token: 0x170000CC RID: 204
|
|
// (get) Token: 0x060003A0 RID: 928 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CC")]
|
|
public XmlNamespaceManager NamespaceManager
|
|
{
|
|
[Token(Token = "0x60003A0")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
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: 0x170000CD RID: 205
|
|
// (get) Token: 0x060003A1 RID: 929 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CD")]
|
|
public string DocTypeName
|
|
{
|
|
[Token(Token = "0x60003A1")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the public identifier.</summary>
|
|
/// <returns>The public identifier.</returns>
|
|
// Token: 0x170000CE RID: 206
|
|
// (get) Token: 0x060003A2 RID: 930 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CE")]
|
|
public string PublicId
|
|
{
|
|
[Token(Token = "0x60003A2")]
|
|
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the system identifier.</summary>
|
|
/// <returns>The system identifier.</returns>
|
|
// Token: 0x170000CF RID: 207
|
|
// (get) Token: 0x060003A3 RID: 931 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000CF")]
|
|
public string SystemId
|
|
{
|
|
[Token(Token = "0x60003A3")]
|
|
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the base URI.</summary>
|
|
/// <returns>The base URI to use to resolve the DTD file.</returns>
|
|
// Token: 0x170000D0 RID: 208
|
|
// (get) Token: 0x060003A4 RID: 932 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D0")]
|
|
public string BaseURI
|
|
{
|
|
[Token(Token = "0x60003A4")]
|
|
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0")]
|
|
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: 0x170000D1 RID: 209
|
|
// (get) Token: 0x060003A5 RID: 933 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D1")]
|
|
public string InternalSubset
|
|
{
|
|
[Token(Token = "0x60003A5")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
|
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: 0x170000D2 RID: 210
|
|
// (get) Token: 0x060003A6 RID: 934 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D2")]
|
|
public string XmlLang
|
|
{
|
|
[Token(Token = "0x60003A6")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
|
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: 0x170000D3 RID: 211
|
|
// (get) Token: 0x060003A7 RID: 935 RVA: 0x00003438 File Offset: 0x00001638
|
|
[Token(Token = "0x170000D3")]
|
|
public XmlSpace XmlSpace
|
|
{
|
|
[Token(Token = "0x60003A7")]
|
|
[Address(RVA = "0x4AF0F0", Offset = "0x4AE0F0", VA = "0x1804AF0F0")]
|
|
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: 0x170000D4 RID: 212
|
|
// (get) Token: 0x060003A8 RID: 936 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170000D4")]
|
|
public Encoding Encoding
|
|
{
|
|
[Token(Token = "0x60003A8")]
|
|
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170000D5 RID: 213
|
|
// (get) Token: 0x060003A9 RID: 937 RVA: 0x00003450 File Offset: 0x00001650
|
|
[Token(Token = "0x170000D5")]
|
|
internal bool HasDtdInfo
|
|
{
|
|
[Token(Token = "0x60003A9")]
|
|
[Address(RVA = "0x4B2EF0", Offset = "0x4B1EF0", VA = "0x1804B2EF0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000259 RID: 601
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000259")]
|
|
private XmlNameTable _nt;
|
|
|
|
// Token: 0x0400025A RID: 602
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400025A")]
|
|
private XmlNamespaceManager _nsMgr;
|
|
|
|
// Token: 0x0400025B RID: 603
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400025B")]
|
|
private string _docTypeName;
|
|
|
|
// Token: 0x0400025C RID: 604
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400025C")]
|
|
private string _pubId;
|
|
|
|
// Token: 0x0400025D RID: 605
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400025D")]
|
|
private string _sysId;
|
|
|
|
// Token: 0x0400025E RID: 606
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400025E")]
|
|
private string _internalSubset;
|
|
|
|
// Token: 0x0400025F RID: 607
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400025F")]
|
|
private string _xmlLang;
|
|
|
|
// Token: 0x04000260 RID: 608
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000260")]
|
|
private XmlSpace _xmlSpace;
|
|
|
|
// Token: 0x04000261 RID: 609
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000261")]
|
|
private string _baseURI;
|
|
|
|
// Token: 0x04000262 RID: 610
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000262")]
|
|
private Encoding _encoding;
|
|
}
|
|
}
|