1 write to AdditionalFiles
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorContexts.cs (1)
28AdditionalFiles = additionalTexts;
13 references to AdditionalFiles
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
832onExecute: (e) => passedIn = e.AdditionalFiles
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
426foreach (var additionalFile in context.AdditionalFiles)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.vb (1)
48Sub(e) Assert.Equal("Hello World", e.AdditionalFiles.First().GetText().ToString()))
Microsoft.ML.AutoML.SourceGenerator (10)
EstimatorTypeGenerator.cs (3)
25if (context.AdditionalFiles.Where(f => f.Path.Contains("code_gen_flag.json")).First() is AdditionalText text) 35var trainers = context.AdditionalFiles.Where(f => f.Path.Contains("trainer-estimators.json")) 40var transformers = context.AdditionalFiles.Where(f => f.Path.Contains("transformer-estimators.json"))
SearchSpaceGenerator.cs (2)
22if (context.AdditionalFiles.Where(f => f.Path.Contains("code_gen_flag.json")).First() is AdditionalText text) 32var searchSpacesJson = context.AdditionalFiles.Where(f => f.Path.Contains("search_space.json"))
SweepableEstimatorFactoryGenerator.cs (3)
22if (context.AdditionalFiles.Where(f => f.Path.Contains("code_gen_flag.json")).First() is AdditionalText text) 32var trainers = context.AdditionalFiles.Where(f => f.Path.Contains("trainer-estimators.json")) 37var transformers = context.AdditionalFiles.Where(f => f.Path.Contains("transformer-estimators.json"))
SweepableEstimatorGenerator.cs (2)
21if (context.AdditionalFiles.Where(f => f.Path.Contains("code_gen_flag.json")).First() is AdditionalText text) 31var estimators = context.AdditionalFiles.Where(f => f.Path.Contains("trainer-estimators.json") || f.Path.Contains("transformer-estimators.json"))