388 lines
14 KiB
C#
388 lines
14 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Xml.Schema;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Specifies a set of features to support on the <see cref="T:System.Xml.XmlReader" /> object created by the <see cref="Overload:System.Xml.XmlReader.Create" /> method. </summary>
|
|
// Token: 0x02000021 RID: 33
|
|
[Token(Token = "0x2000021")]
|
|
public sealed class XmlReaderSettings
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlReaderSettings" /> class.</summary>
|
|
// Token: 0x060000B0 RID: 176 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60000B0")]
|
|
[Address(RVA = "0x5E0CE0", Offset = "0x5DFAE0", VA = "0x1805E0CE0")]
|
|
public XmlReaderSettings()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see cref="T:System.Xml.XmlNameTable" /> used for atomized string comparisons.</summary>
|
|
/// <returns>The <see cref="T:System.Xml.XmlNameTable" /> that stores all the atomized strings used by all <see cref="T:System.Xml.XmlReader" /> instances created using this <see cref="T:System.Xml.XmlReaderSettings" /> object.The default is <see langword="null" />. The created <see cref="T:System.Xml.XmlReader" /> instance will use a new empty <see cref="T:System.Xml.NameTable" /> if this value is <see langword="null" />.</returns>
|
|
// Token: 0x1700006A RID: 106
|
|
// (set) Token: 0x060000B1 RID: 177 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006A")]
|
|
public XmlNameTable NameTable
|
|
{
|
|
[Token(Token = "0x60000B1")]
|
|
[Address(RVA = "0x5E1200", Offset = "0x5E0000", VA = "0x1805E1200")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700006B RID: 107
|
|
// (set) Token: 0x060000B2 RID: 178 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006B")]
|
|
internal bool IsXmlResolverSet
|
|
{
|
|
[Token(Token = "0x60000B2")]
|
|
[Address(RVA = "0x5E1030", Offset = "0x5DFE30", VA = "0x1805E1030")]
|
|
[CompilerGenerated]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Xml.XmlResolver" /> used to access external documents.</summary>
|
|
/// <returns>An <see cref="T:System.Xml.XmlResolver" /> used to access external documents. If set to <see langword="null" />, an <see cref="T:System.Xml.XmlException" /> is thrown when the <see cref="T:System.Xml.XmlReader" /> tries to access an external resource. The default is a new <see cref="T:System.Xml.XmlUrlResolver" /> with no credentials. Starting with the .NET Framework 4.5.2, this setting has a default value of <see langword="null" />.</returns>
|
|
// Token: 0x1700006C RID: 108
|
|
// (set) Token: 0x060000B3 RID: 179 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006C")]
|
|
public XmlResolver XmlResolver
|
|
{
|
|
[Token(Token = "0x60000B3")]
|
|
[Address(RVA = "0x5E1260", Offset = "0x5E0060", VA = "0x1805E1260")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060000B4 RID: 180 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60000B4")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
internal XmlResolver GetXmlResolver()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets or sets line number offset of the <see cref="T:System.Xml.XmlReader" /> object.</summary>
|
|
/// <returns>The line number offset. The default is 0.</returns>
|
|
// Token: 0x1700006D RID: 109
|
|
// (set) Token: 0x060000B5 RID: 181 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006D")]
|
|
public int LineNumberOffset
|
|
{
|
|
[Token(Token = "0x60000B5")]
|
|
[Address(RVA = "0x5E1040", Offset = "0x5DFE40", VA = "0x1805E1040")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets line position offset of the <see cref="T:System.Xml.XmlReader" /> object.</summary>
|
|
/// <returns>The line position offset. The default is 0.</returns>
|
|
// Token: 0x1700006E RID: 110
|
|
// (set) Token: 0x060000B6 RID: 182 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006E")]
|
|
public int LinePositionOffset
|
|
{
|
|
[Token(Token = "0x60000B6")]
|
|
[Address(RVA = "0x5E1090", Offset = "0x5DFE90", VA = "0x1805E1090")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the level of conformance which the <see cref="T:System.Xml.XmlReader" /> will comply.</summary>
|
|
/// <returns>One of the enumeration values that specifies the level of conformance that the XML reader will enforce. The default is <see cref="F:System.Xml.ConformanceLevel.Document" />.</returns>
|
|
// Token: 0x1700006F RID: 111
|
|
// (set) Token: 0x060000B7 RID: 183 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700006F")]
|
|
public ConformanceLevel ConformanceLevel
|
|
{
|
|
[Token(Token = "0x60000B7")]
|
|
[Address(RVA = "0x5E0E40", Offset = "0x5DFC40", VA = "0x1805E0E40")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether to do character checking.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to do character checking; otherwise <see langword="false" />. The default is <see langword="true" />.If the <see cref="T:System.Xml.XmlReader" /> is processing text data, it always checks that the XML names and text content are valid, regardless of the property setting. Setting <see cref="P:System.Xml.XmlReaderSettings.CheckCharacters" /> to <see langword="false" /> turns off character checking for character entity references.</returns>
|
|
// Token: 0x17000070 RID: 112
|
|
// (set) Token: 0x060000B8 RID: 184 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000070")]
|
|
public bool CheckCharacters
|
|
{
|
|
[Token(Token = "0x60000B8")]
|
|
[Address(RVA = "0x5E0DF0", Offset = "0x5DFBF0", VA = "0x1805E0DF0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating the maximum allowable number of characters in an XML document. A zero (0) value means no limits on the size of the XML document. A non-zero value specifies the maximum size, in characters.</summary>
|
|
/// <returns>The maximum allowable number of characters in an XML document. The default is 0.</returns>
|
|
// Token: 0x17000071 RID: 113
|
|
// (set) Token: 0x060000B9 RID: 185 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000071")]
|
|
public long MaxCharactersInDocument
|
|
{
|
|
[Token(Token = "0x60000B9")]
|
|
[Address(RVA = "0x5E1170", Offset = "0x5DFF70", VA = "0x1805E1170")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating the maximum allowable number of characters in a document that result from expanding entities.</summary>
|
|
/// <returns>The maximum allowable number of characters from expanded entities. The default is 0.</returns>
|
|
// Token: 0x17000072 RID: 114
|
|
// (set) Token: 0x060000BA RID: 186 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000072")]
|
|
public long MaxCharactersFromEntities
|
|
{
|
|
[Token(Token = "0x60000BA")]
|
|
[Address(RVA = "0x5E10E0", Offset = "0x5DFEE0", VA = "0x1805E10E0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether to ignore insignificant white space.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to ignore white space; otherwise <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x17000073 RID: 115
|
|
// (set) Token: 0x060000BB RID: 187 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000073")]
|
|
public bool IgnoreWhitespace
|
|
{
|
|
[Token(Token = "0x60000BB")]
|
|
[Address(RVA = "0x5E0FE0", Offset = "0x5DFDE0", VA = "0x1805E0FE0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether to ignore processing instructions.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to ignore processing instructions; otherwise <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x17000074 RID: 116
|
|
// (set) Token: 0x060000BC RID: 188 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000074")]
|
|
public bool IgnoreProcessingInstructions
|
|
{
|
|
[Token(Token = "0x60000BC")]
|
|
[Address(RVA = "0x5E0F90", Offset = "0x5DFD90", VA = "0x1805E0F90")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether to ignore comments.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> to ignore comments; otherwise <see langword="false" />. The default is <see langword="false" />.</returns>
|
|
// Token: 0x17000075 RID: 117
|
|
// (set) Token: 0x060000BD RID: 189 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000075")]
|
|
public bool IgnoreComments
|
|
{
|
|
[Token(Token = "0x60000BD")]
|
|
[Address(RVA = "0x5E0F40", Offset = "0x5DFD40", VA = "0x1805E0F40")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that determines the processing of DTDs.</summary>
|
|
/// <returns>One of the enumeration values that determines the processing of DTDs. The default is <see cref="F:System.Xml.DtdProcessing.Prohibit" />.</returns>
|
|
// Token: 0x17000076 RID: 118
|
|
// (set) Token: 0x060000BE RID: 190 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000076")]
|
|
public DtdProcessing DtdProcessing
|
|
{
|
|
[Token(Token = "0x60000BE")]
|
|
[Address(RVA = "0x5E0EC0", Offset = "0x5DFCC0", VA = "0x1805E0EC0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether the <see cref="T:System.Xml.XmlReader" /> will perform validation or type assignment when reading.</summary>
|
|
/// <returns>One of the <see cref="T:System.Xml.ValidationType" /> values that indicates whether XmlReader will perform validation or type assignment when reading. The default is <see langword="ValidationType.None" />.</returns>
|
|
// Token: 0x17000077 RID: 119
|
|
// (get) Token: 0x060000BF RID: 191 RVA: 0x000023E8 File Offset: 0x000005E8
|
|
[Token(Token = "0x17000077")]
|
|
public ValidationType ValidationType
|
|
{
|
|
[Token(Token = "0x60000BF")]
|
|
[Address(RVA = "0x3FFBD0", Offset = "0x3FE9D0", VA = "0x1803FFBD0")]
|
|
get
|
|
{
|
|
return ValidationType.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the <see cref="T:System.Xml.Schema.XmlSchemaSet" /> to use when performing schema validation.</summary>
|
|
/// <returns>The <see cref="T:System.Xml.Schema.XmlSchemaSet" /> to use when performing schema validation. The default is an empty <see cref="T:System.Xml.Schema.XmlSchemaSet" /> object.</returns>
|
|
// Token: 0x17000078 RID: 120
|
|
// (get) Token: 0x060000C0 RID: 192 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000078")]
|
|
public XmlSchemaSet Schemas
|
|
{
|
|
[Token(Token = "0x60000C0")]
|
|
[Address(RVA = "0x5E0D90", Offset = "0x5DFB90", VA = "0x1805E0D90")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000079 RID: 121
|
|
// (set) Token: 0x060000C1 RID: 193 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x17000079")]
|
|
internal bool ReadOnly
|
|
{
|
|
[Token(Token = "0x60000C1")]
|
|
[Address(RVA = "0x5E1250", Offset = "0x5E0050", VA = "0x1805E1250")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060000C2 RID: 194 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60000C2")]
|
|
[Address(RVA = "0x5E0980", Offset = "0x5DF780", VA = "0x1805E0980")]
|
|
private void CheckReadOnly(string propertyName)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060000C3 RID: 195 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60000C3")]
|
|
[Address(RVA = "0x5E0C40", Offset = "0x5DFA40", VA = "0x1805E0C40")]
|
|
private void Initialize()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060000C4 RID: 196 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60000C4")]
|
|
[Address(RVA = "0x5E0B90", Offset = "0x5DF990", VA = "0x1805E0B90")]
|
|
private void Initialize(XmlResolver resolver)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060000C5 RID: 197 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60000C5")]
|
|
[Address(RVA = "0x5E0A30", Offset = "0x5DF830", VA = "0x1805E0A30")]
|
|
private static XmlResolver CreateDefaultResolver()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060000C6 RID: 198 RVA: 0x00002400 File Offset: 0x00000600
|
|
[Token(Token = "0x60000C6")]
|
|
[Address(RVA = "0x5E0A80", Offset = "0x5DF880", VA = "0x1805E0A80")]
|
|
internal static bool EnableLegacyXmlSettings()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0400004B RID: 75
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400004B")]
|
|
private bool useAsync;
|
|
|
|
// Token: 0x0400004C RID: 76
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400004C")]
|
|
private XmlNameTable nameTable;
|
|
|
|
// Token: 0x0400004D RID: 77
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400004D")]
|
|
private XmlResolver xmlResolver;
|
|
|
|
// Token: 0x0400004E RID: 78
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x400004E")]
|
|
private int lineNumberOffset;
|
|
|
|
// Token: 0x0400004F RID: 79
|
|
[FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x400004F")]
|
|
private int linePositionOffset;
|
|
|
|
// Token: 0x04000050 RID: 80
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000050")]
|
|
private ConformanceLevel conformanceLevel;
|
|
|
|
// Token: 0x04000051 RID: 81
|
|
[FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4000051")]
|
|
private bool checkCharacters;
|
|
|
|
// Token: 0x04000052 RID: 82
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000052")]
|
|
private long maxCharactersInDocument;
|
|
|
|
// Token: 0x04000053 RID: 83
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000053")]
|
|
private long maxCharactersFromEntities;
|
|
|
|
// Token: 0x04000054 RID: 84
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000054")]
|
|
private bool ignoreWhitespace;
|
|
|
|
// Token: 0x04000055 RID: 85
|
|
[FieldOffset(Offset = "0x49")]
|
|
[Token(Token = "0x4000055")]
|
|
private bool ignorePIs;
|
|
|
|
// Token: 0x04000056 RID: 86
|
|
[FieldOffset(Offset = "0x4A")]
|
|
[Token(Token = "0x4000056")]
|
|
private bool ignoreComments;
|
|
|
|
// Token: 0x04000057 RID: 87
|
|
[FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x4000057")]
|
|
private DtdProcessing dtdProcessing;
|
|
|
|
// Token: 0x04000058 RID: 88
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000058")]
|
|
private ValidationType validationType;
|
|
|
|
// Token: 0x04000059 RID: 89
|
|
[FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x4000059")]
|
|
private XmlSchemaValidationFlags validationFlags;
|
|
|
|
// Token: 0x0400005A RID: 90
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400005A")]
|
|
private XmlSchemaSet schemas;
|
|
|
|
// Token: 0x0400005B RID: 91
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400005B")]
|
|
private bool closeInput;
|
|
|
|
// Token: 0x0400005C RID: 92
|
|
[FieldOffset(Offset = "0x61")]
|
|
[Token(Token = "0x400005C")]
|
|
private bool isReadOnly;
|
|
|
|
// Token: 0x0400005E RID: 94
|
|
[Token(Token = "0x400005E")]
|
|
private static bool? s_enableLegacyXmlSettings;
|
|
}
|
|
}
|