Skip to main content

SyntaxInfo.AsExpressionInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads​

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

AsExpressionInfo(BinaryExpressionSyntax, Boolean, Boolean)​

Creates a new AsExpressionInfo from the specified binary expression.

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

Parameters​

binaryExpression   BinaryExpressionSyntax

walkDownParentheses   Boolean

allowMissing   Boolean

Returns​

AsExpressionInfo

AsExpressionInfo(SyntaxNode, Boolean, Boolean)​

Creates a new AsExpressionInfo from the specified node.

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

Parameters​

node   SyntaxNode

walkDownParentheses   Boolean

allowMissing   Boolean

Returns​

AsExpressionInfo