1 instantiation of CSharpExpressionPrecedenceService
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\Precedence\CSharpExpressionPrecedenceService.cs (1)
14
public static readonly CSharpExpressionPrecedenceService Instance =
new
();
3 references to CSharpExpressionPrecedenceService
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
22
: base(
CSharpExpressionPrecedenceService
.Instance)
src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryParentheses\CSharpRemoveUnnecessaryExpressionParenthesesDiagnosticAnalyzer.cs (1)
92
parentPrecedenceKind =
CSharpExpressionPrecedenceService
.Instance.GetPrecedenceKind(parentExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\Precedence\CSharpExpressionPrecedenceService.cs (1)
14
public static readonly
CSharpExpressionPrecedenceService
Instance = new();