• NotNullWhenAttribute
    net9.0
    namespace System.Diagnostics.CodeAnalysis
    {
        [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
        public sealed class NotNullWhenAttribute : Attribute
    }
    
    nuget.org
    2.0 %
    Reference this API
    Upgrade Planner
    0.3 %
    Reference this API
    Design Reviews
    .NET
    5.06.07.08.09.010.0
    .NET Core
    3.03.1
    .NET Standard
    2.1
    Information specific to net9.0
    Assembly

    System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

    Referencing

    The API is automatically referenced.

    Platform Restrictions

    This API is supported on all platforms.

    • Built-in API
    • Package-provided API