summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs
blob: d5e64a117783f1f28051072659a5a58e8b9894e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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; }
        }
    }
}