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

CLSCompliantAttribute.cs « System « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aae9120a250981102549602d06d618f0b19d75af (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
//
// System.CLSCompliantAttribute.cs
//
// Author:
//   Miguel de Icaza (miguel@ximian.com)
//
// (C) Ximian, Inc.  http://www.ximian.com
//

namespace System {

	/// <summary>
	///   Used to indicate if an element of a program is CLS compliant.
	/// </summary>
	///
	/// <remarks>
	/// </remarks>
	[AttributeUsage(AttributeTargets.All)]
	[Serializable]
	public sealed class CLSCompliantAttribute : Attribute {

		bool is_compliant;

		public CLSCompliantAttribute (bool is_compliant)
		{
			this.is_compliant = is_compliant;
		}

		public bool IsCompliant {
			get {
				return is_compliant;
			}
		}
	}
}