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)
52
syntax.Modifiers.ToDeclarationModifiers(isForTypeDeclaration: false, diagnostics:
_declarationDiagnostics
);
72
ReportErrorIfHasConstraints(syntax.ConstraintClauses,
_declarationDiagnostics
);
77
_declarationDiagnostics
.Add(ErrorCode.ERR_BadExtensionAgg, GetFirstLocation());
87
_declarationDiagnostics
.AddRange(diagnostics.DiagnosticBag);
134
addTo.AddRange(
_declarationDiagnostics
);
154
_declarationDiagnostics
.AddRange(diagnosticBag);
213
lock (
_declarationDiagnostics
)
221
_declarationDiagnostics
.AddRange(diagnostics.DiagnosticBag);
291
lock (
_declarationDiagnostics
)
299
_declarationDiagnostics
.AddRange(diagnostics.DiagnosticBag);
485
lock (
_declarationDiagnostics
)
489
_declarationDiagnostics
.AddRange(diagnostics.DiagnosticBag);