Skip to main content

SyntaxInfo.BinaryExpressionInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
BinaryExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)Creates a new BinaryExpressionInfo from the specified binary expression.
BinaryExpressionInfo(SyntaxNode, Boolean, Boolean)Creates a new BinaryExpressionInfo from the specified node.

BinaryExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)

Creates a new BinaryExpressionInfo from the specified binary expression.

public static Roslynator.CSharp.Syntax.BinaryExpressionInfo BinaryExpressionInfo(Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax binaryExpression, bool walkDownParentheses = true, bool allowMissing = false)

Parameters

binaryExpression BinaryExpressionSyntax

walkDownParentheses Boolean

allowMissing Boolean

Returns

BinaryExpressionInfo

BinaryExpressionInfo(SyntaxNode, Boolean, Boolean)

Creates a new BinaryExpressionInfo from the specified node.

public static Roslynator.CSharp.Syntax.BinaryExpressionInfo BinaryExpressionInfo(Microsoft.CodeAnalysis.SyntaxNode node, bool walkDownParentheses = true, bool allowMissing = false)

Parameters

node SyntaxNode

walkDownParentheses Boolean

allowMissing Boolean

Returns

BinaryExpressionInfo