1 write to _distinctBinaryOperatorKinds
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (1)
56
_distinctBinaryOperatorKinds
= distinctBinaryOperatorKinds;
5 references to _distinctBinaryOperatorKinds
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (5)
382
distinctBinaryOperatorKinds:
_distinctBinaryOperatorKinds
.Union(other.
_distinctBinaryOperatorKinds
),
396
var count =
_distinctBinaryOperatorKinds
.Count;
397
if (
_distinctBinaryOperatorKinds
.Count > 1)
399
count +=
_distinctBinaryOperatorKinds
.Count - 1;