SyntaxExtensions.WalkUpParentheses(ExpressionSyntax) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns topmost parenthesized expression or self if the expression if not parenthesized.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax WalkUpParentheses(this Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression)
Parameters
expression ExpressionSyntax