1 write to DepthOfInheritance
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (1)
56
DepthOfInheritance
= depthOfInheritance;
4 references to DepthOfInheritance
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.AssemblyMetricData.cs (1)
57
depthOfInheritance = Math.Max(child.
DepthOfInheritance
.GetValueOrDefault(), depthOfInheritance);
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.cs (2)
160
if (
DepthOfInheritance
.HasValue)
162
builder.Append($", DepthInherit: {
DepthOfInheritance
}");
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\CodeAnalysisMetricData.NamespaceMetricData.cs (1)
55
depthOfInheritance = Math.Max(child.
DepthOfInheritance
.GetValueOrDefault(), depthOfInheritance);