Click or drag to resize
NotNullAttribute Class
Indicates that the value of the marked element could never be null
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Slash.Diagnostics.ReSharper.AnnotationsNotNullAttribute

Namespace: Slash.Diagnostics.ReSharper.Annotations
Assembly: Slash.Diagnostics (in Slash.Diagnostics.dll) Version: 1.0.6018.40181
Syntax
public sealed class NotNullAttribute : Attribute

The NotNullAttribute type exposes the following members.

Constructors
  NameDescription
Public methodNotNullAttribute
Initializes a new instance of the NotNullAttribute class
Top
Examples
[NotNull]
public object Foo()
{
  return null; // Warning: Possible 'null' assignment
}
See Also