15 references to AddSyntaxTrees
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\DeterministicTests.cs (1)
439var comp2 = cv.Compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(trees[1], trees[0], trees[2]);
Microsoft.CodeAnalysis.CSharp.Features (1)
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (1)
119var compilationWithTestFile = compilation.RemoveAllSyntaxTrees().AddSyntaxTrees(testFileTree);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (4)
1525driver = driver.RunGenerators(compilation.AddSyntaxTrees(compilation.SyntaxTrees.First().WithChangedText(SourceText.From("")))); 1567driver = driver.RunGenerators(compilation.AddSyntaxTrees(compilation.SyntaxTrees.First().WithChangedText(SourceText.From(""" 1615driver = driver.RunGenerators(compilation.AddSyntaxTrees(compilation.SyntaxTrees.First().WithChangedText(SourceText.From(""" 1668driver = driver.RunGenerators(compilation.AddSyntaxTrees(compilation.SyntaxTrees.First().WithChangedText(SourceText.From("""
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (4)
1422driver = driver.RunGenerators(compilation.AddSyntaxTrees( 1467driver = driver.RunGenerators(compilation.AddSyntaxTrees( 1519driver = driver.RunGenerators(compilation.AddSyntaxTrees( 1570driver = driver.RunGenerators(compilation.AddSyntaxTrees(
SourceGeneration\SyntaxAwareGeneratorTests.cs (1)
1041compilation = compilation.AddSyntaxTrees(CSharpSyntaxTree.ParseText(source2, parseOptions));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\UsedAssembliesTests.cs (1)
204AddSyntaxTrees(CSharpTestBase.Parse(globalUsings, "", parseOptions)), before, after);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
133newCompilation = newCompilation.AddSyntaxTrees(replacementSyntaxTree);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestWorkspace_XmlConsumption.cs (1)
777compilation = compilation.AddSyntaxTrees(CreateSyntaxTree(parseOptions, documentElement.Value));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
3047compilation = compilation.AddSyntaxTrees(tree);