1 write to _nonLocalDiagnosticsOpt
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
375_nonLocalDiagnosticsOpt = _nonLocalDiagnosticsOpt ?? new Dictionary<DiagnosticAnalyzer, ImmutableArray<Diagnostic>.Builder>();
6 references to _nonLocalDiagnosticsOpt
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (6)
375_nonLocalDiagnosticsOpt = _nonLocalDiagnosticsOpt ?? new Dictionary<DiagnosticAnalyzer, ImmutableArray<Diagnostic>.Builder>(); 378if (!_nonLocalDiagnosticsOpt.TryGetValue(analyzer, out currentDiagnostics)) 381_nonLocalDiagnosticsOpt[analyzer] = currentDiagnostics; 434if (getNonLocalDiagnostics && _nonLocalDiagnosticsOpt != null) 436AddDiagnostics_NoLock(_nonLocalDiagnosticsOpt, analysisScope.Analyzers, builder); 516nonLocalDiagnostics = GetImmutable(analyzersSet, shouldInclude, _nonLocalDiagnosticsOpt);