5 references to AddSource
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
ConvertToRecord\ConvertToRecordCodeRefactoringTests.cs (1)
4526context.AddSource(
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
436context.AddSource($"Generated_{fileName}", generatedSource);
Microsoft.CodeAnalysis.TestAnalyzerReference (1)
HelloWorldGenerator.cs (1)
59context.AddSource($"{GeneratedFolderName}/{GeneratedFolderClassName}", $$"""
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.vb (1)
759context.AddSource("source.vb", "
Microsoft.ML.AutoML.SourceGenerator (1)
SearchSpaceGenerator.cs (1)
137context.AddSource($"{className}.generated.cs", code);