53 lines
2.5 KiB
C#
53 lines
2.5 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when a null reference (<see langword="Nothing" /> in Visual Basic) is passed to a method that does not accept it as a valid argument.</summary>
|
|
// Token: 0x020000B7 RID: 183
|
|
[Token(Token = "0x20000B7")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class ArgumentNullException : ArgumentException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentNullException" /> class.</summary>
|
|
// Token: 0x06000508 RID: 1288 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000508")]
|
|
[Address(RVA = "0x2D02EA0", Offset = "0x2D01EA0", VA = "0x182D02EA0")]
|
|
public ArgumentNullException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentNullException" /> class with the name of the parameter that causes this exception.</summary>
|
|
/// <param name="paramName">The name of the parameter that caused the exception.</param>
|
|
// Token: 0x06000509 RID: 1289 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000509")]
|
|
[Address(RVA = "0x2D02F60", Offset = "0x2D01F60", VA = "0x182D02F60")]
|
|
public ArgumentNullException(string paramName)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes an instance of the <see cref="T:System.ArgumentNullException" /> class with a specified error message and the name of the parameter that causes this exception.</summary>
|
|
/// <param name="paramName">The name of the parameter that caused the exception.</param>
|
|
/// <param name="message">A message that describes the error.</param>
|
|
// Token: 0x0600050A RID: 1290 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600050A")]
|
|
[Address(RVA = "0x2D02F10", Offset = "0x2D01F10", VA = "0x182D02F10")]
|
|
public ArgumentNullException(string paramName, string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ArgumentNullException" /> 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: 0x0600050B RID: 1291 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600050B")]
|
|
[Address(RVA = "0x2D02C40", Offset = "0x2D01C40", VA = "0x182D02C40")]
|
|
protected ArgumentNullException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|