mscorlib(4.0.0.0) API with additions
SecurityRulesAttribute.cs
1 namespace System.Security
2 {
4  [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
5  public sealed class SecurityRulesAttribute : Attribute
6  {
7  private SecurityRuleSet m_ruleSet;
8 
9  private bool m_skipVerificationInFullTrust;
10 
14  public bool SkipVerificationInFullTrust
15  {
16  get
17  {
18  return m_skipVerificationInFullTrust;
19  }
20  set
21  {
22  m_skipVerificationInFullTrust = value;
23  }
24  }
25 
28  public SecurityRuleSet RuleSet => m_ruleSet;
29 
33  {
34  m_ruleSet = ruleSet;
35  }
36  }
37 }
Represents the base class for custom attributes.
Definition: Attribute.cs:15
SecurityRuleSet RuleSet
Gets the rule set to be applied.
bool SkipVerificationInFullTrust
Determines whether fully trusted transparent code should skip Microsoft intermediate language (MSIL) ...
Indicates the set of security rules the common language runtime should enforce for an assembly.
SecurityRulesAttribute(SecurityRuleSet ruleSet)
Initializes a new instance of the T:System.Security.SecurityRulesAttribute class using the specified ...
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
SecurityRuleSet
Identifies the set of security rules the common language runtime should enforce for an assembly.