1 write to HintName
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratedSourceText.cs (1)
23
this.
HintName
= hintName;
7 references to HintName
Microsoft.CodeAnalysis (7)
SourceGeneration\AdditionalSourcesCollection.cs (4)
94
if (s_hintNameComparer.Equals(_sourcesAdded[i].
HintName
, hintName))
107
if (s_hintNameComparer.Equals(_sourcesAdded[i].
HintName
, hintName))
127
if (asc.Contains(source.
HintName
))
129
throw new ArgumentException(string.Format(CodeAnalysisResources.HintNameUniquePerGenerator, source.
HintName
), "hintName");
SourceGeneration\GeneratorDriver.cs (2)
375
var tree = ParseGeneratedSourceText(source, Path.Combine(prefix, source.
HintName
), cancellationToken);
376
trees.Add(new GeneratedSyntaxTree(source.
HintName
, source.Text, tree));
SourceGeneration\Nodes\SourceOutputNode.cs (1)
113
context.Sources.Add(text.
HintName
, text.Text);