SyntaxInfo.NullCheckExpressionInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
NullCheckExpressionInfo(SyntaxNode, NullCheckStyles, Boolean, Boolean) | Creates a new NullCheckExpressionInfo from the specified node. |
NullCheckExpressionInfo(SyntaxNode, SemanticModel, NullCheckStyles, Boolean, Boolean, CancellationToken) | Creates a new NullCheckExpressionInfo from the specified node. |
NullCheckExpressionInfo(SyntaxNode, NullCheckStyles, Boolean, Boolean)
Creates a new NullCheckExpressionInfo from the specified node.
public static Roslynator.CSharp.Syntax.NullCheckExpressionInfo NullCheckExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, Roslynator.CSharp.NullCheckStyles allowedStyles = ComparisonToNull | IsPattern, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
node SyntaxNode
allowedStyles NullCheckStyles
walkDownParentheses Boolean
allowMissing Boolean
Returns
NullCheckExpressionInfo(SyntaxNode, SemanticModel, NullCheckStyles, Boolean, Boolean, CancellationToken)
Creates a new NullCheckExpressionInfo from the specified node.
public static Roslynator.CSharp.Syntax.NullCheckExpressionInfo NullCheckExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Roslynator.CSharp.NullCheckStyles allowedStyles = All, bool walkDownParentheses = true, bool allowMissing = false, System.Threading.CancellationToken cancellationToken = default)
Parameters
node SyntaxNode
semanticModel SemanticModel
allowedStyles NullCheckStyles
walkDownParentheses Boolean
allowMissing Boolean
cancellationToken CancellationToken