Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NullReferenceException.cs « System « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 009732ce07b617bd316a538acecb8e8edcbad4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// System.NullReferenceException.cs
//
// Author:
//   Joe Shaw (joe@ximian.com)
//   Duncan Mak (duncan@ximian.com)
//
// (C) 2001 Ximian, Inc.  http://www.ximian.com
//

using System.Globalization;
using System.Runtime.Serialization;

namespace System {

	[Serializable]
	public class NullReferenceException : SystemException {
		// Constructors
		public NullReferenceException ()
			: base (Locale.GetText ("A null value was found where an object instance was required"))
		{
		}

		public NullReferenceException (string message)
			: base (message)
		{
		}

		public NullReferenceException (string message, Exception inner)
			: base (message, inner)
		{
		}

		protected NullReferenceException (SerializationInfo info, StreamingContext context)
			: base (info, context)
		{
		}
	}
}