e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
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;
|
|
}
|
|
}
|
|
}
|
|
}
|