116 lines
6.2 KiB
C#
116 lines
6.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when one of the arguments provided to a method is not valid.</summary>
|
|
// Token: 0x020000AF RID: 175
|
|
[Token(Token = "0x20000AF")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ArgumentException : SystemException, ISerializable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class.</summary>
|
|
// Token: 0x060004E5 RID: 1253 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E5")]
|
|
[Address(RVA = "0x26BEFE0", Offset = "0x26BDDE0", VA = "0x1826BEFE0")]
|
|
public ArgumentException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class with a specified error message.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
// Token: 0x060004E6 RID: 1254 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E6")]
|
|
[Address(RVA = "0x26BF080", Offset = "0x26BDE80", VA = "0x1826BF080")]
|
|
public ArgumentException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> 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="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not a null reference, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x060004E7 RID: 1255 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E7")]
|
|
[Address(RVA = "0x26BEEE0", Offset = "0x26BDCE0", VA = "0x1826BEEE0")]
|
|
public ArgumentException(string message, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class with a specified error message, the parameter name, 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="paramName">The name of the parameter that caused the current exception.</param>
|
|
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not a null reference, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
|
// Token: 0x060004E8 RID: 1256 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E8")]
|
|
[Address(RVA = "0x26BF040", Offset = "0x26BDE40", VA = "0x1826BF040")]
|
|
public ArgumentException(string message, string paramName, Exception innerException)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class with a specified error message and the name of the parameter that causes this exception.</summary>
|
|
/// <param name="message">The error message that explains the reason for the exception.</param>
|
|
/// <param name="paramName">The name of the parameter that caused the current exception.</param>
|
|
// Token: 0x060004E9 RID: 1257 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004E9")]
|
|
[Address(RVA = "0x26BEF10", Offset = "0x26BDD10", VA = "0x1826BEF10")]
|
|
public ArgumentException(string message, string paramName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class with serialized data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
// Token: 0x060004EA RID: 1258 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004EA")]
|
|
[Address(RVA = "0x26BEF50", Offset = "0x26BDD50", VA = "0x1826BEF50")]
|
|
protected ArgumentException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the error message and the parameter name, or only the error message if no parameter name is set.</summary>
|
|
/// <returns>A text string describing the details of the exception. The value of this property takes one of two forms:
|
|
/// Condition
|
|
///
|
|
/// Value
|
|
///
|
|
/// The <paramref name="paramName" /> is a null reference (<see langword="Nothing" /> in Visual Basic) or of zero length.
|
|
///
|
|
/// The <paramref name="message" /> string passed to the constructor.
|
|
///
|
|
/// The <paramref name="paramName" /> is not null reference (<see langword="Nothing" /> in Visual Basic) and it has a length greater than zero.
|
|
///
|
|
/// The <paramref name="message" /> string appended with the name of the invalid parameter.</returns>
|
|
// Token: 0x1700008C RID: 140
|
|
// (get) Token: 0x060004EB RID: 1259 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700008C")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x60004EB")]
|
|
[Address(RVA = "0x26BF0B0", Offset = "0x26BDEB0", VA = "0x1826BF0B0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the parameter name and additional exception information.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">The contextual information about the source or destination.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> object is a null reference (<see langword="Nothing" /> in Visual Basic).</exception>
|
|
// Token: 0x060004EC RID: 1260 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60004EC")]
|
|
[Address(RVA = "0x26BEDF0", Offset = "0x26BDBF0", VA = "0x1826BEDF0", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040001F3 RID: 499
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40001F3")]
|
|
private string m_paramName;
|
|
}
|
|
}
|