1 write to _diagnostics
Microsoft.CodeAnalysis.CSharp (1)
Compiler\MethodCompiler.cs (1)
99
_diagnostics
= diagnostics;
17 references to _diagnostics
Microsoft.CodeAnalysis.CSharp (17)
Compiler\MethodCompiler.cs (17)
482
Binder.BindFieldInitializers(_compilation, scriptInitializer, sourceTypeSymbol.StaticInitializers,
_diagnostics
, ref processedStaticInitializers);
485
Binder.BindFieldInitializers(_compilation, scriptInitializer, sourceTypeSymbol.InstanceInitializers,
_diagnostics
, ref processedInstanceInitializers);
625
_diagnostics
.DiagnosticBag,
726
var diagnosticsThisMethod = BindingDiagnosticBag.GetInstance(
_diagnostics
);
781
ex.AddAnError(
_diagnostics
);
784
_diagnostics
.AddRange(diagnosticsThisMethod);
825
var discardedDiagnostics = BindingDiagnosticBag.GetInstance(
_diagnostics
);
843
_diagnostics
.AddRangeAndFree(discardedDiagnostics);
855
var discardedDiagnostics = BindingDiagnosticBag.GetInstance(
_diagnostics
);
858
_diagnostics
.AddDependencies(discardedDiagnostics);
917
_diagnostics
.AddRange(cachedDiagnostics);
925
var diagsForCurrentMethod = BindingDiagnosticBag.GetInstance(
_diagnostics
);
935
_diagnostics
.AddRange(diagsForCurrentMethod);
1153
_diagnostics
.AddRange(actualDiagnostics);
1280
_diagnostics
.AddRange(diagsForCurrentMethod);
1312
_diagnostics
.AddRange(diagsForCurrentMethod);
1344
_diagnostics
.AddRange(diagsForCurrentMethod);