255 lines
9.6 KiB
C#
255 lines
9.6 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Xml
|
|
{
|
|
/// <summary>Returns detailed information about the last exception.</summary>
|
|
// Token: 0x0200007B RID: 123
|
|
[Token(Token = "0x200007B")]
|
|
[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: 0x06000512 RID: 1298 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000512")]
|
|
[Address(RVA = "0x46DBD0", Offset = "0x46C9D0", VA = "0x18046DBD0")]
|
|
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: 0x06000513 RID: 1299 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000513")]
|
|
[Address(RVA = "0x46D4F0", Offset = "0x46C2F0", VA = "0x18046D4F0", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see langword="XmlException" /> class.</summary>
|
|
// Token: 0x06000514 RID: 1300 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000514")]
|
|
[Address(RVA = "0x46D8F0", Offset = "0x46C6F0", VA = "0x18046D8F0")]
|
|
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: 0x06000515 RID: 1301 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000515")]
|
|
[Address(RVA = "0x46D920", Offset = "0x46C720", VA = "0x18046D920")]
|
|
public XmlException(string message)
|
|
{
|
|
}
|
|
|
|
/// <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: 0x06000516 RID: 1302 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000516")]
|
|
[Address(RVA = "0x46DBA0", Offset = "0x46C9A0", VA = "0x18046DBA0")]
|
|
public XmlException(string message, Exception innerException, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000517 RID: 1303 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000517")]
|
|
[Address(RVA = "0x46D720", Offset = "0x46C520", VA = "0x18046D720")]
|
|
internal XmlException(string message, Exception innerException, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000518 RID: 1304 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000518")]
|
|
[Address(RVA = "0x46DAF0", Offset = "0x46C8F0", VA = "0x18046DAF0")]
|
|
internal XmlException(string res, string[] args)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000519 RID: 1305 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000519")]
|
|
[Address(RVA = "0x46DF20", Offset = "0x46CD20", VA = "0x18046DF20")]
|
|
internal XmlException(string res, string arg)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051A RID: 1306 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051A")]
|
|
[Address(RVA = "0x46D600", Offset = "0x46C400", VA = "0x18046D600")]
|
|
internal XmlException(string res, string arg, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051B RID: 1307 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051B")]
|
|
[Address(RVA = "0x46DA00", Offset = "0x46C800", VA = "0x18046DA00")]
|
|
internal XmlException(string res, string arg, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051C RID: 1308 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051C")]
|
|
[Address(RVA = "0x46E060", Offset = "0x46CE60", VA = "0x18046E060")]
|
|
internal XmlException(string res, string[] args, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051D RID: 1309 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051D")]
|
|
[Address(RVA = "0x46E020", Offset = "0x46CE20", VA = "0x18046E020")]
|
|
internal XmlException(string res, string[] args, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051E RID: 1310 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051E")]
|
|
[Address(RVA = "0x46DB70", Offset = "0x46C970", VA = "0x18046DB70")]
|
|
internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600051F RID: 1311 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600051F")]
|
|
[Address(RVA = "0x46D950", Offset = "0x46C750", VA = "0x18046D950")]
|
|
internal XmlException(string res, string[] args, Exception innerException, int lineNumber, int linePosition, string sourceUri)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000520 RID: 1312 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000520")]
|
|
[Address(RVA = "0x46D3D0", Offset = "0x46C1D0", VA = "0x18046D3D0")]
|
|
private static string FormatUserMessage(string message, int lineNumber, int linePosition)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000521 RID: 1313 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000521")]
|
|
[Address(RVA = "0x46D1C0", Offset = "0x46BFC0", VA = "0x18046D1C0")]
|
|
private static string CreateMessage(string res, string[] args, int lineNumber, int linePosition)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000522 RID: 1314 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000522")]
|
|
[Address(RVA = "0x46CD40", Offset = "0x46BB40", VA = "0x18046CD40")]
|
|
internal static string[] BuildCharExceptionArgs(string data, int invCharIndex)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000523 RID: 1315 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000523")]
|
|
[Address(RVA = "0x46CDA0", Offset = "0x46BBA0", VA = "0x18046CDA0")]
|
|
internal static string[] BuildCharExceptionArgs(char[] data, int length, int invCharIndex)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000524 RID: 1316 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000524")]
|
|
[Address(RVA = "0x46CE20", Offset = "0x46BC20", VA = "0x18046CE20")]
|
|
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: 0x170001B3 RID: 435
|
|
// (get) Token: 0x06000525 RID: 1317 RVA: 0x00004128 File Offset: 0x00002328
|
|
[Token(Token = "0x170001B3")]
|
|
public int LineNumber
|
|
{
|
|
[Token(Token = "0x6000525")]
|
|
[Address(RVA = "0x46E090", Offset = "0x46CE90", VA = "0x18046E090")]
|
|
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: 0x170001B4 RID: 436
|
|
// (get) Token: 0x06000526 RID: 1318 RVA: 0x00004140 File Offset: 0x00002340
|
|
[Token(Token = "0x170001B4")]
|
|
public int LinePosition
|
|
{
|
|
[Token(Token = "0x6000526")]
|
|
[Address(RVA = "0x46E0A0", Offset = "0x46CEA0", VA = "0x18046E0A0")]
|
|
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: 0x170001B5 RID: 437
|
|
// (get) Token: 0x06000527 RID: 1319 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001B5")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000527")]
|
|
[Address(RVA = "0x46E0B0", Offset = "0x46CEB0", VA = "0x18046E0B0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170001B6 RID: 438
|
|
// (get) Token: 0x06000528 RID: 1320 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001B6")]
|
|
internal string ResString
|
|
{
|
|
[Token(Token = "0x6000528")]
|
|
[Address(RVA = "0x44EC80", Offset = "0x44DA80", VA = "0x18044EC80")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400025C RID: 604
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x400025C")]
|
|
private string res;
|
|
|
|
// Token: 0x0400025D RID: 605
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x400025D")]
|
|
private string[] args;
|
|
|
|
// Token: 0x0400025E RID: 606
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x400025E")]
|
|
private int lineNumber;
|
|
|
|
// Token: 0x0400025F RID: 607
|
|
[FieldOffset(Offset = "0x9C")]
|
|
[Token(Token = "0x400025F")]
|
|
private int linePosition;
|
|
|
|
// Token: 0x04000260 RID: 608
|
|
[FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4000260")]
|
|
[OptionalField]
|
|
private string sourceUri;
|
|
|
|
// Token: 0x04000261 RID: 609
|
|
[FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x4000261")]
|
|
private string message;
|
|
}
|
|
}
|