9 references to WithSource
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (9)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (4)
3310var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 5818var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 5819var compilation2 = compilation1.WithSource(new[] { source2.Tree, asyncStreamsTree }); 5820var compilation3 = compilation2.WithSource(new[] { source3.Tree, asyncStreamsTree });
Emit\EditAndContinue\EditAndContinueTests.cs (3)
16080var compilation1 = compilation0.WithSource(new[] { source1.Tree, source2.Tree }); 16174var compilation1 = compilation0.WithSource(new[] { source1_gen1.Tree, source0_gen1.Tree }); 16264var compilation1 = compilation0.WithSource(new[] { source2_gen1.Tree });
Emit\EditAndContinue\LocalSlotMappingTests.cs (2)
753var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 846var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree });