1 write to _analyzerExecutionTimeOpt
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
43
_analyzerExecutionTimeOpt
= logAnalyzerExecutionTime ? CreateAnalyzerExecutionTimeMap(analyzers) : null;
7 references to _analyzerExecutionTimeOpt
Microsoft.CodeAnalysis (7)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (7)
96
Debug.Assert(
_analyzerExecutionTimeOpt
!= null);
100
return
_analyzerExecutionTimeOpt
[analyzer];
287
if (
_analyzerExecutionTimeOpt
!= null)
290
_analyzerExecutionTimeOpt
[analyzer] = fullCompilationDiagnostics ?
292
_analyzerExecutionTimeOpt
[analyzer] + timeSpan;
600
var executionTime =
_analyzerExecutionTimeOpt
!= null ?
_analyzerExecutionTimeOpt
[analyzer] : default;