mscorlib(4.0.0.0) API with additions
SecurityTreatAsSafeAttribute.cs
1 namespace System.Security
2 {
4  [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
5  [Obsolete("SecurityTreatAsSafe is only used for .NET 2.0 transparency compatibility. Please use the SecuritySafeCriticalAttribute instead.")]
6  public sealed class SecurityTreatAsSafeAttribute : Attribute
7  {
8  }
9 }
Represents the base class for custom attributes.
Definition: Attribute.cs:15
AttributeTargets
Specifies the application elements on which it is valid to apply an attribute.
Identifies which of the nonpublic T:System.Security.SecurityCriticalAttribute members are accessible ...