1 write to _declarationDiagnostics
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\LocalFunctionSymbol.cs (1)
47_declarationDiagnostics = new DiagnosticBag();
12 references to _declarationDiagnostics
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Source\LocalFunctionSymbol.cs (12)
52syntax.Modifiers.ToDeclarationModifiers(isForTypeDeclaration: false, diagnostics: _declarationDiagnostics); 72ReportErrorIfHasConstraints(syntax.ConstraintClauses, _declarationDiagnostics); 77_declarationDiagnostics.Add(ErrorCode.ERR_BadExtensionAgg, GetFirstLocation()); 87_declarationDiagnostics.AddRange(diagnostics.DiagnosticBag); 134addTo.AddRange(_declarationDiagnostics); 154_declarationDiagnostics.AddRange(diagnosticBag); 213lock (_declarationDiagnostics) 221_declarationDiagnostics.AddRange(diagnostics.DiagnosticBag); 291lock (_declarationDiagnostics) 299_declarationDiagnostics.AddRange(diagnostics.DiagnosticBag); 485lock (_declarationDiagnostics) 489_declarationDiagnostics.AddRange(diagnostics.DiagnosticBag);