• SecurityTreatAsSafeAttribute
    netstandard2.0
    namespace System.Security
    {
        [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.AllDelegate, AllowMultiple = false, Inherited = false)]
        [Obsolete("SecurityTreatAsSafe is only used for .NET 2.0 transparency compatibility.  Please use the SecuritySafeCriticalAttribute instead.")]
        public sealed class SecurityTreatAsSafeAttribute : Attribute
    }
    
    NetFx Compat Lab
    9.6 %
    Reference this API
    nuget.org
    0.2 %
    Reference this API
    Upgrade Planner
    0.1 %
    Reference this API
    .NET 5.06.07.08.09.010.0
    .NET Core 2.02.12.23.03.1
    .NET Framework 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
    .NET Standard 2.02.1
    Information specific to netstandard2.0
    Assembly

    netstandard , Version=2.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

    Referencing

    The API is automatically referenced.

    Obsolete SecurityTreatAsSafe is only used for .NET 2.0 transparency compatibility. Please use the SecuritySafeCriticalAttribute instead.
    Platform Restrictions

    This framework does not have platform annotations.

    • Built-in API
    • Package-provided API

    03/18/2025
    An error has occurred. This application may no longer respond until reloaded. Reload 🗙