Class NotNullAttribute
Indicates that the value of the marked element could never be null
.
Inheritance
System.Object
NotNullAttribute
Namespace: MAT.Atlas.Api.Core.Presentation
Assembly: MAT.Atlas.Api.Core.dll
Syntax
public sealed class NotNullAttribute : Attribute
Examples
[NotNull] object Foo() {
return null; // Warning: Possible 'null' assignment
}
Constructors
NotNullAttribute()
Declaration
public NotNullAttribute()