1 write to _nonLocalDiagnosticsOpt
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (1)
374_nonLocalDiagnosticsOpt = _nonLocalDiagnosticsOpt ?? new Dictionary<DiagnosticAnalyzer, ImmutableArray<Diagnostic>.Builder>();
6 references to _nonLocalDiagnosticsOpt
Microsoft.CodeAnalysis (6)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (6)
374_nonLocalDiagnosticsOpt = _nonLocalDiagnosticsOpt ?? new Dictionary<DiagnosticAnalyzer, ImmutableArray<Diagnostic>.Builder>(); 377if (!_nonLocalDiagnosticsOpt.TryGetValue(analyzer, out currentDiagnostics)) 380_nonLocalDiagnosticsOpt[analyzer] = currentDiagnostics; 433if (getNonLocalDiagnostics && _nonLocalDiagnosticsOpt != null) 435AddDiagnostics_NoLock(_nonLocalDiagnosticsOpt, analysisScope.Analyzers, builder); 515nonLocalDiagnostics = GetImmutable(analyzersSet, shouldInclude, _nonLocalDiagnosticsOpt);