11 references to WithSource
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (11)
Emit\EditAndContinue\EditAndContinueStateMachineTests.cs (6)
3273var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 5793var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 5794var compilation2 = compilation1.WithSource(new[] { source2.Tree, asyncStreamsTree }); 5795var compilation3 = compilation2.WithSource(new[] { source3.Tree, asyncStreamsTree }); 6437var compilation1 = compilation0.WithSource([source1.Tree, asyncStreamsTree]); 6980var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree });
Emit\EditAndContinue\EditAndContinueTests.cs (3)
19013var compilation1 = compilation0.WithSource(new[] { source1.Tree, source2.Tree }); 19107var compilation1 = compilation0.WithSource(new[] { source1_gen1.Tree, source0_gen1.Tree }); 19196var compilation1 = compilation0.WithSource(new[] { source2_gen1.Tree });
Emit\EditAndContinue\LocalSlotMappingTests.cs (2)
753var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree }); 844var compilation1 = compilation0.WithSource(new[] { source1.Tree, asyncStreamsTree });