37 lines
860 B
C#
37 lines
860 B
C#
|
// ==++==
|
||
|
//
|
||
|
// 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;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|