Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / clscompliantattribute.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*=============================================================================
7 **
8 ** Class: CLSCompliantAttribute
9 **
10 **
11 ** Purpose: Container for assemblies.
12 **
13 **
14 =============================================================================*/
15
16 namespace System {
17 [Serializable]
18     [AttributeUsage (AttributeTargets.All, Inherited=true, AllowMultiple=false)]
19 [System.Runtime.InteropServices.ComVisible(true)]
20     public sealed class CLSCompliantAttribute : Attribute 
21     {
22         private bool m_compliant;
23
24         public CLSCompliantAttribute (bool isCompliant)
25         {
26             m_compliant = isCompliant;
27         }
28         public bool IsCompliant 
29         {
30             get 
31             {
32                 return m_compliant;
33             }
34         }
35     }
36 }