69 lines
3.5 KiB
C#
69 lines
3.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security
|
|
{
|
|
/// <summary>The exception that is thrown when there is a syntax error in XML parsing. This class cannot be inherited.</summary>
|
|
// Token: 0x020003AD RID: 941
|
|
[Token(Token = "0x20003AD")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public sealed class XmlSyntaxException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.XmlSyntaxException" /> class with default properties.</summary>
|
|
// Token: 0x0600208C RID: 8332 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600208C")]
|
|
[Address(RVA = "0x2228EB0", Offset = "0x2227CB0", VA = "0x182228EB0")]
|
|
public XmlSyntaxException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.XmlSyntaxException" /> class with the line number where the exception was detected.</summary>
|
|
/// <param name="lineNumber">The line number of the XML stream where the XML syntax error was detected.</param>
|
|
// Token: 0x0600208D RID: 8333 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600208D")]
|
|
[Address(RVA = "0x2C57470", Offset = "0x2C56270", VA = "0x182C57470")]
|
|
public XmlSyntaxException(int lineNumber)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.XmlSyntaxException" /> class with a specified error message and the line number where the exception was detected.</summary>
|
|
/// <param name="lineNumber">The line number of the XML stream where the XML syntax error was detected.</param>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x0600208E RID: 8334 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600208E")]
|
|
[Address(RVA = "0x2C573A0", Offset = "0x2C561A0", VA = "0x182C573A0")]
|
|
public XmlSyntaxException(int lineNumber, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.XmlSyntaxException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x0600208F RID: 8335 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600208F")]
|
|
[Address(RVA = "0x25C2B70", Offset = "0x25C1970", VA = "0x1825C2B70")]
|
|
public XmlSyntaxException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.XmlSyntaxException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x06002090 RID: 8336 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002090")]
|
|
[Address(RVA = "0x3F60D0", Offset = "0x3F4ED0", VA = "0x1803F60D0")]
|
|
public XmlSyntaxException(string message, Exception inner)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002091 RID: 8337 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002091")]
|
|
[Address(RVA = "0x2C450C0", Offset = "0x2C43EC0", VA = "0x182C450C0")]
|
|
internal XmlSyntaxException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|