Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

209 lines
8.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Xml
{
/// <summary>Represents the XML declaration node &lt;?xml version='1.0'...?&gt;.</summary>
// Token: 0x0200003C RID: 60
[Token(Token = "0x200003C")]
public class XmlDeclaration : XmlLinkedNode
{
/// <summary>Initializes a new instance of the <see cref="T:System.Xml.XmlDeclaration" /> class.</summary>
/// <param name="version">The XML version; see the <see cref="P:System.Xml.XmlDeclaration.Version" /> property.</param>
/// <param name="encoding">The encoding scheme; see the <see cref="P:System.Xml.XmlDeclaration.Encoding" /> property.</param>
/// <param name="standalone">Indicates whether the XML document depends on an external DTD; see the <see cref="P:System.Xml.XmlDeclaration.Standalone" /> property.</param>
/// <param name="doc">The parent XML document.</param>
// Token: 0x06000264 RID: 612 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000264")]
[Address(RVA = "0x465F70", Offset = "0x464D70", VA = "0x180465F70")]
protected internal XmlDeclaration(string version, string encoding, string standalone, XmlDocument doc)
{
}
/// <summary>Gets the XML version of the document.</summary>
/// <returns>The value is always <see langword="1.0" />.</returns>
// Token: 0x170000F0 RID: 240
// (get) Token: 0x06000265 RID: 613 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000266 RID: 614 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000F0")]
public string Version
{
[Token(Token = "0x6000265")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
get
{
return null;
}
[Token(Token = "0x6000266")]
[Address(RVA = "0x460F90", Offset = "0x45FD90", VA = "0x180460F90")]
internal set
{
}
}
/// <summary>Gets or sets the encoding level of the XML document.</summary>
/// <returns>The valid character encoding name. The most commonly supported character encoding names for XML are the following: Category Encoding Names Unicode UTF-8, UTF-16 ISO 10646 ISO-10646-UCS-2, ISO-10646-UCS-4 ISO 8859 ISO-8859-n (where "n" is a digit from 1 to 9) JIS X-0208-1997 ISO-2022-JP, Shift_JIS, EUC-JP This value is optional. If a value is not set, this property returns String.Empty.If an encoding attribute is not included, UTF-8 encoding is assumed when the document is written or saved out.</returns>
// Token: 0x170000F1 RID: 241
// (get) Token: 0x06000267 RID: 615 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000268 RID: 616 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000F1")]
public string Encoding
{
[Token(Token = "0x6000267")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return null;
}
[Token(Token = "0x6000268")]
[Address(RVA = "0x4662C0", Offset = "0x4650C0", VA = "0x1804662C0")]
set
{
}
}
/// <summary>Gets or sets the value of the standalone attribute.</summary>
/// <returns>Valid values are <see langword="yes" /> if all entity declarations required by the XML document are contained within the document or <see langword="no" /> if an external document type definition (DTD) is required. If a standalone attribute is not present in the XML declaration, this property returns String.Empty.</returns>
// Token: 0x170000F2 RID: 242
// (get) Token: 0x06000269 RID: 617 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600026A RID: 618 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000F2")]
public string Standalone
{
[Token(Token = "0x6000269")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
[Token(Token = "0x600026A")]
[Address(RVA = "0x466490", Offset = "0x465290", VA = "0x180466490")]
set
{
}
}
/// <summary>Gets or sets the value of the <see langword="XmlDeclaration" />.</summary>
/// <returns>The contents of the <see langword="XmlDeclaration" /> (that is, everything between &lt;?xml and ?&gt;).</returns>
// Token: 0x170000F3 RID: 243
// (get) Token: 0x0600026B RID: 619 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600026C RID: 620 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000F3")]
public override string Value
{
[Token(Token = "0x600026B")]
[Address(RVA = "0x460E60", Offset = "0x45FC60", VA = "0x180460E60", Slot = "7")]
get
{
return null;
}
[Token(Token = "0x600026C")]
[Address(RVA = "0x460FA0", Offset = "0x45FDA0", VA = "0x180460FA0", Slot = "8")]
set
{
}
}
/// <summary>Gets or sets the concatenated values of the <see langword="XmlDeclaration" />.</summary>
/// <returns>The concatenated values of the <see langword="XmlDeclaration" /> (that is, everything between &lt;?xml and ?&gt;).</returns>
// Token: 0x170000F4 RID: 244
// (get) Token: 0x0600026D RID: 621 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600026E RID: 622 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x170000F4")]
public override string InnerText
{
[Token(Token = "0x600026D")]
[Address(RVA = "0x466130", Offset = "0x464F30", VA = "0x180466130", Slot = "33")]
get
{
return null;
}
[Token(Token = "0x600026E")]
[Address(RVA = "0x466320", Offset = "0x465120", VA = "0x180466320", Slot = "34")]
set
{
}
}
/// <summary>Gets the qualified name of the node.</summary>
/// <returns>For <see langword="XmlDeclaration" /> nodes, the name is <see langword="xml" />.</returns>
// Token: 0x170000F5 RID: 245
// (get) Token: 0x0600026F RID: 623 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000F5")]
public override string Name
{
[Token(Token = "0x600026F")]
[Address(RVA = "0x466280", Offset = "0x465080", VA = "0x180466280", Slot = "6")]
get
{
return null;
}
}
/// <summary>Gets the local name of the node.</summary>
/// <returns>For <see langword="XmlDeclaration" /> nodes, the local name is <see langword="xml" />.</returns>
// Token: 0x170000F6 RID: 246
// (get) Token: 0x06000270 RID: 624 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170000F6")]
public override string LocalName
{
[Token(Token = "0x6000270")]
[Address(RVA = "0x466260", Offset = "0x465060", VA = "0x180466260", Slot = "31")]
get
{
return null;
}
}
/// <summary>Gets the type of the current node.</summary>
/// <returns>For <see langword="XmlDeclaration" /> nodes, this value is XmlNodeType.XmlDeclaration.</returns>
// Token: 0x170000F7 RID: 247
// (get) Token: 0x06000271 RID: 625 RVA: 0x00002FD0 File Offset: 0x000011D0
[Token(Token = "0x170000F7")]
public override XmlNodeType NodeType
{
[Token(Token = "0x6000271")]
[Address(RVA = "0x4662B0", Offset = "0x4650B0", VA = "0x1804662B0", Slot = "9")]
get
{
return XmlNodeType.None;
}
}
/// <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. Because <see langword="XmlDeclaration" /> nodes do not have children, the cloned node always includes the data value, regardless of the parameter setting. </param>
/// <returns>The cloned node.</returns>
// Token: 0x06000272 RID: 626 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000272")]
[Address(RVA = "0x465E70", Offset = "0x464C70", VA = "0x180465E70", Slot = "27")]
public override XmlNode CloneNode(bool deep)
{
return null;
}
// Token: 0x06000273 RID: 627 RVA: 0x00002FE8 File Offset: 0x000011E8
[Token(Token = "0x6000273")]
[Address(RVA = "0x465EC0", Offset = "0x464CC0", VA = "0x180465EC0")]
private bool IsValidXmlVersion(string ver)
{
return default(bool);
}
// Token: 0x04000136 RID: 310
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000136")]
private string version;
// Token: 0x04000137 RID: 311
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000137")]
private string encoding;
// Token: 0x04000138 RID: 312
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000138")]
private string standalone;
}
}