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.WPF
Assembly:  RingSoft.DataEntryControls.WPF (in RingSoft.DataEntryControls.WPF.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.WPF..::..NotNullAttribute