Skip to main content

SyntaxExtensions.AsChain(BinaryExpressionSyntax, TextSpan?) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns ExpressionChain that enables to enumerate expressions of a binary expression.

public static Roslynator.CSharp.ExpressionChain AsChain(this Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax binaryExpression, Microsoft.CodeAnalysis.Text.TextSpan? span = null)

Parameters

binaryExpression BinaryExpressionSyntax

span TextSpan?

Returns

ExpressionChain