293 lines
11 KiB
C#
293 lines
11 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Returns detailed information about the last exception.</summary>
|
|
// Token: 0x020000F2 RID: 242
|
|
[Token(Token = "0x20000F2")]
|
|
[Serializable]
|
|
public class XmlException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class using the information in the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> and <see cref="T:System.Runtime.Serialization.StreamingContext" /> objects.</summary>
|
|
/// <param name="info">The <see langword="SerializationInfo" /> object containing all the properties of an <see langword="XmlException" />. </param>
|
|
/// <param name="context">The <see langword="StreamingContext" /> object containing the context information. </param>
|
|
// Token: 0x06000BDC RID: 3036 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BDC")]
|
|
[Address(RVA = "0x942A10", Offset = "0x941A10", VA = "0x180942A10")]
|
|
protected XmlException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Streams all the <see langword="XmlException" /> properties into the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> class for the given <see cref="T:System.Runtime.Serialization.StreamingContext" />.</summary>
|
|
/// <param name="info">The <see langword="SerializationInfo" /> object. </param>
|
|
/// <param name="context">The <see langword="StreamingContext" /> object. </param>
|
|
// Token: 0x06000BDD RID: 3037 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BDD")]
|
|
[Address(RVA = "0x942070", Offset = "0x941070", VA = "0x180942070", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class.</summary>
|
|
// Token: 0x06000BDE RID: 3038 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BDE")]
|
|
[Address(RVA = "0x942650", Offset = "0x941650", VA = "0x180942650")]
|
|
public XmlException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The error description. </param>
|
|
// Token: 0x06000BDF RID: 3039 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BDF")]
|
|
[Address(RVA = "0x942680", Offset = "0x941680", VA = "0x180942680")]
|
|
public XmlException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class.</summary>
|
|
/// <param name="message">The description of the error condition. </param>
|
|
/// <param name="innerException">The <see cref="T:System.Exception" /> that threw the <see langword="XmlException" />, if any. This value can be <see langword="null" />. </param>
|
|
// Token: 0x06000BE0 RID: 3040 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE0")]
|
|
[Address(RVA = "0x942EA0", Offset = "0x941EA0", VA = "0x180942EA0")]
|
|
public XmlException(string message, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class with the specified message, inner exception, line number, and line position.</summary>
|
|
/// <param name="message">The error description. </param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. This value can be <see langword="null" />. </param>
|
|
/// <param name="lineNumber">The line number indicating where the error occurred. </param>
|
|
/// <param name="linePosition">The line position indicating where the error occurred. </param>
|
|
// Token: 0x06000BE1 RID: 3041 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE1")]
|
|
[Address(RVA = "0x9429E0", Offset = "0x9419E0", VA = "0x1809429E0")]
|
|
public XmlException(string message, Exception innerException, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE2 RID: 3042 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE2")]
|
|
[Address(RVA = "0x942390", Offset = "0x941390", VA = "0x180942390")]
|
|
internal XmlException(string message, Exception innerException, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE3 RID: 3043 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE3")]
|
|
[Address(RVA = "0x942850", Offset = "0x941850", VA = "0x180942850")]
|
|
internal XmlException(string res, string[] args)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE4 RID: 3044 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE4")]
|
|
[Address(RVA = "0x942D60", Offset = "0x941D60", VA = "0x180942D60")]
|
|
internal XmlException(string res, string arg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE5 RID: 3045 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE5")]
|
|
[Address(RVA = "0x942180", Offset = "0x941180", VA = "0x180942180")]
|
|
internal XmlException(string res, string arg, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE6 RID: 3046 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE6")]
|
|
[Address(RVA = "0x9428D0", Offset = "0x9418D0", VA = "0x1809428D0")]
|
|
internal XmlException(string res, string arg, IXmlLineInfo lineInfo)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE7 RID: 3047 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE7")]
|
|
[Address(RVA = "0x942370", Offset = "0x941370", VA = "0x180942370")]
|
|
internal XmlException(string res, string[] args, IXmlLineInfo lineInfo)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE8 RID: 3048 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE8")]
|
|
[Address(RVA = "0x9422A0", Offset = "0x9412A0", VA = "0x1809422A0")]
|
|
internal XmlException(string res, string[] args, IXmlLineInfo lineInfo, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BE9 RID: 3049 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BE9")]
|
|
[Address(RVA = "0x942560", Offset = "0x941560", VA = "0x180942560")]
|
|
internal XmlException(string res, string arg, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEA RID: 3050 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BEA")]
|
|
[Address(RVA = "0x942760", Offset = "0x941760", VA = "0x180942760")]
|
|
internal XmlException(string res, string arg, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEB RID: 3051 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BEB")]
|
|
[Address(RVA = "0x942ED0", Offset = "0x941ED0", VA = "0x180942ED0")]
|
|
internal XmlException(string res, string[] args, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEC RID: 3052 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BEC")]
|
|
[Address(RVA = "0x942E60", Offset = "0x941E60", VA = "0x180942E60")]
|
|
internal XmlException(string res, string[] args, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BED RID: 3053 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BED")]
|
|
[Address(RVA = "0x9429B0", Offset = "0x9419B0", VA = "0x1809429B0")]
|
|
internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEE RID: 3054 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000BEE")]
|
|
[Address(RVA = "0x9426B0", Offset = "0x9416B0", VA = "0x1809426B0")]
|
|
internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000BEF RID: 3055 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BEF")]
|
|
[Address(RVA = "0x941F50", Offset = "0x940F50", VA = "0x180941F50")]
|
|
private static string FormatUserMessage(string message, int lineNumber, int linePosition)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000BF0 RID: 3056 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF0")]
|
|
[Address(RVA = "0x941D40", Offset = "0x940D40", VA = "0x180941D40")]
|
|
private static string CreateMessage(string res, string[] args, int lineNumber, int linePosition)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000BF1 RID: 3057 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF1")]
|
|
[Address(RVA = "0x9418D0", Offset = "0x9408D0", VA = "0x1809418D0")]
|
|
internal static string[] BuildCharExceptionArgs(string data, int invCharIndex)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000BF2 RID: 3058 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF2")]
|
|
[Address(RVA = "0x941930", Offset = "0x940930", VA = "0x180941930")]
|
|
internal static string[] BuildCharExceptionArgs(char[] data, int length, int invCharIndex)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000BF3 RID: 3059 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000BF3")]
|
|
[Address(RVA = "0x9419B0", Offset = "0x9409B0", VA = "0x1809419B0")]
|
|
internal static string[] BuildCharExceptionArgs(char invChar, char nextChar)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the line number indicating where the error occurred.</summary>
|
|
/// <returns>The line number indicating where the error occurred.</returns>
|
|
// Token: 0x17000323 RID: 803
|
|
// (get) Token: 0x06000BF4 RID: 3060 RVA: 0x000067B0 File Offset: 0x000049B0
|
|
[Token(Token = "0x17000323")]
|
|
public int LineNumber
|
|
{
|
|
[Token(Token = "0x6000BF4")]
|
|
[Address(RVA = "0x4AF6B0", Offset = "0x4AE6B0", VA = "0x1804AF6B0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the line position indicating where the error occurred.</summary>
|
|
/// <returns>The line position indicating where the error occurred.</returns>
|
|
// Token: 0x17000324 RID: 804
|
|
// (get) Token: 0x06000BF5 RID: 3061 RVA: 0x000067C8 File Offset: 0x000049C8
|
|
[Token(Token = "0x17000324")]
|
|
public int LinePosition
|
|
{
|
|
[Token(Token = "0x6000BF5")]
|
|
[Address(RVA = "0x4AF6C0", Offset = "0x4AE6C0", VA = "0x1804AF6C0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a message describing the current exception.</summary>
|
|
/// <returns>The error message that explains the reason for the exception.</returns>
|
|
// Token: 0x17000325 RID: 805
|
|
// (get) Token: 0x06000BF6 RID: 3062 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000325")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000BF6")]
|
|
[Address(RVA = "0x942F00", Offset = "0x941F00", VA = "0x180942F00", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000326 RID: 806
|
|
// (get) Token: 0x06000BF7 RID: 3063 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000326")]
|
|
internal string ResString
|
|
{
|
|
[Token(Token = "0x6000BF7")]
|
|
[Address(RVA = "0x4C31C0", Offset = "0x4C21C0", VA = "0x1804C31C0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000626 RID: 1574
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4000626")]
|
|
private string res;
|
|
|
|
// Token: 0x04000627 RID: 1575
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4000627")]
|
|
private string[] args;
|
|
|
|
// Token: 0x04000628 RID: 1576
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4000628")]
|
|
private int lineNumber;
|
|
|
|
// Token: 0x04000629 RID: 1577
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x4000629")]
|
|
private int linePosition;
|
|
|
|
// Token: 0x0400062A RID: 1578
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x400062A")]
|
|
[OptionalField]
|
|
private string sourceUri;
|
|
|
|
// Token: 0x0400062B RID: 1579
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x400062B")]
|
|
private string message;
|
|
}
|
|
}
|