78 lines
2.5 KiB
C#
78 lines
2.5 KiB
C#
using System;
|
|
using System.Configuration.Internal;
|
|
using System.Xml;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Configuration
|
|
{
|
|
/// <summary>Wraps the corresponding <see cref="T:System.Xml.XmlDocument" /> type and also carries the necessary information for reporting file-name and line numbers.</summary>
|
|
// Token: 0x020003BB RID: 955
|
|
[Token(Token = "0x20003BB")]
|
|
public sealed class ConfigXmlDocument : XmlDocument, IConfigErrorInfo
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.ConfigXmlDocument" /> class.</summary>
|
|
// Token: 0x06001941 RID: 6465 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001941")]
|
|
[Address(RVA = "0x2F39960", Offset = "0x2F38960", VA = "0x182F39960")]
|
|
public ConfigXmlDocument()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the configuration file name.</summary>
|
|
/// <returns>The configuration file name.</returns>
|
|
// Token: 0x170005A8 RID: 1448
|
|
// (get) Token: 0x06001942 RID: 6466 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170005A8")]
|
|
public string Filename
|
|
{
|
|
[Token(Token = "0x6001942")]
|
|
[Address(RVA = "0x2F39990", Offset = "0x2F38990", VA = "0x182F39990")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node line number.</summary>
|
|
/// <returns>The line number for the current node.</returns>
|
|
// Token: 0x170005A9 RID: 1449
|
|
// (get) Token: 0x06001943 RID: 6467 RVA: 0x0000AC08 File Offset: 0x00008E08
|
|
[Token(Token = "0x170005A9")]
|
|
public int LineNumber
|
|
{
|
|
[Token(Token = "0x6001943")]
|
|
[Address(RVA = "0x2F399C0", Offset = "0x2F389C0", VA = "0x182F399C0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001944 RID: 6468 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001944")]
|
|
[Address(RVA = "0x2F39900", Offset = "0x2F38900", VA = "0x182F39900", Slot = "75")]
|
|
string IConfigErrorInfo.get_Filename()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001945 RID: 6469 RVA: 0x0000AC20 File Offset: 0x00008E20
|
|
[Token(Token = "0x6001945")]
|
|
[Address(RVA = "0x2F39930", Offset = "0x2F38930", VA = "0x182F39930", Slot = "76")]
|
|
int IConfigErrorInfo.get_LineNumber()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Loads a single configuration element.</summary>
|
|
/// <param name="filename">The name of the file.</param>
|
|
/// <param name="sourceReader">The source for the reader.</param>
|
|
// Token: 0x06001946 RID: 6470 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001946")]
|
|
[Address(RVA = "0x2F398D0", Offset = "0x2F388D0", VA = "0x182F398D0")]
|
|
public void LoadSingleElement(string filename, XmlTextReader sourceReader)
|
|
{
|
|
}
|
|
}
|
|
}
|