Indicates that the value of marked element could never be null

Namespace: yWorks.Support.Annotations
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.Delegate, AllowMultiple = false, Inherited = true)] public sealed class NotNullAttribute : Attribute
Visual Basic
<AttributeUsageAttribute(AttributeTargets.Method Or AttributeTargets.Property Or AttributeTargets.Field Or AttributeTargets.Parameter Or AttributeTargets.Delegate, AllowMultiple := False, _ Inherited := True)> _ Public NotInheritable Class NotNullAttribute _ Inherits Attribute

Remarks

This attribute can be used by tools like Resharper to aid during coding and error analysis.

Inheritance Hierarchy

System..::..Object
  System..::..Attribute
    yWorks.Support.Annotations..::..NotNullAttribute

See Also