2008-03-05 09:52:00 -05:00
|
|
|
// ==++==
|
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
//
|
|
|
|
// ==--==
|
2008-11-17 18:29:00 -05:00
|
|
|
//=============================================================================
|
|
|
|
//
|
|
|
|
// Class: NullReferenceException
|
|
|
|
//
|
|
|
|
// Purpose: Exception class for dereferencing a null reference.
|
|
|
|
//
|
|
|
|
//=============================================================================
|
2008-03-05 09:52:00 -05:00
|
|
|
|
2008-11-17 18:29:00 -05:00
|
|
|
namespace System
|
|
|
|
{
|
2008-03-05 09:52:00 -05:00
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
|
|
|
|
//| <include path='docs/doc[@for="NullReferenceException"]/*' />
|
2008-11-17 18:29:00 -05:00
|
|
|
[AccessedByRuntime("referenced from halasm.asm")]
|
|
|
|
public partial class NullReferenceException : SystemException {
|
2008-03-05 09:52:00 -05:00
|
|
|
//| <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) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|