101 references to WithSource
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (101)
Emit\EditAndContinue\AssemblyReferencesTests.cs (9)
67
var compilation1 = compilation0.
WithSource
(src2);
140
var compilation1 = compilation0.
WithSource
(src2);
212
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.ToMetadataReference() });
213
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.ToMetadataReference() });
316
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.ToMetadataReference() });
317
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.ToMetadataReference() });
399
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.EmitToImageReference() });
400
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.EmitToImageReference() });
483
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, ref02, ref12 });
Emit\EditAndContinue\EditAndContinueClosureTests.cs (4)
2465
var compilation2 = compilation1.
WithSource
(source2);
2582
var compilation2 = compilation1.
WithSource
(source2);
2715
var compilation2 = compilation1.
WithSource
(source2);
2716
var compilation3 = compilation2.
WithSource
(source3);
Emit\EditAndContinue\EditAndContinueDelegateCacheTests.cs (5)
46
var compilation1 = compilation0.
WithSource
(source1);
110
var compilation1 = compilation0.
WithSource
(source1);
174
var compilation1 = compilation0.
WithSource
(source1);
238
var compilation1 = compilation0.
WithSource
(source1);
302
var compilation1 = compilation0.
WithSource
(source1);
Emit\EditAndContinue\EditAndContinueTests.cs (7)
260
var compilation1 = compilation0.
WithSource
(source1);
309
var compilation1 = compilation0.
WithSource
(source1);
342
var compilation1 = compilation0.
WithSource
(source1);
501
var compilation1 = compilation0.
WithSource
(source1);
562
var compilation1 = compilation0.
WithSource
(source1);
563
var compilation2 = compilation1.
WithSource
(source2);
795
var compilation1 = compilation0.
WithSource
(source1);
Emit\EditAndContinue\LocalSlotMappingTests.cs (35)
48
var compilation1 = compilation0.
WithSource
(source0);
123
var compilation1 = compilation0.
WithSource
(source);
427
var compilation1 = compilation0.
WithSource
(source);
1209
var compilation1 = compilation0.
WithSource
(source);
1317
var compilation1 = compilation0.
WithSource
(source);
1481
var compilation1 = compilation0.
WithSource
(source);
1664
var compilation1 = compilation0.
WithSource
(source);
1849
var compilation1 = compilation0.
WithSource
(source);
2009
var compilation1 = compilation0.
WithSource
(source);
2042
var compilation1 = compilation0.
WithSource
(source);
2419
var compilation2 = compilation0.
WithSource
(source2);
2599
var compilation1 = compilation0.
WithSource
(source1);
2737
var compilation1 = compilation0.
WithSource
(source);
2882
var compilation1 = compilation0.
WithSource
(source1);
2991
var compilation1 = compilation0.
WithSource
(source1);
3118
var compilation1 = compilation0.
WithSource
(source);
3332
var compilation1 = compilation0.
WithSource
(source1);
3439
var compilation1 = compilation0.
WithSource
(source1);
3552
var compilation1 = compilation0.
WithSource
(source1);
3660
var compilation1 = compilation0.
WithSource
(source1);
3752
var compilation1 = compilation0.
WithSource
(source);
3971
var compilation1 = compilation0.
WithSource
(source);
4080
var compilation1 = compilation0.
WithSource
(source);
4234
var compilation1 = compilation0.
WithSource
(source);
4281
var compilation1 = compilation0.
WithSource
(source);
4337
var compilation1 = compilation0.
WithSource
(source);
4392
var compilation1 = compilation0.
WithSource
(source);
4444
var compilation1 = compilation0.
WithSource
(source);
4500
var compilation1 = compilation0.
WithSource
(source);
4569
var compilation1 = compilation0.
WithSource
(source);
4649
var compilation1 = compilation0.
WithSource
(source);
4742
var compilation1 = compilation0.
WithSource
(source);
4803
var compilation1 = compilation0.
WithSource
(source);
4863
var compilation1 = compilation0.
WithSource
(source);
4952
var compilation1 = compilation0.
WithSource
(source);
Emit\EditAndContinue\SymbolMatcherTests.cs (41)
78
var compilation1 = compilation0.
WithSource
(source);
141
var compilation1 = compilation0.
WithSource
(source);
167
var compilation1 = compilation0.
WithSource
(source);
191
var compilation1 = compilation0.
WithSource
(source);
232
var compilation1 = compilation0.
WithSource
(source1);
276
var compilation1 = CreateCompilation(source1, options: TestOptions.DebugDll).
WithSource
(source1);
308
var compilation1 = compilation0.
WithSource
(source).WithReferences(MscorlibRef, lib1.ToMetadataReference());
342
var compilation1 = compilation0.
WithSource
(source1);
373
var compilation1 = compilation0.
WithSource
(source1);
405
var compilation1 = compilation0.
WithSource
(source1);
440
var compilation1 = compilation0.
WithSource
(source1);
601
var compilation1 = compilation0.
WithSource
(source1);
625
var compilation1 = compilation0.
WithSource
(source1);
649
var compilation1 = compilation0.
WithSource
(source1);
673
var compilation1 = compilation0.
WithSource
(source1);
697
var compilation1 = compilation0.
WithSource
(source1);
721
var compilation1 = compilation0.
WithSource
(source1);
745
var compilation1 = compilation0.
WithSource
(source1);
769
var compilation1 = compilation0.
WithSource
(source1);
793
var compilation1 = compilation0.
WithSource
(source1);
817
var compilation1 = compilation0.
WithSource
(source1);
855
var compilation1 = compilation0.
WithSource
(source1);
903
var compilation1 = compilation0.
WithSource
(source1);
984
var compilation1 = compilation0.
WithSource
(source1);
1009
var compilation1 = compilation0.
WithSource
(source1);
1034
var compilation1 = compilation0.
WithSource
(source1);
1057
var compilation1 = compilation0.
WithSource
(source1);
1163
var compilation1 = compilation0.
WithSource
(source);
1212
var compilation1 = compilation0.
WithSource
(source);
1246
var compilation1 = compilation0.
WithSource
(source2);
1297
var compilation1 = compilation0.
WithSource
(source2);
1320
var compilation1 = compilation0.
WithSource
(source1);
1342
var compilation1 = compilation0.
WithSource
(source1);
1365
var compilation1 = compilation0.
WithSource
(source1);
1386
var compilation1 = compilation0.
WithSource
(source1);
1412
var compilation1 = compilation0.
WithSource
(source1);
1716
var compilation1 = compilation0.
WithSource
(source);
1758
var compilation1 = compilation0.
WithSource
(source1);
1810
var compilation1 = compilation0.
WithSource
(source1);
1857
var compilation1 = compilation0.
WithSource
(source1);
1902
var compilation1 = compilation0.
WithSource
(source1);