diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs b/src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs new file mode 100644 index 0000000000..d5e64a1177 --- /dev/null +++ b/src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +/*============================================================ +** +** Attribute: ReferenceAssemblyAttribute +** +** Purpose: Identifies an assembly as being a "reference +** assembly", meaning it contains public surface area but +** no usable implementation. Reference assemblies +** should be loadable for introspection, but not execution. +** +============================================================*/ +namespace System.Runtime.CompilerServices +{ + using System; + + [Serializable] + [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=false)] + public sealed class ReferenceAssemblyAttribute : Attribute + { + private String _description; // Maybe ".NET FX v4.0 SP1, partial trust"? + + public ReferenceAssemblyAttribute() + { + } + + public ReferenceAssemblyAttribute(String description) + { + _description = description; + } + + public String Description + { + get { return _description; } + } + } +} |