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

ArgumentNullException.cs « System « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4963f5608309b546200cf1507f709c36f4c030af (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
//
// System.ArgumentNullException.cs
//
// Author:
//   Joe Shaw (joe@ximian.com)
//
// (C) 2001 Ximian, Inc.  http://www.ximian.com
//

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

namespace System {

	[Serializable]
	public class ArgumentNullException : ArgumentException {
		// Constructors
		public ArgumentNullException ()
			: base (Locale.GetText ("Argument cannot be null"))
		{
		}

		public ArgumentNullException (string param_name)
			: base (Locale.GetText ("Argument {0} cannot be null"), param_name)
		{
		}

		public ArgumentNullException (string param_name, string message)
			: base (message, param_name)
		{
		}

		protected ArgumentNullException (SerializationInfo info, StreamingContext sc)
			: base (info, sc)
		{
		}
	}
}