mscorlib(4.0.0.0) API with additions
ObfuscationAttribute.cs
2 
3 namespace System.Reflection
4 {
6  [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate, AllowMultiple = true, Inherited = false)]
7  [ComVisible(true)]
8  public sealed class ObfuscationAttribute : Attribute
9  {
10  private bool m_strip = true;
11 
12  private bool m_exclude = true;
13 
14  private bool m_applyToMembers = true;
15 
16  private string m_feature = "all";
17 
21  public bool StripAfterObfuscation
22  {
23  get
24  {
25  return m_strip;
26  }
27  set
28  {
29  m_strip = value;
30  }
31  }
32 
36  public bool Exclude
37  {
38  get
39  {
40  return m_exclude;
41  }
42  set
43  {
44  m_exclude = value;
45  }
46  }
47 
51  public bool ApplyToMembers
52  {
53  get
54  {
55  return m_applyToMembers;
56  }
57  set
58  {
59  m_applyToMembers = value;
60  }
61  }
62 
65  public string Feature
66  {
67  get
68  {
69  return m_feature;
70  }
71  set
72  {
73  m_feature = value;
74  }
75  }
76  }
77 }
Represents the base class for custom attributes.
Definition: Attribute.cs:15
Definition: __Canon.cs:3
bool StripAfterObfuscation
Gets or sets a T:System.Boolean value indicating whether the obfuscation tool should remove this attr...
Instructs obfuscation tools to take the specified actions for an assembly, type, or member.
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
bool ApplyToMembers
Gets or sets a T:System.Boolean value indicating whether the attribute of a type is to apply to the m...
string Feature
Gets or sets a string value that is recognized by the obfuscation tool, and which specifies processin...
bool Exclude
Gets or sets a T:System.Boolean value indicating whether the obfuscation tool should exclude the type...