RingSoft.DataEntryControls.Engine.Annotations Namespace
RingSoft.DataEntryControls.WPF Namespace

NotNullAttribute Class

Indicates that the value of the marked element can never be null.

Namespace:  RingSoft.DataEntryControls.Engine.Annotations
Assembly:  RingSoft.DataEntryControls.Engine (in RingSoft.DataEntryControls.Engine.dll)

Syntax


[AttributeUsageAttribute]
public sealed class NotNullAttribute : Attribute
<AttributeUsageAttribute> _
Public NotInheritable Class NotNullAttribute _
	Inherits Attribute
[AttributeUsageAttribute]
public ref class NotNullAttribute sealed : public Attribute

Examples


C#
[NotNull] object Foo() {
return null; // Warning: Possible 'null' assignment
}

Inheritance Hierarchy


Object
  Attribute
    RingSoft.DataEntryControls.Engine.Annotations..::..NotNullAttribute