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: 0x02000121 RID: 289
|
|
[Token(Token = "0x2000121")]
|
|
[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: 0x06000A78 RID: 2680 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A78")]
|
|
[Address(RVA = "0x2602B00", Offset = "0x2601900", VA = "0x182602B00")]
|
|
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: 0x06000A79 RID: 2681 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A79")]
|
|
[Address(RVA = "0x2602B60", Offset = "0x2601960", VA = "0x182602B60")]
|
|
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: 0x06000A7A RID: 2682 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A7A")]
|
|
[Address(RVA = "0x3F60E0", Offset = "0x3F4EE0", VA = "0x1803F60E0")]
|
|
protected NullReferenceException(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
}
|
|
}
|