mscorlib(4.0.0.0) API with additions
AttributeTargets.cs
2 
3 namespace System
4 {
7  [Flags]
8  [ComVisible(true)]
9  [__DynamicallyInvokable]
10  public enum AttributeTargets
11  {
13  [__DynamicallyInvokable]
14  Assembly = 0x1,
16  [__DynamicallyInvokable]
17  Module = 0x2,
19  [__DynamicallyInvokable]
20  Class = 0x4,
22  [__DynamicallyInvokable]
23  Struct = 0x8,
25  [__DynamicallyInvokable]
26  Enum = 0x10,
28  [__DynamicallyInvokable]
29  Constructor = 0x20,
31  [__DynamicallyInvokable]
32  Method = 0x40,
34  [__DynamicallyInvokable]
35  Property = 0x80,
37  [__DynamicallyInvokable]
38  Field = 0x100,
40  [__DynamicallyInvokable]
41  Event = 0x200,
43  [__DynamicallyInvokable]
44  Interface = 0x400,
46  [__DynamicallyInvokable]
47  Parameter = 0x800,
49  [__DynamicallyInvokable]
50  Delegate = 0x1000,
52  [__DynamicallyInvokable]
53  ReturnValue = 0x2000,
55  [__DynamicallyInvokable]
56  GenericParameter = 0x4000,
58  [__DynamicallyInvokable]
59  All = 0x7FFF
60  }
61 }
Attribute can be applied to a generic parameter.
Attribute can be applied to a field.
Definition: __Canon.cs:3
Attribute can be applied to a property.
Attribute can be applied to a constructor.
Attribute can be applied to any application element.
Provides the base class for enumerations.
Definition: Enum.cs:14
Represents a delegate, which is a data structure that refers to a static method or to a class instanc...
Definition: Delegate.cs:15
Attribute can be applied to a structure; that is, a value type.
Attribute can be applied to a return value.
Attribute can be applied to a method.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Attribute can be applied to an assembly.
Attribute can be applied to a class.
Attribute can be applied to a module.
Attribute can be applied to an event.
Attribute can be applied to a parameter.
Specifies that the class can be serialized.
Attribute can be applied to an interface.