5 references to Primary
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryParentheses\CSharpRemoveUnnecessaryExpressionParenthesesDiagnosticAnalyzer.cs (1)
51var innerIsSimple = innerPrecedence is OperatorPrecedence.Primary or
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryParentheses\CSharpRemoveUnnecessaryPatternParenthesesDiagnosticAnalyzer.cs (1)
48var innerIsSimple = innerPrecedence is OperatorPrecedence.Primary or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
718return OperatorPrecedence.Primary;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (2)
712if (patternPrecedence is OperatorPrecedence.Primary or OperatorPrecedence.Unary) 769return OperatorPrecedence.Primary;