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(); 123ctx.Diagnostics.AddRange(_diagnostics);