You've already forked linux-packaging-mono
Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
36
external/referencesource/mscorlib/system/clscompliantattribute.cs
vendored
Normal file
36
external/referencesource/mscorlib/system/clscompliantattribute.cs
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
// ==++==
|
||||
//
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user