1 write to _analyzerExecutionTimeMap
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
164
_analyzerExecutionTimeMap
= analyzerExecutionTimeMap;
7 references to _analyzerExecutionTimeMap
Microsoft.CodeAnalysis (7)
DiagnosticAnalyzer\AnalyzerExecutor.cs (7)
184
Debug.Assert(
_analyzerExecutionTimeMap
!= null);
185
return
_analyzerExecutionTimeMap
.ToImmutableDictionary(pair => pair.Key, pair => TimeSpan.FromTicks(pair.Value.Value));
1148
if (
_analyzerExecutionTimeMap
!= null)
1166
if (
_analyzerExecutionTimeMap
!= null)
1169
StrongBox<long> totalTicks =
_analyzerExecutionTimeMap
.GetOrAdd(analyzer, _ => new StrongBox<long>(0));
1491
Debug.Assert(
_analyzerExecutionTimeMap
!= null);
1492
if (!
_analyzerExecutionTimeMap
.TryRemove(analyzer, out var executionTime))