Skip to main content

SyntaxExtensions.WalkDownParentheses(ExpressionSyntax) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Returns lowest expression in parentheses or self if the expression is not parenthesized.

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax WalkDownParentheses(this Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression)

Parameters

expression ExpressionSyntax

Returns

ExpressionSyntax