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: 0x020000B6 RID: 182
|
|
[Token(Token = "0x20000B6")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ArgumentException : SystemException, ISerializable
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentException" /> class.</summary>
|
|
// Token: 0x06000500 RID: 1280 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000500")]
|
|
[Address(RVA = "0x2D02CD0", Offset = "0x2D01CD0", VA = "0x182D02CD0")]
|
|
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: 0x06000501 RID: 1281 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000501")]
|
|
[Address(RVA = "0x2D02D70", Offset = "0x2D01D70", VA = "0x182D02D70")]
|
|
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: 0x06000502 RID: 1282 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000502")]
|
|
[Address(RVA = "0x2D02BD0", Offset = "0x2D01BD0", VA = "0x182D02BD0")]
|
|
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: 0x06000503 RID: 1283 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000503")]
|
|
[Address(RVA = "0x2D02D30", Offset = "0x2D01D30", VA = "0x182D02D30")]
|
|
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: 0x06000504 RID: 1284 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000504")]
|
|
[Address(RVA = "0x2D02C00", Offset = "0x2D01C00", VA = "0x182D02C00")]
|
|
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: 0x06000505 RID: 1285 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000505")]
|
|
[Address(RVA = "0x2D02C40", Offset = "0x2D01C40", VA = "0x182D02C40")]
|
|
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: 0x17000090 RID: 144
|
|
// (get) Token: 0x06000506 RID: 1286 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000090")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000506")]
|
|
[Address(RVA = "0x2D02DA0", Offset = "0x2D01DA0", VA = "0x182D02DA0", 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: 0x06000507 RID: 1287 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000507")]
|
|
[Address(RVA = "0x2D02AE0", Offset = "0x2D01AE0", VA = "0x182D02AE0", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040001FD RID: 509
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40001FD")]
|
|
private string m_paramName;
|
|
}
|
|
}
|