6 references to Parenthesize
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Simplification\CSharpSimplificationService.Expander.cs (2)
364return result.Parenthesize(); 376result = result.WithExpression(result.Expression.Parenthesize());
Simplification\Reducers\CSharpExtensionMethodReducer.cs (1)
73var expression = argumentList.Arguments[0].Expression.Parenthesize();
Simplification\Reducers\CSharpNameReducer.Rewriter.cs (1)
223return result.Parenthesize().WithAdditionalAnnotations(Formatter.Annotation);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
90var parenthesized = expression.Parenthesize();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
91ExpressionSyntax expression => expression.Parenthesize(includeElasticTrivia, addSimplifierAnnotation),