public sealed class NotNullAttribute : Attribute
Public NotInheritable Class NotNullAttribute Inherits Attribute
public ref class NotNullAttribute sealed : public Attribute
[<SealedAttribute>] type NotNullAttribute = class inherit Attribute end
The NotNullAttribute type exposes the following members.
[NotNull] public object Foo() { return null; // Warning: Possible 'null' assignment }