227 references to WithSource
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (227)
Emit\EditAndContinue\AssemblyReferencesTests.cs (9)
67
var compilation1 = compilation0.
WithSource
(src2);
144
var compilation1 = compilation0.
WithSource
(src2);
220
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.ToMetadataReference() });
221
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.ToMetadataReference() });
324
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.ToMetadataReference() });
325
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.ToMetadataReference() });
407
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, lib1.EmitToImageReference() });
408
var compilation2 = compilation1.
WithSource
(src2).WithReferences(new[] { MscorlibRef, lib2.EmitToImageReference() });
491
var compilation1 = compilation0.
WithSource
(src1).WithReferences(new[] { MscorlibRef, ref02, ref12 });
Emit\EditAndContinue\EditAndContinueClosureTests.cs (8)
2464
var compilation1 = compilation0.
WithSource
(source1);
2465
var compilation2 = compilation1.
WithSource
(source2);
2581
var compilation1 = compilation0.
WithSource
(source1);
2582
var compilation2 = compilation1.
WithSource
(source2);
2714
var compilation1 = compilation0.
WithSource
(source1);
2715
var compilation2 = compilation1.
WithSource
(source2);
2716
var compilation3 = compilation2.
WithSource
(source3);
4734
var compilation1 = compilation0.
WithSource
(source1);
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\EditAndContinueStateMachineTests.cs (11)
230
var compilation1 = compilation0.
WithSource
(source1);
347
var compilation1 = compilation0.
WithSource
(source1);
449
var compilation1 = compilation0.
WithSource
(source1);
522
var compilation1 = compilation0.
WithSource
(source1);
573
var compilation1 = compilation0.
WithSource
(source1);
8702
var compilation1 = compilation0.
WithSource
(source1);
8703
var compilation2 = compilation1.
WithSource
(source2);
8704
var compilation3 = compilation2.
WithSource
(source3);
8705
var compilation4 = compilation3.
WithSource
(source4);
8785
var compilation1 = compilation0.
WithSource
(source1);
8786
var compilation2 = compilation1.
WithSource
(source2);
Emit\EditAndContinue\EditAndContinueTests.cs (118)
264
var compilation1 = compilation0.
WithSource
(source1);
313
var compilation1 = compilation0.
WithSource
(source1);
346
var compilation1 = compilation0.
WithSource
(source1);
505
var compilation1 = compilation0.
WithSource
(source1);
566
var compilation1 = compilation0.
WithSource
(source1);
567
var compilation2 = compilation1.
WithSource
(source2);
799
var compilation1 = compilation0.
WithSource
(source1);
1127
var compilation1 = compilation0.
WithSource
(source1);
1128
var compilation2 = compilation1.
WithSource
(source2);
1250
var compilation1 = compilation0.
WithSource
(source1);
1251
var compilation2 = compilation1.
WithSource
(source2);
1252
var compilation3 = compilation1.
WithSource
(source3);
2848
var compilation1 = compilation0.
WithSource
(source1);
2932
var compilation1 = compilation0.
WithSource
(source1);
2933
var compilation2 = compilation1.
WithSource
(source2);
3059
var compilation1 = compilation0.
WithSource
(source1);
3363
var compilation1 = compilation0.
WithSource
(source1);
3364
var compilation2 = compilation0.
WithSource
(source2);
3506
var compilation1 = compilation0.
WithSource
(source1);
3507
var compilation2 = compilation1.
WithSource
(source2);
3508
var compilation3 = compilation2.
WithSource
(source3);
3758
var compilation1 = compilation0.
WithSource
(source1);
3820
var compilation1 = compilation0.
WithSource
(source1);
3885
var compilation1 = compilation0.
WithSource
(source1);
3886
var compilation2 = compilation0.
WithSource
(source2);
5646
var compilation1 = compilation0.
WithSource
(source1);
5647
var compilation2 = compilation0.
WithSource
(source2);
6220
var compilation1 = compilation0.
WithSource
(source1);
6221
var compilation2 = compilation1.
WithSource
(source2);
6343
var compilation1 = compilation0.
WithSource
(source1);
6344
var compilation2 = compilation1.
WithSource
(source2);
6345
var compilation3 = compilation2.
WithSource
(source3);
6676
var compilation1 = compilation0.
WithSource
(source1);
6677
var compilation2 = compilation1.
WithSource
(source2);
6761
var compilation1 = compilation0.
WithSource
(source1);
6762
var compilation2 = compilation1.
WithSource
(source2);
6842
var compilation1 = compilation0.
WithSource
(source1);
6952
var compilation1 = compilation0.
WithSource
(source1);
7007
var compilation1 = compilation0.
WithSource
(source1);
7123
var compilation1 = compilation0.
WithSource
(source1);
7124
var compilation2 = compilation1.
WithSource
(source2);
7179
var compilation1 = compilation0.
WithSource
(source);
7249
var compilation1 = compilation0.
WithSource
(source1);
7250
var compilation2 = compilation0.
WithSource
(source2);
7326
var compilation1 = compilation0.
WithSource
(source);
7408
var compilation1 = compilation0.
WithSource
(source1);
7409
var compilation2 = compilation1.
WithSource
(source2);
7587
var compilation1 = compilation0.
WithSource
(source1);
7730
var compilation1 = compilation0.
WithSource
(source1);
7794
var compilation1 = compilation0.
WithSource
(source1);
7958
var compilation1 = compilation0.
WithSource
(source1);
8016
var compilation1 = compilation0.
WithSource
(source1);
8080
var compilation1 = compilation0.
WithSource
(@"
8112
var compilation2 = compilation1.
WithSource
(@"
8255
var compilation1 = compilation0.
WithSource
(source);
8279
var compilation2 = compilation1.
WithSource
(source);
8303
var compilation3 = compilation2.
WithSource
(source);
8328
var compilation4 = compilation3.
WithSource
(source);
8353
var compilation5 = compilation4.
WithSource
(source);
8377
var compilation6 = compilation5.
WithSource
(source);
8401
var compilation7 = compilation6.
WithSource
(source);
8427
var compilation8 = compilation7.
WithSource
(source);
8452
var compilation9 = compilation8.
WithSource
(source);
8476
var compilation10 = compilation9.
WithSource
(source);
8549
var compilation11 = compilation10.
WithSource
(source);
8573
var compilation12 = compilation11.
WithSource
(source);
8626
var compilation1 = compilation0.
WithSource
(source1);
8719
var compilation1 = compilation0.
WithSource
(source1);
8822
var compilation1 = compilation0.
WithSource
(source1);
8823
var compilation2 = compilation1.
WithSource
(source2);
8908
var compilation1 = compilation0.
WithSource
(source1);
9039
var compilation1 = compilation0.
WithSource
(source1);
9040
var compilation2 = compilation1.
WithSource
(source2);
9041
var compilation3 = compilation2.
WithSource
(source3);
9252
var compilation1 = compilation0.
WithSource
(source1);
9253
var compilation2 = compilation1.
WithSource
(source2);
9341
var compilation1 = compilation0.
WithSource
(source1);
9389
var compilation1 = compilation0.
WithSource
(source);
9584
var compilation1 = compilation0.
WithSource
(source1);
9585
var compilation2 = compilation1.
WithSource
(source2);
9586
var compilation3 = compilation2.
WithSource
(source3);
9919
var compilation1 = compilation0.
WithSource
(source1);
10029
var compilation1 = compilation0.
WithSource
(source1);
10314
var compilation1 = compilation0.
WithSource
(source1);
10315
var compilation2 = compilation1.
WithSource
(source2);
10316
var compilation3 = compilation2.
WithSource
(source3);
10431
var compilation1 = compilation0.
WithSource
(source1);
10432
var compilation2 = compilation1.
WithSource
(source2);
10433
var compilation3 = compilation2.
WithSource
(source3);
10434
var compilation4 = compilation3.
WithSource
(source4);
11096
var compilation1 = compilation0.
WithSource
(source);
11166
var compilation1 = compilation0.
WithSource
(source);
11239
var compilation1 = compilation0.
WithSource
(source);
11306
var compilation1 = compilation0.
WithSource
(source);
11430
var compilation1 = compilation0.
WithSource
(source1);
11487
var compilation1 = compilation0.
WithSource
(source);
11553
var compilation1 = compilation0.
WithSource
(source);
12080
var compilation1A = compilation0.
WithSource
(source1A);
12081
var compilation1B = compilation0.
WithSource
(source1B);
12168
var compilation1 = compilation0.
WithSource
(source);
12309
var compilation1 = compilation0.
WithSource
(source);
12416
var compilation1 = compilation0.
WithSource
(source1);
12417
var compilation2 = compilation1.
WithSource
(source2);
12488
var compilation1 = compilation0.
WithSource
(source1);
12576
var compilation1 = compilation0.
WithSource
(source1);
12625
var compilation1 = compilation0.
WithSource
(source1);
12666
var compilation1 = compilation0.
WithSource
(new[] { sourceA1, sourceB1 });
12712
var compilation1 = compilation0.
WithSource
(source1);
12713
var compilation2 = compilation1.
WithSource
(source2);
12777
var compilationA1 = compilationA0.
WithSource
(sourceA1);
12845
var compilationB1 = compilationB0.
WithSource
(sourceB1);
12846
var compilationB2 = compilationB1.
WithSource
(sourceB2);
12917
var compilation1 = compilation0.
WithSource
(source1);
12918
var compilation2 = compilation1.
WithSource
(source2);
12970
var compilation1 = compilation0.
WithSource
(String.Format(source, i));
15760
var compilation1 = compilation0.
WithSource
(new[] { source1, IsExternalInitTypeDefinition });
15866
var compilation1 = compilation0.
WithSource
(new[] { source1, IsExternalInitTypeDefinition });
16217
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);