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
Property | Summary |
---|---|
Expression | The expression that is evaluated whether is (not) null. for example "x" in "x == null". |
IsCheckingNotNull | Determines whether this null check is checking if the expression is not null. |
IsCheckingNull | Determines whether this null check is checking if the expression is null. |
NullCheckExpression | The null check expression, e.g. "x == null". |
Style | The style of this null check. |
Success | Determines whether this struct was initialized with an actual syntax. |
Methods
Method | Summary |
---|---|
Equals(Object) | (Inherited from ValueType) |
GetHashCode() | (Inherited from ValueType) |
GetType() | (Inherited from Object) |
MemberwiseClone() | (Inherited from Object) |
ToString() | (Inherited from ValueType) |