Skip to main content

NullCheckExpressionInfo Struct

Namespace: Roslynator.CSharp.Syntax

Assembly: Roslynator.CSharp.dll

Provides information about a null check expression.

public readonly struct NullCheckExpressionInfo

Inheritance

Object ValueType NullCheckExpressionInfo

Properties

PropertySummary
ExpressionThe expression that is evaluated whether is (not) null. for example "x" in "x == null".
IsCheckingNotNullDetermines whether this null check is checking if the expression is not null.
IsCheckingNullDetermines whether this null check is checking if the expression is null.
NullCheckExpressionThe null check expression, e.g. "x == null".
StyleThe style of this null check.
SuccessDetermines whether this struct was initialized with an actual syntax.

Methods

MethodSummary
Equals(Object)(Inherited from ValueType)
GetHashCode()(Inherited from ValueType)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from ValueType)