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