43 lines
2.2 KiB
C#
43 lines
2.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>The exception that is thrown when there is an attempt to dereference a null object reference.</summary>
|
|
// Token: 0x02000128 RID: 296
|
|
[Token(Token = "0x2000128")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class NullReferenceException : SystemException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.NullReferenceException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "The value 'null' was found where an instance of an object was required." This message takes into account the current system culture.</summary>
|
|
// Token: 0x06000AAA RID: 2730 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AAA")]
|
|
[Address(RVA = "0x2D6EA50", Offset = "0x2D6DA50", VA = "0x182D6EA50")]
|
|
public NullReferenceException()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.NullReferenceException" /> class with a specified error message.</summary>
|
|
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
|
// Token: 0x06000AAB RID: 2731 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AAB")]
|
|
[Address(RVA = "0x2D6EAB0", Offset = "0x2D6DAB0", VA = "0x182D6EAB0")]
|
|
public NullReferenceException(string message)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.NullReferenceException" /> 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: 0x06000AAC RID: 2732 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000AAC")]
|
|
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
|
protected NullReferenceException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|