File: system\clscompliantattribute.cs
Project: ndp\clr\src\bcl\mscorlib.csproj (mscorlib)
// ==++==
// 
//   Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// ==--==
/*=============================================================================
**
** Class: CLSCompliantAttribute
**
**
** Purpose: Container for assemblies.
**
**
=============================================================================*/
 
namespace System {
[Serializable]
    [AttributeUsage (AttributeTargets.All, Inherited=true, AllowMultiple=false)]
[System.Runtime.InteropServices.ComVisible(true)]
    public sealed class CLSCompliantAttribute : Attribute 
    {
        private bool m_compliant;
 
        public CLSCompliantAttribute (bool isCompliant)
        {
            m_compliant = isCompliant;
        }
        public bool IsCompliant 
        {
            get 
            {
                return m_compliant;
            }
        }
    }
}