Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Perovich <alperovi@microsoft.com>2017-03-04 02:44:29 +0300
committerAlex Perovich <alperovi@microsoft.com>2017-03-04 03:24:43 +0300
commit7aba657e077f0d65893392b7764724cd9fafeb42 (patch)
tree361636004f1c97905e4a6b4f65f6e8e463f12c59 /src/System.Private.CoreLib/shared/System/AttributeTargets.cs
parent3c837a0e8cee5302190a5f9066bae7685f72f24c (diff)
Shared changes from coreclr
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/AttributeTargets.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/AttributeTargets.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/AttributeTargets.cs b/src/System.Private.CoreLib/shared/System/AttributeTargets.cs
new file mode 100644
index 000000000..fdfa4ab73
--- /dev/null
+++ b/src/System.Private.CoreLib/shared/System/AttributeTargets.cs
@@ -0,0 +1,36 @@
+// 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.
+
+////////////////////////////////////////////////////////////////////////////////
+////////////////////////////////////////////////////////////////////////////////
+
+namespace System
+{
+ // Enum used to indicate all the elements of the
+ // VOS it is valid to attach this element to.
+ [Flags]
+ [Serializable]
+ public enum AttributeTargets
+ {
+ Assembly = 0x0001,
+ Module = 0x0002,
+ Class = 0x0004,
+ Struct = 0x0008,
+ Enum = 0x0010,
+ Constructor = 0x0020,
+ Method = 0x0040,
+ Property = 0x0080,
+ Field = 0x0100,
+ Event = 0x0200,
+ Interface = 0x0400,
+ Parameter = 0x0800,
+ Delegate = 0x1000,
+ ReturnValue = 0x2000,
+ GenericParameter = 0x4000,
+
+ All = Assembly | Module | Class | Struct | Enum | Constructor |
+ Method | Property | Field | Event | Interface | Parameter |
+ Delegate | ReturnValue | GenericParameter
+ }
+}