System.Diagnostics.CodeAnalysis.NotNullAttribute sealed class NotNullAttribute : Attribute Specifies that an output is not null even if the corresponding type allows it. Documentation Code public NotNullAttribute()