singrdk/base/Kernel/System/NullReferenceException.cs

42 lines
1.3 KiB
C#
Raw Normal View History

2008-03-05 09:52:00 -05:00
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: NullReferenceException
**
**
** Purpose: Exception class for dereferencing a null reference.
**
** Date: March 17, 1998
**
=============================================================================*/
namespace System {
using System;
using System.Runtime.CompilerServices;
//| <include path='docs/doc[@for="NullReferenceException"]/*' />
[RequiredByBartok]
public class NullReferenceException : SystemException {
//| <include path='docs/doc[@for="NullReferenceException.NullReferenceException"]/*' />
[AccessedByRuntime("referenced from halasm.asm")]
public NullReferenceException()
: base("Arg_NullReferenceException") {
}
//| <include path='docs/doc[@for="NullReferenceException.NullReferenceException1"]/*' />
public NullReferenceException(String message)
: base(message) {
}
//| <include path='docs/doc[@for="NullReferenceException.NullReferenceException2"]/*' />
public NullReferenceException(String message, Exception innerException)
: base(message, innerException) {
}
}
}