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: 0x020003BF RID: 959
|
|
[Token(Token = "0x20003BF")]
|
|
public sealed class ConfigXmlDocument : XmlDocument, IConfigErrorInfo
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Configuration.ConfigXmlDocument" /> class.</summary>
|
|
// Token: 0x06001958 RID: 6488 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6001958")]
|
|
[Address(RVA = "0x289EEA0", Offset = "0x289DCA0", VA = "0x18289EEA0")]
|
|
public ConfigXmlDocument()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the configuration file name.</summary>
|
|
/// <returns>The configuration file name.</returns>
|
|
// Token: 0x170005AC RID: 1452
|
|
// (get) Token: 0x06001959 RID: 6489 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170005AC")]
|
|
public string Filename
|
|
{
|
|
[Token(Token = "0x6001959")]
|
|
[Address(RVA = "0x289EED0", Offset = "0x289DCD0", VA = "0x18289EED0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the current node line number.</summary>
|
|
/// <returns>The line number for the current node.</returns>
|
|
// Token: 0x170005AD RID: 1453
|
|
// (get) Token: 0x0600195A RID: 6490 RVA: 0x0000AC20 File Offset: 0x00008E20
|
|
[Token(Token = "0x170005AD")]
|
|
public int LineNumber
|
|
{
|
|
[Token(Token = "0x600195A")]
|
|
[Address(RVA = "0x289EF00", Offset = "0x289DD00", VA = "0x18289EF00")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600195B RID: 6491 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600195B")]
|
|
[Address(RVA = "0x289EE40", Offset = "0x289DC40", VA = "0x18289EE40", Slot = "63")]
|
|
string IConfigErrorInfo.get_Filename()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600195C RID: 6492 RVA: 0x0000AC38 File Offset: 0x00008E38
|
|
[Token(Token = "0x600195C")]
|
|
[Address(RVA = "0x289EE70", Offset = "0x289DC70", VA = "0x18289EE70", Slot = "64")]
|
|
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: 0x0600195D RID: 6493 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600195D")]
|
|
[Address(RVA = "0x289EE10", Offset = "0x289DC10", VA = "0x18289EE10")]
|
|
public void LoadSingleElement(string filename, XmlTextReader sourceReader)
|
|
{
|
|
}
|
|
}
|
|
}
|