5 references to Add
Microsoft.CodeAnalysis (5)
SourceGeneration\GeneratorContexts.cs (2)
92
public void AddSource(string hintName, SourceText sourceText) => _additionalSources.
Add
(hintName, sourceText);
284
public void AddSource(string hintName, SourceText sourceText) => _additionalSources.
Add
(hintName, sourceText);
SourceGeneration\IncrementalContexts.cs (2)
131
public void AddSource(string hintName, SourceText sourceText) => AdditionalSources.
Add
(hintName, sourceText);
168
public void AddSource(string hintName, SourceText sourceText) => Sources.
Add
(hintName, sourceText);
SourceGeneration\Nodes\SourceOutputNode.cs (1)
113
context.Sources.
Add
(text.HintName, text.Text);