123 lines
5.6 KiB
C#
123 lines
5.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method.</summary>
|
|
// Token: 0x020000B8 RID: 184
|
|
[Token(Token = "0x20000B8")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ArgumentOutOfRangeException : ArgumentException, ISerializable
|
|
{
|
|
// Token: 0x17000091 RID: 145
|
|
// (get) Token: 0x0600050C RID: 1292 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000091")]
|
|
private static string RangeMessage
|
|
{
|
|
[Token(Token = "0x600050C")]
|
|
[Address(RVA = "0x2D03590", Offset = "0x2D02590", VA = "0x182D03590")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentOutOfRangeException" /> class.</summary>
|
|
// Token: 0x0600050D RID: 1293 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600050D")]
|
|
[Address(RVA = "0x2D03150", Offset = "0x2D02150", VA = "0x182D03150")]
|
|
public ArgumentOutOfRangeException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentOutOfRangeException" /> class with the name of the parameter that causes this exception.</summary>
|
|
/// <param name="paramName">The name of the parameter that causes this exception.</param>
|
|
// Token: 0x0600050E RID: 1294 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600050E")]
|
|
[Address(RVA = "0x2D031F0", Offset = "0x2D021F0", VA = "0x182D031F0")]
|
|
public ArgumentOutOfRangeException(string paramName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentOutOfRangeException" /> class with the name of the parameter that causes this exception and a specified error message.</summary>
|
|
/// <param name="paramName">The name of the parameter that caused the exception.</param>
|
|
/// <param name="message">The message that describes the error.</param>
|
|
// Token: 0x0600050F RID: 1295 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600050F")]
|
|
[Address(RVA = "0x2D031A0", Offset = "0x2D021A0", VA = "0x182D031A0")]
|
|
public ArgumentOutOfRangeException(string paramName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentOutOfRangeException" /> class with the parameter name, the value of the argument, and a specified error message.</summary>
|
|
/// <param name="paramName">The name of the parameter that caused the exception.</param>
|
|
/// <param name="actualValue">The value of the argument that causes this exception.</param>
|
|
/// <param name="message">The message that describes the error.</param>
|
|
// Token: 0x06000510 RID: 1296 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000510")]
|
|
[Address(RVA = "0x2D03340", Offset = "0x2D02340", VA = "0x182D03340")]
|
|
public ArgumentOutOfRangeException(string paramName, object actualValue, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the error message and the string representation of the invalid argument value, or only the error message if the argument value is null.</summary>
|
|
/// <returns>The text message for this exception. The value of this property takes one of two forms, as follows.
|
|
/// Condition
|
|
///
|
|
/// Value
|
|
///
|
|
/// The <paramref name="actualValue" /> is <see langword="null" />.
|
|
///
|
|
/// The <paramref name="message" /> string passed to the constructor.
|
|
///
|
|
/// The <paramref name="actualValue" /> is not <see langword="null" />.
|
|
///
|
|
/// The <paramref name="message" /> string appended with the string representation of the invalid argument value.</returns>
|
|
// Token: 0x17000092 RID: 146
|
|
// (get) Token: 0x06000511 RID: 1297 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000092")]
|
|
public override string Message
|
|
{
|
|
[Token(Token = "0x6000511")]
|
|
[Address(RVA = "0x2D033A0", Offset = "0x2D023A0", VA = "0x182D033A0", Slot = "5")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the invalid argument value and additional exception information.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">An object that describes the source or destination of the serialized data.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> object is <see langword="null" />.</exception>
|
|
// Token: 0x06000512 RID: 1298 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000512")]
|
|
[Address(RVA = "0x2D02FE0", Offset = "0x2D01FE0", VA = "0x182D02FE0", Slot = "10")]
|
|
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentOutOfRangeException" /> class with serialized data.</summary>
|
|
/// <param name="info">The object that holds the serialized object data.</param>
|
|
/// <param name="context">An object that describes the source or destination of the serialized data.</param>
|
|
// Token: 0x06000513 RID: 1299 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000513")]
|
|
[Address(RVA = "0x2D03250", Offset = "0x2D02250", VA = "0x182D03250")]
|
|
protected ArgumentOutOfRangeException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040001FE RID: 510
|
|
[Token(Token = "0x40001FE")]
|
|
private static string _rangeMessage;
|
|
|
|
// Token: 0x040001FF RID: 511
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40001FF")]
|
|
private object m_actualValue;
|
|
}
|
|
}
|