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