Skip to main content

ExpressionSyntax Class Extensions

Extension MethodSummary
Parenthesize(ExpressionSyntax, Boolean, Boolean)Creates parenthesized expression that is parenthesizing the specified expression.
WalkDownParentheses(ExpressionSyntax)Returns lowest expression in parentheses or self if the expression is not parenthesized.
WalkUpParentheses(ExpressionSyntax)Returns topmost parenthesized expression or self if the expression if not parenthesized.