14 references to WithSource
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (14)
Emit\EditAndContinue\AssemblyReferencesTests.cs (3)
586var compilation1 = compilation0.WithSource(source1.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 10))); 587var compilation2 = compilation1.WithSource(source2.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 20))); 588var compilation3 = compilation2.WithSource(source3.Tree).WithOptions(options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 30)));
Emit\EditAndContinue\EditAndContinuePdbTests.cs (2)
122var compilation1 = compilation0.WithSource(source1.Tree); 123var compilation2 = compilation1.WithSource(source2.Tree);
Emit\EditAndContinue\EditAndContinueTests.cs (2)
393var compilation1 = compilation0.WithSource(source1.Tree); 463var compilation1 = compilation0.WithSource(source1.Tree);
Emit\EditAndContinue\LocalSlotMappingTests.cs (7)
531var compilation1 = compilation0.WithSource(source1.Tree); 643var compilation1 = compilation0.WithSource(source1.Tree); 2195var compilation2 = compilation0.WithSource(source2.Tree); 3889var compilation1 = compilation0.WithSource(source1.Tree); 3890var compilation2 = compilation1.WithSource(source2.Tree); 5054var compilation1 = compilation0.WithSource(source1.Tree); 5055var compilation2 = compilation1.WithSource(source2.Tree);