1 override of AddParentheses
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpSyntaxGeneratorInternal.cs (1)
97
public override SyntaxNode
AddParentheses
(SyntaxNode expressionOrPattern, bool includeElasticTrivia = true, bool addSimplifierAnnotation = true)
5 references to AddParentheses
Microsoft.CodeAnalysis.Features (2)
src\roslyn\src\Analyzers\Core\CodeFixes\AddRequiredParentheses\AddRequiredParenthesesCodeFixProvider.cs (1)
50
(current, _) => generator.
AddParentheses
(
src\roslyn\src\Analyzers\Core\CodeFixes\SimplifyBooleanExpression\SimplifyConditionalCodeFixProvider.cs (1)
80
return generatorInternal.
AddParentheses
(replacement.WithTriviaFrom(expr));
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
2453
=> SyntaxGeneratorInternal.
AddParentheses
(expression, includeElasticTrivia, addSimplifierAnnotation);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (2)
68
return generatorInternal.
AddParentheses
(
93
return generatorInternal.
AddParentheses
(