singrdk/base/Kernel/System/CLSCompliantAttribute.cs

39 lines
1.1 KiB
C#

// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*=============================================================================
**
** Class: CLSCompliantAttribute
**
**
** Purpose: Container for assemblies.
**
** Date: Jan 28, 2000
**
=============================================================================*/
namespace System {
//| <include path='docs/doc[@for="CLSCompliantAttribute"]/*' />
[AttributeUsage (AttributeTargets.All, Inherited=true, AllowMultiple=false)]
public sealed class CLSCompliantAttribute : Attribute
{
private bool m_compliant;
//| <include path='docs/doc[@for="CLSCompliantAttribute.CLSCompliantAttribute"]/*' />
public CLSCompliantAttribute (bool isCompliant)
{
m_compliant = isCompliant;
}
//| <include path='docs/doc[@for="CLSCompliantAttribute.IsCompliant"]/*' />
public bool IsCompliant
{
get
{
return m_compliant;
}
}
}
}