6 references to IsParenthesizedExpression
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (1)
70if (syntaxFacts.IsParenthesizedExpression(expr))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
288while (syntaxFacts.IsParenthesizedExpression(node)) 300while (syntaxFacts.IsParenthesizedExpression(node?.Parent))
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
130if (syntaxFacts.IsParenthesizedExpression(currentTarget.Parent))
src\Analyzers\Core\CodeFixes\UseCompoundAssignment\AbstractUseCompoundAssignmentCodeFixProvider.cs (1)
70while (syntaxFacts.IsParenthesizedExpression(rightOfAssign))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
66if (syntaxFacts.IsParenthesizedExpression(expressionOrPattern))