1 write to _diagnostics
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorContexts.cs (1)
34
_diagnostics
= new DiagnosticBag();
4 references to _diagnostics
Microsoft.CodeAnalysis (4)
SourceGeneration\GeneratorContexts.cs (4)
108
_diagnostics
.Add(diagnostic);
112
=> (_additionalSources.ToImmutableAndFree(),
_diagnostics
.ToReadOnlyAndFree());
117
_diagnostics
.Free();
123
ctx.Diagnostics.AddRange(
_diagnostics
);