6 references to GetOperatorPrecedence
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
56=> (int)binaryLike.GetOperatorPrecedence();
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryParentheses\CSharpRemoveUnnecessaryExpressionParenthesesDiagnosticAnalyzer.cs (2)
50var innerPrecedence = inner.GetOperatorPrecedence(); 104parentExpression.GetOperatorPrecedence() != innerPrecedence;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
375var precedence = expression.GetOperatorPrecedence(); 376var parentPrecedence = parentExpression.GetOperatorPrecedence();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\Precedence\CSharpExpressionPrecedenceService.cs (1)
21=> expression.GetOperatorPrecedence();