System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute sealed class MaybeNullWhenAttribute : Attribute Specifies that when a method returns ReturnValue, the parameter may be null even if the corresponding type disallows it. Documentation Code namespace System.Diagnostics.CodeAnalysis { }