26091 references to CreateCompilation
InteractiveHost.UnitTests (6)
InteractiveHostDesktopTests.cs (6)
503
var c1 =
CreateCompilation
(source1, assemblyName: "C");
515
var c2 =
CreateCompilation
(source2, assemblyName: "C");
543
var c1 =
CreateCompilation
(source1, assemblyName: "C");
547
var c2 =
CreateCompilation
(source2, assemblyName: "C");
578
var c1 =
CreateCompilation
(source1, assemblyName: "C");
582
var c2 =
CreateCompilation
(source2, assemblyName: "C");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (6)
CommandLineIVTTests.cs (4)
22
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
99
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
177
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
260
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
CommandLineTests.cs (2)
754
var compilation =
CreateCompilation
(new SyntaxTree[0]);
878
var compilation =
CreateCompilation
(new SyntaxTree[0]);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (33)
SymbolKey\SymbolKeyCompilationsTests.cs (30)
74
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
75
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
95
var comp1 =
CreateCompilation
(src1, assemblyName: "C2CErrorSymbolUnchanged01");
96
var comp2 =
CreateCompilation
(src2, assemblyName: "C2CErrorSymbolUnchanged01");
128
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
155
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
183
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
226
var compilation = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
254
var comp1 =
CreateCompilation
(src1);
255
var comp2 =
CreateCompilation
(src1);
284
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
285
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
305
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
306
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
423
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
424
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
460
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
461
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
509
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
510
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
543
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
544
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
568
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
569
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
590
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
591
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
619
var compilation1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
620
var compilation2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
663
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
664
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Assembly");
SymbolKey\SymbolKeyErrorTypeTests.cs (1)
373
var sourceCompilation = (Compilation)
CreateCompilation
(source, options: new(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true));
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (2)
61
var comp1 =
CreateCompilation
(src1);
145
var comp1 =
CreateCompilation
(src1);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1795)
BreakingChanges.cs (29)
42
var comp =
CreateCompilation
(text);
65
var comp =
CreateCompilation
(text);
82
var compilation1 =
CreateCompilation
(source1);
161
var compilation =
CreateCompilation
(text);
251
CreateCompilation
(source).VerifyDiagnostics(
295
var comp =
CreateCompilation
(text);
406
var standardCompilation =
CreateCompilation
(source);
407
var strictCompilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature());
473
CreateCompilation
(text).VerifyDiagnostics();
501
CreateCompilation
(source).VerifyDiagnostics(
579
var comp =
CreateCompilation
(source);
640
CreateCompilation
(source).VerifyDiagnostics();
733
CreateCompilation
(source).VerifyDiagnostics(
759
CreateCompilation
(text).VerifyDiagnostics();
776
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
796
CreateCompilation
(text).VerifyDiagnostics(
826
CreateCompilation
(text).VerifyDiagnostics(
913
CreateCompilation
(source).VerifyDiagnostics();
919
CreateCompilation
(
983
var comp =
CreateCompilation
(text);
1061
CreateCompilation
(source).VerifyDiagnostics(
1082
CreateCompilation
(source).VerifyDiagnostics();
1270
CreateCompilation
(source).VerifyDiagnostics(
1296
CreateCompilation
(source).VerifyDiagnostics(
1356
CreateCompilation
(source).VerifyDiagnostics(
1581
var libRef =
CreateCompilation
(libSource, assemblyName: "lib").EmitToImageReference();
1604
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.ReleaseExe);
1629
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.ReleaseExe);
1680
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncIteratorTests.cs (22)
1403
var comp1 =
CreateCompilation
(_enumerable);
1411
var comp2 =
CreateCompilation
(@"
1429
var comp3 =
CreateCompilation
(_enumerator);
6496
var comp =
CreateCompilation
(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20);
8521
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8556
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8597
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
8620
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8661
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8704
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8726
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8772
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8793
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8854
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9052
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9093
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9138
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9179
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9375
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9421
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9876
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net80);
10494
var missingLibS1 =
CreateCompilation
(@"
CodeGen\CodeGenAsyncMainTests.cs (3)
1566
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
1808
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
2064
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (4)
659
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2007
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2098
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2135
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
CodeGen\CodeGenAsyncSpillTests.cs (15)
3485
CreateCompilation
(@"
3910
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
3911
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
4065
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4289
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4508
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4698
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4890
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5083
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5268
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5468
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5682
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5923
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6168
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6334
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncTests.cs (5)
5790
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5823
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5933
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseDll);
6057
var comp = CSharpTestBase.
CreateCompilation
(source);
6106
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
CodeGen\CodeGenAwaitForeachTests.cs (31)
2089
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2104
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
2105
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
2180
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2195
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
2196
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
2779
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2819
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2831
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
2832
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
6243
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6367
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6400
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6604
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6640
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6676
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6713
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6918
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7549
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7589
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7663
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7707
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7785
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7859
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7926
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8254
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8298
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8838
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8892
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8998
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
9481
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAwaitUsingTests.cs (13)
2292
var comp =
CreateCompilation
(source);
3075
var comp =
CreateCompilation
(source);
3098
var comp =
CreateCompilation
(source);
3125
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3137
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3138
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
3169
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
3170
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3171
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
3244
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3283
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3720
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3749
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenCapturing.cs (1)
461
CreateCompilation
(methodsText.ToString()).VerifyEmitDiagnostics();
CodeGen\CodeGenCheckedTests.cs (6)
1990
var comp =
CreateCompilation
(source);
2122
var comp =
CreateCompilation
(source);
2160
var comp =
CreateCompilation
(source);
2849
var comp =
CreateCompilation
(source);
2912
var comp =
CreateCompilation
(source);
2944
var comp =
CreateCompilation
(source);
CodeGen\CodeGenClosureLambdaTests.cs (1)
4223
CreateCompilation
(source).VerifyEmitDiagnostics(
CodeGen\CodeGenConditionalOperatorTests.cs (2)
713
var comp =
CreateCompilation
(source);
3920
var comp =
CreateCompilation
(source);
CodeGen\CodeGenConstructorInitTests.cs (4)
1272
var comp =
CreateCompilation
(source);
1306
var comp =
CreateCompilation
(source);
1331
var comp =
CreateCompilation
(source);
1356
var comp =
CreateCompilation
(source);
CodeGen\CodeGenConversionTests.cs (4)
284
var comp2 =
CreateCompilation
(source2, new[] { MetadataReference.CreateFromImage(verifier1.EmittedAssemblyData) }, TestOptions.ReleaseExe);
382
var comp2 =
CreateCompilation
(source2, new[] { MetadataReference.CreateFromImage(verifier1.EmittedAssemblyData) }, TestOptions.ReleaseExe);
681
CreateCompilation
(text).VerifyDiagnostics();
750
CreateCompilation
(source).VerifyEmitDiagnostics(
CodeGen\CodeGenDeconstructTests.cs (95)
161
var comp =
CreateCompilation
(source);
299
var comp =
CreateCompilation
(source);
341
var comp =
CreateCompilation
(source);
800
var comp =
CreateCompilation
(source);
1556
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1607
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1635
var comp =
CreateCompilation
(source,
1708
var comp =
CreateCompilation
(source);
1745
var comp =
CreateCompilation
(source);
1793
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1837
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1870
var comp =
CreateCompilation
(source);
2343
var comp =
CreateCompilation
(source);
2463
CreateCompilation
(source).VerifyDiagnostics(
2521
var comp =
CreateCompilation
(source);
2620
var comp =
CreateCompilation
(source);
4401
var compilation =
CreateCompilation
(source);
4960
var comp =
CreateCompilation
(source);
5901
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5972
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5992
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6025
var comp =
CreateCompilation
(source);
6078
var comp =
CreateCompilation
(source);
6127
var comp =
CreateCompilation
(source);
6172
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6199
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
6231
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6277
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6298
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6330
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6360
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6387
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6474
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6503
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6555
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6586
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
6627
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
6702
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6727
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6746
var compCSharp9 =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
6762
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
6790
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6816
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6836
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6968
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7034
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7058
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7089
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7114
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7147
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7198
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7260
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
7291
var compilation =
CreateCompilation
(source);
7339
var compilation =
CreateCompilation
(source);
7384
var compilation =
CreateCompilation
(source);
7420
var compilation =
CreateCompilation
(source);
7460
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7541
var compilation =
CreateCompilation
(source);
7588
var compilation =
CreateCompilation
(source);
7661
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7703
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7724
var compilation =
CreateCompilation
(source);
7748
var compilation =
CreateCompilation
(source);
7952
var compilation =
CreateCompilation
(source);
7980
var compilation =
CreateCompilation
(source);
8708
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
8730
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
8755
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe);
8775
var comp =
CreateCompilation
(
8780
comp =
CreateCompilation
(
8800
var comp =
CreateCompilation
(
8805
comp =
CreateCompilation
(
8826
var comp =
CreateCompilation
(
8831
comp =
CreateCompilation
(
8861
var comp =
CreateCompilation
(
8866
comp =
CreateCompilation
(
8887
var comp =
CreateCompilation
(
8892
comp =
CreateCompilation
(
8929
var comp =
CreateCompilation
(
8936
comp =
CreateCompilation
(
8984
var comp =
CreateCompilation
(
8990
comp =
CreateCompilation
(
9007
var comp =
CreateCompilation
(source);
9038
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9063
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9436
var comp =
CreateCompilation
(source);
9491
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9683
CreateCompilation
(source).VerifyDiagnostics(
9713
CreateCompilation
(source).VerifyDiagnostics(
9751
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
9785
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
10004
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
10114
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview)
10163
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview)
CodeGen\CodeGenDynamicTests.cs (4)
7486
var lib =
CreateCompilation
(sourceLib);
7580
var lib =
CreateCompilation
(sourceLib);
8851
CreateCompilation
(source).VerifyDiagnostics(
14056
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
CodeGen\CodeGenExplicitImplementationTests.cs (10)
124
var comp1 =
CreateCompilation
(text1, assemblyName: "OHI_ExplicitImplProp1");
126
var comp =
CreateCompilation
(
211
var comp1 =
CreateCompilation
(
217
var comp =
CreateCompilation
(
254
var comp =
CreateCompilation
(
370
var comp1 =
CreateCompilation
(
376
var comp =
CreateCompilation
(
993
var libComp =
CreateCompilation
(libSource);
1038
var libComp1 =
CreateCompilation
(libSource, assemblyName: "lib1");
1041
var libComp2 =
CreateCompilation
(libSource, assemblyName: "lib2");
CodeGen\CodeGenExprLambdaTests.cs (5)
1841
var comp =
CreateCompilation
(src);
1875
var comp =
CreateCompilation
(src);
3789
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
3839
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
3895
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenFieldInitTests.cs (8)
435
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
462
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
483
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
511
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
565
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
592
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
676
CreateCompilation
(source).VerifyDiagnostics(
690
var compilation1 =
CreateCompilation
(source1, assemblyName: "1110a705-cc34-430b-9450-ca37031aa828");
CodeGen\CodeGenForEachTests.cs (46)
1394
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1749
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
2412
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2436
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2462
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2485
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2631
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2663
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2805
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2840
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2875
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2910
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2947
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3074
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3412
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3443
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3478
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3514
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3591
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3717
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3756
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3795
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3865
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3908
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3982
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4052
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4143
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4177
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4209
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4241
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4342
CreateCompilation
(source).VerifyDiagnostics(
4400
CreateCompilation
(source).VerifyDiagnostics(
4531
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4573
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4998
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5136
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5189
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5290
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5492
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5574
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5592
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5623
var comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source);
5750
var comp =
CreateCompilation
(source);
5780
var comp =
CreateCompilation
(source);
5816
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenFunctionPointersTests.cs (85)
36
var comp =
CreateCompilation
(
48
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: targetFramework ?? TargetFramework.Net50);
56
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Empty);
2526
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2559
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2586
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2588
var intermediate =
CreateCompilation
(@"
2619
var aRef =
CreateCompilation
(@"
2624
var bRef =
CreateCompilation
(@"
2632
var cComp =
CreateCompilation
(@"
2650
var aRef =
CreateCompilation
(@"
2654
var bRef =
CreateCompilation
(@"
2662
var cComp =
CreateCompilation
(@"
7736
var reference =
CreateCompilation
(source1);
7823
var comp =
CreateCompilation
(new[] { @"
7852
var comp =
CreateCompilation
(new[] { @"
7959
var comp =
CreateCompilation
(new[] { @"
7985
var comp =
CreateCompilation
(new[] { @"
8075
var comp =
CreateCompilation
(new[] { @"
8094
var comp =
CreateCompilation
(new[] { @"
8167
var comp =
CreateCompilation
(new[] { @"
8210
var comp =
CreateCompilation
(new[] { @"
8245
var comp =
CreateCompilation
(new[] { @"
8340
var comp =
CreateCompilation
(new[] { @"
8474
var comp =
CreateCompilation
(new[] { @"
8493
var comp =
CreateCompilation
(new[] { @"
8521
var comp =
CreateCompilation
(new[] { @"
8657
var comp0 =
CreateCompilation
(new[] { @"
8836
var comp =
CreateCompilation
(new[] { @"
8871
var comp =
CreateCompilation
(new[] { @"
8961
var comp =
CreateCompilation
(new[] { @"
9096
var comp =
CreateCompilation
(new[] { @"
9181
var comp =
CreateCompilation
(new[] { @"
9243
var comp =
CreateCompilation
(new[] { @"
9342
var comp =
CreateCompilation
(new[] { @"
9373
var comp =
CreateCompilation
(new[] { @"
9404
var comp =
CreateCompilation
(new[] { @"
9439
var comp =
CreateCompilation
(new[] { @"
9470
var comp =
CreateCompilation
(new[] { @"
9510
var comp =
CreateCompilation
(new[] { @"
9537
var comp =
CreateCompilation
(new[] { @"
9568
var comp =
CreateCompilation
(new[] { @"
9614
var comp =
CreateCompilation
(new[] { @"
9651
var comp =
CreateCompilation
(new[] { @"
9684
var comp =
CreateCompilation
(new[] { @"
9720
var comp =
CreateCompilation
(new[] { @"
9739
var comp =
CreateCompilation
(new[] { @"
9765
var comp =
CreateCompilation
(new[] { @"
9784
var comp =
CreateCompilation
(new[] { @"
9820
var comp =
CreateCompilation
(new[] { @"
9850
var comp =
CreateCompilation
(new[] { @"
9874
var comp =
CreateCompilation
(new[] { @"
9903
var comp =
CreateCompilation
(new[] { @"
9926
var comp =
CreateCompilation
(@"
9952
var comp =
CreateCompilation
(@"
9978
var comp =
CreateCompilation
(new[] { @"
9997
var comp =
CreateCompilation
(new[] { @"
10018
var comp =
CreateCompilation
(new[] { @"
10147
var comp =
CreateCompilation
(@"
10218
var definitionComp =
CreateCompilation
(definition);
10272
var definitionComp =
CreateCompilation
(definition);
10325
var refComp =
CreateCompilation
(source1);
10390
var refComp =
CreateCompilation
(source1);
11512
CreateCompilation
(source).VerifyEmitDiagnostics(
11540
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11564
CreateCompilation
(source).VerifyEmitDiagnostics(
11592
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11617
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11641
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11704
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
11768
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11830
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11916
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11942
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11967
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11994
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12017
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
12044
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12069
CreateCompilation
(source).VerifyEmitDiagnostics(
12101
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12166
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12192
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12217
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12244
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12400
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
CodeGen\CodeGenImplicitImplementationTests.cs (2)
821
CreateCompilation
(source)
2293
var libComp =
CreateCompilation
(libSource, options: TestOptions.ReleaseDll, assemblyName: "OtherAssembly");
CodeGen\CodeGenImplicitlyTypeArraysTests.cs (4)
128
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended);
936
var comp =
CreateCompilation
(testSrc);
961
var comp =
CreateCompilation
(testSrc);
996
CreateCompilation
(text).VerifyDiagnostics(
CodeGen\CodeGenInParametersTests.cs (24)
2773
var reference =
CreateCompilation
(@"
2804
var reference =
CreateCompilation
(@"
2835
var reference =
CreateCompilation
(@"
2866
var reference =
CreateCompilation
(@"
2896
var reference =
CreateCompilation
(@"
3773
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3824
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3882
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3946
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4008
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4087
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4143
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4201
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4264
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4337
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4394
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4782
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4792
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4803
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4828
var comp =
CreateCompilation
(src, references: new[] { libChanged.EmitToImageReference(), libUser.EmitToImageReference() });
4842
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4852
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4869
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4908
var comp =
CreateCompilation
(src, references: new[] { libChanged.EmitToImageReference(), libUser.EmitToImageReference() });
CodeGen\CodeGenInterfaceImplementation.cs (3)
358
var comp1 =
CreateCompilation
(
363
var comp2 =
CreateCompilation
(
368
var comp3 =
CreateCompilation
(
CodeGen\CodeGenInterpolatedString.cs (1)
32
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenIterators.cs (5)
1971
var comp =
CreateCompilation
(parsed);
3132
var comp =
CreateCompilation
(source);
3700
var libComp =
CreateCompilation
(libSrc);
4030
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
4086
var missingLibS1 =
CreateCompilation
(@"
CodeGen\CodeGenLocalFunctionTests.cs (14)
92
var comp =
CreateCompilation
(@"
136
var comp =
CreateCompilation
(@"
206
var comp =
CreateCompilation
(@"
240
var comp =
CreateCompilation
(@"
759
var comp =
CreateCompilation
(@"
1149
var comp =
CreateCompilation
(@"
1707
var comp =
CreateCompilation
(src);
5452
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5565
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics();
5567
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics();
5590
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5595
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics();
6157
var comp =
CreateCompilation
(source);
CodeGen\CodeGenLockTests.cs (6)
1902
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1923
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1944
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1973
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2001
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2037
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (27)
654
CreateCompilation
(@"
750
CreateCompilation
(@"
938
CreateCompilation
(@"
978
CreateCompilation
(@"
1275
CreateCompilation
(source2).VerifyDiagnostics(
1357
CreateCompilation
(source2).VerifyDiagnostics(
1496
var compilation =
CreateCompilation
(@"
1627
CreateCompilation
(@"
1673
CreateCompilation
(@"
2076
CreateCompilation
(@"
2121
CreateCompilation
(@"
2139
CreateCompilation
(@"
2285
CreateCompilation
(@"
2341
CreateCompilation
(source).VerifyDiagnostics(
2447
var compilation =
CreateCompilation
(source);
2490
CreateCompilation
(source).VerifyDiagnostics(
2579
var compilation =
CreateCompilation
(source);
2599
CreateCompilation
(source).VerifyDiagnostics(
2634
var compilation =
CreateCompilation
(source);
2658
CreateCompilation
(source).VerifyDiagnostics(
2669
var aRef =
CreateCompilation
(aSource).EmitToImageReference();
2671
var bRef =
CreateCompilation
(bSource, new[] { aRef }).EmitToImageReference();
2683
var compilation =
CreateCompilation
(testSource, new[] { bRef });
2722
CreateCompilation
(@"
2744
CreateCompilation
(@"
2771
var c1 =
CreateCompilation
(source);
2778
var c2 =
CreateCompilation
(source);
CodeGen\CodeGenOperators.cs (17)
1592
CreateCompilation
(source).VerifyDiagnostics(
5440
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5499
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5607
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5692
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5730
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6080
var comp =
CreateCompilation
(source);
6112
var comp =
CreateCompilation
(source);
6136
var comp =
CreateCompilation
(source);
6175
var comp =
CreateCompilation
(source);
6198
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6301
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6325
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6563
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6613
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6971
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
7027
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
CodeGen\CodeGenOverridingAndHiding.cs (23)
1194
var compilation =
CreateCompilation
(substitutedSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest);
2243
var compilation1 =
CreateCompilation
(source1);
2535
CreateCompilation
(source,
2654
var referencedCompilation =
CreateCompilation
(source, assemblyName: "OHI_CodeGen_TestHideWithInaccessibleMember");
2759
var referencedCompilation =
CreateCompilation
(source, assemblyName: "OHI_CodeGen_TestHideSealedMember");
2829
var comp1 =
CreateCompilation
(text1, references: refs, assemblyName: "OHI_DeriveOverrideNewVirtualOverload001",
2833
var comp =
CreateCompilation
(text2, references: refs, assemblyName: "OHI_DeriveOverrideNewVirtualOverload002",
2922
var comp1 =
CreateCompilation
(text1, references: refs, assemblyName: "OHI_DeriveOverrideVirtualProp001",
2926
var comp =
CreateCompilation
(text2, references: refs, assemblyName: "OHI_DeriveOverrideVirtualProp002",
2982
var comp1 =
CreateCompilation
(
2987
var comp2 =
CreateCompilation
(
3160
var comp1 =
CreateCompilation
(text1, references: refs, assemblyName: "OHI_GenericDDeriveBaseInMetadata001",
3167
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "OHI_GenericDDeriveBaseInMetadata002",
3172
var comp =
CreateCompilation
(text3, references: refs, assemblyName: "OHI_GenericDDeriveBaseInMetadata003",
3219
var comp =
CreateCompilation
(
3371
var comp1 =
CreateCompilation
(
3376
var comp2 =
CreateCompilation
(
3381
var comp =
CreateCompilation
(
3475
var comp1 =
CreateCompilation
(
3480
var comp2 =
CreateCompilation
(
3485
var comp =
CreateCompilation
(
4180
var compref =
CreateCompilation
(source, assemblyName: "XNoDefaultForParams_Dev10781558_Library");
4385
var A =
CreateCompilation
(@"public class A {}", assemblyName: "A");
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (6)
110
var comp =
CreateCompilation
(@"
591
var comp =
CreateCompilation
(@"
2566
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2614
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2665
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
3385
var compilation =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenReadonlyStructTests.cs (14)
107
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
325
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
638
var comp =
CreateCompilation
(text);
710
var comp =
CreateCompilation
(text);
824
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
909
var clientComp =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
995
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
998
var comp =
CreateCompilation
("//NO CODE HERE", new[] { ref1 }, parseOptions: TestOptions.Regular);
1557
var externalComp =
CreateCompilation
(external);
1561
var comp =
CreateCompilation
("", references: new[] { externalComp.EmitToImageReference() });
1564
var comp2 =
CreateCompilation
("", references: new[] { externalComp.ToMetadataReference() });
1673
var comp =
CreateCompilation
("", references: new[] { ilRef });
1831
var image =
CreateCompilation
(external).EmitToImageReference();
1907
var image =
CreateCompilation
(external).EmitToImageReference();
CodeGen\CodeGenRefConditionalOperatorTests.cs (3)
1267
var comp =
CreateCompilation
(code, options: options);
1354
var comp =
CreateCompilation
(code, options: options);
2293
var comp =
CreateCompilation
(source);
CodeGen\CodeGenRefLocalTests.cs (10)
515
var comp =
CreateCompilation
(@"
4003
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
4027
var comp =
CreateCompilation
(text);
4060
var comp =
CreateCompilation
(text);
4098
var comp =
CreateCompilation
(text);
4140
var c =
CreateCompilation
(source);
4241
var comp =
CreateCompilation
(code, options: options);
4375
var comp =
CreateCompilation
(code, options: options);
4427
var comp =
CreateCompilation
(code, options: options);
4483
var comp =
CreateCompilation
(code, options: options);
CodeGen\CodeGenRefOutTests.cs (5)
542
var comp =
CreateCompilation
(code, options: options);
629
var comp =
CreateCompilation
(code, options: options);
691
var comp =
CreateCompilation
(code, options: options);
777
var comp =
CreateCompilation
(code, options: options);
829
var comp =
CreateCompilation
(code, options: options);
CodeGen\CodeGenRefReturnTests.cs (15)
2304
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2339
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2381
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2402
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2431
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2480
var compilation =
CreateCompilation
("", options: TestOptions.DebugDll, references: new[] { ref1 });
2520
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
2553
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
2617
CreateCompilation
(text).VerifyDiagnostics(
2669
CreateCompilation
(source).VerifyDiagnostics(
2745
CreateCompilation
(source).VerifyDiagnostics(
2825
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
2833
CreateCompilation
(source).VerifyDiagnostics(
2877
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
2885
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenShortCircuitOperatorTests.cs (5)
5357
var compilation =
CreateCompilation
(source);
5487
var compilation =
CreateCompilation
(source);
5616
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
5753
var compilation =
CreateCompilation
(source);
7548
var compilation =
CreateCompilation
(source);
CodeGen\CodeGenStackAllocInitializerTests.cs (3)
849
var comp =
CreateCompilation
(@"
1024
var comp =
CreateCompilation
(@"
1526
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
CodeGen\CodeGenStructsAndEnum.cs (1)
1594
CreateCompilation
(@"
CodeGen\CodeGenTests.cs (18)
38
var comp =
CreateCompilation
(src, parseOptions: parseOptions, options: options);
4460
var comp =
CreateCompilation
(@"
10448
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10841
CreateCompilation
(source).VerifyDiagnostics();
10845
CreateCompilation
(source).VerifyDiagnostics(
11786
var compilation1 =
CreateCompilation
(source1);
12928
CreateCompilation
(source).VerifyDiagnostics(
12950
CreateCompilation
(source).VerifyDiagnostics(
13270
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithConcurrentBuild(false));
13477
var reference =
CreateCompilation
(@"
13509
var comp =
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() });
13516
comp =
CreateCompilation
(code, references: new[] { reference.EmitToImageReference() });
13579
var comp =
CreateCompilation
(code, references: new[] { reference });
13612
var compRelease =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13613
var compDebug =
CreateCompilation
(source, options: TestOptions.DebugExe);
13656
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
14656
compilation =
CreateCompilation
(text);
17311
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
CodeGen\CodeGenThrowTests.cs (2)
335
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
399
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenTryFinally.cs (4)
3086
CreateCompilation
(text).VerifyDiagnostics(
3108
CreateCompilation
(text).VerifyDiagnostics();
4021
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4053
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
CodeGen\CodeGenTupleEqualityTests.cs (110)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
66
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, assemblyName: name);
82
var comp =
CreateCompilation
(source);
103
var comp =
CreateCompilation
(source);
124
var comp =
CreateCompilation
(source);
172
var comp =
CreateCompilation
(source);
751
var comp =
CreateCompilation
(source);
785
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
830
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
847
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
895
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
944
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
994
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1048
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1082
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1114
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1145
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1177
var comp =
CreateCompilation
(source);
1205
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1234
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1259
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1281
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1305
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1335
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1348
comp =
CreateCompilation
(source);
1376
var comp =
CreateCompilation
(source);
1437
var comp =
CreateCompilation
(source);
1489
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1587
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1612
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1649
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1662
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1741
var comp =
CreateCompilation
(source);
1763
var comp =
CreateCompilation
(source);
1806
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1822
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1840
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1860
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1893
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1911
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1943
var comp =
CreateCompilation
(source);
1971
var comp =
CreateCompilation
(source);
1995
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2008
comp =
CreateCompilation
(source);
2175
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2266
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2297
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2320
var comp =
CreateCompilation
(source);
2414
var comp =
CreateCompilation
(source.Replace("EXPRESSION", expression), options: TestOptions.DebugExe);
2502
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2548
var comp =
CreateCompilation
(source);
2732
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2819
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2858
var comp =
CreateCompilation
(source);
2891
var comp =
CreateCompilation
(source);
2917
var comp =
CreateCompilation
(source);
2944
var comp =
CreateCompilation
(source);
2983
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3013
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3032
var comp =
CreateCompilation
(source);
3057
var comp =
CreateCompilation
(source);
3085
var comp =
CreateCompilation
(source);
3110
var comp =
CreateCompilation
(source);
3159
var comp =
CreateCompilation
(source);
3194
var comp =
CreateCompilation
(source);
3234
var comp =
CreateCompilation
(source);
3271
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3356
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3391
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3426
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3642
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3677
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3776
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3801
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3904
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3997
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4075
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4116
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4177
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4231
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4261
var comp =
CreateCompilation
(source);
4304
var comp =
CreateCompilation
(source);
4333
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4381
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4477
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4581
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4671
var comp =
CreateCompilation
(source.Replace("REPLACE", expression), options: TestOptions.DebugExe);
4741
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
4797
var comp =
CreateCompilation
(source);
4835
var comp =
CreateCompilation
(source);
4933
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
4999
var comp =
CreateCompilation
(source);
5045
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5107
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5150
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5220
var comp =
CreateCompilation
(source);
5244
var comp =
CreateCompilation
(source);
5266
var comp =
CreateCompilation
(source);
5296
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5316
var comp =
CreateCompilation
(source);
5343
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5371
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5392
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5418
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5439
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
5502
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5558
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (340)
229
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
267
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
294
var comp =
CreateCompilation
(src);
331
var comp =
CreateCompilation
(src);
349
var comp1 =
CreateCompilation
(src1);
352
var comp2 =
CreateCompilation
(src2,
356
var comp3 =
CreateCompilation
(src2,
419
var comp =
CreateCompilation
(@"
590
var comp =
CreateCompilation
(@"
1068
var comp =
CreateCompilation
(source);
1095
var comp =
CreateCompilation
(source);
1126
var comp =
CreateCompilation
(source);
1171
var comp =
CreateCompilation
(source);
1535
CreateCompilation
(source).VerifyDiagnostics(
1555
CreateCompilation
(source).VerifyDiagnostics(
1601
var comp =
CreateCompilation
(tree);
2992
var comp =
CreateCompilation
(source);
3020
var comp =
CreateCompilation
(source);
3050
var comp =
CreateCompilation
(source);
3097
var comp =
CreateCompilation
(source);
3121
var comp =
CreateCompilation
(source);
3157
var comp =
CreateCompilation
(source);
3285
CreateCompilation
(source).VerifyDiagnostics(
3311
CreateCompilation
(source).VerifyDiagnostics(
3567
CreateCompilation
(source).VerifyDiagnostics(
3765
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "UseSiteDiagnosticOnTupleField_missingComp");
3819
var comp7 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7");
3826
var comp7_1 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular7_1, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7_1");
3858
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetFramework, parseOptions: TestOptions.Regular7);
3971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
4077
var comp7 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
4225
var comp1 =
CreateCompilation
(source1);
4227
var comp2 =
CreateCompilation
(source2);
4272
var comp1 =
CreateCompilation
(source1);
4274
var comp2 =
CreateCompilation
(source2);
4460
var comp =
CreateCompilation
(source, assemblyName: "comp");
4662
var comp =
CreateCompilation
(source, assemblyName: "comp");
4701
var comp =
CreateCompilation
(source, assemblyName: "comp");
4830
var comp =
CreateCompilation
(source);
4946
var comp =
CreateCompilation
(source);
4976
var comp =
CreateCompilation
(source);
5003
var comp =
CreateCompilation
(source);
5030
var comp =
CreateCompilation
(source);
5066
var comp =
CreateCompilation
(source);
5110
var comp =
CreateCompilation
(source);
5148
var comp =
CreateCompilation
(source);
5192
var comp =
CreateCompilation
(source);
5263
var comp =
CreateCompilation
(source);
5408
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5418
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5470
var comp =
CreateCompilation
(new[] { tree });
5608
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
5902
var tupleComp =
CreateCompilation
(trivial2uple);
5937
var tupleComp =
CreateCompilation
(trivial2uple_withoutFields);
6048
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6183
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6361
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6380
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6540
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6599
var comp = (Compilation)
CreateCompilation
(source);
6634
var comp = (Compilation)
CreateCompilation
(source);
6676
var comp = (Compilation)
CreateCompilation
(source);
6715
var comp = (Compilation)
CreateCompilation
(source);
6756
var comp = (Compilation)
CreateCompilation
(source);
6794
var comp =
CreateCompilation
(source);
6834
var comp = (Compilation)
CreateCompilation
(source);
6864
var comp = (Compilation)
CreateCompilation
(source);
6903
var comp = (Compilation)
CreateCompilation
(source);
6961
var comp =
CreateCompilation
(source);
7044
CreateCompilation
(source).VerifyDiagnostics(
7100
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7214
CreateCompilation
(source).VerifyDiagnostics(
7268
CreateCompilation
(source).VerifyDiagnostics(
7399
CreateCompilation
(source).VerifyDiagnostics(
7449
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7491
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7524
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7561
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7618
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7717
CreateCompilation
(source).VerifyDiagnostics(
8001
CreateCompilation
(source).VerifyDiagnostics(
8046
CreateCompilation
(source).VerifyDiagnostics(
8076
CreateCompilation
(source).VerifyEmitDiagnostics(
8115
CreateCompilation
(source).VerifyEmitDiagnostics(
8154
CreateCompilation
(source).VerifyEmitDiagnostics(
8191
CreateCompilation
(source).VerifyEmitDiagnostics(
8222
CreateCompilation
(source).VerifyEmitDiagnostics(
8246
CreateCompilation
(source).VerifyEmitDiagnostics(
8267
CreateCompilation
(source).VerifyEmitDiagnostics(
8288
var comp =
CreateCompilation
(tree);
8319
var comp =
CreateCompilation
(tree);
8374
var comp =
CreateCompilation
(tree);
8403
var comp =
CreateCompilation
(tree);
8432
var comp =
CreateCompilation
(tree);
8480
var comp =
CreateCompilation
(tree);
8514
var comp =
CreateCompilation
(tree);
8547
var comp =
CreateCompilation
(tree);
8576
var comp =
CreateCompilation
(tree);
8623
var comp =
CreateCompilation
(tree);
8658
var comp =
CreateCompilation
(tree);
8687
var comp =
CreateCompilation
(tree);
8716
var comp =
CreateCompilation
(tree);
8746
var comp =
CreateCompilation
(tree);
8801
var comp =
CreateCompilation
(tree);
8831
var comp =
CreateCompilation
(tree);
8890
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
8937
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9008
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9060
var comp =
CreateCompilation
(tree,
9137
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9218
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9301
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9355
var comp =
CreateCompilation
(tree,
9808
var comp =
CreateCompilation
(source);
9845
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9900
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9942
var comp =
CreateCompilation
(source);
9988
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10027
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10054
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10127
var comp =
CreateCompilation
(source);
10234
var comp =
CreateCompilation
(source);
10266
var comp =
CreateCompilation
(source);
10757
var comp =
CreateCompilation
(source);
10914
var comp =
CreateCompilation
(source);
10941
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
12058
var comp =
CreateCompilation
(source);
12343
var comp =
CreateCompilation
(source);
12429
var comp =
CreateCompilation
(source);
12532
var comp =
CreateCompilation
(source);
13133
var comp =
CreateCompilation
(source);
13519
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13582
var comp =
CreateCompilation
(source);
14026
var comp =
CreateCompilation
(source);
14396
var comp = (Compilation)
CreateCompilation
(source,
16148
var comp =
CreateCompilation
(source);
16169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16198
var comp =
CreateCompilation
(source);
16219
var comp =
CreateCompilation
(source);
16243
var comp =
CreateCompilation
(source);
16269
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16300
var comp =
CreateCompilation
(source);
16326
var comp =
CreateCompilation
(source);
16349
var comp =
CreateCompilation
(source);
16424
var comp =
CreateCompilation
(source, references: new[] { SystemRef });
16515
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16530
var comp =
CreateCompilation
(source);
16727
var comp =
CreateCompilation
(source);
16764
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib");
16767
var comp1 =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() });
16770
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
17177
var comp =
CreateCompilation
(source,
17206
var comp =
CreateCompilation
(tree);
17267
var comp =
CreateCompilation
(tree);
17326
var comp =
CreateCompilation
(tree);
17365
var comp =
CreateCompilation
(tree);
17397
var comp =
CreateCompilation
(tree);
17430
var comp =
CreateCompilation
(tree);
17957
var comp =
CreateCompilation
(source,
18121
var comp =
CreateCompilation
(source);
18172
var comp =
CreateCompilation
(source);
18211
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18251
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18662
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18823
var comp =
CreateCompilation
(source);
18840
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18858
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18878
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18901
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18918
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18943
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18944
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18968
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18969
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18993
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18994
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19019
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19020
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19134
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19173
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19217
var comp =
CreateCompilation
(source);
19272
var comp =
CreateCompilation
(source);
19336
var comp =
CreateCompilation
(source);
19376
var comp =
CreateCompilation
(source);
19416
var comp =
CreateCompilation
(source);
19464
var comp =
CreateCompilation
(source);
19522
var comp =
CreateCompilation
(source);
19577
var comp =
CreateCompilation
(source);
19598
var comp =
CreateCompilation
(source);
19636
var comp =
CreateCompilation
(source);
19689
var comp =
CreateCompilation
(source);
19730
var comp =
CreateCompilation
(source);
19765
var comp1 =
CreateCompilation
(source1 + trivial2uple + source2);
19851
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
19890
var comp =
CreateCompilation
(source);
19926
var comp =
CreateCompilation
(source);
19962
var comp =
CreateCompilation
(source);
20027
var comp =
CreateCompilation
(source);
20080
var comp =
CreateCompilation
(source);
20114
var comp =
CreateCompilation
(source);
20141
var comp =
CreateCompilation
(source);
20177
var comp =
CreateCompilation
(source);
20214
var comp =
CreateCompilation
(source);
20254
var comp =
CreateCompilation
(source);
20274
var comp =
CreateCompilation
(source);
20308
var comp =
CreateCompilation
(source);
20336
var comp =
CreateCompilation
(source);
20410
var comp = (Compilation)
CreateCompilation
(source);
20541
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
20626
var comp = (Compilation)
CreateCompilation
(source);
20743
var comp = (Compilation)
CreateCompilation
(source);
20792
var comp =
CreateCompilation
(source);
20837
var comp =
CreateCompilation
(source);
20862
var comp =
CreateCompilation
(source);
20890
var comp =
CreateCompilation
(source);
20931
var comp =
CreateCompilation
(source);
20979
var comp =
CreateCompilation
(source);
21007
var comp =
CreateCompilation
(source);
21039
var comp =
CreateCompilation
(source);
21062
var comp =
CreateCompilation
(source);
21085
var comp =
CreateCompilation
(source);
21103
var comp =
CreateCompilation
(source);
21137
var comp =
CreateCompilation
(source);
21155
var comp =
CreateCompilation
(source);
21186
var comp =
CreateCompilation
(source);
21345
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
21382
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
21919
var comp =
CreateCompilation
(source,
22009
var comp =
CreateCompilation
(source,
22061
var comp =
CreateCompilation
(source,
22100
var comp =
CreateCompilation
(source,
22248
var comp =
CreateCompilation
(source);
22426
var comp =
CreateCompilation
(source);
22541
var comp =
CreateCompilation
(source);
22582
var comp =
CreateCompilation
(source, assemblyName: "comp");
22639
var comp =
CreateCompilation
(source);
22661
var comp =
CreateCompilation
(source);
22690
var comp =
CreateCompilation
(source);
22713
var comp1 =
CreateCompilation
(source);
22730
var comp1 =
CreateCompilation
(source);
22747
var comp1 =
CreateCompilation
(source);
22770
var comp =
CreateCompilation
(source, assemblyName: "comp", options: TestOptions.DebugExe);
22897
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
22966
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23010
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23044
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23086
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23125
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23397
var comp1 =
CreateCompilation
(source);
24254
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24317
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24382
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24454
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24527
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24597
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24638
var comp =
CreateCompilation
(source);
24654
var comp =
CreateCompilation
(source);
24677
var comp =
CreateCompilation
(source);
24700
var comp =
CreateCompilation
(source);
24727
var comp =
CreateCompilation
(source);
24753
var comp =
CreateCompilation
(source);
24784
var comp =
CreateCompilation
(source);
24812
var comp =
CreateCompilation
(source);
24835
var comp1 =
CreateCompilation
(source1);
24851
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
24882
var comp =
CreateCompilation
(source);
24908
var comp =
CreateCompilation
(source);
24934
var comp =
CreateCompilation
(source);
24960
var comp =
CreateCompilation
(source);
24986
var comp =
CreateCompilation
(source);
25018
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
25040
var comp =
CreateCompilation
(source);
25074
var comp =
CreateCompilation
(source);
25187
var comp =
CreateCompilation
(source);
25228
var comp =
CreateCompilation
(source);
26125
CreateCompilation
(source).VerifyDiagnostics(
26195
CreateCompilation
(source).VerifyDiagnostics(
26216
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
26262
CreateCompilation
(text).VerifyDiagnostics(
26290
var comp =
CreateCompilation
(source);
26323
var comp =
CreateCompilation
(source);
26356
var comp =
CreateCompilation
(source);
26389
var comp =
CreateCompilation
(source);
26588
var missing =
CreateCompilation
(missing_cs);
26606
var lib =
CreateCompilation
(lib_cs, references: new[] { missingRef });
26619
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
26631
var executeComp =
CreateCompilation
(executable_cs, references: new[] { comp.EmitToImageReference(), libRef, missingRef }, options: TestOptions.DebugExe);
26641
var comp =
CreateCompilation
(sourceA, assemblyName: "A");
26646
comp =
CreateCompilation
(sourceB, references: new[] { refA });
26658
comp =
CreateCompilation
(sourceC, references: new[] { refB });
27039
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27046
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27049
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27053
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27057
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27123
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27130
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27133
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27137
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27141
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27197
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27204
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27207
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27211
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27215
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27275
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27282
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27285
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27289
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27293
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27336
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27394
var comp =
CreateCompilation
(source);
27537
var comp0 =
CreateCompilation
(new[] { source0, source1 }, options: TestOptions.DebugDll);
27540
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
27543
var comp2 =
CreateCompilation
(source1, references: new[] { comp1.EmitToImageReference() }, options: TestOptions.DebugDll);
27563
var comp =
CreateCompilation
(new[] { source }, options: TestOptions.DebugDll);
27652
var comp =
CreateCompilation
(
27899
var comp =
CreateCompilation
(
27921
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
27949
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple");
27970
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
27977
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28025
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
28059
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
28092
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28155
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28186
var comp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28189
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28300
var comp =
CreateCompilation
(trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28303
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28388
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28392
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28483
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28531
var comp =
CreateCompilation
(source);
28549
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
28585
var comp =
CreateCompilation
(source);
28617
var comp =
CreateCompilation
(source);
28683
var comp =
CreateCompilation
(source);
28802
var comp =
CreateCompilation
(source + trivialRemainingTuples);
28987
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Minimal);
CodeGen\CodeGenUsingDeclarationTests.cs (26)
816
var comp =
CreateCompilation
(source);
1446
var comp =
CreateCompilation
(source);
1458
comp =
CreateCompilation
(source);
1470
comp =
CreateCompilation
(source);
1498
var comp =
CreateCompilation
(source);
1515
comp =
CreateCompilation
(source);
1554
var comp =
CreateCompilation
(source);
1566
comp =
CreateCompilation
(source);
1578
comp =
CreateCompilation
(source);
1609
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1626
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1668
var comp =
CreateCompilation
(source);
1680
comp =
CreateCompilation
(source);
1692
comp =
CreateCompilation
(source);
1726
var comp =
CreateCompilation
(source);
1738
comp =
CreateCompilation
(source);
1750
comp =
CreateCompilation
(source);
1784
var comp =
CreateCompilation
(source);
1796
comp =
CreateCompilation
(source);
1808
comp =
CreateCompilation
(source);
1843
var comp =
CreateCompilation
(source);
1850
comp =
CreateCompilation
(source);
1857
comp =
CreateCompilation
(source);
1874
var comp =
CreateCompilation
(source);
1887
comp =
CreateCompilation
(source);
1900
comp =
CreateCompilation
(source);
CodeGen\CodeGenUsingStatementTests.cs (16)
1155
var comp =
CreateCompilation
(source);
1237
var comp =
CreateCompilation
(source);
1267
var comp =
CreateCompilation
(source);
1394
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoConvToIDisp, "obj").WithArguments("T"));
1429
CreateCompilation
(source).VerifyDiagnostics(
1463
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_UseDefViolationOut, "y").WithArguments("y"));
1487
CreateCompilation
(source).VerifyDiagnostics(
1514
CreateCompilation
(source).VerifyDiagnostics(
2536
CreateCompilation
(source).VerifyDiagnostics(
2572
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_FixedMustInit, "res2"));
2654
CreateCompilation
(source).VerifyDiagnostics(
2690
CreateCompilation
(source).VerifyDiagnostics();
2733
CreateCompilation
(source).VerifyDiagnostics(
2773
CreateCompilation
(source).VerifyDiagnostics(
3116
CreateCompilation
(source).VerifyDiagnostics(
3270
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
CodeGen\DestructorTests.cs (1)
692
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
CodeGen\EventTests.cs (4)
620
var compilation =
CreateCompilation
(csharpSource, new MetadataReference[] { ilAssemblyReference }, TestOptions.ReleaseExe);
707
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
779
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
842
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
CodeGen\FixedSizeBufferTests.cs (15)
328
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
361
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
398
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
640
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
665
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
692
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
714
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
798
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
827
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
856
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
912
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
953
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
1060
CreateCompilation
(@"
1152
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Mscorlib40, assemblyName: "fixedBuffer");
1155
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
CodeGen\ForeachTest.cs (2)
483
var comp =
CreateCompilation
(@"
1683
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
CodeGen\GotoTest.cs (6)
564
CreateCompilation
(code).VerifyEmitDiagnostics(
584
CreateCompilation
(code).VerifyEmitDiagnostics(
603
CreateCompilation
(code).VerifyEmitDiagnostics(
621
CreateCompilation
(code).VerifyEmitDiagnostics(
639
CreateCompilation
(code).VerifyEmitDiagnostics(
656
CreateCompilation
(code).VerifyEmitDiagnostics(
CodeGen\IndexAndRangeTests.cs (6)
3744
var comp =
CreateCompilation
(new[] { source, TestSources.Index });
3777
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3820
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3853
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3904
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
CodeGen\IndexerTests.cs (5)
1200
var comp1 =
CreateCompilation
(text1);
1209
comp1 =
CreateCompilation
(text1);
1218
comp1 =
CreateCompilation
(text1);
1232
var comp1 =
CreateCompilation
(text1);
1260
var comp1 =
CreateCompilation
(text1);
CodeGen\ITuplePatternTests.cs (1)
19
return
CreateCompilation
(new[] { source, _iTupleSource }, options: options ?? TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3692
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3731
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\PatternTests.cs (90)
235
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
269
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
333
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
401
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
634
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
695
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
771
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
832
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
857
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
893
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
932
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
968
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1008
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1055
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1106
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1141
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1179
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1223
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1282
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1339
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1399
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1471
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1535
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1598
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1657
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1712
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1773
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1840
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1904
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1973
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2038
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2173
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2267
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2404
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2538
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns);
2612
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2646
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2713
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2793
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2839
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2902
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2999
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3055
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3096
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3128
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3237
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, references: new[] { CSharpRef });
3265
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3295
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3384
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3550
var compilation =
CreateCompilation
(source, options: options);
3633
var compilation =
CreateCompilation
(source, options: options);
3705
var compilation =
CreateCompilation
(source, options: options);
3781
var compilation =
CreateCompilation
(source, options: options);
3992
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3995
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4030
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4033
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4058
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4094
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4121
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4173
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4213
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4248
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4329
var compilation =
CreateCompilation
(source, options: compilationOptions);
4508
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4542
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4576
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4773
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4806
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4842
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4880
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4914
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4988
var compilation =
CreateCompilation
(source);
5114
var compilation =
CreateCompilation
(source);
5263
var compilation =
CreateCompilation
(source);
5396
var compilation =
CreateCompilation
(source);
5453
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5481
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5507
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5549
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5653
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5715
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5789
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5879
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5938
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6023
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6107
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
CodeGen\PropertyTests.cs (1)
30
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
CodeGen\SwitchTests.cs (23)
278
CreateCompilation
(source).VerifyDiagnostics();
7852
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch(),
7989
comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe.WithModuleName("MODULE"));
8092
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch(),
8223
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
8302
comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe.WithModuleName("MODULE"));
8370
comp =
CreateCompilation
(text);
9441
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9572
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9765
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9820
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9873
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9881
var compilation =
CreateCompilation
(source,
9925
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9933
var compilation =
CreateCompilation
(source,
9973
CreateCompilation
(source).VerifyDiagnostics(
10026
var compilation =
CreateCompilation
(source,
10118
var compilation =
CreateCompilation
(source,
10519
var compilation =
CreateCompilation
(source,
10607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe)
10695
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe)
10802
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
10867
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9)
CodeGen\UnsafeTests.cs (12)
89
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
115
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
141
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
167
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
193
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
5793
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
9955
var comp =
CreateCompilation
($@"
10523
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe);
10553
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10624
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10903
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11357
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
Emit\CompilationEmitTests.cs (113)
47
var compilation =
CreateCompilation
(source);
80
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("abc.X"));
83
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("\"abc.X\""));
99
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("решения.X"));
102
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("\"решения.X\""));
122
var compilation =
CreateCompilation
(source);
139
CSharpCompilation comp =
CreateCompilation
(@"
183
CSharpCompilation comp =
CreateCompilation
(@"
235
CSharpCompilation compUsing =
CreateCompilation
(srcUsing, new[] { MetadataReference.CreateFromImage(mdOnlyImage.AsImmutableOrNull()) });
250
CSharpCompilation comp =
CreateCompilation
(@"
295
CSharpCompilation comp =
CreateCompilation
(@"
341
CSharpCompilation comp =
CreateCompilation
(@"
395
CSharpCompilation comp =
CreateCompilation
(@"
451
CSharpCompilation comp =
CreateCompilation
(@"
504
CSharpCompilation comp =
CreateCompilation
(@"
553
CSharpCompilation comp =
CreateCompilation
(@"
697
CSharpCompilation comp =
CreateCompilation
(@"
723
CSharpCompilation comp =
CreateCompilation
(@"
747
CSharpCompilation comp =
CreateCompilation
(@"
772
CSharpCompilation comp =
CreateCompilation
(@"
800
CSharpCompilation comp =
CreateCompilation
(@"
821
CSharpCompilation comp =
CreateCompilation
(@"
854
CSharpCompilation comp =
CreateCompilation
(@"
942
var comp =
CreateCompilation
("");
1021
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1043
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1051
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll,
1061
var comp =
CreateCompilation
("", references: new[] { reference });
1099
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1122
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1130
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1143
var comp =
CreateCompilation
("", references: new[] { reference });
1205
CSharpCompilation comp1 =
CreateCompilation
(Parse(source1), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1209
Compilation comp2 =
CreateCompilation
(Parse(source2), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1281
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1294
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1314
CSharpCompilation compilation =
CreateCompilation
(
1887
var libComp =
CreateCompilation
(lib_cs,
1892
var comp =
CreateCompilation
(source, references: new[] { libImage },
1905
var comp1 =
CreateCompilation
(source, options: options, assemblyName: name);
1924
var comp2 =
CreateCompilation
(source, options: options, assemblyName: name);
1998
var comp =
CreateCompilation
("public class C{}",
2017
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2037
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2056
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2095
CSharpCompilation comp =
CreateCompilation
(Parse(source),
2696
var libComp =
CreateCompilation
(
2754
var exeComp =
CreateCompilation
(
3369
var compilation =
CreateCompilation
(source);
3402
var compilation =
CreateCompilation
(source);
3440
var compilation =
CreateCompilation
(source);
3485
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu));
3489
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3493
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3499
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu32BitPreferred));
3505
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.Arm));
3522
var compilation =
CreateCompilation
(source,
3556
var compilation =
CreateCompilation
(source,
3606
var compilation =
CreateCompilation
(source,
3646
var compilation =
CreateCompilation
(source,
3688
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3720
var compilation =
CreateCompilation
(source);
3738
var compilation =
CreateCompilation
(source, options: TestOptions.CreateTestOptions(OutputKind.WindowsRuntimeApplication, OptimizationLevel.Debug));
3756
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3761
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3766
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3771
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3776
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3781
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3785
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3790
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3795
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3810
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4001
var compilation =
CreateCompilation
(source);
4013
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4079
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4110
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4141
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4172
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4210
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule, assemblyName: "ContentType");
4230
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll);
4253
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4288
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
4317
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4364
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4425
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4491
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4548
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4610
var c1 =
CreateCompilation
(p1, options: TestOptions.ReleaseDll, assemblyName: Guid.NewGuid().ToString());
4620
var comp =
CreateCompilation
(source1, options: TestOptions.ReleaseModule);
4631
var c1 =
CreateCompilation
(p1);
4659
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
5069
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5141
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5162
var compilation =
CreateCompilation
(source);
5187
var compilation =
CreateCompilation
(source);
5206
var compilation =
CreateCompilation
(source, null, TestOptions.DebugDll);
5262
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule);
5266
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule, references: new[] { ref1 });
5270
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe, references: new[] { ref1, ref2 });
5309
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule.WithModuleName("A"));
5313
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule.WithModuleName("B"), references: new[] { ref1 });
5317
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe.WithModuleName("C"), references: new[] { ref1, ref2 });
5354
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll);
5416
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll, references: new[] { CSharpRef });
5454
var compilation =
CreateCompilation
(source);
5467
var comp =
CreateCompilation
("class C {}");
5506
var compilation =
CreateCompilation
(source);
5533
var compilation =
CreateCompilation
(source);
5549
var modRef =
CreateCompilation
("public class A { }", options: TestOptions.ReleaseModule, assemblyName: "refMod").EmitToImageReference();
5550
var comp =
CreateCompilation
("public class B : A { }", references: new[] { modRef }, assemblyName: "sourceMod");
5590
var compilation =
CreateCompilation
(source, options: options);
5641
var compilation =
CreateCompilation
(source, options: options);
Emit\DesktopStrongNameProviderTests.cs (2)
99
var comp =
CreateCompilation
(src, options: options);
116
var comp =
CreateCompilation
(src, options: options);
Emit\DeterministicTests.cs (5)
299
var forwardedToCompilation1 =
CreateCompilation
(forwardedToCode, assemblyName: "ForwardedTo");
317
var forwardingCompilation =
CreateCompilation
(forwardingCode, new MetadataReference[] { forwardedToReference1 });
352
var forwardedToCompilation2 =
CreateCompilation
(forwardedToCode, assemblyName: "ForwardedTo");
355
var withRetargeting =
CreateCompilation
("", new MetadataReference[] { forwardedToReference2, forwardingReference });
485
var comp =
CreateCompilation
(source1, options: opt, assemblyName: assemblyName);
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (13)
75
var c =
CreateCompilation
(Parse(ExampleSource + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
219
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
339
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
433
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
490
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
529
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
560
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
600
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
668
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
749
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
830
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
924
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
957
var c =
CreateCompilation
(Parse(ExampleSource + InstrumentationHelperSource, @"C:\myproject\doc1.cs"));
Emit\EmitCustomModifiers.cs (1)
43
var c =
CreateCompilation
(source,
Emit\EmitErrorTests.cs (12)
38
var compilation1 =
CreateCompilation
(source1);
67
var compilation1 =
CreateCompilation
(source1);
99
var compilation1 =
CreateCompilation
(source1);
133
var compilation1 =
CreateCompilation
(source1);
170
var compilation1 =
CreateCompilation
(source1);
217
var compilation1 =
CreateCompilation
(source1);
237
var compilation2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(compilation1) });
264
var netModule =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule, assemblyName: "ModuleNameMismatch");
270
var compilationOK =
CreateCompilation
(source, new MetadataReference[] { moduleMetadata.GetReference(filePath: @"R:\A\B\ModuleNameMismatch.netmodule") });
274
var compilationError =
CreateCompilation
(source, new MetadataReference[] { moduleMetadata.GetReference(filePath: @"R:\A\B\ModuleNameMismatch.mod") });
306
var compilation1 =
CreateCompilation
(builder.ToString(), null, TestOptions.DebugDll.WithSpecificDiagnosticOptions(warnOpts));
336
var compilation =
CreateCompilation
(builder.ToString());
Emit\EmitMetadataTests.cs (6)
924
var comp =
CreateCompilation
(@"using System;
980
var comp =
CreateCompilation
(@"
2210
var comp =
CreateCompilation
("class Test { static void Main() { } }");
2790
var comp =
CreateCompilation
(@"
2839
var reference =
CreateCompilation
(@"
2891
var reference =
CreateCompilation
(@"
Emit\EntryPointTests.cs (42)
18
return
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithWarningLevel(5).WithMainTypeName(mainTypeName), parseOptions: parseOptions);
49
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
410
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("N.M"));
428
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C.D"));
446
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C.D"));
481
var compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe);
494
compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
502
compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe.WithMainTypeName("D.DD"));
580
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("A.B.C")).VerifyDiagnostics(
602
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
624
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
647
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
675
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
696
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
812
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
815
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D"));
829
var compilation =
CreateCompilation
(
847
var compilation =
CreateCompilation
(
855
compilation =
CreateCompilation
(
863
compilation =
CreateCompilation
(
895
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
900
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D"));
907
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
1389
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D")).VerifyDiagnostics(
1402
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1407
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1412
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1417
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1422
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1427
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1441
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(string.Empty)).VerifyDiagnostics(
1455
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D")).VerifyDiagnostics(
1470
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("d")).VerifyDiagnostics(
1511
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("Main")).VerifyDiagnostics(
1533
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("Program")).VerifyDiagnostics();
1551
CreateCompilation
(source,
1570
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1573
var netModule =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1575
compilation =
CreateCompilation
("",
1596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1617
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1637
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
Emit\InAttributeModifierTests.cs (74)
22
var reference =
CreateCompilation
(@"
58
var reference =
CreateCompilation
(@"
85
var reference =
CreateCompilation
(@"
109
var reference =
CreateCompilation
(@"
136
var reference =
CreateCompilation
(@"
160
var reference =
CreateCompilation
(@"
186
var reference =
CreateCompilation
(@"
634
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
690
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
749
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
764
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
820
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
836
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
899
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
914
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
971
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1030
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1085
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1141
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1200
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1215
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1271
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1287
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1350
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1365
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1423
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1482
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2156
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2207
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2257
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2309
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2325
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2377
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2426
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2479
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2491
var reference =
CreateCompilation
(@"
2539
var reference =
CreateCompilation
(@"
2586
var reference =
CreateCompilation
(@"
2641
var reference =
CreateCompilation
(@"
2689
var reference =
CreateCompilation
(@"
2736
var reference =
CreateCompilation
(@"
2781
var reference =
CreateCompilation
(@"
2826
var reference =
CreateCompilation
(@"
2871
var reference =
CreateCompilation
(@"
2916
var reference =
CreateCompilation
(@"
2961
var reference =
CreateCompilation
(@"
3006
var reference =
CreateCompilation
(@"
3052
var reference =
CreateCompilation
(@"
3098
var reference =
CreateCompilation
(@"
3144
var reference =
CreateCompilation
(@"
3190
var reference =
CreateCompilation
(@"
3238
var reference =
CreateCompilation
(@"
3286
var reference =
CreateCompilation
(@"
3341
var reference =
CreateCompilation
(@"
3389
var reference =
CreateCompilation
(@"
3437
var reference =
CreateCompilation
(@"
3483
var reference =
CreateCompilation
(@"
3529
var reference =
CreateCompilation
(@"
3575
var reference =
CreateCompilation
(@"
3621
var reference =
CreateCompilation
(@"
3667
var reference =
CreateCompilation
("public delegate void D(in int p);");
3700
var reference =
CreateCompilation
("public delegate ref readonly int D();");
3733
var reference =
CreateCompilation
(@"
3776
var reference =
CreateCompilation
(@"
3828
var comp =
CreateCompilation
(code).VerifyDiagnostics(
3857
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4160
var testRef =
CreateCompilation
(@"
4207
var testRef =
CreateCompilation
(@"
4254
var testRef =
CreateCompilation
(@"
4303
var testRef =
CreateCompilation
(@"
4355
var testRef =
CreateCompilation
(@"
4414
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
4415
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
4423
var comp =
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
Emit\NoPiaEmbedTypes.cs (211)
46
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
70
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
75
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
95
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
115
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
120
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
171
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
192
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
197
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
228
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
261
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
266
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
297
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
321
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
326
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
350
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
372
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
377
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
400
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
422
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
427
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
448
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
471
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
476
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
498
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
521
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
526
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
548
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
571
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
576
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
598
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
621
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
626
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
648
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
671
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
676
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
698
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
721
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
726
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
779
var compilation2 =
CreateCompilation
(sources2, references: new MetadataReference[] { reference1 });
1067
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
1161
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1164
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1703
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
1720
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1723
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1802
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
1825
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1830
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1860
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
2040
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
2063
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2068
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2097
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
2130
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2135
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2167
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2188
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2191
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2283
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2304
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2307
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2362
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2389
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2394
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2435
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2470
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll,
2475
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll,
2501
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2533
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2538
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2648
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2680
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2697
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2700
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2752
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2769
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2772
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2816
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2833
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2836
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2877
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2894
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2897
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2940
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2960
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2963
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3006
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3026
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3029
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3065
var dispIdDefinition =
CreateCompilation
(dispId, options: TestOptions.ReleaseDll, assemblyName: "DispId").EmitToImageReference(aliases: ImmutableArray.Create("dispId"));
3085
var piaCompilation =
CreateCompilation
(pia, references: new[] { dispIdDefinition }, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3105
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3108
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3143
var empty =
CreateCompilation
("", options: TestOptions.ReleaseDll).EmitToImageReference();
3161
var piaCompilation =
CreateCompilation
(pia, references: new[] { empty }, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3185
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3225
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3249
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3286
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3306
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3309
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3353
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3373
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3376
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3418
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3441
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3444
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3571
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3591
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3594
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3635
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3656
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3659
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3700
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3713
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3716
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3747
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3760
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3763
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3799
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3824
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
3841
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3845
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3884
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3906
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3909
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3977
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3982
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
3988
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3994
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4000
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4006
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4073
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4078
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
4084
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4090
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4096
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4102
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4141
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4158
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4161
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4218
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4242
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4245
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4302
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4319
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4322
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4366
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4384
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4387
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4431
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4449
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4452
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4491
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4509
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4512
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4551
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4569
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4572
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4617
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4635
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4638
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4675
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4693
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4716
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4720
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4743
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4762
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4842
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
4862
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
4888
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4892
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4896
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4900
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4923
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4943
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4966
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4970
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4993
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
5014
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
5038
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5042
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5065
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
5082
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5112
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
5130
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5161
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
5181
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
5204
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5208
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5212
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5216
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5318
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
5339
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
5365
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5369
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5373
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5377
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5425
var IEvent_Compilation =
CreateCompilation
(IEvent_cs, options: TestOptions.ReleaseDll, assemblyName: "IEvent");
5536
var NetImpl_2_Compilation =
CreateCompilation
(NetImpl_cs, new[] { IEvent_Metadata.GetReference(embedInteropTypes: true) }, options: TestOptions.ReleaseDll, assemblyName: "NetImpl");
5595
var app_compilation =
CreateCompilation
(App_cs, new[] { NetImpl_ref, IEvent_ref, CSharpRef }, options: TestOptions.ReleaseExe, assemblyName: "App");
5621
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5637
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5640
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5703
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5729
var compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef1 });
5738
compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef2 });
5758
var compilation1 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5761
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5989
var compilation =
CreateCompilation
(source,
Emit\OptionalArgumentsTests.cs (8)
144
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
182
var comp2b =
CreateCompilation
(
207
var comp =
CreateCompilation
(source);
257
CreateCompilation
(source).VerifyDiagnostics(
326
CreateCompilation
(source).VerifyDiagnostics(
354
CreateCompilation
(source).VerifyDiagnostics(
407
var comp =
CreateCompilation
(source);
459
var comp =
CreateCompilation
(source);
Emit\ResourceTests.cs (19)
42
var c1 =
CreateCompilation
(source, assemblyName: "Win32VerNoAttrs", options: TestOptions.ReleaseExe);
132
var c1 =
CreateCompilation
(source, assemblyName: "Win32WithCoff", options: TestOptions.ReleaseDll);
208
var c1 =
CreateCompilation
("");
237
var c1 =
CreateCompilation
("");
257
var c1 =
CreateCompilation
("");
310
var c1 =
CreateCompilation
("");
337
var c1 =
CreateCompilation
("");
380
c1 =
CreateCompilation
("", references: new[] { netModule1 });
402
var c1 =
CreateCompilation
(source);
514
var c2 =
CreateCompilation
(sourceTree, new[] { ref_mod1 }, TestOptions.ReleaseDll);
562
var c3 =
CreateCompilation
(sourceTree, new[] { ref_mod2 }, TestOptions.ReleaseDll);
620
var c4 =
CreateCompilation
(sourceTree, new[] { ref_mod3 }, TestOptions.ReleaseDll);
663
var c5 =
CreateCompilation
(sourceTree, new[] { ref_mod1, ref_mod3 }, TestOptions.ReleaseDll);
707
var c6 =
CreateCompilation
(sourceTree, new[] { ref_mod1, ref_mod2 }, TestOptions.ReleaseDll);
745
c6 =
CreateCompilation
(sourceTree, new[] { ref_mod1, ref_mod2 }, TestOptions.ReleaseModule);
768
var c1 =
CreateCompilation
(source);
795
var c1 =
CreateCompilation
(source);
832
var c1 =
CreateCompilation
(source, assemblyName: "Win32VerAttrs", options: TestOptions.ReleaseExe);
896
var c1 =
CreateCompilation
("");
PrivateProtected.cs (24)
38
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
77
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
100
var baseCompilation =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2,
188
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
246
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
274
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
294
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
318
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
360
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
386
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
400
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
419
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
451
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
468
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
498
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
549
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1)
579
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
613
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
625
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
658
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
681
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
695
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
722
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
748
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (500)
CodeGen\CodeGenLengthBasedSwitchTests.cs (44)
77
var comp =
CreateCompilation
(source);
267
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
505
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1314
var comp =
CreateCompilation
(source);
1366
var comp =
CreateCompilation
(source);
1472
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1647
var comp =
CreateCompilation
(source);
1787
var comp =
CreateCompilation
(source);
1795
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1827
var comp =
CreateCompilation
(source);
1926
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1979
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2191
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2244
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2318
var comp =
CreateCompilation
(source);
2430
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
2634
var comp =
CreateCompilation
(source);
2864
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
3168
var comp =
CreateCompilation
(source);
4384
var comp =
CreateCompilation
(source);
6750
var comp =
CreateCompilation
(source);
7761
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9054
var comp =
CreateCompilation
(source);
9184
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9366
var comp =
CreateCompilation
(source);
9581
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9825
var comp =
CreateCompilation
(source);
9962
var comp =
CreateCompilation
(source);
10342
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
10803
var comp =
CreateCompilation
(source);
11085
var comp =
CreateCompilation
(source);
11134
var comp =
CreateCompilation
(source);
11333
var comp =
CreateCompilation
(source);
11643
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
11990
var comp =
CreateCompilation
(source);
12334
var comp =
CreateCompilation
(source);
12647
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
12985
var comp =
CreateCompilation
(source);
13108
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13302
var comp =
CreateCompilation
(source);
13585
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13910
var comp =
CreateCompilation
(source);
14020
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (1)
6026
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.DebugExe);
CodeGen\CodeGenSpanBasedStringConcatTests.cs (38)
329
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
382
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
437
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
481
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
535
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
586
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1066
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1176
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1356
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1467
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1533
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1598
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1659
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1739
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1785
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1848
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1931
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2056
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2117
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2707
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2895
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3171
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3356
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3431
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3507
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3580
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3701
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3749
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3823
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3953
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4285
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4338
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4471
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4561
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4685
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4754
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
5479
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
5669
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
CodeGen\IndexAndRangeTests.cs (12)
1080
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1116
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1144
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1184
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2999
var comp =
CreateCompilation
(source);
3094
var comp =
CreateCompilation
(source);
3620
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
3711
var comp =
CreateCompilation
(source);
3797
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
3884
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
4415
var comp =
CreateCompilation
(new[] { source, IndexWithSideEffects });
4458
var comp =
CreateCompilation
(new[] { source, IndexWithSideEffects });
Emit\EditAndContinue\AssemblyReferencesTests.cs (14)
202
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
205
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
208
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
301
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
306
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
310
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
386
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
390
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
394
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
470
var lib01 =
CreateCompilation
(srcLib01, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
473
var lib02 =
CreateCompilation
(srcLib02, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
476
var lib11 =
CreateCompilation
(srcLib11, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
479
var lib12 =
CreateCompilation
(srcLib12, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
585
var compilation0 =
CreateCompilation
(source0.Tree, options: options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 0)));
Emit\EditAndContinue\EditAndContinueDelegateCacheTests.cs (5)
45
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
109
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
173
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
237
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
301
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
Emit\EditAndContinue\EditAndContinuePdbTests.cs (1)
121
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), assemblyName: "EncMethodExtents");
Emit\EditAndContinue\EditAndContinueTests.cs (7)
259
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
308
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
392
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
462
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
500
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
561
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
794
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
Emit\EditAndContinue\LocalSlotMappingTests.cs (43)
47
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
122
var compilation0 =
CreateCompilation
(source, options: ComSafeDebugDll);
340
var debug =
CreateCompilation
(source, options: TestOptions.DebugDll);
341
var release =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
426
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
530
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
642
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
1208
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1316
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1480
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1663
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1848
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2008
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2038
var compilation0 =
CreateCompilation
(
2148
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
2194
var compilation1 =
CreateCompilation
(source1.Tree, options: TestOptions.DebugDll);
2341
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2418
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
2598
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2736
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2881
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2990
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3117
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3331
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3438
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3551
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3659
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3751
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3888
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3970
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4233
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4280
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4336
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4391
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4443
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4499
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4568
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4648
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4741
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4802
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4862
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4951
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5052
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true));
Emit\EditAndContinue\SymbolMatcherTests.cs (65)
30
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
32
return (PEAssemblySymbol)
CreateCompilation
("", new[] { reference }).GetReferencedAssemblySymbol(reference);
77
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
140
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
166
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
190
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { metadataRef });
231
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
276
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll).WithSource(source1);
304
var lib0 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
305
var lib1 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
307
var compilation0 =
CreateCompilation
(source, new[] { lib0.ToMetadataReference() }, options: TestOptions.DebugDll);
341
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
372
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
404
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
439
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
490
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
545
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
548
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
561
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
600
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
624
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
648
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
672
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
696
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
720
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
744
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
768
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
792
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
816
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
854
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
902
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
943
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
946
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
948
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll);
983
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1008
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1033
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1056
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1100
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1103
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1115
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1162
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1211
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1245
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1296
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1319
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1341
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1364
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1385
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1411
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1469
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1520
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1521
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1524
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1580
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1581
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1584
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1650
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1651
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1654
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1715
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1757
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1809
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1856
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1901
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
Emit\ManagedAddressTests.cs (1)
52
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
Emit\NumericIntPtrTests.cs (136)
933
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
936
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
941
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
944
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
995
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
998
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1003
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1006
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1021
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1024
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1039
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1046
comp =
CreateCompilation
(source);
1069
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1076
comp =
CreateCompilation
(source);
1094
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1108
comp =
CreateCompilation
(source);
1132
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1147
comp =
CreateCompilation
(source);
1188
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1191
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1196
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1199
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1234
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1252
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1278
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1296
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1328
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1363
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
1377
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
1408
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
1409
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
1432
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1456
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1491
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1520
var comp =
CreateCompilation
("", parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1625
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1646
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1738
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1757
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1865
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.Net70);
1868
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1892
comp =
CreateCompilation
(source);
1913
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1965
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2048
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2150
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2223
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2251
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2274
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2292
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2407
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2457
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2598
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2711
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2776
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2796
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2811
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2823
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2840
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2855
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2877
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2919
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2952
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2983
var comp =
CreateCompilation
(source);
3052
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3055
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3059
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3062
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3065
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3068
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3125
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3293
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6003
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6240
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6613
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6847
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
7020
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8121
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8182
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8408
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8612
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8688
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9013
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9032
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9060
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9089
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9121
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9139
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9157
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9188
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9206
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9245
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9274
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9298
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9327
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9362
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9427
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9508
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9646
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9702
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9832
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9904
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
9917
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9939
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9971
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10024
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10273
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net70);
10500
var comp =
CreateCompilation
(new[] { source }, targetFramework: TargetFramework.Net70);
10576
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10587
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10708
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10721
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10724
var comp2 =
CreateCompilation
(source, references: new[] { image }, targetFramework: TargetFramework.Net70);
10758
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10826
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10894
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10921
var comp =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() }, targetFramework: TargetFramework.Net70);
10943
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib", targetFramework: TargetFramework.Net70);
10985
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11047
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11051
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11168
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11191
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11219
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11244
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11269
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11289
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11629
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11687
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11704
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11745
var comp =
CreateCompilation
(new[] { TestSources.Span, source }, options: TestOptions.UnsafeReleaseExe);
11748
comp =
CreateCompilation
(new[] { source }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11810
var comp =
CreateCompilation
(
Emit\UnmanagedTypeModifierTests.cs (14)
73
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
142
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
211
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
278
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
344
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
405
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1108
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
1109
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
1116
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
1209
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1265
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1323
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1383
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1438
var c =
CreateCompilation
(code, references: new[] { reference });
PDB\CheckSumTest.cs (2)
37
var compilation =
CreateCompilation
(new[] { tree1, tree256 });
233
var compilation =
CreateCompilation
(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs") });
PDB\CSharpDeterministicBuildCompilationTests.cs (6)
121
var referenceOneCompilation =
CreateCompilation
(
131
var referenceTwoCompilation =
CreateCompilation
(
181
var referenceOneCompilation =
CreateCompilation
(
191
var referenceTwoCompilation =
CreateCompilation
(
245
var referenceOneCompilation =
CreateCompilation
(
255
var referenceTwoCompilation =
CreateCompilation
(
PDB\PDBConstantTests.cs (1)
532
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
PDB\PDBDynamicLocalsTests.cs (1)
1708
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
PDB\PDBEmbeddedSourceTests.cs (2)
44
var c =
CreateCompilation
(new[] { tree1, tree2 }, options: TestOptions.DebugDll);
104
var c =
CreateCompilation
(tree, options: TestOptions.DebugDll);
PDB\PDBIteratorTests.cs (1)
1624
var compilation =
CreateCompilation
(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
PDB\PDBLambdaTests.cs (5)
1847
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1875
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1909
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1926
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2024
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
PDB\PDBSourceLinkTests.cs (5)
51
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
81
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
121
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
143
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
185
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\PDBTests.cs (42)
94
Compilation compilation =
CreateCompilation
("class C { }", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular);
172
var compilation =
CreateCompilation
(
216
var compilation =
CreateCompilation
(
250
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
282
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
314
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll.WithDeterministic(true));
346
var compilation =
CreateCompilation
(source0);
397
var comp =
CreateCompilation
("""
447
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyEmitDiagnostics(
471
var debug =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugWinMD);
510
var release =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseWinMD);
556
var debug =
CreateCompilation
(source, options: TestOptions.DebugWinMD);
581
var release =
CreateCompilation
(source, options: TestOptions.ReleaseWinMD);
611
var comp =
CreateCompilation
(new[] { tree1, tree2 });
648
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
671
var c =
CreateCompilation
(source, options: TestOptions.DebugExe);
697
var c1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
698
var c2 =
CreateCompilation
(source2, options: TestOptions.DebugDll);
3267
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
4966
var compilation =
CreateCompilation
(new SyntaxTree[] { Parse(text1, "a.cs"), Parse(text2, "b.cs") });
5062
var compilation =
CreateCompilation
(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs"), Parse(text3, "a.cs") }, options: TestOptions.DebugDll);
5189
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6104
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6221
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6736
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6851
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6953
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
7748
var compilation =
CreateCompilation
(text1, options: TestOptions.DebugDll);
8032
var c =
CreateCompilation
(Parse(source, filename: "file.cs"));
8694
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9091
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9458
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9687
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10529
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10700
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10883
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
11286
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
12402
var c =
CreateCompilation
(
12881
var compilation =
CreateCompilation
("");
12911
var c =
CreateCompilation
(new[] { tree1, tree2 }, options: TestOptions.DebugDll);
12949
var c =
CreateCompilation
(new[] { tree }, options: TestOptions.DebugDll);
12970
var c =
CreateCompilation
(
PDB\PDBTupleTests.cs (6)
27
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
74
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
126
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
193
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
244
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
310
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
PDB\PDBUsingTests.cs (41)
30
return
CreateCompilation
(
664
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "TestExternAliases2");
671
var compilation2 =
CreateCompilation
(
717
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, assemblyName: "TestExternAliases3");
724
var compilation2 =
CreateCompilation
(
771
var dummyCompilation =
CreateCompilation
(src1, assemblyName: "A", options: TestOptions.DebugDll);
807
var comp =
CreateCompilation
(sourceA, assemblyName: "A1");
818
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.DebugDll);
857
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
867
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
943
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
953
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1029
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1039
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1122
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1132
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1215
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1225
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1307
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1317
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1398
CSharpCompilation dummyCompilation1 =
CreateCompilation
(dummySource, assemblyName: "A", options: TestOptions.DebugDll);
1399
CSharpCompilation dummyCompilation2 =
CreateCompilation
(dummySource, assemblyName: "B", options: TestOptions.DebugDll);
1463
CSharpCompilation libComp =
CreateCompilation
(@"
1692
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1765
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
2599
var libRef =
CreateCompilation
(libSource, assemblyName: "Lib").EmitToImageReference();
2660
var comp =
CreateCompilation
(source);
2693
var lib =
CreateCompilation
(libSource, assemblyName: "Lib");
2712
var comp =
CreateCompilation
(source, new[] { libRef });
2754
var comp =
CreateCompilation
(source);
2834
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "Comp1");
2851
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugExe);
2905
var compilation =
CreateCompilation
(text, options: TestOptions.DebugExe);
2930
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40);
3018
var comp =
CreateCompilation
(source);
3070
var c =
CreateCompilation
(source, assemblyName: "EmittingPdbVsNot", options: TestOptions.ReleaseDll);
3153
var libRef =
CreateCompilation
(sourceLib, assemblyName: "ImportedNoPiaTypesAssemblyName").EmitToImageReference(embedInteropTypes: true);
3154
var compilation =
CreateCompilation
(source, new[] { libRef });
3225
var libRef1 =
CreateCompilation
(sourceLib1).EmitToImageReference();
3226
var libRef2 =
CreateCompilation
(sourceLib2, new[] { libRef1 }, assemblyName: "LibRef2").EmitToImageReference();
3227
var compilation =
CreateCompilation
(source, new[] { libRef2 });
PDB\PortablePdbTests.cs (6)
42
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
166
var c =
CreateCompilation
(Parse(source, "goo.cs"), options: TestOptions.DebugDll);
226
var c =
CreateCompilation
(Parse(source, "goo.cs"), options: TestOptions.DebugDll.WithDeterministic(true));
301
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
342
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
381
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\TypeDefinitionDocumentTests.cs (1)
464
var compilation =
CreateCompilation
(trees, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5592)
Attributes\AttributeTests.cs (283)
40
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true));
113
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
116
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
119
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
122
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
146
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
149
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
152
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
159
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
186
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
189
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
192
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
199
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
235
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
238
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
241
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
244
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
268
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
271
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
274
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
277
var newLibComp =
CreateCompilation
(newLib_cs,
281
var newLibComp2 =
CreateCompilation
(newLib_cs,
305
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
308
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
311
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
314
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
317
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
320
var newLibComp3 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
339
var origLibComp =
CreateCompilation
(cDefinition_cs, assemblyName: "lib");
342
var compWithDerivedAndReferenceToLib =
CreateCompilation
(typeForward_cs + derivedDefinition_cs, references: new[] { origLibComp.EmitToImageReference() });
345
var compWithC =
CreateCompilation
(cDefinition_cs, assemblyName: "new");
348
var newLibComp =
CreateCompilation
(typeForward_cs, references: new[] { compWithDerivedAndReferenceToLib.EmitToImageReference(), compWithC.EmitToImageReference() }, assemblyName: "lib");
378
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
381
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
384
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
387
var newLibComp =
CreateCompilation
(newLib_cs,
391
var newLibComp2 =
CreateCompilation
(newLib_cs,
416
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
419
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
422
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
425
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
428
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
451
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
454
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
457
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
460
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
463
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
470
var source =
CreateCompilation
(@"
599
var comp =
CreateCompilation
(@"
630
var comp =
CreateCompilation
(@"
675
var comp =
CreateCompilation
(source);
702
var comp =
CreateCompilation
(source);
743
var comp =
CreateCompilation
(source);
807
var comp =
CreateCompilation
(source);
849
var comp =
CreateCompilation
(source);
890
var comp =
CreateCompilation
(source);
929
var comp =
CreateCompilation
(source);
989
CreateCompilation
(new[] { definitionSource, usageSource }, options: WithNullableEnable())
992
var definitionComp =
CreateCompilation
(definitionSource, options: WithNullableEnable());
994
CreateCompilation
(usageSource, references: new[] { definitionComp.ToMetadataReference() }, options: WithNullableEnable())
997
CreateCompilation
(usageSource, references: new[] { definitionComp.EmitToImageReference() }, options: WithNullableEnable())
1018
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1057
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1406
var compilation =
CreateCompilation
(@"
1477
var compilation =
CreateCompilation
(@"
1502
var compilation =
CreateCompilation
(@"
1526
var compilation =
CreateCompilation
(@"
1585
var compilation =
CreateCompilation
(@"
1618
var compilation =
CreateCompilation
(@"
1703
var compilation =
CreateCompilation
(source, references, options: opt);
1748
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
2009
var comp =
CreateCompilation
(source);
2027
var comp =
CreateCompilation
(source);
2051
var comp =
CreateCompilation
(source);
2071
var comp =
CreateCompilation
(source);
2091
var comp =
CreateCompilation
(source);
2109
var comp =
CreateCompilation
(source);
2127
var comp =
CreateCompilation
(source);
2149
var comp =
CreateCompilation
(source);
2171
var comp =
CreateCompilation
(source);
2370
var comp =
CreateCompilation
(source);
2394
var comp =
CreateCompilation
(source);
2427
var comp =
CreateCompilation
(source);
2503
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source);
2565
var comp =
CreateCompilation
(source);
2738
CreateCompilation
(source).VerifyDiagnostics(
2807
CreateCompilation
(source).VerifyDiagnostics(
2959
CreateCompilation
(source).VerifyDiagnostics(
3093
var compilation =
CreateCompilation
(source, references, options: TestOptions.ReleaseDll);
3168
var compilation =
CreateCompilation
(source, references, options: opt);
3210
var compilation =
CreateCompilation
(source, references, options: opt);
3258
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3306
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3358
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3410
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3444
var compilation =
CreateCompilation
(source, references, options: opt);
3583
var compilation =
CreateCompilation
(source, references, options: opt);
3631
var compilation =
CreateCompilation
(source);
3677
var compilation =
CreateCompilation
(source, references, options: opt);
3784
var compilation =
CreateCompilation
(source, references, options: opt);
3858
var compilation =
CreateCompilation
(source);
3898
var compilation =
CreateCompilation
(source);
3944
var compilation =
CreateCompilation
(source);
3995
var compilation =
CreateCompilation
(source);
4132
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4175
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4219
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4264
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4308
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4510
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4566
var compilation =
CreateCompilation
(source);
4607
var compilation =
CreateCompilation
(source);
4956
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5062
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5131
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5167
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5204
var compilation =
CreateCompilation
(source);
5242
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5300
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5361
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5419
var comp =
CreateCompilation
(source);
5473
var compilation =
CreateCompilation
(source);
5706
var c1 =
CreateCompilation
(lib1);
5709
var c2 =
CreateCompilation
(lib2, references: new[] { r1 });
5712
var cm =
CreateCompilation
(main, new[] { r2 });
5913
var compilation =
CreateCompilation
(@"
5994
var compilation =
CreateCompilation
(source, references, options: opt);
6036
var compilation =
CreateCompilation
(source);
6063
var compilation =
CreateCompilation
(source);
6097
var compilation =
CreateCompilation
(source);
6146
var compilation =
CreateCompilation
(source);
6166
var compilation =
CreateCompilation
(source);
6185
var compilation =
CreateCompilation
(source);
6206
var compilation =
CreateCompilation
(source);
6235
var compilation =
CreateCompilation
(source);
6266
var compilation =
CreateCompilation
(source);
6286
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6295
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6322
var compilation =
CreateCompilation
(source);
6346
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6355
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6380
var compilation =
CreateCompilation
(new[] { source1, source2 });
6408
var compilation =
CreateCompilation
(new[] { source1, source2 });
6440
var compilation =
CreateCompilation
(source);
6469
var compilation =
CreateCompilation
(source);
6503
var compilation =
CreateCompilation
(source);
6526
CreateCompilation
(source).VerifyDiagnostics(
6542
var compilation =
CreateCompilation
(source);
6575
var compilation =
CreateCompilation
(source);
6612
var compilation =
CreateCompilation
(source);
6640
var compilation =
CreateCompilation
(source);
6697
var compilation =
CreateCompilation
(source);
6718
var compilation =
CreateCompilation
(source);
6758
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
6807
var compilation =
CreateCompilation
(source);
6850
var compilation =
CreateCompilation
(source);
6894
var compilation =
CreateCompilation
(source);
6938
var compilation =
CreateCompilation
(source);
6988
var compilation =
CreateCompilation
(source);
7031
var compilation =
CreateCompilation
(source);
7078
var compilation =
CreateCompilation
(source);
7125
var compilation =
CreateCompilation
(source);
7181
var compilation =
CreateCompilation
(source);
7232
var compilation =
CreateCompilation
(source);
7272
var compilation =
CreateCompilation
(source);
7312
var compilation =
CreateCompilation
(source);
7359
var compilation =
CreateCompilation
(source);
7379
CreateCompilation
(source).VerifyDiagnostics(
7404
CreateCompilation
(text).VerifyDiagnostics(
7425
CreateCompilation
(source).VerifyDiagnostics(
7447
CreateCompilation
(source).VerifyDiagnostics(
7474
CreateCompilation
(source).VerifyDiagnostics(
7492
var compilation =
CreateCompilation
(source, null, options: opt);
7524
var compilation =
CreateCompilation
(source);
7569
var compilation =
CreateCompilation
(source);
7610
var compilation =
CreateCompilation
(source, null, options: opt);
7653
var compilation =
CreateCompilation
(source, null, options: opt);
7711
var compilation =
CreateCompilation
(source, null, options: opt);
7763
CreateCompilation
(source).VerifyDiagnostics();
7809
var compilation =
CreateCompilation
(source, null, options: opt);
7844
CreateCompilation
(source).VerifyDiagnostics();
7864
var compilation =
CreateCompilation
(new string[] { source, source2 });
7878
var compilation =
CreateCompilation
(source);
7917
var compilation =
CreateCompilation
(source, null, options: opt, parseOptions: TestOptions.Regular10);
7955
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8036
var comp =
CreateCompilation
(source);
8077
var comp =
CreateCompilation
(source);
8104
var comp =
CreateCompilation
(source);
8124
CreateCompilation
(source).VerifyDiagnostics(
8149
CreateCompilation
(source).VerifyDiagnostics(
8193
var comp =
CreateCompilation
(source);
8255
CreateCompilation
(source).VerifyDiagnostics(
8284
CreateCompilation
(source).VerifyDiagnostics(
8383
var compilation =
CreateCompilation
(source);
8402
CreateCompilation
(source).VerifyDiagnostics(
8554
var comp =
CreateCompilation
(source1, assemblyName: "A");
8576
comp =
CreateCompilation
(source2, references: new[] { ref1 }, assemblyName: "B");
8593
var comp =
CreateCompilation
(source1);
8606
comp =
CreateCompilation
(source2, references: new[] { ref1 });
8637
var compilation =
CreateCompilation
(source);
8677
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8719
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8762
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8809
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8852
var compilation =
CreateCompilation
("", new[] { reference1 });
8892
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8955
comp =
CreateCompilation
(source);
9009
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9030
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9126
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9141
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9172
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9199
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9223
CreateCompilation
(source).VerifyDiagnostics(
9249
CreateCompilation
(source).VerifyDiagnostics(
9397
var comp =
CreateCompilation
(source);
9476
var comp =
CreateCompilation
(source);
9564
var comp =
CreateCompilation
(source);
9641
var comp =
CreateCompilation
(source);
9713
var comp =
CreateCompilation
(source);
9794
var comp =
CreateCompilation
(source);
9864
var comp =
CreateCompilation
(source);
9908
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9918
var comp2 =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
9937
var compilation1 =
CreateCompilation
(source1, assemblyName: "Bug1020038");
9990
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
10123
var comp =
CreateCompilation
(source);
10149
var comp =
CreateCompilation
(source);
10173
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10211
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10236
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10238
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10242
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10263
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10286
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10288
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10292
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10312
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10314
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10318
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10338
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10340
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10344
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10360
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10385
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10392
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10421
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10428
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10459
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10465
var comp1 =
CreateCompilation
(source1);
10466
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10469
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10530
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10536
var comp1 =
CreateCompilation
(source1);
10537
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10540
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10556
var comp =
CreateCompilation
(source);
10574
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10604
comp =
CreateCompilation
(source);
10658
var comp =
CreateCompilation
(source);
10787
var comp =
CreateCompilation
(source);
10834
var comp =
CreateCompilation
(source);
10872
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10895
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10901
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
10908
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10922
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10939
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10988
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
11039
var comp =
CreateCompilation
(source);
11056
var comp =
CreateCompilation
(csSource);
11098
var comp =
CreateCompilation
(source);
11170
var comp =
CreateCompilation
(source);
11264
var comp =
CreateCompilation
(source);
11418
var comp =
CreateCompilation
(source);
11462
var comp =
CreateCompilation
(source);
11498
var comp =
CreateCompilation
(source);
11526
var comp =
CreateCompilation
(source);
11551
var comp =
CreateCompilation
(source);
11576
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
11631
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_Assembly.cs (103)
31
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
41
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
52
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
70
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(now));
84
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(new DateTime(2300, 1, 1)));
99
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
106
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
118
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
131
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
144
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
154
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
164
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
174
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
193
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
206
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
227
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
236
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
245
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
254
var other =
CreateCompilation
(s);
267
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
277
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
287
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
297
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
306
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
310
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
314
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
323
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
327
comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
335
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
347
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
362
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
518
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
524
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
534
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
544
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
554
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
560
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
570
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
586
compilation =
CreateCompilation
(
615
compilation =
CreateCompilation
(
646
compilation =
CreateCompilation
(
676
compilation =
CreateCompilation
(
802
var hash_module_Comp =
CreateCompilation
(
809
compilation =
CreateCompilation
(
827
compilation =
CreateCompilation
(
840
compilation =
CreateCompilation
(
854
compilation =
CreateCompilation
(
869
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
876
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
880
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
892
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
905
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
920
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
1457
var compilation =
CreateCompilation
(source);
1835
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1841
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
1876
CreateCompilation
(source).VerifyDiagnostics();
1897
CreateCompilation
(source).VerifyDiagnostics(
1920
CreateCompilation
(source).VerifyDiagnostics(
1932
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1946
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
1958
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
1965
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
1971
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
1986
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
1996
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2011
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2018
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2024
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2039
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2049
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2064
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2071
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2077
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2090
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2100
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2116
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2117
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2119
var appCompilation =
CreateCompilation
(source,
2148
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2149
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2151
var appCompilation =
CreateCompilation
(source,
2178
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2179
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2181
var appCompilation =
CreateCompilation
(source,
2210
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2211
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2213
var appCompilation =
CreateCompilation
(source,
2237
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2238
var appCompilation =
CreateCompilation
(source,
2272
var compilation =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
2286
var attributeDefinition1 =
CreateCompilation
(attribute1, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2291
var moduleWithAttribute =
CreateCompilation
(module, references: new[] { attributeDefinition1 }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2293
var comp =
CreateCompilation
("", references: new[] { moduleWithAttribute, attributeDefinition1 }, options: TestOptions.ReleaseDll);
2305
var comp2 =
CreateCompilation
("", references: new[] { moduleWithAttribute }, options: TestOptions.ReleaseDll);
2318
var attributeDefinition2 =
CreateCompilation
(attribute2, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2320
var comp3 =
CreateCompilation
("", references: new[] { moduleWithAttribute, attributeDefinition2 }, options: TestOptions.ReleaseDll);
2337
var c1Definition =
CreateCompilation
(c1, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2347
var module1WithAttribute =
CreateCompilation
(module1, references: new[] { c1Definition }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2349
var comp =
CreateCompilation
("", references: new[] { module1WithAttribute, c1Definition }, options: TestOptions.ReleaseDll);
2361
var comp2 =
CreateCompilation
("", references: new[] { module1WithAttribute }, options: TestOptions.ReleaseDll);
2376
var module2WithAttribute =
CreateCompilation
(module2, references: new[] { c1Definition }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2377
var comp3 =
CreateCompilation
("", references: new[] { module2WithAttribute, c1Definition }, options: TestOptions.ReleaseDll);
Attributes\AttributeTests_CallerInfoAttributes.cs (59)
259
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
420
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
459
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
498
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
526
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
565
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
626
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
659
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
679
var comp1 =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular9);
690
var compilation =
CreateCompilation
(source2, references: new[] { ref1 }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
716
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
742
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
767
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
796
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
825
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
854
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
889
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
924
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
953
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
982
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1014
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1063
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1098
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1137
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1177
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1215
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1250
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1290
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1321
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1346
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe);
1444
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1478
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1512
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1545
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1565
var comp1 =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
1582
var compilation =
CreateCompilation
(source2, references: new[] { ref1 }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1613
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1648
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1688
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1730
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1776
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1815
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1849
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
1941
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
1973
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2005
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2038
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2077
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2121
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2153
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2181
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
2209
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2237
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2331
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2367
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2405
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2442
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2493
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
2891
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
Attributes\AttributeTests_Conditional.cs (7)
252
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
268
var comp1 =
CreateCompilation
(source1);
463
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
479
var comp1 =
CreateCompilation
(source1, assemblyName: Guid.NewGuid().ToString());
558
var compilation =
CreateCompilation
(@"
672
CreateCompilation
(source).VerifyDiagnostics(
704
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_Embedded.cs (15)
45
CreateCompilation
(code, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute()).VerifyEmitDiagnostics();
51
var reference =
CreateCompilation
(@"
79
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() }, assemblyName: "Source").VerifyDiagnostics(
91
var module =
CreateCompilation
(@"
120
CreateCompilation
(code, references: new[] { reference }, assemblyName: "Source").VerifyDiagnostics(
132
var reference =
CreateCompilation
(@"
159
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() }).VerifyDiagnostics(
212
CreateCompilation
(code, assemblyName: "testModule").VerifyEmitDiagnostics(
221
var module =
CreateCompilation
(options: TestOptions.ReleaseModule, assemblyName: "testModule", source: @"
238
CreateCompilation
(code, references: new[] { moduleRef }).VerifyEmitDiagnostics(
246
var reference =
CreateCompilation
(@"
262
CreateCompilation
(code, references: new[] { reference }).VerifyEmitDiagnostics(
270
var reference =
CreateCompilation
(assemblyName: "testRef", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), source: @"
492
var compilation1 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), source: @"
505
var compilation2 =
CreateCompilation
("", references: new[] { compilation1.EmitToImageReference() });
Attributes\AttributeTests_Experimental.cs (3)
66
var comp1 =
CreateCompilation
(new[] { Parse(ExperimentalAttributeSource), Parse(source1) });
89
var comp2A =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() });
164
var comp1 =
CreateCompilation
(source1, new[] { ref0 });
Attributes\AttributeTests_IsByRefLike.cs (28)
137
var referenceA =
CreateCompilation
(new[] { codeA, GetCompilerFeatureRequiredAttributeText(includeCompilerFeatureRequired) }).VerifyDiagnostics().ToMetadataReference();
164
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
173
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
191
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
202
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
217
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
231
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
246
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
260
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
275
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
291
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
312
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
324
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
343
CreateCompilation
(code).VerifyDiagnostics(
358
var code1 =
CreateCompilation
(@"
364
var code2 =
CreateCompilation
(@"
377
var code3 =
CreateCompilation
(@"
398
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
415
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
428
var reference =
CreateCompilation
(@"
516
CreateCompilation
(text, options: TestOptions.ReleaseModule).VerifyDiagnostics(
539
CreateCompilation
(text).VerifyEmitDiagnostics(
562
CreateCompilation
(text).VerifyEmitDiagnostics(
643
CreateCompilation
(text).VerifyEmitDiagnostics(
848
CreateCompilation
(text).VerifyEmitDiagnostics(
895
var libComp =
CreateCompilation
(libSrc);
914
CreateCompilation
(text, new[] { libComp.EmitToImageReference() }).VerifyEmitDiagnostics(
929
CreateCompilation
(text, new[] { libComp.ToMetadataReference() }).VerifyEmitDiagnostics(
Attributes\AttributeTests_IsUnmanaged.cs (25)
128
var reference =
CreateCompilation
(@"
155
var reference =
CreateCompilation
(@"
181
var reference =
CreateCompilation
(@"
217
var reference =
CreateCompilation
(@"
245
var reference =
CreateCompilation
(@"
272
var reference =
CreateCompilation
(@"
298
var reference =
CreateCompilation
(@"
335
var reference =
CreateCompilation
(@"
463
CreateCompilation
(code).VerifyDiagnostics(
489
CreateCompilation
(code).VerifyDiagnostics(
513
CreateCompilation
(code).VerifyDiagnostics(
537
CreateCompilation
(code).VerifyDiagnostics(
565
CreateCompilation
(code).VerifyDiagnostics(
595
CreateCompilation
(code).VerifyDiagnostics(
614
CreateCompilation
(code).VerifyDiagnostics(
628
var code1 =
CreateCompilation
(@"
634
var code2 =
CreateCompilation
(@"
643
var code3 =
CreateCompilation
(@"
665
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
680
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
702
CreateCompilation
(source: code, options: TestOptions.ReleaseModule.WithMetadataImportOptions(MetadataImportOptions.All)).VerifyDiagnostics(
713
CreateCompilation
(source: code, options: TestOptions.ReleaseModule.WithMetadataImportOptions(MetadataImportOptions.All)).VerifyDiagnostics(
771
CreateCompilation
(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics(
794
CreateCompilation
(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics(
814
CreateCompilation
(text, options: TestOptions.DebugDll.WithOutputKind(outputKind)).VerifyDiagnostics(
Attributes\AttributeTests_LifetimeAnnotation.cs (17)
39
var comp =
CreateCompilation
(new[] { ScopedRefAttributeDefinition, source });
54
var comp =
CreateCompilation
(ScopedRefAttributeDefinition);
63
comp =
CreateCompilation
(source, references: new[] { ref0 });
91
var comp =
CreateCompilation
(new[] { source1, source2 });
112
var comp =
CreateCompilation
(new[] { ScopedRefAttributeDefinition, source });
151
var comp =
CreateCompilation
(source);
171
var comp =
CreateCompilation
(new[] { ScopedRefAttributeDefinition, source });
254
var comp =
CreateCompilation
(source1, references: new[] { ref0 });
323
var comp =
CreateCompilation
(source1, references: new[] { ref0 });
339
var comp =
CreateCompilation
(source);
371
var comp =
CreateCompilation
(source);
392
var comp =
CreateCompilation
(source);
415
var comp =
CreateCompilation
(source);
438
var comp =
CreateCompilation
(source);
475
var comp =
CreateCompilation
(source);
511
var comp =
CreateCompilation
(source);
541
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_Locations.cs (27)
32
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics();
51
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
72
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
102
CreateCompilation
(source).VerifyDiagnostics(
150
CreateCompilation
(source).VerifyDiagnostics(
198
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
246
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
294
CreateCompilation
(source).VerifyDiagnostics(
342
CreateCompilation
(source).VerifyDiagnostics(
388
CreateCompilation
(source).VerifyDiagnostics(
435
CreateCompilation
(source).VerifyDiagnostics(
482
CreateCompilation
(source).VerifyDiagnostics(
533
CreateCompilation
(source).VerifyDiagnostics(
634
CreateCompilation
(source).VerifyDiagnostics(
695
CreateCompilation
(source).VerifyDiagnostics(
748
CreateCompilation
(source).VerifyDiagnostics(
795
CreateCompilation
(source).VerifyDiagnostics(
842
CreateCompilation
(source).VerifyDiagnostics(
896
CreateCompilation
(source).VerifyDiagnostics(
946
CreateCompilation
(source).VerifyDiagnostics(
993
CreateCompilation
(source).VerifyDiagnostics(
1044
CreateCompilation
(source).VerifyDiagnostics(
1092
CreateCompilation
(source).VerifyDiagnostics(
1146
CreateCompilation
(source).VerifyDiagnostics(
1190
CreateCompilation
(source).VerifyDiagnostics(
1246
CreateCompilation
(@"class A { [@return:X] void B() { } }").VerifyDiagnostics(
1271
CreateCompilation
(source).VerifyDiagnostics(
Attributes\AttributeTests_MarshalAs.cs (13)
286
CreateCompilation
(source).VerifyDiagnostics(
412
CreateCompilation
(source).VerifyDiagnostics(
525
CreateCompilation
(source).VerifyDiagnostics(
662
CreateCompilation
(source).VerifyDiagnostics(
702
CreateCompilation
(
707
CreateCompilation
(
861
CreateCompilation
(source).VerifyDiagnostics(
943
CreateCompilation
(source).VerifyDiagnostics(
1071
CreateCompilation
(source).VerifyDiagnostics(
1401
CreateCompilation
(source).VerifyDiagnostics(
1449
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1529
var comp1 =
CreateCompilation
(text1, assemblyName: "OptionalMarshalAsLibrary");
1530
var comp2 =
CreateCompilation
(text2,
Attributes\AttributeTests_NativeInteger.cs (53)
29
var comp =
CreateCompilation
(source);
44
var comp =
CreateCompilation
(new[] { NativeIntegerAttributeDefinition, source });
61
var comp =
CreateCompilation
(NativeIntegerAttributeDefinition);
71
comp =
CreateCompilation
(source, references: new[] { ref0 }, parseOptions: TestOptions.Regular9);
102
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
128
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
165
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular8);
168
comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular9);
204
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
256
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
266
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
342
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
346
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
419
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
429
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
502
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
506
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
590
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
612
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
706
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
722
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
770
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
787
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
815
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
834
var comp =
CreateCompilation
(source1, assemblyName: "95d36b13-f2e1-495d-9ab6-62e8cc63ac22");
844
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
857
comp =
CreateCompilation
(source3, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
876
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
893
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
909
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
927
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
944
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
966
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
986
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1002
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1030
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1056
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1174
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1198
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1230
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
1262
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
1287
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1308
var comp =
CreateCompilation
(source);
1333
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
1357
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
1375
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
1397
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
1413
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All), parseOptions: TestOptions.Regular9);
1421
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9);
1442
var comp =
CreateCompilation
(
1460
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1488
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
Attributes\AttributeTests_Nullable.cs (138)
58
var lib1_comp =
CreateCompilation
(lib1_source);
66
var lib2_comp =
CreateCompilation
(lib2_source, references: new[] { getReference(lib1_comp) });
86
var client_comp =
CreateCompilation
(client_source, references: new[] { getReference(lib1_comp), getReference(lib2_comp) });
121
var lib1_comp =
CreateCompilation
(lib1_source);
130
var lib2_comp =
CreateCompilation
(lib2_source, references: new[] { getReference(lib1_comp) });
165
var lib3_comp =
CreateCompilation
(lib3_source, references: new[] { getReference(lib1_comp), getReference(lib2_comp) });
355
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
371
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
379
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
398
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
426
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
451
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
490
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
494
comp =
CreateCompilation
(new[] { sourceAttribute, source });
527
var comp =
CreateCompilation
(sourceA, assemblyName: "A", options: options);
537
comp =
CreateCompilation
(sourceB, references: new[] { refA }, assemblyName: "B", options: options);
562
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, assemblyName: "A", options: options);
572
comp =
CreateCompilation
(sourceB, references: new[] { refA }, assemblyName: "B", options: options);
747
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
763
comp =
CreateCompilation
(source, parseOptions: parseOptions);
771
comp =
CreateCompilation
(source, parseOptions: parseOptions);
779
comp =
CreateCompilation
(source, parseOptions: parseOptions);
797
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
811
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
841
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
864
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
886
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
908
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations), parseOptions: TestOptions.Regular8);
931
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
954
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
970
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
993
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
1004
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseModule);
1020
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1039
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1058
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1082
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1103
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1130
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1158
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1181
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1208
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1242
var comp =
CreateCompilation
(source);
1281
var comp =
CreateCompilation
(source);
1316
var comp =
CreateCompilation
(source);
1342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1372
var comp2 =
CreateCompilation
(new[] { source, source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1381
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1434
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1455
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1480
var comp2 =
CreateCompilation
(new[] { source, source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1489
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1513
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1534
var comp2 =
CreateCompilation
(new[] { source, source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1546
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
1583
var comp =
CreateCompilation
(source);
1639
var comp =
CreateCompilation
(source);
1710
var comp =
CreateCompilation
(source);
1774
var comp =
CreateCompilation
(source);
1831
var comp =
CreateCompilation
(source);
1874
var comp =
CreateCompilation
(source);
1902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1923
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1944
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1984
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2013
var comp =
CreateCompilation
(source);
2040
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2056
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2070
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2084
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2111
var comp =
CreateCompilation
(source);
2145
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2239
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
2254
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, references: new[] { ref0 });
2322
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
2349
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
2383
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
2416
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
2450
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
2479
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
2492
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
2585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2627
var comp =
CreateCompilation
(source);
3472
AssertNullableAttributes(
CreateCompilation
(source, options: options, parseOptions: parseOptions), expectedAll);
3473
AssertNullableAttributes(
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithFeature("nullablePublicOnly")), expectedPublicOnly);
3474
AssertNullableAttributes(
CreateCompilation
(new[] { source, sourceIVTs }, options: options, parseOptions: parseOptions), expectedAll);
3475
AssertNullableAttributes(
CreateCompilation
(new[] { source, sourceIVTs }, options: options, parseOptions: parseOptions.WithFeature("nullablePublicOnly")), expectedPublicAndInternal);
3518
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, options: options, parseOptions: parseOptions);
3590
comp =
CreateCompilation
(new[] { sourceAttribute, source }, options: options, parseOptions: parseOptions.WithFeature("nullablePublicOnly"));
3634
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, options: options, parseOptions: parseOptions);
3649
comp =
CreateCompilation
(new[] { sourceAttribute, source }, options: options, parseOptions: parseOptions.WithFeature("nullablePublicOnly"));
3756
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
3826
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
3867
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
3967
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
4036
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
4077
var comp =
CreateCompilation
(source);
4115
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
4144
var comp =
CreateCompilation
(source0);
4161
comp =
CreateCompilation
(source1, references: new[] { ref0 });
4173
comp =
CreateCompilation
(source1);
4186
comp =
CreateCompilation
(source2, references: new[] { ref1 });
4238
var comp =
CreateCompilation
(source1);
4260
comp =
CreateCompilation
(source2, references: new[] { ref0 });
4278
var comp =
CreateCompilation
(source1);
4306
comp =
CreateCompilation
(source2, references: new[] { ref0 });
4327
var comp =
CreateCompilation
(source1);
4376
comp =
CreateCompilation
(source2, references: new[] { ref0 });
4429
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4449
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4470
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4488
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4503
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4518
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4536
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4560
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4585
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4606
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4621
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4647
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseModule);
4669
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4706
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4725
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable(TestOptions.ReleaseModule));
4744
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4794
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
4853
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
4924
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, references: new[] { comp.EmitToImageReference() });
4970
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
4991
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5028
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
5063
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
5087
var comp =
CreateCompilation
(source);
5118
var comp =
CreateCompilation
(source);
5153
var comp =
CreateCompilation
(source);
5187
var comp =
CreateCompilation
(source);
5283
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_NullableContext.cs (16)
24
var comp =
CreateCompilation
(source);
39
var comp =
CreateCompilation
(new[] { NullableContextAttributeDefinition, source });
51
var comp =
CreateCompilation
(NullableContextAttributeDefinition);
61
comp =
CreateCompilation
(source, references: new[] { ref0 });
87
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular7);
91
comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
95
comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
128
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
132
comp =
CreateCompilation
(new[] { sourceAttribute, source });
167
var comp =
CreateCompilation
(sourceAttribute);
184
comp =
CreateCompilation
(source, references: new[] { ref0 });
204
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
262
var comp0 =
CreateCompilation
(source0);
288
var comp2 =
CreateCompilation
(source2, references: new[] { ref1 });
337
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
Attributes\AttributeTests_NullablePublicOnly.cs (42)
35
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
38
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
52
var comp =
CreateCompilation
(NullablePublicOnlyAttributeDefinition, parseOptions: TestOptions.Regular7);
59
comp =
CreateCompilation
(source, references: new[] { ref1 }, options: options, parseOptions: parseOptions);
62
comp =
CreateCompilation
(source, references: new[] { ref1 }, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
86
var comp =
CreateCompilation
(new[] { source1, source2 }, options: options, parseOptions: parseOptions);
89
comp =
CreateCompilation
(new[] { source1, source2 }, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
102
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
105
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
122
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
125
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
142
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
145
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
162
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
165
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
182
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
185
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
202
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
205
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
220
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
223
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
237
var comp =
CreateCompilation
(source0);
250
comp =
CreateCompilation
(
274
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
277
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
294
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
297
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
313
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
316
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
333
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
336
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
356
var comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
359
comp =
CreateCompilation
(source, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
380
var comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions);
383
comp =
CreateCompilation
(sources, options: options, parseOptions: parseOptions.WithNullablePublicOnly());
406
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
410
comp =
CreateCompilation
(new[] { sourceAttribute, source });
440
var comp =
CreateCompilation
(new[] { sourceAttribute, source });
463
var comp =
CreateCompilation
(sourceAttribute);
482
comp =
CreateCompilation
(source, references: new[] { ref0 });
501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNullablePublicOnly(), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
522
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNullablePublicOnly().WithNoRefSafetyRulesAttribute());
Attributes\AttributeTests_ReadOnlyStruct.cs (24)
127
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
154
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
163
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
181
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
192
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
207
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
221
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
236
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
250
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
265
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
281
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
302
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
314
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
333
CreateCompilation
(code).VerifyDiagnostics(
348
var code1 =
CreateCompilation
(@"
354
var code2 =
CreateCompilation
(@"
367
var code3 =
CreateCompilation
(@"
388
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
405
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
418
var reference =
CreateCompilation
(@"
508
CreateCompilation
(text, options: TestOptions.ReleaseModule).VerifyDiagnostics(
531
CreateCompilation
(text).VerifyEmitDiagnostics(
554
CreateCompilation
(text).VerifyEmitDiagnostics(
635
CreateCompilation
(text).VerifyEmitDiagnostics(
Attributes\AttributeTests_RefReadOnly.cs (61)
108
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
191
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
264
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
356
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
462
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
552
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
668
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
799
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
841
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
850
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
868
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
879
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
894
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
908
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
923
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
937
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
952
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
968
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
989
var referenceA =
CreateCompilation
(codeA).VerifyDiagnostics().ToMetadataReference();
1001
CreateCompilation
(codeB, references: new[] { referenceA }).VerifyDiagnostics(
1020
CreateCompilation
(code).VerifyDiagnostics(
1039
CreateCompilation
(code).VerifyDiagnostics(
1053
var code1 =
CreateCompilation
(@"
1059
var code2 =
CreateCompilation
(@"
1072
var code3 =
CreateCompilation
(@"
1095
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
1111
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
1135
CreateCompilation
(code, options: TestOptions.ReleaseModule).VerifyDiagnostics(
1144
var reference =
CreateCompilation
(@"
1233
CreateCompilation
(text, options: TestOptions.ReleaseModule).VerifyDiagnostics(
1255
CreateCompilation
(text).VerifyEmitDiagnostics(
1277
CreateCompilation
(text).VerifyEmitDiagnostics(
1357
var reference =
CreateCompilation
(@"
1363
var compilation =
CreateCompilation
(@"
1394
var reference =
CreateCompilation
(@"
1400
var compilation =
CreateCompilation
(@"
1436
var compilation =
CreateCompilation
(@"
1463
var compilation =
CreateCompilation
(@"
1490
var reference =
CreateCompilation
(@"
1497
var compilation =
CreateCompilation
(@"
1517
var reference =
CreateCompilation
(@"
1532
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseModule, references: new[] { reference });
1556
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseModule);
1742
var reference =
CreateCompilation
(@"
1833
var reference =
CreateCompilation
(@"
1935
CreateCompilation
(code).VerifyEmitDiagnostics(
1991
var reference =
CreateCompilation
(@"
2080
var reference =
CreateCompilation
(@"
2128
CreateCompilation
(code).VerifyEmitDiagnostics(
2153
CreateCompilation
(text).VerifyEmitDiagnostics(
2175
CreateCompilation
(text).VerifyEmitDiagnostics(
2210
CreateCompilation
(text).VerifyEmitDiagnostics(
2222
var reference =
CreateCompilation
(@"
2245
CreateCompilation
(text, references: new[] { reference }).VerifyEmitDiagnostics(
2271
CreateCompilation
(text).VerifyEmitDiagnostics(
2294
CreateCompilation
(text).VerifyEmitDiagnostics(
2319
CreateCompilation
(text).VerifyEmitDiagnostics(
2438
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
2464
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
2498
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
2532
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
Attributes\AttributeTests_RefSafetyRules.cs (17)
28
var comp =
CreateCompilation
(new[] { source, RefSafetyRulesAttributeDefinition }, parseOptions: TestOptions.Regular10);
31
comp =
CreateCompilation
(new[] { source, RefSafetyRulesAttributeDefinition });
39
var comp =
CreateCompilation
(RefSafetyRulesAttributeDefinition, parseOptions: TestOptions.Regular10);
49
comp =
CreateCompilation
(source, references: new[] { ref1 }, parseOptions: TestOptions.Regular10);
52
comp =
CreateCompilation
(source, references: new[] { ref1 });
70
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
73
comp =
CreateCompilation
(new[] { source1, source2 });
85
var comp =
CreateCompilation
(RefSafetyRulesAttributeDefinition);
95
comp =
CreateCompilation
(source, references: new[] { ref1 }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
128
comp =
CreateCompilation
(source);
152
var refA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10).EmitToImageReference();
154
var comp =
CreateCompilation
(source, references: new[] { refA }, parseOptions: TestOptions.Regular10);
157
comp =
CreateCompilation
(source, references: new[] { refA });
171
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
181
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
203
var refA =
CreateCompilation
(sourceA).EmitToImageReference();
Attributes\AttributeTests_StructLayout.cs (6)
239
CreateCompilation
(source).VerifyDiagnostics(
264
CreateCompilation
(source).VerifyDiagnostics(
291
CreateCompilation
(source).VerifyDiagnostics(
499
CreateCompilation
(source).VerifyDiagnostics(
584
CreateCompilation
(source).VerifyDiagnostics(
605
CreateCompilation
(source).VerifyDiagnostics();
Attributes\AttributeTests_Synthesized.cs (15)
123
var reference =
CreateCompilation
(source).EmitToImageReference();
145
var reference =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).EmitToImageReference();
262
CompileAndVerify(
CreateCompilation
(source, options: options), symbolValidator: m =>
290
CompileAndVerify(
CreateCompilation
(source, options: options), symbolValidator: m =>
371
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
428
CompileAndVerify(
CreateCompilation
(source, options: options), symbolValidator: module =>
647
var comp =
CreateCompilation
(source);
935
var comp =
CreateCompilation
(source);
1306
var compilation =
CreateCompilation
(code, options: options);
1355
var compilation =
CreateCompilation
(code, options: options);
1402
var compilation =
CreateCompilation
(code, options: options);
1446
var compilation =
CreateCompilation
(code, options: options);
1489
var compilation =
CreateCompilation
(source, options: options);
1515
var referenceComp =
CreateCompilation
(@"
1556
var referenceComp =
CreateCompilation
(@"
Attributes\AttributeTests_WellKnownAttributes.cs (168)
565
var libComp =
CreateCompilation
(source1);
577
var comp3 =
CreateCompilation
(source2, new[] { libAssemblyRef });
611
var comp =
CreateCompilation
(source);
643
var comp =
CreateCompilation
(source);
838
CreateCompilation
(source).VerifyDiagnostics(
883
var compilation =
CreateCompilation
(@"
913
var compilation =
CreateCompilation
(@"
942
var c1 =
CreateCompilation
(@"
986
var compilation =
CreateCompilation
(@"
1030
var compilation =
CreateCompilation
(@"
1279
var compilation =
CreateCompilation
(@"
1296
var compilation =
CreateCompilation
(@"
1320
var compilation =
CreateCompilation
(@"
1794
CreateCompilation
(source).VerifyDiagnostics(
1864
var comp =
CreateCompilation
(source);
1885
CreateCompilation
(source).VerifyEmitDiagnostics(
1915
CreateCompilation
(source).VerifyEmitDiagnostics(
2194
CreateCompilation
(@"
2205
CreateCompilation
(@"
2219
CreateCompilation
(@"
2230
CreateCompilation
(@"
2244
CreateCompilation
(@"
2255
CreateCompilation
(@"
2269
CreateCompilation
(@"
2280
CreateCompilation
(@"
2294
CreateCompilation
(@"
2443
var source =
CreateCompilation
(@"
2524
CreateCompilation
(source).VerifyDiagnostics(
2582
CreateCompilation
(source).VerifyDiagnostics(
3024
CreateCompilation
(source).VerifyDiagnostics(
3110
var compilation =
CreateCompilation
(@"
3390
CreateCompilation
(source).VerifyDiagnostics(
3499
CreateCompilation
(source).VerifyDiagnostics(
3613
CreateCompilation
(source).VerifyDiagnostics(
3988
CreateCompilation
(source).VerifyDiagnostics(
4026
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4032
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4066
CreateCompilation
(source).VerifyDiagnostics(
4105
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4111
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4143
CreateCompilation
(source).VerifyDiagnostics(
4183
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4196
CreateCompilation
(source2, references: new[] { assemblyRef }).VerifyDiagnostics(
4230
CreateCompilation
(source).VerifyDiagnostics(
4268
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4274
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4308
CreateCompilation
(source).VerifyDiagnostics(
4526
CreateCompilation
(source).VerifyDiagnostics(
4552
CreateCompilation
(source).VerifyDiagnostics(
4585
CreateCompilation
(source).VerifyDiagnostics(
4622
CreateCompilation
(source).VerifyDiagnostics(
4646
CreateCompilation
(source).VerifyDiagnostics(
4887
var lib_comp =
CreateCompilation
(lib_cs);
4890
var client1 =
CreateCompilation
("", references: new[] { lib_comp.ToMetadataReference() });
4893
var client2 =
CreateCompilation
("", references: new[] { lib_comp.EmitToImageReference() });
5016
var script =
CreateCompilation
("", parseOptions: TestOptions.Script);
5058
var compilation =
CreateCompilation
(source);
5143
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
5220
CreateCompilation
(source).VerifyDiagnostics(
5272
var comp1 =
CreateCompilation
(text1, options: opt);
5565
CreateCompilation
(source).VerifyDiagnostics();
5576
CreateCompilation
(source).VerifyDiagnostics(
5599
CreateCompilation
(source).VerifyDiagnostics(
5869
CreateCompilation
(source).VerifyDiagnostics(
6166
CreateCompilation
(source).VerifyDiagnostics(
6230
var peReference = MetadataReference.CreateFromStream(
CreateCompilation
(peSource).EmitToStream());
6255
CreateCompilation
(source, new[] { peReference }).VerifyDiagnostics(
6402
CreateCompilation
(source).VerifyDiagnostics(
6465
CreateCompilation
(source).VerifyDiagnostics(
6554
CreateCompilation
(source).VerifyDiagnostics(
6650
CreateCompilation
(source, null, TestOptions.ReleaseDll.WithConcurrentBuild(false)).VerifyDiagnostics(
6708
CreateCompilation
(source).VerifyDiagnostics(
6734
CreateCompilation
(source).VerifyDiagnostics();
6748
var other =
CreateCompilation
(s);
6808
CreateCompilation
(source).VerifyDiagnostics(
6876
CreateCompilation
(source).VerifyDiagnostics(
6991
CreateCompilation
(source).VerifyDiagnostics(
7036
CreateCompilation
(source).VerifyDiagnostics(
7105
CreateCompilation
(source).VerifyDiagnostics(
7194
CreateCompilation
(source).VerifyDiagnostics(
7259
CreateCompilation
(source).VerifyDiagnostics(
7294
CreateCompilation
(source).VerifyDiagnostics(
7333
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7384
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7419
CreateCompilation
(source).VerifyDiagnostics(
7496
CreateCompilation
(source).VerifyDiagnostics(
7595
CreateCompilation
(source).VerifyDiagnostics(
7641
CreateCompilation
(source).VerifyDiagnostics(
7686
CreateCompilation
(source).VerifyDiagnostics(
7741
CreateCompilation
(source).VerifyDiagnostics(
7831
CreateCompilation
(source).VerifyDiagnostics(
7907
CreateCompilation
(source).VerifyDiagnostics(
7961
CreateCompilation
(source).VerifyDiagnostics(
8017
CreateCompilation
(source).VerifyDiagnostics(
8074
CreateCompilation
(source).VerifyDiagnostics(
8125
CreateCompilation
(source).VerifyDiagnostics(
8167
CreateCompilation
(source).VerifyDiagnostics(
8209
CreateCompilation
(source).VerifyDiagnostics(
8253
CreateCompilation
(source).VerifyDiagnostics(
8294
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8327
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8358
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8389
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8429
var comp =
CreateCompilation
(source);
8460
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8497
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8547
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8598
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8606
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8653
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8661
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8697
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8705
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8740
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8748
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8783
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8848
var comp2 =
CreateCompilation
(source2, references: new[] { reference }, options: options);
8892
var comp1 =
CreateCompilation
(source1);
8900
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8940
var comp1 =
CreateCompilation
(source1);
8948
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9019
var comp1 =
CreateCompilation
(source1);
9027
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9073
var comp1 =
CreateCompilation
(source1);
9082
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9122
var comp1 =
CreateCompilation
(source1);
9131
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9174
var comp1 =
CreateCompilation
(source1);
9182
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9323
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9461
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9503
var comp1 =
CreateCompilation
(source1);
9510
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9546
var comp =
CreateCompilation
(source);
9595
var comp =
CreateCompilation
(source);
9647
var comp1 =
CreateCompilation
(source1);
9650
var comp2 =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() });
9713
CreateCompilation
(source).VerifyDiagnostics(
9736
var comp =
CreateCompilation
(source);
10422
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: options, parseOptions: parseOptions);
10457
var comp =
CreateCompilation
(source);
10695
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
12744
var metadata_comp =
CreateCompilation
(metadata_source, options: TestOptions.DebugModule.WithAllowUnsafe(true));
12865
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true));
12919
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef1 }, options: TestOptions.UnsafeDebugDll);
13113
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: TestOptions.UnsafeReleaseDll);
13361
CreateCompilation
(source).VerifyDiagnostics(
13426
CreateCompilation
(source).VerifyDiagnostics(
13459
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13528
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13553
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13598
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13619
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics();
13636
CreateCompilation
(code).VerifyDiagnostics(
13662
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13705
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13762
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13809
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13859
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13884
var comp =
CreateCompilation
(source);
13910
var comp =
CreateCompilation
(source);
13930
var comp =
CreateCompilation
(source);
13966
var comp =
CreateCompilation
(source);
13996
var comp =
CreateCompilation
(source);
14016
var comp =
CreateCompilation
(source);
14041
var comp =
CreateCompilation
(source);
14079
var comp =
CreateCompilation
(source);
14122
var comp =
CreateCompilation
(source);
Attributes\InternalsVisibleToAndStrongNameTests.cs (136)
94
var c =
CreateCompilation
(source,
109
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
141
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
170
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
195
var compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.Regular);
198
compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.RegularWithLegacyStrongName);
210
var compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.Regular);
215
compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.RegularWithLegacyStrongName);
255
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
281
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
298
var comp =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(keyFileName), parseOptions: parseOptions);
322
var other =
CreateCompilation
(s,
340
var comp =
CreateCompilation
(s,
368
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile("goo"), parseOptions: parseOptions);
383
CSharpCompilation other =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCryptoKeyFile(tempFile.Path), parseOptions: parseOptions);
396
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("goo"), parseOptions: parseOptions);
415
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
427
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("RoslynTestContainer"), parseOptions: parseOptions);
441
var compilation =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
453
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
464
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
477
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey), parseOptions: parseOptions);
501
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
517
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
524
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_publicKeyFile).WithPublicSign(true), parseOptions: parseOptions);
541
c =
CreateCompilation
(source1, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(snk.Path).WithPublicSign(true));
557
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
577
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
608
var comp =
CreateCompilation
("public class C{}",
630
var comp =
CreateCompilation
("public class C {}",
652
var comp =
CreateCompilation
(@"
676
var comp =
CreateCompilation
("public class C {}",
693
var comp =
CreateCompilation
("public class C {}",
717
var comp =
CreateCompilation
("public class C {}",
738
var comp =
CreateCompilation
("public class C {}",
755
var comp =
CreateCompilation
("public class C {}",
772
var c =
CreateCompilation
(source, options: TestOptions.SigningReleaseDll.
798
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, assemblyName: "Paul", parseOptions: parseOptions);
849
var otherStream =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToStream();
851
var c =
CreateCompilation
(
872
var c2 =
CreateCompilation
(
898
var other =
CreateCompilation
(s,
905
var requestor =
CreateCompilation
(
931
var other =
CreateCompilation
(s, assemblyName: "Paul", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
962
var friendClass =
CreateCompilation
(@"
988
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1012
var friendClass =
CreateCompilation
(@"
1032
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1059
var requestor =
CreateCompilation
(
1090
var other =
CreateCompilation
(s,
1120
var other =
CreateCompilation
(s,
1149
var other =
CreateCompilation
(s,
1180
var other =
CreateCompilation
(s,
1187
var requestor =
CreateCompilation
(
1215
var other =
CreateCompilation
(s,
1222
var requestor =
CreateCompilation
(
1255
var other =
CreateCompilation
(s,
1262
var requestor =
CreateCompilation
(
1286
var other =
CreateCompilation
(s,
1293
var requestor =
CreateCompilation
(
1322
var other =
CreateCompilation
(s,
1329
var requestor =
CreateCompilation
(
1364
var giver =
CreateCompilation
(s,
1371
var requestor =
CreateCompilation
(
1398
var other =
CreateCompilation
(
1415
var other =
CreateCompilation
(
1440
var comp =
CreateCompilation
($@"
1471
var comp2 =
CreateCompilation
(src,
1481
var comp3 =
CreateCompilation
(src,
1496
var other =
CreateCompilation
(
1552
var assemblyComp =
CreateCompilation
(source,
1576
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1589
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1602
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule, parseOptions: parseOptions);
1608
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll);
1625
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1632
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1662
var other =
CreateCompilation
(s, options: options);
1682
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1700
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"), parseOptions: parseOptions);
1719
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1739
var compilation =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1756
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1779
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1796
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
1810
var other =
CreateCompilation
(
1824
var assembly =
CreateCompilation
("",
1836
var other =
CreateCompilation
(@"
1847
var comp =
CreateCompilation
("",
1860
var other =
CreateCompilation
(
1879
var other =
CreateCompilation
(
1901
var other =
CreateCompilation
(
1917
var other =
CreateCompilation
(
1936
var other =
CreateCompilation
(
1971
var other =
CreateCompilation
(
2027
var comp =
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "asm2", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
2367
var comp1 =
CreateCompilation
(source1,
2397
CSharpCompilation unsigned =
CreateCompilation
(
2403
CSharpCompilation other =
CreateCompilation
(
2425
CSharpCompilation unsigned =
CreateCompilation
(
2431
CSharpCompilation other =
CreateCompilation
(
2702
var ca =
CreateCompilation
(
2752
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2780
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2794
var ca =
CreateCompilation
(source, parseOptions: parseOptions);
2815
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2826
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2838
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2849
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2897
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToImageReference();
2910
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess",
2934
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll).EmitToImageReference();
2948
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess", options: TestOptions.SigningReleaseDll);
2965
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_01_Lib");
2976
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_01");
2986
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_01");
3003
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_02_Lib");
3011
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_02");
3021
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_02");
3038
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_03_Lib");
3053
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_03");
3071
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_03");
3086
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_03");
3103
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_03");
3112
var comp3 =
CreateCompilation
(source3, new[] { compilationReference }, assemblyName: "Issue57742_03");
3126
comp3 =
CreateCompilation
(source3, new[] { imageReference }, assemblyName: "Issue57742_03");
3135
var comp4 =
CreateCompilation
(source4, new[] { compilationReference }, assemblyName: "Issue57742_03");
3149
comp4 =
CreateCompilation
(source4, new[] { imageReference }, assemblyName: "Issue57742_03");
3166
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_04_Lib");
3177
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_04");
3195
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_04");
3206
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_04");
3223
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_04");
3237
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_05_Lib");
3243
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_05");
3253
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_05");
Diagnostics\DiagnosticAnalyzerTests.cs (16)
1884
var metadataReference =
CreateCompilation
(source).ToMetadataReference();
1885
var compilation =
CreateCompilation
(source, new[] { metadataReference });
3140
var compilation =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3387
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3431
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3483
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3534
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3555
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3807
var compilation =
CreateCompilation
(source)
3880
var compilation =
CreateCompilation
(new[] { tree });
4038
Compilation compilation =
CreateCompilation
(new[] { tree });
4099
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition })
4148
var compilation =
CreateCompilation
(source);
4177
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
4217
var compilation =
CreateCompilation
(@"
4394
var compilation =
CreateCompilation
(new[] { tree });
Diagnostics\DiagnosticSuppressorTests.cs (19)
59
var compilation =
CreateCompilation
(source);
99
var compilation =
CreateCompilation
(SourceCode);
142
var compilation =
CreateCompilation
(SourceCode);
170
var compilation =
CreateCompilation
(source);
192
var compilation =
CreateCompilation
(source);
213
var compilation =
CreateCompilation
(source);
230
var compilation =
CreateCompilation
(new[] { source1, source2 });
253
var compilation =
CreateCompilation
(source);
276
var compilation =
CreateCompilation
(source);
301
var compilation =
CreateCompilation
(source);
323
var compilation =
CreateCompilation
(source);
387
var compilation =
CreateCompilation
(source);
429
var compilation =
CreateCompilation
(source);
474
var compilation =
CreateCompilation
(source);
528
var compilation =
CreateCompilation
(source);
581
var compilation =
CreateCompilation
(source);
631
var compilation =
CreateCompilation
(source);
671
var compilation =
CreateCompilation
(source, options: options);
688
var compilation =
CreateCompilation
(new[] { source });
Diagnostics\GetDiagnosticsTests.cs (15)
462
var compilation =
CreateCompilation
(new[] { syntaxTree1, syntaxTree2, syntaxTree3 });
485
var compilation =
CreateCompilation
(new[] { tree1, tree2 });
513
var compilation =
CreateCompilation
(source);
547
var compilation =
CreateCompilation
(source);
584
var compilation =
CreateCompilation
(source);
659
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
712
var compilation =
CreateCompilation
(sources);
739
var compilation =
CreateCompilation
(source);
777
var compilation =
CreateCompilation
(source);
834
var compilation =
CreateCompilation
(source);
1056
var compilation =
CreateCompilation
(source);
1120
var compilation =
CreateCompilation
(new[] { source1, source2 });
1430
var compilation =
CreateCompilation
(source);
1513
var compilation =
CreateCompilation
(new[] { source1, source2 });
1693
var compilation =
CreateCompilation
(source);
Diagnostics\MethodGroupConversion.cs (1)
49
var compilation =
CreateCompilation
(source);
FieldKeywordTests.cs (87)
216
var comp =
CreateCompilation
(source);
246
var comp =
CreateCompilation
(source);
278
var comp =
CreateCompilation
(source);
325
var comp =
CreateCompilation
(source);
360
var comp =
CreateCompilation
(source);
384
var comp =
CreateCompilation
(source);
407
var comp =
CreateCompilation
(source);
440
var comp =
CreateCompilation
(source);
460
var comp =
CreateCompilation
(source);
486
var comp =
CreateCompilation
(source);
502
var comp =
CreateCompilation
(source);
587
var comp =
CreateCompilation
(source);
680
var comp =
CreateCompilation
(
841
var comp =
CreateCompilation
(
950
var comp =
CreateCompilation
(
1063
var comp =
CreateCompilation
(
1160
var comp =
CreateCompilation
(
1267
var comp =
CreateCompilation
(source);
1307
var comp =
CreateCompilation
(source);
1399
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1997
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2085
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
2202
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2274
var comp =
CreateCompilation
(source);
2296
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
3768
var comp =
CreateCompilation
(source);
3801
var comp =
CreateCompilation
(source);
3854
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
3926
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
4559
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
4693
var comp =
CreateCompilation
(source);
4994
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5124
var comp =
CreateCompilation
(source);
5198
var comp =
CreateCompilation
(source);
5251
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5390
var comp =
CreateCompilation
(source);
5467
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5493
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5513
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5574
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5599
var comp =
CreateCompilation
(source);
5633
var comp =
CreateCompilation
(source);
5662
var comp =
CreateCompilation
(source);
5692
var comp =
CreateCompilation
(source);
5731
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5811
var comp =
CreateCompilation
(source);
5832
var comp =
CreateCompilation
(source);
5849
var comp =
CreateCompilation
(source);
5869
var comp =
CreateCompilation
(source);
5893
var comp =
CreateCompilation
(source);
5914
var comp =
CreateCompilation
(source);
5931
var comp =
CreateCompilation
(source);
5951
var comp =
CreateCompilation
(source);
5974
var comp =
CreateCompilation
(source);
5994
var comp =
CreateCompilation
(source);
6015
var comp =
CreateCompilation
(source);
6036
var comp =
CreateCompilation
(source);
7081
var comp =
CreateCompilation
(source);
7105
var comp =
CreateCompilation
(source);
7132
var comp =
CreateCompilation
(source);
7166
var comp =
CreateCompilation
(source);
7227
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition });
7269
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
7327
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
7395
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
7453
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7514
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7582
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
7922
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
7973
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8118
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8169
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8217
var comp =
CreateCompilation
(source);
8253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8295
var comp =
CreateCompilation
(sourceA);
9036
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
9513
var comp =
CreateCompilation
(source);
10197
var comp =
CreateCompilation
(
10300
var comp =
CreateCompilation
(
10399
var comp =
CreateCompilation
(
10487
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10521
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10627
var comp =
CreateCompilation
(source);
10673
var comp =
CreateCompilation
(source);
10708
var comp =
CreateCompilation
(source);
10737
var comp =
CreateCompilation
(source);
FirstClassSpanTests.cs (48)
1265
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1277
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1278
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1296
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1308
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1309
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1327
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1342
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1343
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1364
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1376
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1377
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1398
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1410
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1411
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1428
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1440
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1441
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1458
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1470
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedDiagnostics);
1471
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1490
CreateCompilation
(source).VerifyDiagnostics(
1513
CreateCompilation
(source).VerifyDiagnostics(
1542
var comp =
CreateCompilation
(source);
1576
var comp =
CreateCompilation
(source);
1601
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics().EmitToImageReference();
1666
CreateCompilation
(source).VerifyDiagnostics(
1688
CreateCompilation
(source).VerifyDiagnostics(
1813
CreateCompilation
(source).VerifyDiagnostics(
1866
CreateCompilation
(source).VerifyDiagnostics(
1893
var comp =
CreateCompilation
(source);
1993
var spanDll =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
2047
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2102
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2146
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2194
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2243
var span1 =
CreateCompilation
("""
2312
var span1 =
CreateCompilation
("""
2384
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2431
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2479
var span1 =
CreateCompilation
("""
2536
var span1 =
CreateCompilation
("""
2617
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2665
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2712
var span1 =
CreateCompilation
("""
2775
var comp1Ref =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40)
3366
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion)).VerifyDiagnostics(
5634
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
FlowAnalysis\FlowDiagnosticTests.cs (90)
40
CreateCompilation
(program).VerifyDiagnostics(
86
CreateCompilation
(program).VerifyDiagnostics(
117
var comp =
CreateCompilation
(program);
132
var comp =
CreateCompilation
(program);
153
var comp =
CreateCompilation
(program);
181
var comp =
CreateCompilation
(program);
208
var comp =
CreateCompilation
(program);
231
var comp =
CreateCompilation
(program);
255
var comp =
CreateCompilation
(program);
271
var comp =
CreateCompilation
(program);
289
var comp =
CreateCompilation
(program);
304
var comp =
CreateCompilation
(program);
324
var comp =
CreateCompilation
(program);
349
var comp =
CreateCompilation
(program);
380
var comp =
CreateCompilation
(program);
431
var comp =
CreateCompilation
(program);
454
var comp =
CreateCompilation
(program);
478
var comp =
CreateCompilation
(program);
495
var comp =
CreateCompilation
(program);
513
var comp =
CreateCompilation
(program);
534
var comp =
CreateCompilation
(program);
551
var comp =
CreateCompilation
(program);
572
var comp =
CreateCompilation
(program);
590
var comp =
CreateCompilation
(program);
609
CreateCompilation
(program).VerifyDiagnostics(
635
var comp =
CreateCompilation
(program);
656
CreateCompilation
(program).VerifyDiagnostics(
679
CreateCompilation
(program).VerifyDiagnostics();
695
CreateCompilation
(program).VerifyDiagnostics(
714
CreateCompilation
(program).VerifyDiagnostics(
743
CreateCompilation
(program).VerifyDiagnostics();
765
CreateCompilation
(program).VerifyDiagnostics();
783
var comp =
CreateCompilation
(program);
808
var comp =
CreateCompilation
(program);
836
var comp =
CreateCompilation
(program);
861
var comp =
CreateCompilation
(program).VerifyDiagnostics(
882
var comp =
CreateCompilation
(program);
910
var comp =
CreateCompilation
(program);
933
CreateCompilation
(program, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
980
CreateCompilation
(program)
1025
CreateCompilation
(program)
1061
CreateCompilation
(program)
1094
CreateCompilation
(program)
1119
CreateCompilation
(program)
1142
CreateCompilation
(program)
1174
CreateCompilation
(program)
1199
CreateCompilation
(program)
1213
CreateCompilation
(program)
1227
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1270
CreateCompilation
(program).VerifyDiagnostics(
1291
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1322
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1331
comp =
CreateCompilation
(text);
1350
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1356
comp =
CreateCompilation
(text);
1392
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1410
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1449
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1467
comp =
CreateCompilation
(text, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11);
1485
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1527
var comp =
CreateCompilation
(text);
1579
var comp =
CreateCompilation
(text);
1632
var comp =
CreateCompilation
(text);
1674
var comp =
CreateCompilation
(text);
1710
var comp =
CreateCompilation
(text);
1757
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1788
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1824
CreateCompilation
(program)
1851
CreateCompilation
(program)
1869
var comp =
CreateCompilation
(@"
1907
CreateCompilation
(program)
1940
CreateCompilation
(program)
1964
CreateCompilation
(source).VerifyDiagnostics();
1984
CreateCompilation
(program).VerifyDiagnostics();
2002
var c =
CreateCompilation
(program, new[] { TestReferences.SymbolsTests.CycledStructs });
2028
CreateCompilation
(source).VerifyDiagnostics();
2066
CreateCompilation
(program).VerifyDiagnostics(
2148
CreateCompilation
(text).VerifyDiagnostics(
2171
CreateCompilation
(text).VerifyDiagnostics();
2188
CreateCompilation
(program).VerifyDiagnostics();
2215
CreateCompilation
(source).VerifyDiagnostics();
2280
CreateCompilation
(source).VerifyDiagnostics();
2612
CSharpCompilation comp =
CreateCompilation
(source);
2637
CSharpCompilation comp =
CreateCompilation
(source);
2663
CSharpCompilation comp =
CreateCompilation
(source);
2702
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2711
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2732
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2744
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2774
CreateCompilation
(program).VerifyDiagnostics(
FlowAnalysis\FlowTestBase.cs (6)
119
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
140
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
166
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, targetFramework: targetFramework, references: references);
193
var comp =
CreateCompilation
(program);
266
var comp =
CreateCompilation
(program);
277
var comp =
CreateCompilation
(program);
FlowAnalysis\FlowTests.cs (122)
158
var comp =
CreateCompilation
(src);
169
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular7_3);
208
CreateCompilation
(source).VerifyDiagnostics(
347
CreateCompilation
(source).VerifyDiagnostics(
579
CreateCompilation
(source).VerifyDiagnostics(
665
CreateCompilation
(source).VerifyDiagnostics(
795
CreateCompilation
(source).VerifyDiagnostics(
863
CreateCompilation
(source).VerifyDiagnostics();
931
CreateCompilation
(source).VerifyDiagnostics(
1017
CreateCompilation
(source).VerifyDiagnostics(
1040
CreateCompilation
(source).VerifyDiagnostics(
1095
CreateCompilation
(source).VerifyDiagnostics(
1187
CreateCompilation
(source).VerifyDiagnostics(
1224
CreateCompilation
(source).VerifyDiagnostics(
1418
CreateCompilation
(source).VerifyDiagnostics(
1605
CreateCompilation
(source).VerifyDiagnostics(
1640
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1660
CreateCompilation
(source).VerifyDiagnostics(
1688
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1828
CreateCompilation
(source).VerifyDiagnostics(
2036
CreateCompilation
(source).VerifyDiagnostics();
2064
CreateCompilation
(source).VerifyDiagnostics(
2098
CreateCompilation
(source).VerifyDiagnostics(
2133
CreateCompilation
(source).VerifyDiagnostics(
2168
CreateCompilation
(source).VerifyDiagnostics(
2203
CreateCompilation
(source).VerifyDiagnostics(
2240
CreateCompilation
(source).VerifyDiagnostics(
2266
CreateCompilation
(source).VerifyDiagnostics(
2308
CreateCompilation
(source).VerifyDiagnostics(
2346
CreateCompilation
(source).VerifyDiagnostics(
2381
CreateCompilation
(source).VerifyDiagnostics(
2417
CreateCompilation
(source).VerifyDiagnostics(
2440
CreateCompilation
(source).VerifyDiagnostics(
2481
CreateCompilation
(source).VerifyDiagnostics(
2509
CreateCompilation
(source).VerifyDiagnostics();
2528
CreateCompilation
(source).VerifyDiagnostics();
2555
CreateCompilation
(source).VerifyDiagnostics();
2578
CreateCompilation
(source).VerifyDiagnostics();
2601
CreateCompilation
(source).VerifyDiagnostics();
2624
CreateCompilation
(source).VerifyDiagnostics();
2649
CreateCompilation
(source).VerifyDiagnostics();
2678
CreateCompilation
(source).VerifyDiagnostics(
2709
CreateCompilation
(source).VerifyDiagnostics(
2737
CreateCompilation
(source).VerifyDiagnostics();
2762
CreateCompilation
(source).VerifyDiagnostics();
2789
CreateCompilation
(source).VerifyDiagnostics(
2813
CreateCompilation
(source).VerifyDiagnostics();
2870
CreateCompilation
(source).VerifyDiagnostics(
2921
var comp =
CreateCompilation
(source);
2983
CreateCompilation
(source).VerifyDiagnostics(
3045
CreateCompilation
(source).VerifyDiagnostics(
3096
CreateCompilation
(source).VerifyDiagnostics(
3146
CreateCompilation
(source).VerifyDiagnostics(
3199
CreateCompilation
(source).VerifyDiagnostics(
3225
CreateCompilation
(source).VerifyDiagnostics(
3247
CreateCompilation
(source).VerifyDiagnostics(
3309
CreateCompilation
(source).VerifyDiagnostics(
3370
CreateCompilation
(source).VerifyDiagnostics(
3432
CreateCompilation
(source).VerifyDiagnostics(
3491
CreateCompilation
(source).VerifyDiagnostics(
3539
CreateCompilation
(source).VerifyDiagnostics(
3574
CreateCompilation
(source).VerifyDiagnostics(
3629
CreateCompilation
(source).VerifyDiagnostics(
3693
CreateCompilation
(source).VerifyDiagnostics(
3757
CreateCompilation
(source).VerifyDiagnostics(
3819
CreateCompilation
(source).VerifyDiagnostics(
3887
CreateCompilation
(source).VerifyDiagnostics(
3938
CreateCompilation
(source).VerifyDiagnostics(
3972
CreateCompilation
(source).VerifyDiagnostics(
3997
CreateCompilation
(source).VerifyDiagnostics(
4025
CreateCompilation
(source).VerifyDiagnostics(
4049
CreateCompilation
(source).VerifyDiagnostics(
4081
CreateCompilation
(source).VerifyDiagnostics(
4139
CreateCompilation
(source).VerifyDiagnostics(
4194
CreateCompilation
(source).VerifyDiagnostics(
4245
CreateCompilation
(source).VerifyDiagnostics(
4321
CreateCompilation
(source).VerifyDiagnostics(
4383
CreateCompilation
(source).VerifyDiagnostics(
4426
CreateCompilation
(source).VerifyDiagnostics(
4455
CreateCompilation
(source).VerifyDiagnostics(
4546
CreateCompilation
(source).VerifyDiagnostics(
4610
CreateCompilation
(source).VerifyDiagnostics(
4695
CreateCompilation
(source).VerifyDiagnostics(
4775
CreateCompilation
(source).VerifyDiagnostics(
4865
CreateCompilation
(source).VerifyDiagnostics(
4951
CreateCompilation
(source).VerifyDiagnostics(
4992
CreateCompilation
(source).VerifyDiagnostics(
5025
CreateCompilation
(source).VerifyDiagnostics(
5061
CreateCompilation
(source).VerifyDiagnostics(
5097
CreateCompilation
(source).VerifyDiagnostics(
5128
CreateCompilation
(source).VerifyDiagnostics(
5154
CreateCompilation
(source).VerifyDiagnostics(
5180
CreateCompilation
(source).VerifyDiagnostics();
5202
CreateCompilation
(source).VerifyDiagnostics(
5229
CreateCompilation
(source).VerifyDiagnostics();
5252
CreateCompilation
(source).VerifyDiagnostics(
5282
CreateCompilation
(source).VerifyDiagnostics(
5310
CreateCompilation
(source).VerifyDiagnostics(
5476
var comp =
CreateCompilation
(source);
5492
var comp =
CreateCompilation
(source);
5510
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
5581
CreateCompilation
(source).VerifyDiagnostics(
5604
CreateCompilation
(source).VerifyDiagnostics(
5631
CreateCompilation
(source).VerifyDiagnostics(
5658
CreateCompilation
(source).VerifyDiagnostics(
5689
CreateCompilation
(source).VerifyDiagnostics(
5713
CreateCompilation
(source).VerifyDiagnostics(
5743
CreateCompilation
(source).VerifyDiagnostics(
5774
CreateCompilation
(source).VerifyDiagnostics(
5804
CreateCompilation
(source).VerifyDiagnostics(
5838
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
5870
CreateCompilation
(source).VerifyDiagnostics();
5891
CreateCompilation
(source).VerifyDiagnostics();
5913
CreateCompilation
(source).VerifyDiagnostics();
5935
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5956
CreateCompilation
(source).VerifyDiagnostics(
5976
CreateCompilation
(source).VerifyDiagnostics(
6000
CreateCompilation
(source).VerifyDiagnostics(
6023
CreateCompilation
(source).VerifyDiagnostics(
6044
CreateCompilation
(source).VerifyDiagnostics(
6066
CreateCompilation
(source).VerifyDiagnostics(
6099
CreateCompilation
(source).VerifyDiagnostics(
FlowAnalysis\IterationJumpYieldStatementTests.cs (1)
912
var comp =
CreateCompilation
(new[] { tree });
FlowAnalysis\LocalFunctions.cs (51)
21
var comp =
CreateCompilation
(@"
50
var comp =
CreateCompilation
(@"
83
var comp =
CreateCompilation
(@"
109
var comp =
CreateCompilation
(@"
133
var comp =
CreateCompilation
(@"
156
var comp =
CreateCompilation
(@"
175
var comp =
CreateCompilation
(@"
195
var comp =
CreateCompilation
(@"
227
var comp =
CreateCompilation
(@"
255
var comp =
CreateCompilation
(@"
277
var comp =
CreateCompilation
(@"
302
var comp =
CreateCompilation
(@"
334
var comp =
CreateCompilation
(@"
365
var comp =
CreateCompilation
(@"
494
var comp =
CreateCompilation
(@"
509
var comp =
CreateCompilation
(@"
526
var comp =
CreateCompilation
(@"
546
var comp =
CreateCompilation
(@"
567
var comp =
CreateCompilation
(@"
589
var comp =
CreateCompilation
(@"
615
var comp =
CreateCompilation
(@"
649
var comp =
CreateCompilation
(@"
670
var comp =
CreateCompilation
(@"
693
var comp =
CreateCompilation
(@"
725
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
741
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
751
var comp =
CreateCompilation
(@"
821
var comp =
CreateCompilation
(@"
914
var comp =
CreateCompilation
(@"
939
var comp =
CreateCompilation
(@"
1011
var comp =
CreateCompilation
(@"
1036
var comp =
CreateCompilation
(@"
1074
var comp =
CreateCompilation
(@"
1123
var comp =
CreateCompilation
(@"
1150
var comp =
CreateCompilation
(@"
1180
var comp =
CreateCompilation
(@"
1218
var comp =
CreateCompilation
(@"
1255
var comp =
CreateCompilation
(@"
1291
var comp =
CreateCompilation
(@"
1321
var comp =
CreateCompilation
(@"
1347
var comp =
CreateCompilation
(@"
1371
var comp =
CreateCompilation
(@"
1397
var comp =
CreateCompilation
(@"
1453
var comp =
CreateCompilation
(@"
1502
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1512
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
1523
var comp =
CreateCompilation
(@"
1551
var comp =
CreateCompilation
(@"
1584
CreateCompilation
(@"
1607
CreateCompilation
(@"
1627
CreateCompilation
(@"
FlowAnalysis\RegionAnalysisTests.cs (19)
3091
var compilation =
CreateCompilation
(@"
4417
var compilation =
CreateCompilation
(@"
4522
var compilation =
CreateCompilation
(source.Replace("unsafe", keyword));
5525
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5566
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6213
var comp =
CreateCompilation
(source);
6443
var compilation =
CreateCompilation
(source);
6465
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6473
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7904
var compilation =
CreateCompilation
(source);
8047
var libraryReference =
CreateCompilation
(libSource).EmitToImageReference();
8091
var compilation =
CreateCompilation
(source);
8119
var compilation =
CreateCompilation
(source);
9243
var comp =
CreateCompilation
(@"
9374
var comp =
CreateCompilation
(@"
9399
var comp =
CreateCompilation
(@"
9448
var comp =
CreateCompilation
(@"
14103
var comp =
CreateCompilation
("""
14131
var comp =
CreateCompilation
("""
FlowAnalysis\StructTests.cs (41)
70
var comp =
CreateCompilation
(program);
104
var comp =
CreateCompilation
(text);
176
var comp =
CreateCompilation
(program);
203
var comp =
CreateCompilation
(program);
216
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
246
CreateCompilation
(program).VerifyDiagnostics(
278
CreateCompilation
(program).VerifyDiagnostics(
309
CreateCompilation
(program).VerifyDiagnostics(
346
CreateCompilation
(program).VerifyDiagnostics(
386
CreateCompilation
(program).VerifyDiagnostics(
426
CreateCompilation
(program).VerifyDiagnostics(
463
CreateCompilation
(program).VerifyDiagnostics(
495
CreateCompilation
(program).VerifyDiagnostics(
527
CreateCompilation
(program).VerifyDiagnostics(
535
var comp1 =
CreateCompilation
(
559
CreateCompilation
(source2,
569
CreateCompilation
(source2,
579
CreateCompilation
(source2,
586
CreateCompilation
(source2,
598
var comp1 =
CreateCompilation
(
616
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }).VerifyDiagnostics(
621
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }).VerifyDiagnostics(
631
var comp1 =
CreateCompilation
(
649
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
651
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
653
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
658
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
668
var comp1 =
CreateCompilation
(
694
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
696
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
698
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
703
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
726
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
738
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
743
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }).VerifyDiagnostics(
769
var comp1 =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugModule));
781
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable()).VerifyDiagnostics(
786
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable().WithWarningLevel(5)).VerifyDiagnostics(
802
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
814
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
816
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
OverloadResolutionPriorityTests.cs (2)
975
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1761
var attrRef =
CreateCompilation
(OverloadResolutionPriorityAttributeDefinition);
RefReadonlyParameterTests.cs (263)
183
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
258
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
259
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(expectedDiagnostics);
273
CreateCompilation
(source).VerifyDiagnostics(
284
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
303
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
355
CreateCompilation
(source).VerifyDiagnostics(
382
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
612
CreateCompilation
(source).VerifyDiagnostics(
726
CreateCompilation
(source).VerifyDiagnostics(
761
CreateCompilation
(source).VerifyDiagnostics(
1245
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1269
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1286
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1304
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1319
var comp2 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1329
var comp1b =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1").VerifyDiagnostics();
1331
var comp2b =
CreateCompilation
(source2, new[] { comp1bRef }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1345
var comp3 =
CreateCompilation
(source3, new[] { comp1bRef }, assemblyName: "Assembly3", options: TestOptions.UnsafeDebugDll);
1369
var comp1v1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1385
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1412
var comp4 =
CreateCompilation
(source4, assemblyName: "Assembly4").VerifyDiagnostics();
1416
var comp1v2 =
CreateCompilation
(source1, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1430
var comp1v3 =
CreateCompilation
(new[] { source1, source5 }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1437
var comp1v4 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1466
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1476
var comp2 =
CreateCompilation
(new[] { source2, RequiresLocationAttributeDefinition }, new[] { comp1Ref },
1489
var comp3 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly3", options: TestOptions.UnsafeReleaseDll);
1522
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
1542
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1558
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1574
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1589
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1590
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1638
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1643
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
1644
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1659
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1681
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1700
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1715
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1716
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1738
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1739
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1740
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1752
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1767
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1768
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1790
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1791
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1792
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1804
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1825
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1826
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1845
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1846
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1847
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1866
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1867
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1868
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1887
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1888
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1889
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1901
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1916
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1917
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1936
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1937
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1938
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1950
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1965
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1966
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1985
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1986
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1987
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1999
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2014
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2015
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2034
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2035
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2036
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2048
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2053
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2054
CreateCompilation
(source).VerifyDiagnostics();
2073
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2074
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2075
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2087
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2092
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2093
CreateCompilation
(source).VerifyDiagnostics();
2105
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2110
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2111
CreateCompilation
(source).VerifyDiagnostics();
2139
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2140
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2141
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2169
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2170
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2171
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2199
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2200
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2201
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2213
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2218
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2219
CreateCompilation
(source).VerifyDiagnostics();
2232
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2247
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2248
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2250
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2269
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2284
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2285
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2287
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2403
CreateCompilation
(source).VerifyDiagnostics(
2482
CreateCompilation
(source).VerifyDiagnostics(
2508
CreateCompilation
(source).VerifyDiagnostics(
2564
CreateCompilation
(source).VerifyDiagnostics(
2646
CreateCompilation
(source).VerifyDiagnostics(
2735
CreateCompilation
(source).VerifyDiagnostics(
2794
CreateCompilation
(source).VerifyDiagnostics(
2833
CreateCompilation
(source).VerifyDiagnostics(
2851
CreateCompilation
(source).VerifyDiagnostics();
2871
CreateCompilation
(source).VerifyDiagnostics(
2897
CreateCompilation
(source).VerifyDiagnostics(
2939
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
2992
CreateCompilation
(source).VerifyDiagnostics(
3061
CreateCompilation
(source).VerifyDiagnostics(
3141
CreateCompilation
(source).VerifyDiagnostics(
3163
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
3181
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3196
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3197
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
3236
CreateCompilation
(source).VerifyDiagnostics(
3288
CreateCompilation
(source).VerifyDiagnostics(
3334
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
3390
CreateCompilation
(source).VerifyDiagnostics(
3412
CreateCompilation
(source).VerifyDiagnostics(
3461
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3532
CreateCompilation
(source).VerifyDiagnostics(
3562
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3622
CreateCompilation
(source).VerifyDiagnostics(
3657
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3701
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3702
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3728
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
3786
CreateCompilation
(source).VerifyDiagnostics(
3833
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3848
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3849
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3869
CreateCompilation
(source).VerifyDiagnostics(
3927
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3928
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(expectedDiagnostics);
3975
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(
4133
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics2);
4134
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics2);
4135
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(expectedDiagnostics2);
4142
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4503
CreateCompilation
(source).VerifyDiagnostics(
4547
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4548
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4598
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4599
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4626
CreateCompilation
(source).VerifyDiagnostics(
4648
CreateCompilation
(source).VerifyDiagnostics(
4667
CreateCompilation
(source).VerifyDiagnostics(
4736
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warnings1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4737
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4802
CreateCompilation
(source).VerifyDiagnostics(
4837
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4838
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4872
CreateCompilation
(source).VerifyDiagnostics(
4891
var comp =
CreateCompilation
(source);
5250
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
5303
CreateCompilation
(source).VerifyDiagnostics(
5350
CreateCompilation
(source).VerifyDiagnostics(
5426
CreateCompilation
(source).VerifyDiagnostics(
5769
CreateCompilation
(source).VerifyDiagnostics(
5787
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5813
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5838
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
6053
CreateCompilation
(source).VerifyDiagnostics(
6072
CreateCompilation
(source).VerifyDiagnostics(
6093
CreateCompilation
(source, targetFramework: TargetFramework.Net50).VerifyDiagnostics(
6544
CreateCompilation
(source).VerifyDiagnostics(
6674
var comp1v1 =
CreateCompilation
(source1v1, assemblyName: "Assembly1");
6683
var comp1v2 =
CreateCompilation
(source1v2, assemblyName: "Assembly1");
6692
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, assemblyName: "Assembly2");
6695
var comp3v1 =
CreateCompilation
("", new[] { comp2Ref, comp1v1Ref }, assemblyName: "Assembly3");
6702
var comp3v2 =
CreateCompilation
("", new[] { comp2Ref, comp1v2Ref }, assemblyName: "Assembly3");
6725
CreateCompilation
(source).VerifyDiagnostics(
6835
CreateCompilation
(source).VerifyDiagnostics(
6859
CreateCompilation
(source).VerifyDiagnostics(
6885
CreateCompilation
(source).VerifyDiagnostics(
6904
CreateCompilation
(source).VerifyEmitDiagnostics();
6920
CreateCompilation
(source).VerifyEmitDiagnostics();
6936
CreateCompilation
(source).VerifyDiagnostics(
6958
CreateCompilation
(source).VerifyDiagnostics(
6981
CreateCompilation
(source).VerifyDiagnostics(
7007
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7012
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7032
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7037
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7061
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7066
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
7096
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7124
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7238
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
7277
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7278
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
7331
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7397
CreateCompilation
(source).VerifyDiagnostics(
7438
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7489
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7629
CreateCompilation
(source2).VerifyDiagnostics(
7688
CreateCompilation
(source3, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7689
CreateCompilation
(source3).VerifyDiagnostics(expectedDiagnostics);
7705
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7721
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7739
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7740
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7744
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7776
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7807
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7826
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7853
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7854
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7882
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
7971
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
7996
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8023
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8024
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8046
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8081
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8082
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8083
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8116
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8176
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8212
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8230
var comp =
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe);
8251
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8252
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8327
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
8342
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8372
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8384
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8385
CreateCompilation
(source3, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8418
CreateCompilation
(source).VerifyDiagnostics(
8502
CreateCompilation
(source1).VerifyDiagnostics(
8539
var comp1 =
CreateCompilation
(source1);
8549
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8578
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8596
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8597
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8633
var comp1 =
CreateCompilation
(source1);
8648
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8684
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8685
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8704
CreateCompilation
(source).VerifyDiagnostics(
RefStructInterfacesTests.cs (358)
36
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
45
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
47
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
69
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
78
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
80
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
102
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
125
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
149
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
160
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
162
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
181
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
192
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
194
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
213
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
238
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
266
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
277
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
279
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
315
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
317
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
342
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
370
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
396
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
407
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
409
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
428
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
439
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
441
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
460
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
485
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
514
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
525
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
527
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
552
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
563
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
565
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
590
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
618
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
644
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
948
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1032
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1057
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1543
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1633
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
2119
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
2216
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
2245
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2280
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
2313
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2358
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2442
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2481
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2545
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2607
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2668
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2704
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2720
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2740
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2756
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2776
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2795
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2815
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2831
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2849
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2865
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2883
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2902
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2920
comp =
CreateCompilation
(sourceB, references: new[] { refA });
3038
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3069
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3102
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3178
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3340
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3416
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
3472
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3515
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3563
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3739
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3805
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3882
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3931
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3981
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4043
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4128
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4177
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4231
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4286
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4353
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4366
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4386
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
4389
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4395
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4402
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4422
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4437
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
4439
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4445
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4466
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4507
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4533
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4562
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4584
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4616
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4642
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4677
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4720
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4746
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4775
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4812
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4838
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4867
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4889
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4918
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4942
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4973
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5000
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5029
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5058
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5083
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5111
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5138
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5159
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5180
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5201
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5226
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5255
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5280
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5309
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5338
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5367
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5408
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5474
var comp2 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net70);
5509
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5545
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5607
var comp2 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net70);
5638
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5674
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5699
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5733
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5756
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5784
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5817
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5853
var comp =
CreateCompilation
(src);
5863
CreateCompilation
(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
5865
CreateCompilation
(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5888
var comp =
CreateCompilation
(src);
5935
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5984
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6064
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6140
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6148
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6202
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6210
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6260
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6268
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6328
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6336
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6396
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6404
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6462
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6473
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6548
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6595
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6731
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6848
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6969
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7108
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7233
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7257
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7303
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7330
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7386
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7393
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
7396
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7432
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7622
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7840
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8037
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8230
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8429
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8505
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8673
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8715
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8738
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8788
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8795
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8798
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8814
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8889
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9093
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9303
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9456
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9668
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9892
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10104
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10338
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10433
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10500
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10697
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10936
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11152
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11379
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11596
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11691
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11743
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11801
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11819
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11876
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11889
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
11892
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11939
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11987
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12023
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12231
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12290
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12498
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12536
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12746
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12795
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13017
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13065
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13272
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13324
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13550
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13599
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13664
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13689
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13747
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13780
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13853
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13869
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13872
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13910
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13926
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13929
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13966
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14307
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14668
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15019
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15367
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15720
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15797
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16124
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16168
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16191
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16242
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16249
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16252
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16270
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16332
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16374
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16426
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16487
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16554
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16628
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16700
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16746
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16811
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16876
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16960
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17048
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17141
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17238
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17322
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17374
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17456
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17477
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17550
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17566
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17573
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17611
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17808
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18030
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18233
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18434
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18640
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18714
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18890
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18930
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18950
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19000
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19007
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19010
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19026
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19096
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19267
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19444
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19592
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19777
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19957
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20000
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20047
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20104
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20136
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20190
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20228
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20257
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20304
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20361
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20401
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20448
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20493
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20538
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20573
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20606
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20640
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20685
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20737
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20779
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20816
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20932
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20989
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21022
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21046
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21112
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21140
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21193
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21234
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21296
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21336
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21382
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21403
var comp =
CreateCompilation
(code, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21429
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21477
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21501
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21547
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21591
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21638
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21699
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21745
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21776
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21831
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
21881
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21928
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21968
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21990
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22020
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22060
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.DebugExe);
22094
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22136
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22178
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22234
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22305
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22370
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22408
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22425
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22473
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22529
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22584
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22632
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22676
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.UnsafeReleaseExe);
22725
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
22777
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
22823
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
RefUnsafeInIteratorAndAsyncTests.cs (51)
33
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
41
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
42
CreateCompilation
(source).VerifyEmitDiagnostics();
61
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
69
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
70
CreateCompilation
(source).VerifyEmitDiagnostics();
89
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
97
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
98
CreateCompilation
(source).VerifyEmitDiagnostics();
119
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
127
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
128
CreateCompilation
(source).VerifyEmitDiagnostics();
154
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
155
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
156
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
175
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
180
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
181
CreateCompilation
(source).VerifyEmitDiagnostics();
206
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
207
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
208
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
226
CreateCompilation
(source).VerifyEmitDiagnostics(
251
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
266
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
267
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
286
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
301
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
302
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
324
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
336
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
337
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
395
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
418
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
430
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
431
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
491
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
551
CreateCompilation
(source).VerifyEmitDiagnostics(
573
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
588
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
589
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
610
CreateCompilation
(source).VerifyEmitDiagnostics(
631
CreateCompilation
(source).VerifyEmitDiagnostics(
815
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
838
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
850
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
851
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
873
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
895
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
918
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
1051
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
1074
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
Semantics\CollectionExpressionTests.cs (536)
150
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
187
var comp =
CreateCompilation
(source);
222
var comp =
CreateCompilation
(source);
257
var comp =
CreateCompilation
(source);
285
var comp =
CreateCompilation
(source);
313
var comp =
CreateCompilation
(source);
338
var comp =
CreateCompilation
(source);
357
var comp =
CreateCompilation
(source);
376
var comp =
CreateCompilation
(source);
397
var comp =
CreateCompilation
(source);
445
var comp =
CreateCompilation
(source);
551
var comp =
CreateCompilation
(source);
584
var comp =
CreateCompilation
(source);
692
var comp =
CreateCompilation
(source);
714
var comp =
CreateCompilation
(source);
781
var comp =
CreateCompilation
(source);
806
var comp =
CreateCompilation
(source);
840
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
867
var comp =
CreateCompilation
(source);
902
var comp =
CreateCompilation
(source);
956
var comp =
CreateCompilation
(source);
1048
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
1135
CreateCompilation
(source).VerifyEmitDiagnostics(
1234
var comp =
CreateCompilation
(source);
1433
var comp =
CreateCompilation
(
1528
var comp =
CreateCompilation
(
1628
var comp =
CreateCompilation
(
1732
var comp =
CreateCompilation
(
1918
var comp =
CreateCompilation
(
1925
comp =
CreateCompilation
(
1932
comp =
CreateCompilation
(
1958
comp =
CreateCompilation
(
1964
comp =
CreateCompilation
(
1971
comp =
CreateCompilation
(
2006
var comp =
CreateCompilation
(
2027
comp =
CreateCompilation
(
2075
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80);
2078
comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net80);
2107
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2216
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
2244
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
2309
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(version)).VerifyDiagnostics(
2336
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2374
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
2583
CreateCompilation
(source,
2587
CreateCompilation
(source,
2591
CreateCompilation
(source,
2770
CreateCompilation
(source,
2774
CreateCompilation
(source,
2778
CreateCompilation
(source,
2936
CreateCompilation
(source,
2940
CreateCompilation
(source,
2944
CreateCompilation
(source,
2988
var comp =
CreateCompilation
(source);
3074
var comp =
CreateCompilation
(
3112
var comp =
CreateCompilation
(
3146
var comp =
CreateCompilation
(
3188
var comp =
CreateCompilation
(
3274
var comp =
CreateCompilation
(source);
3312
var comp =
CreateCompilation
(source);
3336
var comp =
CreateCompilation
(source);
3362
var comp =
CreateCompilation
(source);
3406
var comp =
CreateCompilation
(source);
3437
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3461
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3502
var comp =
CreateCompilation
(source);
3532
var comp =
CreateCompilation
(source);
3557
var comp =
CreateCompilation
(source);
3680
var comp =
CreateCompilation
(source);
3728
var comp =
CreateCompilation
(source);
3769
var comp =
CreateCompilation
(source);
3808
var comp =
CreateCompilation
(source);
3850
var comp =
CreateCompilation
(source);
3903
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3927
var comp =
CreateCompilation
(source);
3951
var comp =
CreateCompilation
(source);
3976
var comp =
CreateCompilation
(source);
4014
var comp =
CreateCompilation
(source);
4046
var comp =
CreateCompilation
(source);
4065
var comp =
CreateCompilation
(source);
4197
var comp =
CreateCompilation
(source);
4245
var comp =
CreateCompilation
(source);
4344
var comp =
CreateCompilation
(source);
4374
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4460
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4482
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4532
var comp =
CreateCompilation
(source);
4563
var comp =
CreateCompilation
(source);
4688
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
4765
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4812
var comp =
CreateCompilation
(source);
4834
var comp =
CreateCompilation
(source);
4861
var comp =
CreateCompilation
(source);
4888
var comp =
CreateCompilation
(source);
4915
var comp =
CreateCompilation
(source);
5124
var comp =
CreateCompilation
(source);
5352
var comp =
CreateCompilation
(source);
5374
var comp =
CreateCompilation
(source);
5634
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5663
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5682
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5689
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5731
var comp =
CreateCompilation
(source);
5759
var comp =
CreateCompilation
(source);
5820
var comp =
CreateCompilation
(source);
5881
var comp =
CreateCompilation
(source);
5957
var comp =
CreateCompilation
(source);
6034
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6061
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6089
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6139
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80);
6509
var comp =
CreateCompilation
(source);
6547
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
6572
var comp =
CreateCompilation
(source);
6603
var comp =
CreateCompilation
(source);
6656
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
6750
var comp =
CreateCompilation
(source);
6881
var comp =
CreateCompilation
(source);
6913
var comp =
CreateCompilation
(source);
6938
var comp =
CreateCompilation
(source);
7009
var comp =
CreateCompilation
(source);
7041
var comp =
CreateCompilation
(source);
7068
var comp =
CreateCompilation
(source);
7097
var comp =
CreateCompilation
(source);
7129
var comp =
CreateCompilation
(source);
7267
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, s_collectionExtensions });
7327
var comp =
CreateCompilation
(source);
7356
var comp =
CreateCompilation
(source);
7385
var comp =
CreateCompilation
(source);
7418
var comp =
CreateCompilation
(source);
7442
var comp =
CreateCompilation
(source);
7473
var comp =
CreateCompilation
(source);
7510
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
7595
var comp =
CreateCompilation
(source);
7628
var comp =
CreateCompilation
(source);
7653
var comp =
CreateCompilation
(sourceA);
7666
comp =
CreateCompilation
(sourceB, references: new[] { refA });
7724
var comp =
CreateCompilation
(source);
7756
var comp =
CreateCompilation
(source);
7820
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7895
var comp =
CreateCompilation
(source);
7930
var comp =
CreateCompilation
(source);
8034
var comp =
CreateCompilation
(source);
8078
var comp =
CreateCompilation
(source);
8115
var comp =
CreateCompilation
(source);
8144
var comp =
CreateCompilation
(source);
8176
var comp =
CreateCompilation
(source);
8208
var comp =
CreateCompilation
(source);
8245
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
8308
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
8393
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
8478
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
8571
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8622
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8672
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8805
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
8823
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8877
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
8906
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
9050
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
9126
var comp =
CreateCompilation
(source);
9153
var comp =
CreateCompilation
(source);
9179
var comp =
CreateCompilation
(source);
9198
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
9220
comp =
CreateCompilation
(sourceB, references: new[] { refA });
9243
comp =
CreateCompilation
(new[] { sourceC, s_collectionExtensions }, references: new[] { refB });
9350
var comp =
CreateCompilation
(source);
9721
var comp =
CreateCompilation
(source);
9742
var comp =
CreateCompilation
(source);
9764
var comp =
CreateCompilation
(source);
10098
var comp =
CreateCompilation
(source);
10465
var comp =
CreateCompilation
(source);
10484
var comp =
CreateCompilation
(source);
10503
var comp =
CreateCompilation
(source);
10953
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11000
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11058
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11141
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11213
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11446
var comp =
CreateCompilation
(source);
11474
comp =
CreateCompilation
(source);
11484
comp =
CreateCompilation
(source);
11494
comp =
CreateCompilation
(source);
11504
comp =
CreateCompilation
(source);
12063
var comp =
CreateCompilation
(source);
12085
var comp =
CreateCompilation
(source);
12168
var comp =
CreateCompilation
(source);
12184
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
12196
comp =
CreateCompilation
(sourceB, references: new[] { refA });
12205
comp =
CreateCompilation
(sourceC, references: new[] { refA, refB });
12208
comp =
CreateCompilation
(sourceC, references: new[] { refB });
12247
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12318
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12421
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12441
comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
13389
var comp =
CreateCompilation
(source);
13424
var comp =
CreateCompilation
(source);
13762
var comp =
CreateCompilation
(source);
13789
var comp =
CreateCompilation
(source);
13814
var comp =
CreateCompilation
(source);
13872
var comp =
CreateCompilation
(source);
13901
var comp =
CreateCompilation
(source);
14012
var comp =
CreateCompilation
(source);
14051
var comp =
CreateCompilation
(source);
14083
var comp =
CreateCompilation
(source);
14110
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
14130
CreateCompilation
(source).VerifyDiagnostics(
14151
CreateCompilation
(source).VerifyDiagnostics(
14175
CreateCompilation
(source).VerifyDiagnostics(
14217
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14287
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14360
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14374
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14428
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14497
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14542
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14600
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14702
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14829
var comp =
CreateCompilation
(source);
14860
var comp =
CreateCompilation
(source);
14890
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
14941
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
15001
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
15069
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15123
var comp =
CreateCompilation
(source);
15148
var comp =
CreateCompilation
(source);
15180
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15388
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: targetFramework, options: TestOptions.ReleaseExe);
15581
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15609
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
15637
comp =
CreateCompilation
(sourceC, references: new[] { refA }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15679
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15767
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15816
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15865
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15914
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15954
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15969
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16016
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16081
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16130
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16172
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16187
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16226
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16276
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16311
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16345
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16377
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16391
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16406
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
16434
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16449
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16497
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16533
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16576
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16617
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16669
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16709
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16750
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16790
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16833
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16885
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16915
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16930
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16964
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16979
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17018
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17085
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17150
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, targetFramework: TargetFramework.Net80);
17211
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17255
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17303
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17339
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17388
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17437
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17483
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17529
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17572
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17587
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17620
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17665
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17680
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17711
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17726
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17767
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17814
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17866
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17926
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17941
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17971
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17986
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18016
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18031
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18074
var comp =
CreateCompilation
(new[] { sourceA, sourceAttribute }, targetFramework: TargetFramework.Net80);
18088
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18118
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18132
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18198
var comp =
CreateCompilation
(
18269
var comp =
CreateCompilation
(
18320
var comp =
CreateCompilation
(
18368
var comp =
CreateCompilation
(
18503
var comp =
CreateCompilation
(
18550
var comp =
CreateCompilation
(
18598
var comp =
CreateCompilation
(
18646
var comp =
CreateCompilation
(
18689
var comp =
CreateCompilation
(
18732
var comp =
CreateCompilation
(
18775
var comp =
CreateCompilation
(
18818
var comp =
CreateCompilation
(
18851
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18866
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18908
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18942
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18957
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18988
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19003
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19046
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19085
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19118
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19148
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19181
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19222
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19252
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19269
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19323
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19382
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19418
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
19436
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
19489
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19520
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19534
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19566
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19604
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19669
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19697
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19714
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19775
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19832
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19857
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA, targetFramework: TargetFramework.Net80);
19872
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19882
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
20194
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20224
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20258
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20294
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
20327
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
20354
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20679
var comp =
CreateCompilation
(
20904
var comp =
CreateCompilation
(source);
21683
var comp =
CreateCompilation
(
22043
var comp =
CreateCompilation
(source);
22074
var comp =
CreateCompilation
(source);
22174
CreateCompilation
(source).VerifyDiagnostics(
22439
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
22527
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22585
comp =
CreateCompilation
(
22697
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.Net60);
22724
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: TargetFramework.Net60, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
23395
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
23765
var comp =
CreateCompilation
(
23936
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
24124
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
24206
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
24404
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
25003
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25037
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25148
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
25520
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
25884
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
25926
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25962
var comp =
CreateCompilation
(source);
25988
var comp =
CreateCompilation
(source);
26108
var comp =
CreateCompilation
(source);
26234
var comp =
CreateCompilation
(source);
26301
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26360
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
26445
var comp =
CreateCompilation
(source);
26514
var comp =
CreateCompilation
(source);
26572
var comp =
CreateCompilation
(source);
26642
var comp =
CreateCompilation
(source);
26720
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26782
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26817
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26889
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26938
var comp =
CreateCompilation
(source);
26999
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
27028
var comp =
CreateCompilation
(source);
27051
var comp =
CreateCompilation
(source);
27130
var comp =
CreateCompilation
(source);
27171
var comp =
CreateCompilation
(source);
27204
var comp =
CreateCompilation
(source);
27820
var comp =
CreateCompilation
(source);
27843
var comp =
CreateCompilation
(source);
27875
var comp =
CreateCompilation
(source);
27961
CreateCompilation
(source).VerifyEmitDiagnostics(
27984
CreateCompilation
(source).VerifyEmitDiagnostics(
28004
CreateCompilation
(source).VerifyEmitDiagnostics(
28024
CreateCompilation
(source).VerifyEmitDiagnostics(
28070
CreateCompilation
(source).VerifyEmitDiagnostics(
28093
CreateCompilation
(source).VerifyEmitDiagnostics(
28116
CreateCompilation
(source).VerifyEmitDiagnostics(
28139
CreateCompilation
(source).VerifyEmitDiagnostics(
28167
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28197
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28220
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28243
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28262
CreateCompilation
(source).VerifyEmitDiagnostics(
28289
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28313
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28336
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28356
CreateCompilation
(source).VerifyEmitDiagnostics(
28378
CreateCompilation
(source).VerifyEmitDiagnostics(
28402
CreateCompilation
(source).VerifyEmitDiagnostics(
28424
CreateCompilation
(source).VerifyEmitDiagnostics(
28438
CreateCompilation
(source).VerifyEmitDiagnostics(
28459
CreateCompilation
(source).VerifyEmitDiagnostics(
28481
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
28506
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
28549
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
28583
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
28613
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28657
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28700
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28746
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28789
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28829
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28868
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28907
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
28935
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28988
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29042
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29103
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29167
CreateCompilation
(source).VerifyEmitDiagnostics();
29195
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29237
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29284
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29335
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
29375
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
29434
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29460
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29484
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29508
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29531
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29589
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29648
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net70);
29686
CreateCompilation
(source).VerifyEmitDiagnostics(
29719
CreateCompilation
(source).VerifyEmitDiagnostics(
29747
CreateCompilation
(source).VerifyEmitDiagnostics(
29774
CreateCompilation
(source).VerifyEmitDiagnostics(
29805
CreateCompilation
(source, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
29843
CreateCompilation
(source).VerifyEmitDiagnostics(
29871
CreateCompilation
(source).VerifyEmitDiagnostics(
29900
CreateCompilation
(source).VerifyEmitDiagnostics(
29933
CreateCompilation
(source).VerifyEmitDiagnostics(
29967
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
29995
CreateCompilation
(source).VerifyEmitDiagnostics(
30030
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
30058
CreateCompilation
(source).VerifyEmitDiagnostics(
30082
var comp =
CreateCompilation
(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
30398
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net60);
30422
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net60);
30457
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
30479
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
30511
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
30533
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
30906
var comp =
CreateCompilation
(source);
30934
var comp =
CreateCompilation
(source);
30974
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
31023
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
31044
CreateCompilation
(src).VerifyEmitDiagnostics(
31074
CreateCompilation
(src).VerifyEmitDiagnostics(
31095
CreateCompilation
(src).VerifyEmitDiagnostics(
31116
CreateCompilation
(src).VerifyEmitDiagnostics(
31144
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
31196
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31239
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31277
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31310
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31347
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31388
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31434
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31477
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31525
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31579
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31641
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31681
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31735
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31785
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31837
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31880
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31923
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31966
CreateCompilation
(src).VerifyEmitDiagnostics();
32011
CreateCompilation
(source).VerifyEmitDiagnostics();
32041
CreateCompilation
(source).VerifyEmitDiagnostics();
32091
CreateCompilation
(source).VerifyEmitDiagnostics();
32122
CreateCompilation
(source).VerifyEmitDiagnostics();
32166
CreateCompilation
(source).VerifyEmitDiagnostics();
32213
CreateCompilation
(source).VerifyEmitDiagnostics();
32232
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32248
CreateCompilation
(src).VerifyEmitDiagnostics(
32267
CreateCompilation
(src).VerifyEmitDiagnostics(
32288
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32331
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics();
32356
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32387
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32429
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32478
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics();
32532
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32584
CreateCompilation
(src).VerifyEmitDiagnostics(
32628
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32691
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32741
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32773
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32802
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32846
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32880
CreateCompilation
(src2, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32926
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32966
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32992
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33026
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33076
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33115
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33154
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33195
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33238
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33288
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33321
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33344
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
33359
CreateCompilation
(src).VerifyEmitDiagnostics(
33376
CreateCompilation
(src).VerifyEmitDiagnostics(
33392
CreateCompilation
(src).VerifyEmitDiagnostics(
33429
var comp =
CreateCompilation
(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
33460
var compilation =
CreateCompilation
(code);
33497
var compilation =
CreateCompilation
(code);
34146
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
34648
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
Semantics\ExperimentalAttributeTests.cs (187)
54
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
55
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
83
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
103
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
129
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
144
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
154
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
169
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
194
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
211
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
230
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
236
var moduleComp =
CreateCompilation
(libSrc1, options: TestOptions.DebugModule, references: new[] { attrRef });
249
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef, moduleRef });
260
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
266
var moduleComp =
CreateCompilation
(libSrc1, options: TestOptions.DebugModule, references: new[] { attrRef });
279
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef, moduleRef }).EmitToImageReference(), attrRef });
316
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
346
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
372
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
386
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
401
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
411
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
426
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
451
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
468
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
479
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
496
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
521
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
533
var moduleComp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseModule, references: new[] { attrRef });
546
var assemblyComp =
CreateCompilation
(libSrc2, references: new[] { moduleRef, attrRef });
557
var comp =
CreateCompilation
(src, references: new[] { assemblyRef, moduleRef, attrRef });
570
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
588
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
603
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
621
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
643
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
663
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
671
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
691
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
731
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
732
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
778
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
779
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
803
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
822
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
854
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
855
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
879
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
880
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
888
var missingRef =
CreateCompilation
("public class Base { }", assemblyName: "missing").EmitToImageReference();
901
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { missingRef }).EmitToImageReference() });
918
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
933
var derivedComp =
CreateCompilation
(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
936
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
955
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
968
var derivedComp =
CreateCompilation
(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
971
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
983
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
998
var derivedComp =
CreateCompilation
(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
1001
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
1020
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
1033
var derivedComp =
CreateCompilation
(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
1036
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
1061
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1062
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1090
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1091
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1121
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1122
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1152
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1153
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1183
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1184
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1214
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1215
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1245
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1246
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1272
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1273
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1296
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1297
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1322
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1323
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1345
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1346
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1365
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1366
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1385
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
1408
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1429
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1450
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1473
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
1499
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1523
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1550
var comp =
CreateCompilation
(new CSharpTestSource[] { (src, "0.cs"), libSrc, experimentalAttributeSrc });
1576
var comp =
CreateCompilation
(new CSharpTestSource[] { (src, "0.cs"), experimentalAttributeSrc });
1597
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1620
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1708
var comp =
CreateCompilation
(src);
1738
var libComp =
CreateCompilation
(libSrc);
1744
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1772
var comp =
CreateCompilation
(src);
1798
var libComp =
CreateCompilation
(libSrc);
1804
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1839
var libComp =
CreateCompilation
(libSrc);
1845
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1880
var libComp =
CreateCompilation
(libSrc);
1886
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1912
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1938
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1967
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1968
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1995
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2023
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2048
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2049
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2078
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2079
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2112
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2113
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2142
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2143
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2175
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2176
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2205
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2206
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2235
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2236
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2262
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2263
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2293
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2294
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2336
?
CreateCompilation
(libsSrc.Append(src).ToArray())
2337
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(libsSrc).EmitToImageReference() });
2406
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2407
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2435
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2436
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2465
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2466
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2495
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2496
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
Semantics\InlineArrayTests.cs (546)
101
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
135
var comp =
CreateCompilation
(src);
158
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
181
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
227
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
252
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
384
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
449
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
514
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
581
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
685
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
775
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
854
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
960
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
998
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1085
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1165
var comp1 =
CreateCompilation
(src1 + InlineArrayAttributeDefinition, targetFramework: TargetFramework.Net50);
1166
var comp2 =
CreateCompilation
("", references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net60);
1186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1242
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1279
var comp =
CreateCompilation
(src);
1304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1330
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1361
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1387
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1412
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1436
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1533
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
1572
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1607
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1642
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1677
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1712
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1737
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1764
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1787
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1811
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1848
var comp =
CreateCompilation
(src);
1872
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1902
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1917
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2028
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2113
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2131
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2153
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2175
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2201
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2251
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2279
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2299
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2324
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2353
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2422
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2462
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2492
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
2495
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
2553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2590
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2633
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2671
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2703
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2782
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2824
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2864
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2889
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2914
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2945
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2983
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3015
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3041
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3070
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3100
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3134
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3260
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3560
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3792
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4017
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4142
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4271
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4402
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4678
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4836
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4894
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4950
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4997
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5027
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
5074
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5309
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5527
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5871
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5988
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6017
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6020
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6071
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6167
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6183
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6186
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6247
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6291
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6329
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6362
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6401
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6444
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6487
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6584
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6622
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6681
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6711
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6757
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6780
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6813
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6857
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6907
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6957
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7013
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7063
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7118
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7153
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7187
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7257
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7472
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7617
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7785
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7947
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8105
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8163
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8205
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8250
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8280
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8313
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8337
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8340
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
8372
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8425
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8480
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8543
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8597
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8659
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8691
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8721
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8753
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8773
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8807
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8885
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8939
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8979
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9016
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9053
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9118
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9159
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9193
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9242
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9289
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9340
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9391
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9430
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9475
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9521
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9558
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9593
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9641
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9693
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9745
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9785
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9825
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9871
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9910
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9950
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9979
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10013
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10060
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10111
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10150
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10187
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10222
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10261
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10304
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10345
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10390
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10431
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10460
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10492
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10654
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10706
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10746
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10792
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10838
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10873
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10908
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10947
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10986
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11026
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11060
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11094
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11130
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11176
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11222
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11272
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11346
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11398
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11437
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11472
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11514
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11543
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11569
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11596
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11622
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11650
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11674
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11700
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11723
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11746
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11769
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11790
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11811
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11832
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11858
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11884
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11905
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11931
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11959
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12000
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12056
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12106
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12140
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12170
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12260
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12327
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12411
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12439
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12473
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12496
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12523
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12551
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12585
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12608
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12635
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12662
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12700
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12725
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12748
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12790
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12835
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12867
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12892
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12914
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12968
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13027
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13080
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13117
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
13154
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13210
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13269
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13311
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13342
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13359
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13382
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13396
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13428
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13473
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13524
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13542
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13585
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13603
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13653
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13694
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13748
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13806
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13864
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13917
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13968
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14019
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14055
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14086
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14116
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14156
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14185
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14235
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14265
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14294
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14338
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14366
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14420
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14445
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14469
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14501
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14538
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14563
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14596
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14635
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14684
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14733
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14781
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14828
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14872
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14929
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14973
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15023
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15081
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15117
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15163
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15192
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
15195
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
15247
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15303
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15345
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15384
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15439
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15500
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15563
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15617
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15645
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15671
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15697
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15727
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15770
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15812
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15854
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15893
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15919
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15948
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15977
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16012
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16047
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16084
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16121
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16144
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16182
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16230
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16282
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16317
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16356
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16391
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16432
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16482
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16533
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16578
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16617
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16670
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16877
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16906
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16940
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16970
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16973
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
16976
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
17008
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17034
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17045
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17048
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17079
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17095
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.RegularNext, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17098
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17128
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17162
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17185
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17212
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17234
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17266
var compilation =
CreateCompilation
(source);
17294
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17333
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17387
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
17414
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17441
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17468
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17495
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17540
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17602
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17658
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17733
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17775
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17810
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17846
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17904
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17987
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18010
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18046
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18082
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18118
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18167
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18217
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18243
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18274
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18302
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18331
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18370
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18402
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18433
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18463
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18503
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18540
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18638
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18711
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18773
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18795
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18818
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18821
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
18824
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
18865
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18950
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19000
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19064
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19086
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19122
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19157
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19199
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19287
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19334
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19367
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19422
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19488
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19525
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19566
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19604
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19642
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19680
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19717
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19746
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19781
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19844
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19882
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19923
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19981
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20119
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20168
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20319
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20350
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20381
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20441
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20578
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20627
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20778
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20812
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20843
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20892
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20995
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21027
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21072
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21090
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21092
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21123
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21140
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21142
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21174
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21189
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21191
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21241
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21253
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21255
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21281
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21297
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21299
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21325
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21337
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21339
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21390
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21418
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
21430
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
21431
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21470
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21488
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21490
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21539
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21609
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21656
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21729
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21768
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21799
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21858
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21928
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21975
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22048
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22090
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22121
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
22169
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22232
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22272
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22325
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22343
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22345
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22384
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22401
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22403
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22443
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22458
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22460
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22508
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22520
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22522
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22548
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22564
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22566
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22592
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22604
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22606
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22653
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22655
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22681
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22693
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
22694
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22731
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22749
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22751
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22772
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22805
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22832
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22856
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
22875
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
22912
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22935
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22971
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22999
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23021
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23054
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23087
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23109
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23131
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23160
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23222
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23266
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23289
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
23316
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23317
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
Semantics\LockTests.cs (27)
205
CreateCompilation
(source).VerifyDiagnostics(
226
CreateCompilation
(source).VerifyDiagnostics(
252
CreateCompilation
(source).VerifyDiagnostics(
278
CreateCompilation
(source).VerifyDiagnostics(
304
CreateCompilation
(source).VerifyDiagnostics(
330
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
565
CreateCompilation
(source).VerifyDiagnostics(
588
CreateCompilation
(source).VerifyDiagnostics(
614
CreateCompilation
(source).VerifyDiagnostics(
640
CreateCompilation
(source).VerifyDiagnostics(
666
CreateCompilation
(source).VerifyDiagnostics(
692
CreateCompilation
(source).VerifyDiagnostics(
718
CreateCompilation
(source).VerifyDiagnostics(
745
CreateCompilation
(source).VerifyDiagnostics(
867
CreateCompilation
(source).VerifyDiagnostics(
1107
CreateCompilation
(source).VerifyDiagnostics(
1133
CreateCompilation
(source).VerifyDiagnostics(
1159
CreateCompilation
(source).VerifyDiagnostics(
1198
CreateCompilation
(source).VerifyDiagnostics(
1224
CreateCompilation
(source).VerifyDiagnostics(
1250
CreateCompilation
(source).VerifyDiagnostics(
1276
CreateCompilation
(source).VerifyDiagnostics(
1511
var lib =
CreateCompilation
(LockTypeDefinition)
1554
var lib1 =
CreateCompilation
(source1)
1585
var lib2 =
CreateCompilation
(source2)
1630
CreateCompilation
(sources, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
Semantics\OutVarTests.cs (152)
50
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
82
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
110
compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
155
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
378
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
416
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
454
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
492
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
530
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
568
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
599
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
653
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
690
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
729
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
770
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
809
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
903
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1400
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1458
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1492
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1527
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1561
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1595
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1635
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1673
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1707
var compilation =
CreateCompilation
(text,
1744
var compilation =
CreateCompilation
(text,
1783
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1820
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1852
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1879
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1916
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
5014
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17575
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17634
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17669
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17702
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17735
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17774
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17806
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17851
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17882
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17915
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17947
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17987
var compilation =
CreateCompilation
(text,
18017
var compilation =
CreateCompilation
(text,
18061
var compilation =
CreateCompilation
(text,
18092
var compilation =
CreateCompilation
(text,
18131
var compilation =
CreateCompilation
(text,
18172
var compilation =
CreateCompilation
(text,
18215
var compilation =
CreateCompilation
(text,
18258
var compilation =
CreateCompilation
(text,
18297
var compilation =
CreateCompilation
(text,
18342
var compilation =
CreateCompilation
(text,
18373
var compilation =
CreateCompilation
(text,
18425
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18438
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18489
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18502
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18536
var compilation =
CreateCompilation
(text,
18581
var compilation =
CreateCompilation
(text,
18633
var compilation =
CreateCompilation
(text,
18679
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18721
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18766
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18788
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular)
18864
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18908
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18950
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18995
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19048
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19091
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19137
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19196
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19243
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19280
var compilation =
CreateCompilation
(text,
19322
var compilation =
CreateCompilation
(text,
19356
var compilation =
CreateCompilation
(text,
19415
var compilation =
CreateCompilation
(text,
19458
var compilation =
CreateCompilation
(text,
19496
var compilation =
CreateCompilation
(text,
19535
var compilation =
CreateCompilation
(text,
19576
var compilation =
CreateCompilation
(text,
19621
var compilation =
CreateCompilation
(text,
19644
compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
19682
var compilation =
CreateCompilation
(text,
19725
var compilation =
CreateCompilation
(text,
19764
var compilation =
CreateCompilation
(text,
19805
var compilation =
CreateCompilation
(source,
19834
var compilation =
CreateCompilation
(text,
19867
var compilation =
CreateCompilation
(text,
19900
var compilation =
CreateCompilation
(text,
19935
var compilation =
CreateCompilation
(text,
19970
var compilation =
CreateCompilation
(text,
20001
var compilation =
CreateCompilation
(text,
20039
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20179
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, references: new[] { CSharpRef });
20199
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
20219
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20247
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20355
var compilation =
CreateCompilation
(source2, references: new[] { reference1 });
20539
var compilation =
CreateCompilation
(source2, references: new[] { reference1 }, options: TestOptions.DebugExe);
20610
var compilation =
CreateCompilation
(text,
20655
var compilation =
CreateCompilation
(text);
20770
var compilation =
CreateCompilation
(text,
20823
var compilation =
CreateCompilation
(text,
23077
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
32513
var compilation =
CreateCompilation
(new[] { tree });
33056
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33116
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33170
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33228
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33305
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33328
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33372
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33395
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33422
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33444
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33502
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
34237
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34343
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
34452
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34557
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.DebugExe);
34653
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35174
var compilation =
CreateCompilation
(source);
35213
var compilation =
CreateCompilation
(source);
35257
var compilation =
CreateCompilation
(source);
35288
var compilation =
CreateCompilation
(source);
35327
var compilation =
CreateCompilation
(source);
35359
var compilation =
CreateCompilation
(source);
35395
var compilation =
CreateCompilation
(source);
35434
var compilation =
CreateCompilation
(source);
35464
var compilation =
CreateCompilation
(source);
35501
var compilation =
CreateCompilation
(source);
35536
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
35659
var comp =
CreateCompilation
(source);
35692
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
35733
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35760
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35796
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35837
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35883
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35977
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36117
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36225
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36318
var compilation =
CreateCompilation
(text);
36349
var comp =
CreateCompilation
(source);
36396
var comp =
CreateCompilation
(source);
36435
var comp =
CreateCompilation
(source);
36477
var comp =
CreateCompilation
(source);
36517
var comp =
CreateCompilation
(source).VerifyDiagnostics(
36555
var comp =
CreateCompilation
(source).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (262)
97
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
199
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
277
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
315
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
459
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
495
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
590
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
643
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
721
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
779
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
828
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
878
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
937
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
978
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
1010
var myCollection_v0 =
CreateCompilation
(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
1130
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1195
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1262
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
1320
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1387
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1465
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1514
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1563
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1600
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1648
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1696
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1738
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1791
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1845
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1897
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1942
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2030
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2070
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2111
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2146
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2197
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2246
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2296
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2354
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2414
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2461
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2511
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2602
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2647
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2708
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2735
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2772
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2786
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2919
CreateCompilation
(src).VerifyEmitDiagnostics();
2937
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2970
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2981
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
3182
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3307
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3531
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3848
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3976
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
3979
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
3982
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4016
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4070
var comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4073
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4076
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4083
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4138
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4141
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4144
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4185
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4188
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4191
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4198
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4309
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4312
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4315
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4322
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4398
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4442
var comp =
CreateCompilation
(src1 + src2, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4445
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4449
var comp3 =
CreateCompilation
(src1 + ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4514
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4619
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4664
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4667
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4741
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4770
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4808
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4859
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4897
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4937
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
5068
var comp =
CreateCompilation
(
5178
var comp =
CreateCompilation
(
5283
var comp =
CreateCompilation
(
5451
var comp =
CreateCompilation
(
5494
var comp =
CreateCompilation
(
5515
comp =
CreateCompilation
(
5551
CreateCompilation
(
5669
var comp =
CreateCompilation
(
5700
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5764
CreateCompilation
(source).VerifyDiagnostics(
5840
var comp =
CreateCompilation
(
5879
var comp =
CreateCompilation
(
5924
var comp =
CreateCompilation
(
5961
var comp =
CreateCompilation
(
6012
var comp =
CreateCompilation
(
6056
var comp =
CreateCompilation
(
6091
var comp =
CreateCompilation
(source);
6129
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6156
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6229
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6262
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6311
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6347
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6397
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6540
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6562
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6618
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6640
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6696
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6733
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6770
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6812
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6854
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6875
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
6900
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6936
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6971
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7002
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7047
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7074
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7103
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7128
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7155
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7180
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7257
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7342
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7381
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7434
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7579
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7620
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7661
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7707
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7753
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7774
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
7802
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7846
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7889
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7938
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7980
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
8066
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
8152
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8184
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8221
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8249
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8383
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8466
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8531
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8565
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8666
comp =
CreateCompilation
(
8688
comp =
CreateCompilation
(
8712
comp =
CreateCompilation
(
8737
comp =
CreateCompilation
(
8767
comp =
CreateCompilation
(
8787
comp =
CreateCompilation
(
8811
comp =
CreateCompilation
(
8836
comp =
CreateCompilation
(
8866
comp =
CreateCompilation
(
8889
comp =
CreateCompilation
(
8909
comp =
CreateCompilation
(
8930
comp =
CreateCompilation
(
8950
comp =
CreateCompilation
(
8972
comp =
CreateCompilation
(
9273
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9314
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9366
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9420
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9478
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9535
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9605
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9693
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9760
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9801
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9853
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9914
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9961
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10014
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10068
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10124
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10170
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10254
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10300
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12523
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12654
CreateCompilation
(source).VerifyDiagnostics(
12760
var comp =
CreateCompilation
(src1, references, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
12764
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12770
var comp3 =
CreateCompilation
(src1, references, options: TestOptions.ReleaseModule);
12788
var comp5 =
CreateCompilation
(brokenParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12944
CreateCompilation
(src).VerifyEmitDiagnostics(
13021
CreateCompilation
(src).VerifyEmitDiagnostics(
13337
var comp1 =
CreateCompilation
(src1);
13403
var comp1 =
CreateCompilation
(src1);
13467
var comp1 =
CreateCompilation
(src1);
13507
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13608
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13724
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13772
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13828
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13870
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13918
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13974
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14016
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14072
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14114
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14186
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14266
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14340
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14390
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14438
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14501
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14550
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14641
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14725
CreateCompilation
(source).VerifyEmitDiagnostics(
14761
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
14840
CreateCompilation
(source).VerifyEmitDiagnostics();
14862
CreateCompilation
(source).VerifyEmitDiagnostics(
14887
CreateCompilation
(source).VerifyEmitDiagnostics(
14913
CreateCompilation
(source).VerifyEmitDiagnostics();
14935
CreateCompilation
(source).VerifyEmitDiagnostics(
14964
CreateCompilation
(source).VerifyEmitDiagnostics(
15000
CreateCompilation
(source).VerifyEmitDiagnostics(
15033
CreateCompilation
(source).VerifyEmitDiagnostics(
15064
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15107
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15179
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15248
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15270
var comp =
CreateCompilation
(src);
15294
var comp =
CreateCompilation
(src);
15346
var comp =
CreateCompilation
(src);
15421
var comp =
CreateCompilation
(src);
15634
CreateCompilation
(src).VerifyEmitDiagnostics(
15828
CreateCompilation
(src).VerifyEmitDiagnostics(
15977
CreateCompilation
(src).VerifyEmitDiagnostics(
16041
CreateCompilation
(src).VerifyDiagnostics(
16095
CreateCompilation
(src).VerifyDiagnostics(
16127
CreateCompilation
(src).VerifyDiagnostics(
16146
CreateCompilation
(src).VerifyDiagnostics(
16166
CreateCompilation
(src).VerifyDiagnostics(
16196
CreateCompilation
(src).VerifyDiagnostics(
16354
var comp =
CreateCompilation
(source);
16398
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16435
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16473
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16567
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
Semantics\PatternMatchingTestBase.cs (1)
433
return
CreateCompilation
(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
Semantics\PatternMatchingTests.cs (168)
49
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
73
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
112
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
141
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
175
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
212
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
292
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
327
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
363
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
399
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
437
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
465
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
511
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
564
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
606
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
640
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
681
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
731
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
772
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
824
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
883
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
918
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
947
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1042
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1101
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1213
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1263
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1309
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1372
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1422
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1476
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1528
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1584
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1641
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1718
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1822
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1871
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1924
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1979
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2027
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2071
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2121
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2168
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2224
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2284
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2341
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2400
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2453
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2491
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2536
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2574
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
2607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2656
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2696
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2740
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
2785
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2835
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2877
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2923
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2964
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3005
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3029
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
3076
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
3112
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3162
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3222
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3254
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3329
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3360
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6);
3387
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3412
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3438
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3474
var compilation =
CreateCompilation
(text,
3520
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3544
CreateCompilation
(source).VerifyDiagnostics(
3567
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
3610
CreateCompilation
(source).VerifyDiagnostics(
3641
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3689
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3714
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3736
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3773
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3795
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3844
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3877
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3910
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3989
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4026
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4064
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe,
4084
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4138
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4169
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4220
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4536
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4563
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4593
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4618
var comp =
CreateCompilation
(source);
4662
CreateCompilation
(program).VerifyDiagnostics(
4692
CreateCompilation
(program).VerifyDiagnostics(
4715
CreateCompilation
(program).VerifyDiagnostics(
4748
CreateCompilation
(program).VerifyDiagnostics(
4775
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
4819
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
4848
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
4864
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
5055
CreateCompilation
(program).GetDiagnostics();
5100
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe).VerifyDiagnostics(
5143
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5169
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5221
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
5250
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
5258
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
5297
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5317
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5677
var compilation =
CreateCompilation
(source);
5715
var compilation =
CreateCompilation
(source);
5777
var compilation =
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }, options: TestOptions.ReleaseExe);
5810
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5819
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5853
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5862
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5896
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5905
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5942
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5951
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5988
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5997
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
6025
var compilation =
CreateCompilation
(source);
6072
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6105
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6128
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
6133
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1);
6159
var compilation =
CreateCompilation
(program, options: TestOptions.DebugDll.WithAllowUnsafe(true));
6224
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe.WithAllowUnsafe(true));
6277
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6279
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6298
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6321
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6347
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6368
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6389
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6414
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6438
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6477
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6521
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6547
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6659
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6711
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7314
var comp =
CreateCompilation
(source);
7331
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7366
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
8557
var comp =
CreateCompilation
(sourceA);
8572
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10161
var comp =
CreateCompilation
(sourceA);
10176
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10966
var comp =
CreateCompilation
(sourceA);
11008
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11324
var comp =
CreateCompilation
(sourceA);
11343
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11523
var comp =
CreateCompilation
(source);
11589
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11858
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11898
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11941
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12203
CreateCompilation
(@"
12262
CreateCompilation
(@"
Semantics\PatternMatchingTests_ListPatterns.cs (106)
970
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithListPatterns);
1650
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1797
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1827
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
2598
var compilation =
CreateCompilation
(new[] { source, TestSources.Index }, options: TestOptions.ReleaseExe);
2642
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2740
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2883
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2999
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3059
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3256
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3267
var lib2Ref =
CreateCompilation
(lib2_cs, references: new[] { missingRef })
3282
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range },
3351
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3365
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
3378
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
3428
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3431
var rangeComp =
CreateCompilation
(new[] { range_cs, TestSources.Index }, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "range");
3435
var libComp =
CreateCompilation
(lib_cs, references: new[] { rangeRef }, assemblyName: "lib");
3450
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference(), rangeRef });
3479
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3549
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3552
var libComp =
CreateCompilation
(lib_cs, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "lib");
3555
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range }, references: new[] { libComp.EmitToImageReference() });
3615
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3672
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3708
var compilation =
CreateCompilation
(source);
3830
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3863
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3893
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3924
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3960
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3995
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4052
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4139
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4222
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4284
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4336
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4466
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4526
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4592
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4625
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5027
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
5121
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5162
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5257
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5307
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5328
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5347
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
5359
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
5374
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
5412
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5451
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5492
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5536
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5624
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5686
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5734
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
5796
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5809
comp =
CreateCompilation
(src);
5883
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5932
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5959
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5983
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6022
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6052
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6076
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6097
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
6120
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6144
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6174
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6612
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
7081
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe);
7149
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7451
var comp =
CreateCompilation
(src);
7486
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7525
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7550
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7576
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7602
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7609
comp =
CreateCompilation
(src);
7862
var compilation =
CreateCompilation
(source);
7892
compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7951
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7977
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8012
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8057
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8128
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8172
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8192
var comp =
CreateCompilation
(source);
8218
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8232
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8247
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8268
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8289
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8310
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8324
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8345
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseExe);
8437
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
8459
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseDll);
8502
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8538
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8560
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.ITuple });
9074
var comp =
CreateCompilation
(source);
9099
var comp =
CreateCompilation
(source);
9167
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests_NullableTypes.cs (8)
33
var comp =
CreateCompilation
(source);
102
var comp =
CreateCompilation
(source);
185
var comp =
CreateCompilation
(source);
274
var comp =
CreateCompilation
(source);
350
var comp =
CreateCompilation
(source);
432
var comp =
CreateCompilation
(source);
510
var comp =
CreateCompilation
(source);
576
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests_Scope.cs (130)
66
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
170
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
279
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
325
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
362
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
441
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
546
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
703
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
819
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
936
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
972
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1118
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1241
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1276
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1390
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1448
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
1721
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2029
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2165
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2175
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2301
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2311
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2409
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2463
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2530
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2669
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2771
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2778
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2892
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2935
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
3057
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3098
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3225
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3335
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3504
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3592
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3677
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3768
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3858
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3959
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4055
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4130
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4165
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4446
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4831
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5168
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5297
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5332
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5465
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5672
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5879
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6006
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6090
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6173
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6260
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6331
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6404
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6462
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6507
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6574
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
6662
var compilation =
CreateCompilation
(source,
6735
var compilation =
CreateCompilation
(source,
6810
var compilation =
CreateCompilation
(source,
6874
var compilation =
CreateCompilation
(source,
6919
var compilation =
CreateCompilation
(source,
7050
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7167
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7202
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7490
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7525
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7684
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7916
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8145
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8403
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8635
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8873
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9121
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
9266
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9631
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9764
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
9908
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
10043
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10155
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10194
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10337
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10516
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10668
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10710
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10943
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11173
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11223
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11266
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11309
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11355
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11442
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11489
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11539
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11601
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11654
var compilation =
CreateCompilation
(
11713
var compilation =
CreateCompilation
(
11783
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11874
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11968
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12059
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12137
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12183
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12243
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12396
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12589
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12788
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12934
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13023
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13185
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13345
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13432
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13510
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13598
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13675
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13739
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13807
var comp =
CreateCompilation
(source);
13914
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests2.cs (35)
484
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
492
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
1195
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1198
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1445
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
1970
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1991
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2015
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2056
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2093
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2145
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2182
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2204
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2247
var compilation =
CreateCompilation
(source);
2291
var compilation =
CreateCompilation
(source);
2327
var compilation =
CreateCompilation
(source);
2399
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2400
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2434
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2435
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2461
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2519
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2560
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2598
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2636
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2666
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2701
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2733
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2852
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2985
CreateCompilation
(source).VerifyDiagnostics(
3003
CreateCompilation
(source).VerifyDiagnostics(
3025
CreateCompilation
(source).VerifyDiagnostics(
3270
var comp =
CreateCompilation
(source);
3655
CreateCompilation
(source).VerifyDiagnostics(
Semantics\PatternMatchingTests3.cs (134)
420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
470
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
593
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
636
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
679
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
722
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
746
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
769
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
812
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
854
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
902
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
961
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
989
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1036
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1089
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1142
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1195
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1229
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1243
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1263
CreateCompilation
(source).VerifyDiagnostics(
1281
CreateCompilation
(source).VerifyDiagnostics(
1305
CreateCompilation
(source).VerifyDiagnostics(
1327
CreateCompilation
(source).VerifyDiagnostics(
1355
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "0");
1379
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "null");
1608
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1626
CreateCompilation
(source).VerifyDiagnostics(
1647
CreateCompilation
(source).VerifyDiagnostics(
1696
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1726
var comp =
CreateCompilation
(source);
1761
var comp =
CreateCompilation
(source);
1793
var comp =
CreateCompilation
(source);
1825
var comp =
CreateCompilation
(source);
1852
var compilation =
CreateCompilation
(source);
1918
var compilation =
CreateCompilation
(source);
1997
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2093
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2165
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2237
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2286
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2335
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2366
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2424
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2470
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2501
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2541
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2579
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2608
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2650
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2666
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2692
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2720
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2743
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2814
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2873
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2914
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3000
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3071
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3140
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3278
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3366
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3441
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3488
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
3579
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3673
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3707
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3760
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3956
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4058
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4617
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4783
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4875
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4969
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5046
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5093
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators);
5253
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5322
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5536
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5563
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5585
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5608
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5629
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5654
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5680
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5704
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators, targetFramework: TargetFramework.NetCoreApp);
5725
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5753
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5791
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5820
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5853
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5874
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5909
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5938
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5967
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5988
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6014
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6035
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6076
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6128
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6180
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6489
var comp =
CreateCompilation
(source);
6697
var comp =
CreateCompilation
(source);
6723
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6761
var comp =
CreateCompilation
(source);
6819
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6860
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6901
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6926
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6953
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6986
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7013
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7038
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7067
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7097
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7124
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7158
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7192
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7225
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7249
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7273
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7296
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7315
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7335
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7361
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7389
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7418
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7450
var compilation =
CreateCompilation
(source);
7485
var compilation =
CreateCompilation
(source);
7519
var compilation =
CreateCompilation
(source);
7555
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7587
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7613
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7641
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
Semantics\PatternMatchingTests4.cs (28)
23
var comp =
CreateCompilation
(@"
45
var comp =
CreateCompilation
(@"
90
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
105
comp =
CreateCompilation
(source);
130
var comp =
CreateCompilation
(@"
3077
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3107
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3485
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3503
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3522
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3831
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
3859
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3880
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3902
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3924
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3948
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3975
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
4013
var comp =
CreateCompilation
(source);
4075
var comp =
CreateCompilation
(source);
4227
var comp =
CreateCompilation
(source);
4271
var comp =
CreateCompilation
(source);
4317
var comp =
CreateCompilation
(source);
4399
var comp =
CreateCompilation
(source);
4481
var comp =
CreateCompilation
(source);
4563
var comp =
CreateCompilation
(source);
4645
var comp =
CreateCompilation
(source);
4729
var comp =
CreateCompilation
(source);
4822
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests5.cs (56)
65
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
172
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
224
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
291
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
339
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
369
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
403
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
422
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
559
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
717
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
745
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
786
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
832
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
886
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
975
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1069
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.UnsafeDebugDll);
1427
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1477
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1558
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1595
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1629
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1660
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1695
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1738
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1768
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1800
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1873
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1914
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1936
var comp =
CreateCompilation
(source);
1982
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2026
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2073
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2074
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2076
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2120
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference(aliases: ImmutableArray.Create("A"));
2121
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2123
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2175
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2234
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2235
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2237
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2298
var ref1 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference(aliases: ImmutableArray.Create("A"));
2299
var ref2 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference();
2301
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2508
var comp =
CreateCompilation
(source);
2551
var comp =
CreateCompilation
(source);
2580
var comp =
CreateCompilation
(source);
2612
var comp =
CreateCompilation
(source);
2645
var comp =
CreateCompilation
(source);
2683
var comp =
CreateCompilation
(source);
2721
var comp =
CreateCompilation
(source);
2761
var comp =
CreateCompilation
(source);
2869
var comp =
CreateCompilation
(source);
3033
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3130
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3353
CreateCompilation
(source).VerifyDiagnostics(
Semantics\PatternSwitchTests.cs (77)
39
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
68
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
96
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
161
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
189
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
273
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
300
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
327
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
399
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
426
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
452
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
503
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
531
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
557
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
580
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
603
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
626
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
649
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
669
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
691
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
841
var compilation =
CreateCompilation
(new[] { source, _iTupleSource }, options: TestOptions.DebugExe);
900
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
928
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
954
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
978
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
983
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1016
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1032
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1078
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1217
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1512
var compilation =
CreateCompilation
(source);
1558
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1588
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1623
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1688
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
1862
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1885
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1920
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1966
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2006
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2049
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2080
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2109
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2156
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2218
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2274
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2332
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2381
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2706
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2748
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2778
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2809
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2837
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2865
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2894
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2925
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2956
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2987
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3053
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3100
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3138
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3229
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3276
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3318
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3380
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3439
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3464
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3491
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3521
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3533
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
Semantics\PrimaryConstructorTests.cs (437)
59
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
66
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
69
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
85
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
92
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
99
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
114
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
121
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
124
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
156
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
163
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
166
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
181
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
191
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
198
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
217
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
224
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
227
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
242
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
252
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
259
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
279
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
289
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
296
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
313
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
320
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
323
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
334
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
337
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
340
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
351
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
354
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
357
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
365
var comp =
CreateCompilation
(@"
400
var comp =
CreateCompilation
(keyword + @" C(int x, string y);");
468
var comp =
CreateCompilation
(@"
504
var comp =
CreateCompilation
(src + src2);
507
comp =
CreateCompilation
(src);
508
var comp2 =
CreateCompilation
(src2, references: new[] { comp.EmitToImageReference() });
516
var comp =
CreateCompilation
(@"
542
var comp =
CreateCompilation
(@"
565
var comp =
CreateCompilation
(@"
607
var comp =
CreateCompilation
(keyword + @" C();");
659
var comp =
CreateCompilation
(@"
693
var comp =
CreateCompilation
(@"
749
var comp =
CreateCompilation
(@"
793
var comp =
CreateCompilation
(@"
813
var comp =
CreateCompilation
(@"
854
var comp =
CreateCompilation
(src);
890
var comp =
CreateCompilation
(src);
926
var comp =
CreateCompilation
(src);
956
var comp =
CreateCompilation
(src);
985
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1067
var comp =
CreateCompilation
(src);
1289
var comp =
CreateCompilation
(src);
1355
var comp =
CreateCompilation
(src);
1401
var comp =
CreateCompilation
(src);
1454
var comp =
CreateCompilation
(src);
1516
var comp =
CreateCompilation
(src);
1605
var comp =
CreateCompilation
(src);
1690
var comp =
CreateCompilation
(src);
1717
var comp =
CreateCompilation
(src);
1743
var comp =
CreateCompilation
(src);
1775
var comp =
CreateCompilation
(src);
1801
var comp =
CreateCompilation
(src);
1843
var comp =
CreateCompilation
(src);
1883
var comp =
CreateCompilation
(src);
2032
var comp =
CreateCompilation
(src);
2066
var comp =
CreateCompilation
(src);
2100
var comp =
CreateCompilation
(src);
2282
var comp =
CreateCompilation
(src);
2412
var comp =
CreateCompilation
(src);
2451
var comp =
CreateCompilation
(src);
2503
var comp =
CreateCompilation
(src);
2522
var comp =
CreateCompilation
(src);
2544
var comp =
CreateCompilation
(src);
2563
var comp =
CreateCompilation
(src);
2579
var comp =
CreateCompilation
(src);
2606
var comp =
CreateCompilation
(src);
2636
var comp =
CreateCompilation
(src);
2669
var comp =
CreateCompilation
(src);
2703
var comp =
CreateCompilation
(src);
2747
var comp =
CreateCompilation
(src);
2837
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2859
var comp =
CreateCompilation
(src);
2889
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2914
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2940
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2953
var comp =
CreateCompilation
(src);
2982
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3006
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3086
var comp =
CreateCompilation
(source);
3135
var comp =
CreateCompilation
(source);
3189
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3193
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3197
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3241
var comp =
CreateCompilation
(source);
3267
var comp =
CreateCompilation
(source);
3300
var comp =
CreateCompilation
(source);
3344
var comp =
CreateCompilation
(source);
3375
var comp =
CreateCompilation
(source);
3396
var comp =
CreateCompilation
(source);
3431
var comp =
CreateCompilation
(source);
3487
var comp =
CreateCompilation
(source);
3532
var comp =
CreateCompilation
(source);
3550
var comp =
CreateCompilation
(source);
3576
var comp =
CreateCompilation
(source);
3599
var comp =
CreateCompilation
(source);
3621
var comp =
CreateCompilation
(source);
3643
var comp =
CreateCompilation
(source);
3680
var comp =
CreateCompilation
(text1);
4051
var comp =
CreateCompilation
(text1);
4129
var comp =
CreateCompilation
(text1);
4264
var comp =
CreateCompilation
(text1);
4480
var comp =
CreateCompilation
(text1);
4586
var comp =
CreateCompilation
(text1);
4794
var comp =
CreateCompilation
(text1);
4899
var comp =
CreateCompilation
(text1);
5112
var comp =
CreateCompilation
(text1);
5215
var comp =
CreateCompilation
(text1);
5454
var comp =
CreateCompilation
(text1);
5533
var comp =
CreateCompilation
(text1);
5658
var comp =
CreateCompilation
(text1);
5761
var comp =
CreateCompilation
(text1);
5817
var comp =
CreateCompilation
(text1);
5889
var comp =
CreateCompilation
(text1);
6047
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6080
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6127
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6164
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6186
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6207
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6230
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6257
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6282
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6320
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6350
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6384
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6418
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6453
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6488
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6528
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6568
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6611
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6652
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6697
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6739
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6785
var compilation1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net60);
6805
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
6827
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6853
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6879
var comp =
CreateCompilation
(source);
6904
var comp =
CreateCompilation
(src);
6932
var comp =
CreateCompilation
(src);
6960
var comp =
CreateCompilation
(src);
6988
var comp =
CreateCompilation
(src);
7107
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
7790
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8304
var comp =
CreateCompilation
(src);
8348
var comp =
CreateCompilation
(src);
8414
var comp =
CreateCompilation
(src);
8525
var comp =
CreateCompilation
(src);
8612
var comp =
CreateCompilation
(src);
8653
var comp =
CreateCompilation
(src);
8752
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9158
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9337
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9360
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9415
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9452
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9474
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9516
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9538
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
9572
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9877
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9907
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9937
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9990
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10013
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10035
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10145
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10184
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10219
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10262
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10304
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10335
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10375
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10407
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10443
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10482
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10521
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10557
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10593
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10632
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10671
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10714
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10746
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10782
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10818
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10869
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10913
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10957
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11000
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11043
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11085
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11130
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11165
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11192
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11230
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11257
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11295
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11330
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11362
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11393
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11436
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11479
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11511
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11554
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11597
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11777
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11828
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11941
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
11988
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12029
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe);
12055
var comp2 =
CreateCompilation
(source2);
12109
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12149
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12192
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12242
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12315
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12392
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12448
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12485
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12517
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12540
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12564
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12596
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12619
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12664
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12687
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12716
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12739
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12778
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12829
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12870
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12885
CreateCompilation
(@"
12921
CreateCompilation
(@"
12949
CreateCompilation
(@"
12975
CreateCompilation
(@"
13014
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13039
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
13058
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13085
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13117
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13149
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13183
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13221
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13265
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13298
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13335
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13396
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13426
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13489
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13520
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13562
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13615
CreateCompilation
(text).VerifyEmitDiagnostics();
13661
CreateCompilation
(text).VerifyEmitDiagnostics(
13730
CreateCompilation
(text).VerifyEmitDiagnostics(
13776
CreateCompilation
(text).VerifyEmitDiagnostics();
13791
CreateCompilation
(text).VerifyEmitDiagnostics(
13815
CreateCompilation
(text).VerifyEmitDiagnostics(
13861
CreateCompilation
(text).VerifyEmitDiagnostics();
13875
CreateCompilation
(text).VerifyEmitDiagnostics();
13896
CreateCompilation
(new[] { text1, text2 }).VerifyEmitDiagnostics(
13902
CreateCompilation
(new[] { text2, text1 }).VerifyEmitDiagnostics(
13937
var comp =
CreateCompilation
(source);
13974
var comp =
CreateCompilation
(source);
14007
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14048
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14197
CreateCompilation
(text).VerifyEmitDiagnostics(
14280
CreateCompilation
(text).VerifyEmitDiagnostics(
14369
var comp =
CreateCompilation
(source);
14412
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14449
var comp =
CreateCompilation
(source);
14473
var comp =
CreateCompilation
(source);
14494
var comp =
CreateCompilation
(source);
14520
var comp =
CreateCompilation
(source1 + source2);
14528
comp =
CreateCompilation
(source2 + source1);
14546
var comp =
CreateCompilation
(source);
14560
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14590
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14594
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14611
var comp =
CreateCompilation
(source);
14658
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
14684
var comp =
CreateCompilation
(source);
14713
var comp =
CreateCompilation
(source);
14742
var comp =
CreateCompilation
(source);
14771
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14798
var comp =
CreateCompilation
(source);
14835
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14852
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14874
var comp =
CreateCompilation
(source);
14894
var comp =
CreateCompilation
(source);
14936
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14975
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15008
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15060
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
15091
var comp =
CreateCompilation
(source);
15125
var comp =
CreateCompilation
(source);
15159
var comp =
CreateCompilation
(source);
15193
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15225
var comp =
CreateCompilation
(source);
15267
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15289
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15316
var comp =
CreateCompilation
(source);
15341
var comp =
CreateCompilation
(source);
15388
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15432
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15448
var comp =
CreateCompilation
(source);
15474
var comp =
CreateCompilation
(source);
15496
var comp =
CreateCompilation
(source);
15515
var comp =
CreateCompilation
(source);
15542
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15574
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15596
var comp =
CreateCompilation
(source);
15615
var comp =
CreateCompilation
(source);
15648
var comp =
CreateCompilation
(source);
15689
var comp =
CreateCompilation
(source);
15710
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15732
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15753
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15774
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15832
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16062
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16083
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16108
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16126
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16152
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16178
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16196
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16214
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16240
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16266
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16292
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16318
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16339
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16370
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16404
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16586
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
16818
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17075
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17363
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17421
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17517
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17606
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17737
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17946
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18208
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
18502
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18844
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19014
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19237
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19311
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19464
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19547
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19596
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19669
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19694
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19724
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19749
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19770
var comp =
CreateCompilation
(new[] { source1, source2 });
19929
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19952
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20064
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20129
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20164
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20207
var comp =
CreateCompilation
(src);
20237
var comp =
CreateCompilation
(source);
20261
var comp =
CreateCompilation
(source);
20303
var comp =
CreateCompilation
(new[] { source1, source2 });
20350
var comp =
CreateCompilation
(new[] { source1, source2 });
20383
var comp =
CreateCompilation
(new[] { source1, source2 });
20444
var comp =
CreateCompilation
(new[] { source1, source2, source3 });
20467
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20501
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20549
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended);
20573
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
20593
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20626
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20667
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20711
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20758
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20814
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20846
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20878
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20910
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20932
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20954
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20983
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21005
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21039
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21076
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21110
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21147
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21182
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21217
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21252
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21285
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21316
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21345
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21385
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21416
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21453
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21502
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21545
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21584
var comp =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.ReleaseDll);
21594
comp =
CreateCompilation
(source2 + source1 + source3, options: TestOptions.ReleaseDll);
21626
var comp =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.ReleaseDll);
21667
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21732
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21793
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21854
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21890
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
21909
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
21928
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21977
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22006
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22021
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22042
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22068
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22094
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22125
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22147
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22192
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseDll);
22258
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22296
var comp =
CreateCompilation
(source);
22341
var comp =
CreateCompilation
(source);
Semantics\RecordTests.cs (256)
24
=> CSharpTestBase.
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
51
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll);
63
comp =
CreateCompilation
(src2, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll);
75
comp =
CreateCompilation
(src3, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll);
94
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
104
comp =
CreateCompilation
(src2, parseOptions: TestOptions.Regular9);
110
comp =
CreateCompilation
(new[] { src3, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
144
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular8);
157
comp =
CreateCompilation
(src2, parseOptions: TestOptions.Regular8);
167
comp =
CreateCompilation
(src3, parseOptions: TestOptions.Regular8);
200
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll);
228
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
235
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseDll);
259
var comp =
CreateCompilation
(src, references: new[] { AsReference(lib_comp, useCompilationReference) });
780
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
800
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
855
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
1054
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
1190
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1209
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
1249
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1302
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1352
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1411
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugExe);
1448
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1714
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
2468
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2483
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2811
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2818
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3155
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4211
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4236
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_12", parseOptions: TestOptions.Regular9).EmitToImageReference();
4242
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4256
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4271
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4277
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_13", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4283
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4295
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4311
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4341
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4366
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_15", parseOptions: TestOptions.Regular9).EmitToImageReference();
4372
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4386
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4428
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4434
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_16", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4440
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4452
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4477
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4916
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
4991
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5068
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5235
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5267
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5302
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5327
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5347
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5374
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5453
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5508
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5547
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5588
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5654
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5717
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5766
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5788
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5883
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9, options: TestOptions.DebugExe);
5914
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5937
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5963
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6006
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6047
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6088
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6128
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6152
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6176
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7187
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
7300
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7320
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
7487
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7587
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7612
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
8813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9807
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
9925
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10585
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
10796
var comp =
CreateCompilation
(new[] { sourceA, sourceB, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
10826
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
10874
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
10958
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11029
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11119
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11331
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11545
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11781
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12070
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12196
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12281
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12360
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12465
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12522
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12577
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12686
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12720
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12903
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
12946
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13004
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13059
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13181
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13221
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13308
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13321
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13340
var compA =
CreateCompilation
(new[] { sourceA, IsExternalInitTypeDefinition }, assemblyName: "AssemblyA", parseOptions: TestOptions.Regular9);
13346
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13355
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13358
var compB2 =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB2");
13500
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
13980
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14006
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14039
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14072
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
14449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14462
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
15722
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
18038
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18112
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18147
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18189
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18301
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18363
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18390
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18416
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18454
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18483
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18507
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18580
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18613
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18652
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18688
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18790
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18821
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18861
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18949
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18972
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19020
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19093
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19161
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19191
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19228
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19301
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19499
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
20031
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20131
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20283
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22524
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22693
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22806
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22912
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23019
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23366
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23533
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23567
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23607
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetLatest);
23714
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23754
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23805
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
23831
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23893
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
23909
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
23929
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
23998
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24116
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24179
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24615
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24869
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24914
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24941
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24961
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24998
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25032
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25563
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.Regular9);
25611
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25653
CSharpCompilation c =
CreateCompilation
(@"
25979
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
27691
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
27896
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
27897
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
27919
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
27920
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
28109
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
28132
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28179
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
28222
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test");
28284
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28335
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28370
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28400
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28429
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28460
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28493
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28539
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28577
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28624
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28671
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28719
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28767
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28819
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28872
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28929
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28979
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29037
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29094
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29165
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29190
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29215
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29241
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29248
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
29280
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29315
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29340
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29368
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29444
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29475
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29485
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29548
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29579
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29600
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29613
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29645
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29648
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29677
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29680
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29698
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29725
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29763
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29786
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29823
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29855
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29881
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29910
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29934
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
29958
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
30193
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions("CS1701", ReportDiagnostic.Suppress), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
30307
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
30366
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30390
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30441
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetCoreApp);
30444
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Mscorlib461Extended);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (10)
EndToEndTests.cs (10)
168
var compilation =
CreateCompilation
(source, options: options);
249
var compilation =
CreateCompilation
(source, options: options);
323
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
449
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
486
var comp =
CreateCompilation
(source);
578
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
603
var comp =
CreateCompilation
(sb.ToString());
760
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
797
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
861
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (309)
IOperation\FunctionPointerOperations.cs (1)
19
return
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
IOperation\IOperationTests.cs (13)
24
var comp =
CreateCompilation
(@"
70
var comp =
CreateCompilation
(@"
104
var comp =
CreateCompilation
(@"
166
var comp =
CreateCompilation
(@"
258
var comp =
CreateCompilation
(tree);
350
var comp =
CreateCompilation
(tree);
405
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
505
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
553
var comp =
CreateCompilation
(text);
573
var compilation =
CreateCompilation
(@"
598
var compilation =
CreateCompilation
(@"
660
var compilation =
CreateCompilation
(source);
709
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (2)
844
var compilation =
CreateCompilation
(source);
899
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IArgument.cs (26)
1249
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(
CreateCompilation
(new[] { source1, source0 }), expectedOperationTree, expectedDiagnostics0And1);
1257
var lib0 =
CreateCompilation
(source0).ToMetadataReference();
1258
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(
CreateCompilation
(new[] { source1 }, references: new[] { lib0 }), expectedOperationTree, expectedDiagnostics1);
1260
CreateCompilation
(new[] { source1 }, references: new[] { lib0 }).VerifyEmitDiagnostics(expectedDiagnostics1);
1466
var comp =
CreateCompilation
(new[] { source1, source0 });
1470
var comp0 =
CreateCompilation
(source0);
1473
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1512
var comp =
CreateCompilation
(new[] { source1, source0 });
1516
var comp0 =
CreateCompilation
(source0);
1519
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1558
var comp =
CreateCompilation
(new[] { source1, source0 });
1562
var comp0 =
CreateCompilation
(source0);
1565
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1603
var comp =
CreateCompilation
(new[] { source1, source0 });
1607
var comp0 =
CreateCompilation
(source0);
1610
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1649
var comp =
CreateCompilation
(new[] { source1, source0 });
1653
var comp0 =
CreateCompilation
(source0);
1656
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
2852
var comp =
CreateCompilation
(source);
2898
var comp =
CreateCompilation
(source);
2947
var comp =
CreateCompilation
(source);
3065
var compilation =
CreateCompilation
(source);
4013
var comp =
CreateCompilation
(source);
4051
var comp =
CreateCompilation
(source);
4092
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IBlock.cs (13)
35
var compilation =
CreateCompilation
(source);
85
var compilation =
CreateCompilation
(source);
120
var compilation =
CreateCompilation
(source);
193
var compilation =
CreateCompilation
(source);
254
var compilation =
CreateCompilation
(source);
291
var compilation =
CreateCompilation
(source);
364
var compilation =
CreateCompilation
(source);
412
var compilation =
CreateCompilation
(source);
457
var compilation =
CreateCompilation
(source);
538
var compilation =
CreateCompilation
(source);
616
var compilation =
CreateCompilation
(source);
685
var compilation =
CreateCompilation
(source);
804
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IBranchOperation.cs (17)
30
var compilation =
CreateCompilation
(source);
65
var compilation =
CreateCompilation
(source);
129
var compilation =
CreateCompilation
(source);
197
var compilation =
CreateCompilation
(source);
265
var compilation =
CreateCompilation
(source);
326
var compilation =
CreateCompilation
(source);
369
var compilation =
CreateCompilation
(source);
420
var compilation =
CreateCompilation
(source);
470
var compilation =
CreateCompilation
(source);
541
var compilation =
CreateCompilation
(source);
594
var compilation =
CreateCompilation
(source);
667
var compilation =
CreateCompilation
(source);
721
var compilation =
CreateCompilation
(source);
1156
var compilation =
CreateCompilation
(source);
1199
var compilation =
CreateCompilation
(source);
1248
var compilation =
CreateCompilation
(source);
1311
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IBranchOperation.Extensions.cs (1)
377
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_ICoalesceAssignmentOperation.cs (2)
223
var comp =
CreateCompilation
(@"
309
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_ICoalesceOperation.cs (13)
31
var compilation =
CreateCompilation
(source);
142
var compilation =
CreateCompilation
(source);
257
var compilation =
CreateCompilation
(source);
372
var compilation =
CreateCompilation
(source);
484
var compilation =
CreateCompilation
(source);
601
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
716
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
828
var compilation =
CreateCompilation
(source);
946
var compilation =
CreateCompilation
(source);
1048
var compilation =
CreateCompilation
(source);
1163
var compilation =
CreateCompilation
(source);
1271
var compilation =
CreateCompilation
(source);
1427
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IConditionalAccessExpression.cs (2)
131
var comp =
CreateCompilation
(source);
1435
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IConstructorBodyOperation.cs (18)
26
var compilation =
CreateCompilation
(source);
55
var compilation =
CreateCompilation
(source);
118
var compilation =
CreateCompilation
(source);
184
var compilation =
CreateCompilation
(source);
252
var compilation =
CreateCompilation
(source);
318
var compilation =
CreateCompilation
(source);
387
var compilation =
CreateCompilation
(source);
476
var compilation =
CreateCompilation
(source);
504
var compilation =
CreateCompilation
(source);
578
var compilation =
CreateCompilation
(source);
646
var compilation =
CreateCompilation
(source);
716
var compilation =
CreateCompilation
(source);
785
var compilation =
CreateCompilation
(source);
855
var compilation =
CreateCompilation
(source);
950
var compilation =
CreateCompilation
(source);
1061
var compilation =
CreateCompilation
(source);
1085
var compilation =
CreateCompilation
(source);
1152
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IConversionExpression.cs (3)
3402
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
5288
var compilation =
CreateCompilation
(source);
5319
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IDelegateCreationExpression.cs (1)
2045
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
IOperation\IOperationTests_IFieldReferenceExpression.cs (2)
696
var compWithoutNullable =
CreateCompilation
(program);
697
var compWithNullable =
CreateCompilation
(program, options: WithNullableEnable());
IOperation\IOperationTests_IFixedStatement.cs (1)
688
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
IOperation\IOperationTests_IForEachLoopStatement.cs (19)
2779
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
2911
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
3003
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
5868
var compilation =
CreateCompilation
(@"
5992
var compilation =
CreateCompilation
(@"
6116
var compilation =
CreateCompilation
(@"
6234
var compilation =
CreateCompilation
(@"
6497
var compilation =
CreateCompilation
(@"
6773
var comp =
CreateCompilation
(@"
6915
var comp =
CreateCompilation
(@"
7009
var comp =
CreateCompilation
(@"
7341
var comp =
CreateCompilation
(@"
7591
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7675
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7721
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7808
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7859
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7954
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
8003
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IInlineArrayAccessOperation.cs (10)
48
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
90
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
180
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
273
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
399
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
426
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
472
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
568
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
657
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
800
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IInterpolatedStringOperation.cs (1)
4851
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
IOperation\IOperationTests_IIsPatternExpression.cs (12)
712
var compilation =
CreateCompilation
(source);
1317
var compilation =
CreateCompilation
(source, new[] { vbCompilation.EmitToImageReference() }, parseOptions: TestOptions.Regular8);
1390
var compilation =
CreateCompilation
(source, new[] { vbCompilation.EmitToImageReference() });
1433
var compilation =
CreateCompilation
(source);
1480
var compilation =
CreateCompilation
(source);
1524
var compilation =
CreateCompilation
(source);
1571
var compilation =
CreateCompilation
(source);
1616
var compilation =
CreateCompilation
(source);
1661
var compilation =
CreateCompilation
(source);
2330
var comp =
CreateCompilation
(source);
2437
var comp =
CreateCompilation
(source);
2478
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
IOperation\IOperationTests_ILocalFunctionStatement.cs (2)
1790
var compilation =
CreateCompilation
(source);
1845
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IMethodBodyOperation.cs (27)
28
var compilation =
CreateCompilation
(source);
51
var compilation =
CreateCompilation
(source);
104
var compilation =
CreateCompilation
(source);
160
var compilation =
CreateCompilation
(source);
238
var compilation =
CreateCompilation
(source);
280
var compilation =
CreateCompilation
(source);
323
var compilation =
CreateCompilation
(source);
390
var compilation =
CreateCompilation
(source);
439
var compilation =
CreateCompilation
(source);
496
var compilation =
CreateCompilation
(source);
551
var compilation =
CreateCompilation
(source);
576
var compilation =
CreateCompilation
(source);
608
var compilation =
CreateCompilation
(source);
646
var compilation =
CreateCompilation
(source);
693
var compilation =
CreateCompilation
(source);
718
var compilation =
CreateCompilation
(source);
750
var compilation =
CreateCompilation
(source);
788
var compilation =
CreateCompilation
(source);
835
var compilation =
CreateCompilation
(source);
860
var compilation =
CreateCompilation
(source);
892
var compilation =
CreateCompilation
(source);
927
var compilation =
CreateCompilation
(source);
971
var compilation =
CreateCompilation
(source);
995
var compilation =
CreateCompilation
(source);
1030
var compilation =
CreateCompilation
(source);
1069
var compilation =
CreateCompilation
(source);
1113
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_INoPiaObjectCreationOperation.cs (7)
43
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
102
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
159
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
209
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
301
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
391
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
458
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
IOperation\IOperationTests_IObjectCreationExpression.cs (15)
171
var comp =
CreateCompilation
(@"
705
var comp =
CreateCompilation
(@"
1017
var comp =
CreateCompilation
(@"
1249
var comp =
CreateCompilation
(@"
1377
var comp =
CreateCompilation
("_ = new int[/*<bind>*/new(bad)/*</bind>*/];");
1397
var comp =
CreateCompilation
(@"
1427
var comp =
CreateCompilation
(source);
1455
var comp =
CreateCompilation
(source);
1483
var comp =
CreateCompilation
(source);
1503
var comp =
CreateCompilation
(@"
2234
var comp =
CreateCompilation
(@"
2353
var comp =
CreateCompilation
(@"
15059
var comp =
CreateCompilation
(source);
15154
var comp =
CreateCompilation
(source);
15397
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IParameterReferenceExpression.cs (1)
982
var compilation0 =
CreateCompilation
(sources0);
IOperation\IOperationTests_IPropertyReferenceExpression.cs (2)
1013
var comp =
CreateCompilation
(@"
1051
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IReturnStatement.cs (28)
156
var compilation =
CreateCompilation
(source);
184
var compilation =
CreateCompilation
(source);
218
var compilation =
CreateCompilation
(source);
263
var compilation =
CreateCompilation
(source);
312
var compilation =
CreateCompilation
(source);
396
var compilation =
CreateCompilation
(source);
448
var compilation =
CreateCompilation
(source);
504
var compilation =
CreateCompilation
(source);
568
var compilation =
CreateCompilation
(source);
633
var compilation =
CreateCompilation
(source);
676
var compilation =
CreateCompilation
(source);
714
var compilation =
CreateCompilation
(source);
782
var compilation =
CreateCompilation
(source);
858
var compilation =
CreateCompilation
(source);
927
var compilation =
CreateCompilation
(source);
1000
var compilation =
CreateCompilation
(source);
1046
var compilation =
CreateCompilation
(source);
1097
var compilation =
CreateCompilation
(source);
1150
var compilation =
CreateCompilation
(source);
1178
var compilation =
CreateCompilation
(source);
1215
var compilation =
CreateCompilation
(source);
1260
var compilation =
CreateCompilation
(source);
1304
var compilation =
CreateCompilation
(source);
1391
var compilation =
CreateCompilation
(source);
1449
var compilation =
CreateCompilation
(source);
1505
var compilation =
CreateCompilation
(source);
1561
var compilation =
CreateCompilation
(source);
1602
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_ISymbolInitializer.cs (1)
30
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
IOperation\IOperationTests_IThrowOperation.cs (35)
30
var compilation =
CreateCompilation
(source);
68
var compilation =
CreateCompilation
(source);
127
var compilation =
CreateCompilation
(source);
162
var compilation =
CreateCompilation
(source);
228
var compilation =
CreateCompilation
(source);
302
var compilation =
CreateCompilation
(source);
373
var compilation =
CreateCompilation
(source);
448
var compilation =
CreateCompilation
(source);
523
var compilation =
CreateCompilation
(source);
595
var compilation =
CreateCompilation
(source);
685
var compilation =
CreateCompilation
(source);
750
var compilation =
CreateCompilation
(source);
839
var compilation =
CreateCompilation
(source);
966
var compilation =
CreateCompilation
(source);
1021
var compilation =
CreateCompilation
(source);
1085
var compilation =
CreateCompilation
(source);
1134
var compilation =
CreateCompilation
(source);
1197
var compilation =
CreateCompilation
(source);
1261
var compilation =
CreateCompilation
(source);
1341
var compilation =
CreateCompilation
(source);
1422
var compilation =
CreateCompilation
(source);
1498
var compilation =
CreateCompilation
(source);
1549
var compilation =
CreateCompilation
(source);
1615
var compilation =
CreateCompilation
(source);
1693
var compilation =
CreateCompilation
(source);
1772
var compilation =
CreateCompilation
(source);
1845
var compilation =
CreateCompilation
(source);
1911
var compilation =
CreateCompilation
(source);
1967
var compilation =
CreateCompilation
(source);
2043
var compilation =
CreateCompilation
(source);
2107
var compilation =
CreateCompilation
(source);
2171
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2276
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()));
2375
var compilation =
CreateCompilation
(source);
2477
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IUsingStatement.cs (2)
8544
var comp =
CreateCompilation
(@"
8730
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IVariableDeclaration.cs (1)
923
var comp =
CreateCompilation
(tree);
IOperation\IOperationTests_TryCatch.cs (31)
976
var compilation =
CreateCompilation
(source);
1026
var compilation =
CreateCompilation
(source);
1091
var compilation =
CreateCompilation
(source);
1331
var compilation =
CreateCompilation
(source);
1424
var compilation =
CreateCompilation
(source);
1482
var compilation =
CreateCompilation
(source);
1562
var compilation =
CreateCompilation
(source);
1677
var compilation =
CreateCompilation
(source);
1743
var compilation =
CreateCompilation
(source);
1840
var compilation =
CreateCompilation
(source);
1929
var compilation =
CreateCompilation
(source);
2020
var compilation =
CreateCompilation
(source);
2103
var compilation =
CreateCompilation
(source);
2194
var compilation =
CreateCompilation
(source);
2275
var compilation =
CreateCompilation
(source);
2340
var compilation =
CreateCompilation
(source);
2399
var compilation =
CreateCompilation
(source);
2490
var compilation =
CreateCompilation
(source);
2568
var compilation =
CreateCompilation
(source);
2630
var compilation =
CreateCompilation
(source);
2690
var compilation =
CreateCompilation
(source);
2744
var compilation =
CreateCompilation
(source);
2801
var compilation =
CreateCompilation
(source);
2876
var compilation =
CreateCompilation
(source);
2953
var compilation =
CreateCompilation
(source);
3145
var compilation =
CreateCompilation
(source);
3225
var compilation =
CreateCompilation
(source);
3301
var compilation =
CreateCompilation
(source);
3373
var compilation =
CreateCompilation
(source);
3421
var compilation =
CreateCompilation
(source);
8057
var comp =
CreateCompilation
(source);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11164)
Semantics\AccessCheckTests.cs (49)
24
CSharpCompilation c =
CreateCompilation
(@"
141
CSharpCompilation c =
CreateCompilation
(@"
230
CSharpCompilation c =
CreateCompilation
(@"
349
CSharpCompilation c =
CreateCompilation
(@"
393
CSharpCompilation c =
CreateCompilation
(@"
414
CSharpCompilation c =
CreateCompilation
(@"
440
CSharpCompilation c =
CreateCompilation
(@"
475
CSharpCompilation c =
CreateCompilation
(@"
557
CSharpCompilation c =
CreateCompilation
(@"
578
CSharpCompilation c =
CreateCompilation
(@"
604
CSharpCompilation other =
CreateCompilation
(@"
619
CSharpCompilation c =
CreateCompilation
(@"
654
CSharpCompilation other =
CreateCompilation
(@"
698
Compilation c =
CreateCompilation
(@"
855
Compilation otherC =
CreateCompilation
(@"
867
Compilation c1 =
CreateCompilation
(@"
931
Compilation c2 =
CreateCompilation
(@"
938
Compilation c3 =
CreateCompilation
(@"
955
var c =
CreateCompilation
(source, new[] { r1 });
981
CSharpCompilation other =
CreateCompilation
(@"
987
CSharpCompilation c =
CreateCompilation
(@"
1001
CSharpCompilation other =
CreateCompilation
(@"
1007
CSharpCompilation c =
CreateCompilation
(@"
1025
var other =
CreateCompilation
(@"
1030
CSharpCompilation c =
CreateCompilation
(@"
1085
var compilation1 =
CreateCompilation
(source1, assemblyName: "A");
1111
var compilation2 =
CreateCompilation
(source2, assemblyName: "B", references: new[] { reference1 });
1133
var compilation3 =
CreateCompilation
(source3, assemblyName: "C", references: new[] { reference1, reference2 });
1158
var compilation1 =
CreateCompilation
(source1, assemblyName: "A");
1169
var compilation2 =
CreateCompilation
(source2, assemblyName: "B", references: new[] { reference1 });
1182
var compilation3 =
CreateCompilation
(source3, assemblyName: "C", references: new[] { reference1, reference2 });
1196
var compilationA =
CreateCompilation
(sourceA, assemblyName: "A");
1208
var compilationB =
CreateCompilation
(sourceB, assemblyName: "B", references: new[] { referenceA });
1221
var compilationC =
CreateCompilation
(sourceC, assemblyName: "C", references: new[] { referenceA, referenceB });
1238
var compilationA =
CreateCompilation
(sourceA, assemblyName: "A");
1249
var compilationB =
CreateCompilation
(sourceB, assemblyName: "B", references: new[] { referenceA });
1262
var compilationC =
CreateCompilation
(sourceC, assemblyName: "C", references: new[] { referenceA, referenceB });
1293
CreateCompilation
(source).GetDiagnostics();
1320
CreateCompilation
(source).GetDiagnostics();
1350
CreateCompilation
(source).GetDiagnostics();
1445
var comp =
CreateCompilation
(sourceA);
1457
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, assemblyName: null);
1464
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, assemblyName: "B");
1478
var comp =
CreateCompilation
(sourceA);
1490
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, assemblyName: null);
1497
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, assemblyName: "B");
1501
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, assemblyName: "B2");
1511
var comp =
CreateCompilation
(@"
1521
var comp2 =
CreateCompilation
("class B {}");
Semantics\AccessibilityTests.cs (10)
86
CreateCompilation
(source).VerifyDiagnostics();
103
CreateCompilation
(source).VerifyDiagnostics();
117
CreateCompilation
(source).VerifyDiagnostics();
134
CreateCompilation
(source).VerifyDiagnostics();
148
CreateCompilation
(source).VerifyDiagnostics();
165
CreateCompilation
(source).VerifyDiagnostics();
179
CreateCompilation
(source).VerifyDiagnostics(
199
CreateCompilation
(source).VerifyDiagnostics(
259
CreateCompilation
(source).VerifyDiagnostics(
296
CreateCompilation
(source).VerifyDiagnostics(
Semantics\AmbiguousOverrideTests.cs (15)
100
CreateCompilation
(source).VerifyDiagnostics(
130
var comp1 =
CreateCompilation
(text1);
134
var comp2 =
CreateCompilation
(text2, references: ref1, assemblyName: "Test2");
138
var comp =
CreateCompilation
(text3, ref2, assemblyName: "Test3");
200
var comp =
CreateCompilation
(source);
262
CSharpCompilation comp =
CreateCompilation
(source);
303
CSharpCompilation comp =
CreateCompilation
(source);
340
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
363
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
384
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
409
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
446
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
474
CreateCompilation
(text, new[] { asm }).VerifyDiagnostics(
1383
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1400
var comp =
CreateCompilation
(text).VerifyDiagnostics(
Semantics\AnonymousFunctionTests.cs (8)
21
=>
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expected);
72
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
977
var compilation =
CreateCompilation
(source);
1011
var compilation =
CreateCompilation
(source);
1318
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1357
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1377
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1398
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
Semantics\ArglistTests.cs (29)
224
var comp =
CreateCompilation
(text);
258
var comp =
CreateCompilation
(text);
295
var comp =
CreateCompilation
(text);
325
CreateCompilation
(text).VerifyDiagnostics();
377
var comp =
CreateCompilation
(text);
539
var comp =
CreateCompilation
(text);
602
CreateCompilation
(text).VerifyDiagnostics(
825
var comp =
CreateCompilation
(text);
957
var comp =
CreateCompilation
(tree);
982
var comp =
CreateCompilation
(text);
1068
var comp =
CreateCompilation
(text);
1100
var comp =
CreateCompilation
(text);
1120
var comp =
CreateCompilation
(text);
1140
var comp =
CreateCompilation
(text);
1160
var comp =
CreateCompilation
(text);
1180
var comp =
CreateCompilation
(text);
1198
var comp =
CreateCompilation
(text);
1216
var comp =
CreateCompilation
(text);
1234
var comp =
CreateCompilation
(text);
1252
var comp =
CreateCompilation
(text);
1278
var comp =
CreateCompilation
(text);
1304
var comp =
CreateCompilation
(text);
1330
var comp =
CreateCompilation
(text);
1370
var comp =
CreateCompilation
(text);
1451
CreateCompilation
(source).VerifyDiagnostics(
1543
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1567
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1583
CreateCompilation
(@"
1601
CreateCompilation
(@"
Semantics\AwaitExpressionTests.cs (2)
80
var csCompilation =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
291
var comp =
CreateCompilation
(source);
Semantics\BetterCandidates.cs (2)
28
return
CreateCompilation
(source, options: options, references: references, parseOptions: TestOptions.WithoutImprovedOverloadCandidates);
33
return
CreateCompilation
(source, options: options, references: references, parseOptions: TestOptions.Regular);
Semantics\BindingAsyncTasklikeMoreTests.cs (4)
1549
var compilation =
CreateCompilation
(source);
1588
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1593
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1625
var compilation =
CreateCompilation
(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.Net70);
Semantics\BindingAsyncTests.cs (3)
4015
var comp =
CreateCompilation
(src);
4117
var comp =
CreateCompilation
(src);
4176
var comp =
CreateCompilation
(src);
Semantics\BindingTests.cs (88)
36
CreateCompilation
(text).VerifyDiagnostics();
58
CreateCompilation
(source).VerifyDiagnostics();
81
CreateCompilation
(source).VerifyDiagnostics();
101
CreateCompilation
(source).VerifyDiagnostics();
126
CreateCompilation
(source).VerifyDiagnostics(
167
CreateCompilation
(source).VerifyDiagnostics(
201
CreateCompilation
(source).VerifyDiagnostics(
246
CreateCompilation
(source).VerifyDiagnostics(
318
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
384
CreateCompilation
(source).VerifyDiagnostics();
400
CreateCompilation
(source).VerifyDiagnostics(
432
CreateCompilation
(source).VerifyDiagnostics(
522
CreateCompilation
(source).VerifyDiagnostics();
546
CreateCompilation
(source).VerifyDiagnostics();
567
CreateCompilation
(source).VerifyDiagnostics( // (11,13): error CS0103: The name 'x' does not exist in the current context
611
CreateCompilation
(source).VerifyDiagnostics(
633
CreateCompilation
(source).VerifyDiagnostics(
660
CreateCompilation
(source).VerifyDiagnostics(
690
CreateCompilation
(source).VerifyDiagnostics(
705
CreateCompilation
(source).VerifyDiagnostics(
740
CreateCompilation
(source).VerifyDiagnostics(
763
var baseAssembly =
CreateCompilation
(
771
var derivedAssembly =
CreateCompilation
(
780
var testAssembly =
CreateCompilation
(
802
var baseAssembly =
CreateCompilation
(
810
var derivedAssembly =
CreateCompilation
(
819
var testAssembly =
CreateCompilation
(
841
var baseAssembly =
CreateCompilation
(
849
var derivedAssembly =
CreateCompilation
(
858
var testAssembly =
CreateCompilation
(
893
var testAssembly =
CreateCompilation
(scenarioCode);
918
var testAssembly =
CreateCompilation
(scenarioCode);
944
var testAssembly =
CreateCompilation
(scenarioCode);
976
var testAssembly =
CreateCompilation
(scenarioCode);
1008
var testAssembly =
CreateCompilation
(scenarioCode);
1038
var testAssembly =
CreateCompilation
(scenarioCode);
1066
var testAssembly =
CreateCompilation
(scenarioCode);
1097
var testAssembly =
CreateCompilation
(scenarioCode);
1125
var testAssembly =
CreateCompilation
(scenarioCode);
1153
var testAssembly =
CreateCompilation
(scenarioCode);
1182
var testAssembly =
CreateCompilation
(scenarioCode);
1220
var testAssembly =
CreateCompilation
(scenarioCode);
1261
var testAssembly =
CreateCompilation
(scenarioCode);
1311
var testAssembly =
CreateCompilation
(scenarioCode);
1356
var testAssembly =
CreateCompilation
(scenarioCode);
1399
var testAssembly =
CreateCompilation
(scenarioCode);
1441
var testAssembly =
CreateCompilation
(scenarioCode);
1455
var testAssembly =
CreateCompilation
(
1487
var testAssembly =
CreateCompilation
(
1513
var testAssembly =
CreateCompilation
(
1546
var testAssembly =
CreateCompilation
(
1800
CreateCompilation
(source).VerifyDiagnostics();
1829
CreateCompilation
(source).VerifyDiagnostics(
1853
CreateCompilation
(source).VerifyDiagnostics();
1869
CreateCompilation
(source).VerifyDiagnostics(
1889
CreateCompilation
(source).VerifyDiagnostics();
1910
CreateCompilation
(source).VerifyDiagnostics(
1940
CreateCompilation
(source).VerifyDiagnostics(
2008
CreateCompilation
(source).VerifyDiagnostics(
2038
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2064
var compilation =
CreateCompilation
(sourceCode);
2115
CreateCompilation
(source).VerifyDiagnostics(
2134
CreateCompilation
(source).VerifyDiagnostics(
2175
CreateCompilation
(source).VerifyDiagnostics(
2188
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2197
CreateCompilation
(source).VerifyDiagnostics(
2213
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2251
CreateCompilation
(source).VerifyDiagnostics();
2271
CreateCompilation
(source).VerifyDiagnostics();
2289
CreateCompilation
(source).VerifyDiagnostics(
2361
var comp =
CreateCompilation
(source);
2380
var comp =
CreateCompilation
(source);
2532
CreateCompilation
(source).VerifyDiagnostics(
2554
CreateCompilation
(source).VerifyDiagnostics();
2596
var comp =
CreateCompilation
(source);
2627
var comp =
CreateCompilation
(source);
2656
var comp =
CreateCompilation
(source);
2715
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2771
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2907
var comp =
CreateCompilation
(source);
2952
var comp =
CreateCompilation
(source);
3179
var comp =
CreateCompilation
(source);
3715
var comp =
CreateCompilation
(source);
3920
var compilation =
CreateCompilation
(@"
3948
var compilation =
CreateCompilation
(@"
3981
var comp =
CreateCompilation
(source);
4021
var comp =
CreateCompilation
(source);
Semantics\ColorColorTests.cs (27)
165
var comp =
CreateCompilation
(text);
589
var comp =
CreateCompilation
(tree);
629
var comp =
CreateCompilation
(tree);
976
CreateCompilation
(text).VerifyDiagnostics(
1006
CreateCompilation
(text).VerifyDiagnostics();
1032
CreateCompilation
(text).VerifyDiagnostics();
1059
var comp =
CreateCompilation
(tree);
1105
var comp =
CreateCompilation
(tree);
1151
var comp =
CreateCompilation
(tree);
1196
var comp =
CreateCompilation
(tree);
1237
var comp =
CreateCompilation
(tree);
1274
var comp =
CreateCompilation
(tree);
1464
CreateCompilation
(text).VerifyDiagnostics();
1488
CreateCompilation
(text).VerifyDiagnostics();
1580
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1621
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1659
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1700
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1878
var compilation =
CreateCompilation
(source);
1935
var compilation =
CreateCompilation
(source);
1992
var compilation =
CreateCompilation
(source);
2042
var compilation =
CreateCompilation
(source);
2179
var compilation =
CreateCompilation
(source, assemblyName: "Main");
2210
var compilation =
CreateCompilation
(source);
2271
var compilation =
CreateCompilation
(source);
2305
var compilation =
CreateCompilation
(source);
2390
CreateCompilation
(source).VerifyDiagnostics(
Semantics\ConditionalOperatorTests.cs (9)
226
CreateCompilation
(source).VerifyDiagnostics();
1232
CreateCompilation
(source).VerifyDiagnostics(
1285
var comp =
CreateCompilation
(tree);
1336
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1391
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1438
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1500
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe,
1520
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1536
var comp =
CreateCompilation
(source);
Semantics\ConstantTests.cs (56)
185
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
780
CreateCompilation
(source).VerifyDiagnostics(
1713
CreateCompilation
(source).VerifyDiagnostics(
1811
CreateCompilation
(source).VerifyDiagnostics(
1840
CreateCompilation
(source).VerifyDiagnostics(
1875
CreateCompilation
(source).VerifyDiagnostics(
1943
CreateCompilation
(text).VerifyDiagnostics(
1954
CreateCompilation
(text).VerifyDiagnostics(
1971
CreateCompilation
(text).VerifyDiagnostics(
1998
var comp =
CreateCompilation
(source);
2024
var comp =
CreateCompilation
(source);
2065
var comp =
CreateCompilation
(source);
2139
var comp =
CreateCompilation
(source);
2194
var comp =
CreateCompilation
(source);
2781
var compilation =
CreateCompilation
(source);
2814
var compilation =
CreateCompilation
(source);
2844
var compilation1 =
CreateCompilation
(source1);
2845
var compilation2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(compilation1) });
2885
var compilation1 =
CreateCompilation
(source1);
2887
var compilation2 =
CreateCompilation
(source2);
2889
var compilation3 =
CreateCompilation
(source3, new MetadataReference[] { reference1 });
2891
var compilation4 =
CreateCompilation
(source4, new MetadataReference[] { reference2, reference3 });
2924
var comp =
CreateCompilation
(tree);
2941
var compilation =
CreateCompilation
(tree);
2972
var compilation =
CreateCompilation
(tree);
2998
var compilation =
CreateCompilation
(source);
3030
var compilation =
CreateCompilation
(source);
3085
var compilation =
CreateCompilation
(source);
3117
var compilation =
CreateCompilation
(source);
3175
var compilation =
CreateCompilation
(source);
3210
var compilation =
CreateCompilation
(source);
3264
CreateCompilation
(source).VerifyDiagnostics();
3280
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
3311
CreateCompilation
(source).VerifyDiagnostics(
3330
CreateCompilation
(source).VerifyDiagnostics(
3348
CreateCompilation
(source).VerifyDiagnostics(
3362
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3412
CreateCompilation
(source).VerifyDiagnostics(
3516
var comp =
CreateCompilation
(source.ToString(), options: TestOptions.ReleaseExe);
3626
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3667
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3688
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3724
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3806
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3903
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3909
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4070
var comp =
CreateCompilation
(source);
4091
var comp =
CreateCompilation
(source);
4112
var comp =
CreateCompilation
(source);
4128
var comp =
CreateCompilation
(source);
4138
var comp =
CreateCompilation
(source);
4152
var comp =
CreateCompilation
(source);
4165
var comp =
CreateCompilation
(source);
4189
var comp =
CreateCompilation
(source);
4210
var comp =
CreateCompilation
(source);
Semantics\DeconstructionTests.cs (79)
799
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
857
var comp =
CreateCompilation
(source);
1284
var comp =
CreateCompilation
(source, assemblyName: "comp", options: TestOptions.DebugExe);
1486
var comp =
CreateCompilation
(source);
1603
var libMissingComp =
CreateCompilation
(new string[] { libMissingSource }, assemblyName: "libMissingComp").VerifyDiagnostics();
1606
var libComp =
CreateCompilation
(new string[] { libSource }, references: new[] { libMissingRef }, parseOptions: TestOptions.Regular).VerifyDiagnostics();
1609
var comp =
CreateCompilation
(new string[] { source }, references: new[] { libRef });
1944
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
3155
var comp =
CreateCompilation
(source);
3552
var comp =
CreateCompilation
(source);
3574
var comp =
CreateCompilation
(source);
3597
var comp =
CreateCompilation
(source);
3704
var comp =
CreateCompilation
(source);
3741
var comp =
CreateCompilation
(source);
3791
var comp =
CreateCompilation
(source);
3844
var comp =
CreateCompilation
(source);
3865
var comp =
CreateCompilation
(source);
3883
var comp =
CreateCompilation
(source);
3905
var comp =
CreateCompilation
(source);
3938
var comp =
CreateCompilation
(source);
4033
var comp =
CreateCompilation
(source);
4145
var comp =
CreateCompilation
(source);
4197
var comp1 =
CreateCompilation
(source1);
4228
var comp2 =
CreateCompilation
(source2);
4332
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4363
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4469
var comp1 =
CreateCompilation
(source1);
4497
var comp2 =
CreateCompilation
(source2);
4597
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4619
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4639
var comp1 =
CreateCompilation
(source1);
4655
var comp2 =
CreateCompilation
(source2);
4718
var comp1 =
CreateCompilation
(source1);
4739
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4749
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4811
var comp1 =
CreateCompilation
(source1);
4827
var comp2 =
CreateCompilation
(source2);
4886
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4896
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4916
var comp1 =
CreateCompilation
(source1);
4932
var comp2 =
CreateCompilation
(source2);
4968
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4978
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5020
var comp1 =
CreateCompilation
(source1);
5036
var comp2 =
CreateCompilation
(source2);
5075
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5085
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5104
var comp1 =
CreateCompilation
(source1);
5146
var comp1 =
CreateCompilation
(source1);
5177
var comp2 =
CreateCompilation
(source2);
5290
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5321
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5440
var comp1 =
CreateCompilation
(source1);
5468
var comp2 =
CreateCompilation
(source2);
5577
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5599
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5617
var comp1 =
CreateCompilation
(source1);
5645
var comp2 =
CreateCompilation
(source2);
5727
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5755
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5843
var comp1 =
CreateCompilation
(source1);
5868
var comp2 =
CreateCompilation
(source2);
5943
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5962
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5977
var comp =
CreateCompilation
(source);
6017
var comp =
CreateCompilation
(source);
6060
var comp =
CreateCompilation
(source);
6100
var comp =
CreateCompilation
(source);
6142
var comp =
CreateCompilation
(source);
6279
CreateCompilation
(text).VerifyEmitDiagnostics(
6317
CreateCompilation
(text).VerifyEmitDiagnostics(
6343
CreateCompilation
(text).VerifyEmitDiagnostics(
6378
CreateCompilation
(text).VerifyEmitDiagnostics(
6406
CreateCompilation
(source).VerifyEmitDiagnostics(
6440
CreateCompilation
(source).VerifyEmitDiagnostics(
6549
var comp =
CreateCompilation
(code);
6569
CreateCompilation
(source).VerifyDiagnostics(
6602
CreateCompilation
(source).VerifyDiagnostics(
Semantics\DelegateTypeTests.cs (485)
85
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
100
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
140
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
175
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
190
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
217
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
232
comp =
CreateCompilation
(source);
268
var comp =
CreateCompilation
(source);
308
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
352
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
393
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
426
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
460
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
481
comp =
CreateCompilation
(source);
535
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
538
comp =
CreateCompilation
(new[] { sourceA, sourceB });
585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
639
comp =
CreateCompilation
(source);
671
var comp =
CreateCompilation
(source);
737
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
783
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
880
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
923
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
981
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1021
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1068
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1199
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1241
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1320
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1366
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1409
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1450
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1542
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseExe);
1622
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular13, options: TestOptions.ReleaseExe);
1673
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1723
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1773
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1823
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1873
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1923
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1974
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2019
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2068
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2075
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2122
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2132
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2187
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2197
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2250
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2257
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2307
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2310
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2349
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2389
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2392
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2429
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2439
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2479
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2486
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2527
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2534
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2582
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2631
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2677
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2680
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2711
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2721
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2769
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2773
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2798
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2804
comp =
CreateCompilation
(source);
2824
var comp =
CreateCompilation
(source);
2852
var comp =
CreateCompilation
(source);
2880
var comp =
CreateCompilation
(source);
2911
var comp =
CreateCompilation
(source);
2939
var comp =
CreateCompilation
(source);
2971
var comp =
CreateCompilation
(source);
3006
var comp =
CreateCompilation
(source);
3037
var comp =
CreateCompilation
(source);
3067
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3072
var comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
3100
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3105
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
3110
CreateCompilation
(source).VerifyDiagnostics(
3129
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3134
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
3139
CreateCompilation
(source).VerifyDiagnostics(
3169
CreateCompilation
(source).VerifyDiagnostics(
3211
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3214
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3217
comp =
CreateCompilation
(source);
3242
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3273
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3276
comp =
CreateCompilation
(source);
3294
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3319
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3322
comp =
CreateCompilation
(source);
3340
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3362
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3365
comp =
CreateCompilation
(source);
3466
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3517
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3550
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3556
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
3598
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
3646
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3655
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
3680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3706
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3738
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3855
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3858
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3882
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3885
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3917
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
3951
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
3983
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4017
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4860
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4915
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4947
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4956
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5071
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5096
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5099
comp =
CreateCompilation
(source);
5296
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5298
comp =
CreateCompilation
(source);
5323
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5325
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5327
comp =
CreateCompilation
(source);
5355
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5357
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5359
comp =
CreateCompilation
(source);
5389
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5391
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5393
comp =
CreateCompilation
(source);
5424
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5426
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5428
comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5711
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5713
comp =
CreateCompilation
(source);
5789
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5828
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5864
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5898
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5930
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5965
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5980
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5982
comp =
CreateCompilation
(source);
6003
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6015
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6017
comp =
CreateCompilation
(source);
6037
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6066
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6084
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6086
comp =
CreateCompilation
(source);
6167
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6169
comp =
CreateCompilation
(source);
6279
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6281
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6283
comp =
CreateCompilation
(source);
6303
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6382
CreateCompilation
(source).VerifyDiagnostics(
6403
CreateCompilation
(source).VerifyDiagnostics(
6427
CreateCompilation
(source).VerifyDiagnostics(
6487
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6526
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6571
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6616
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6661
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6706
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6745
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6997
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7135
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7171
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7207
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7256
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7299
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7338
CreateCompilation
(source).VerifyDiagnostics(
7508
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7541
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7588
comp =
CreateCompilation
(source);
7611
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7642
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7651
comp =
CreateCompilation
(source);
7680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7724
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7730
comp =
CreateCompilation
(source);
7762
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7765
comp =
CreateCompilation
(source);
7789
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7833
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7860
comp =
CreateCompilation
(source);
7916
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7945
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7983
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7986
comp =
CreateCompilation
(source);
8023
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
8046
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
8122
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8150
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8178
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8209
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8316
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8349
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8387
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8429
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8515
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8518
comp =
CreateCompilation
(source);
8538
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8547
comp =
CreateCompilation
(source);
8616
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8619
comp =
CreateCompilation
(source);
8652
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8655
comp =
CreateCompilation
(source);
8718
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8721
comp =
CreateCompilation
(source);
8754
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8757
comp =
CreateCompilation
(source);
8785
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8812
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8827
comp =
CreateCompilation
(source);
8858
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8895
comp =
CreateCompilation
(source);
8919
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8926
comp =
CreateCompilation
(source);
8948
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8954
comp =
CreateCompilation
(source);
8977
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8983
comp =
CreateCompilation
(source);
9007
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9022
comp =
CreateCompilation
(source);
9051
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9061
comp =
CreateCompilation
(source);
9085
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9092
comp =
CreateCompilation
(source);
9113
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9120
comp =
CreateCompilation
(source);
9152
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9173
comp =
CreateCompilation
(source);
9199
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9234
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9295
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9298
comp =
CreateCompilation
(source);
9322
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9365
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9390
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9393
comp =
CreateCompilation
(source);
9428
var comp =
CreateCompilation
(source);
9463
var comp =
CreateCompilation
(source);
9513
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9556
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9559
comp =
CreateCompilation
(source);
9584
var comp =
CreateCompilation
(source);
9631
var comp =
CreateCompilation
(source);
9684
var comp =
CreateCompilation
(source);
9727
var comp =
CreateCompilation
(source);
9789
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9791
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9793
comp =
CreateCompilation
(source);
9892
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9894
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9896
comp =
CreateCompilation
(source);
9946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9948
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9950
comp =
CreateCompilation
(source);
10128
var comp =
CreateCompilation
(source);
10152
var comp =
CreateCompilation
(source);
10178
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
10190
comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe);
10251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithKind(SourceCodeKind.Script));
10263
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10.WithKind(SourceCodeKind.Script));
10280
var comp =
CreateCompilation
(source);
10315
var comp =
CreateCompilation
(source);
10341
var comp =
CreateCompilation
(source);
10372
var comp =
CreateCompilation
(source);
10414
var comp =
CreateCompilation
(source);
10433
var comp =
CreateCompilation
(source);
10466
var comp =
CreateCompilation
(source);
10489
var comp =
CreateCompilation
(source);
10513
var comp =
CreateCompilation
(source);
10536
var comp =
CreateCompilation
(source);
10577
var comp =
CreateCompilation
(source);
10617
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10619
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10621
comp =
CreateCompilation
(source);
10664
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10699
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10717
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10719
comp =
CreateCompilation
(source);
10741
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10777
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10792
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10794
comp =
CreateCompilation
(source);
10816
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10875
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10887
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10889
comp =
CreateCompilation
(source);
10947
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10970
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
11008
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11139
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11193
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11267
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11333
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
11384
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11410
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11475
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11554
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
11613
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11650
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11685
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11718
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11757
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
11798
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11839
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11895
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11928
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11959
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11998
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
12070
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
12106
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12260
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
13108
CreateCompilation
(source).VerifyDiagnostics(
13162
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
13218
CreateCompilation
(source).VerifyDiagnostics(
13563
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13598
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13644
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
13680
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13699
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13813
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13832
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13929
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13974
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
14226
var comp =
CreateCompilation
(UnscopedRefAttributeDefinition, targetFramework: TargetFramework.Net60, assemblyName: attributeAssemblyName);
14237
comp =
CreateCompilation
(sourceA, references: new[] { refAttribute }, targetFramework: TargetFramework.Net60);
14252
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net60);
14258
comp =
CreateCompilation
(sourceB, references: new[] { refA, refAttribute }, targetFramework: TargetFramework.Net60);
14301
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
14315
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
14339
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
14436
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
14467
var comp =
CreateCompilation
(source);
14508
var comp =
CreateCompilation
(source);
14577
var comp =
CreateCompilation
(source);
14641
var comp =
CreateCompilation
(source);
14695
var comp =
CreateCompilation
(source);
14740
var comp =
CreateCompilation
(source);
14820
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14823
comp =
CreateCompilation
(source);
14868
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14871
comp =
CreateCompilation
(source);
14938
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14941
comp =
CreateCompilation
(source);
15027
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15030
comp =
CreateCompilation
(source);
15087
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15090
comp =
CreateCompilation
(source);
15164
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15167
comp =
CreateCompilation
(source);
15252
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15255
comp =
CreateCompilation
(source);
15317
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15320
comp =
CreateCompilation
(source);
15361
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15364
comp =
CreateCompilation
(source);
15414
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15417
comp =
CreateCompilation
(source);
15449
var comp =
CreateCompilation
(source);
15479
var comp =
CreateCompilation
(source);
15509
var comp =
CreateCompilation
(source);
15532
var comp =
CreateCompilation
(source);
15556
var comp =
CreateCompilation
(source);
15977
CreateCompilation
(source).VerifyDiagnostics(
16039
CreateCompilation
(source).VerifyDiagnostics(
16064
CreateCompilation
(source).VerifyDiagnostics(
16085
CreateCompilation
(source).VerifyDiagnostics(
16104
CreateCompilation
(source).VerifyDiagnostics();
16123
CreateCompilation
(source).VerifyDiagnostics(
16146
CreateCompilation
(source).VerifyDiagnostics(
16167
CreateCompilation
(source).VerifyDiagnostics(
16192
CreateCompilation
(source).VerifyDiagnostics(
16220
CreateCompilation
(source).VerifyDiagnostics(
16357
CreateCompilation
(source).VerifyDiagnostics(
16378
CreateCompilation
(source).VerifyDiagnostics(
16505
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
16557
CreateCompilation
(source).VerifyDiagnostics(
16810
CreateCompilation
(source).VerifyDiagnostics();
16883
CreateCompilation
(source).VerifyDiagnostics(
17002
CreateCompilation
(source).VerifyDiagnostics(
17024
CreateCompilation
(source).VerifyDiagnostics(
17049
CreateCompilation
(source).VerifyDiagnostics(
17074
CreateCompilation
(source).VerifyDiagnostics(
17092
CreateCompilation
(source).VerifyDiagnostics();
17112
CreateCompilation
(source).VerifyDiagnostics(
17135
CreateCompilation
(source).VerifyDiagnostics(
17239
CreateCompilation
(source).VerifyDiagnostics();
17248
CreateCompilation
(source).VerifyDiagnostics(
17261
CreateCompilation
(source).VerifyDiagnostics();
17285
CreateCompilation
(new[] { source, handler }).VerifyDiagnostics(
17297
CreateCompilation
(source).VerifyDiagnostics(
17318
CreateCompilation
(source).VerifyDiagnostics(
17338
CreateCompilation
(source).VerifyDiagnostics(
17350
CreateCompilation
(source).VerifyDiagnostics(
17366
var comp1 =
CreateCompilation
(source1);
17372
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
17389
var comp1 =
CreateCompilation
(source1);
17395
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
17476
CreateCompilation
(source).VerifyDiagnostics(
17770
CreateCompilation
(source).VerifyDiagnostics();
18386
CreateCompilation
(source).VerifyDiagnostics(
18482
var comp =
CreateCompilation
(source);
18486
comp =
CreateCompilation
(source);
18490
comp =
CreateCompilation
(source);
18505
var comp =
CreateCompilation
(source);
18523
var comp =
CreateCompilation
(source);
18541
var comp =
CreateCompilation
(source);
18565
var comp =
CreateCompilation
(source);
18585
var comp =
CreateCompilation
(source);
18602
var comp =
CreateCompilation
(source);
18623
var comp =
CreateCompilation
(source);
18639
var comp =
CreateCompilation
(source);
18659
var comp =
CreateCompilation
(source);
18677
var comp =
CreateCompilation
(source);
18704
var comp =
CreateCompilation
(source);
18730
var comp =
CreateCompilation
(source);
18750
var comp =
CreateCompilation
(source);
18775
var comp =
CreateCompilation
(source);
18791
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
18796
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18817
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
18822
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18836
var comp =
CreateCompilation
(source);
18854
var comp =
CreateCompilation
(source);
18862
CreateCompilation
(source2, new[] { comp.EmitToImageReference() }).VerifyEmitDiagnostics(
18878
var comp =
CreateCompilation
(source);
18895
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
18908
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18912
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18916
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18920
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18938
var comp =
CreateCompilation
(source);
18959
var comp =
CreateCompilation
(source);
18985
var comp =
CreateCompilation
(source);
18989
comp =
CreateCompilation
(source);
19008
var comp =
CreateCompilation
(source);
19028
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19033
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19058
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19063
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19084
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19101
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19105
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19109
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19119
var comp =
CreateCompilation
(source);
19133
var comp =
CreateCompilation
(source);
19151
var comp =
CreateCompilation
(source);
19168
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19173
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19190
var comp =
CreateCompilation
(source);
19207
var comp =
CreateCompilation
(source);
19437
CreateCompilation
(source).VerifyDiagnostics(
19457
CreateCompilation
(source).VerifyDiagnostics(
19479
CreateCompilation
(source).VerifyDiagnostics(
19498
CreateCompilation
(source).VerifyDiagnostics();
19520
CreateCompilation
(source).VerifyDiagnostics(
19541
CreateCompilation
(source).VerifyDiagnostics(
19585
CreateCompilation
(source).VerifyDiagnostics(
19626
CreateCompilation
(source).VerifyDiagnostics(
19667
CreateCompilation
(source).VerifyDiagnostics(
19704
CreateCompilation
(source).VerifyDiagnostics(
19725
CreateCompilation
(source).VerifyDiagnostics(
19750
var comp =
CreateCompilation
(source);
19789
var comp =
CreateCompilation
(source);
Semantics\DynamicTests.cs (159)
68
var c =
CreateCompilation
("", new[] { CSharpRef });
263
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics();
286
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics(
616
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3747
var comp =
CreateCompilation
(source);
3971
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics(
4044
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
4067
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4094
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4271
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4294
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4395
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4411
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4676
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
4696
CreateCompilation
(code).VerifyDiagnostics(
4720
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4751
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4776
CreateCompilation
(code).VerifyDiagnostics(
4801
CreateCompilation
(code).VerifyDiagnostics(
4834
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4895
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4933
CreateCompilation
(code).VerifyDiagnostics(
4973
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5025
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5055
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5097
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5149
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5178
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5220
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5272
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5302
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5338
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5379
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5423
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5467
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5511
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5550
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
5575
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5613
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5652
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5688
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5729
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5774
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5819
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5864
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5905
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
5932
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5971
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6019
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6070
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6100
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6142
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6193
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6223
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6262
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
6313
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
6343
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6373
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6416
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6462
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6506
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6549
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6603
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6668
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6732
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6777
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6841
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6887
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6952
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6988
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7056
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7114
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7159
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7226
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7272
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7339
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7388
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7456
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7501
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7578
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7638
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7683
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7744
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7789
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7850
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7892
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7964
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8025
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8070
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8131
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8175
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8235
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8280
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8344
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8389
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8453
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8498
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8562
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8608
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8673
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8721
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8790
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8858
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8921
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8980
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9011
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9070
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9102
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9161
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9192
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9248
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9309
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9366
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9398
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9430
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9487
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9519
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9606
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9637
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9664
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9716
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9748
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9775
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9827
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9859
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9886
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9937
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9968
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10006
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10086
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10134
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10214
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10262
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10342
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10379
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10416
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10495
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10637
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10698
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10786
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10847
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10887
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
10923
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10968
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11054
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
11097
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11181
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11259
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11314
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11367
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11414
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11447
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11491
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11532
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11581
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11633
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11676
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
Semantics\ExpressionBodiedMemberTests.cs (22)
438
var comp =
CreateCompilation
(@"
453
var comp =
CreateCompilation
(@"
484
var comp =
CreateCompilation
(@"
515
var comp =
CreateCompilation
(@"
553
var comp =
CreateCompilation
(@"
593
var comp =
CreateCompilation
(@"
622
var comp =
CreateCompilation
(@"
658
var comp =
CreateCompilation
(@"
689
var comp =
CreateCompilation
(@"
720
var comp =
CreateCompilation
(@"
751
var comp =
CreateCompilation
(@"
786
var comp =
CreateCompilation
(@"
817
var comp =
CreateCompilation
(@"
853
var comp =
CreateCompilation
(@"
888
var comp =
CreateCompilation
(@"
927
var comp =
CreateCompilation
(@"
949
var comp =
CreateCompilation
(@"
965
var comp =
CreateCompilation
(@"
981
var comp =
CreateCompilation
(@"
998
var comp =
CreateCompilation
(@"
1043
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics();
1044
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
Semantics\FieldInitializerBindingTests.cs (1)
245
var compilation =
CreateCompilation
(source);
Semantics\ForEachTests.cs (58)
41
CreateCompilation
(text).VerifyDiagnostics(
60
CreateCompilation
(text).VerifyDiagnostics(
80
CreateCompilation
(text).VerifyDiagnostics(
102
CreateCompilation
(text).VerifyDiagnostics(
121
CreateCompilation
(text).VerifyDiagnostics(
140
CreateCompilation
(text).VerifyDiagnostics(
159
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
221
CreateCompilation
(text).VerifyDiagnostics(
252
CreateCompilation
(text).VerifyDiagnostics(
285
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
290
CreateCompilation
(text).VerifyDiagnostics(
324
CreateCompilation
(text).VerifyDiagnostics(
357
CreateCompilation
(text).VerifyDiagnostics(
390
CreateCompilation
(text).VerifyDiagnostics(
423
CreateCompilation
(text).VerifyDiagnostics(
454
CreateCompilation
(text).VerifyDiagnostics(
485
CreateCompilation
(text).VerifyDiagnostics(
521
CreateCompilation
(text).VerifyDiagnostics(
554
CreateCompilation
(text).VerifyDiagnostics(
587
CreateCompilation
(text).VerifyDiagnostics(
620
CreateCompilation
(text).VerifyDiagnostics(
651
CreateCompilation
(text).VerifyDiagnostics(
687
CreateCompilation
(text).VerifyDiagnostics(
718
CreateCompilation
(text).VerifyDiagnostics(
749
CreateCompilation
(text).VerifyDiagnostics(
779
CreateCompilation
(text).VerifyDiagnostics(
809
CreateCompilation
(text).VerifyDiagnostics(
856
CreateCompilation
(text).VerifyDiagnostics(
905
CreateCompilation
(text).VerifyDiagnostics(
941
CreateCompilation
(text).VerifyDiagnostics(
959
CreateCompilation
(text).VerifyDiagnostics(
977
CreateCompilation
(text).VerifyDiagnostics(
996
CreateCompilation
(text).VerifyDiagnostics(
1039
CreateCompilation
(text).VerifyDiagnostics(
1058
CreateCompilation
(text).VerifyDiagnostics(
1091
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
1110
CreateCompilation
(source).VerifyDiagnostics(
1132
CreateCompilation
(source).VerifyDiagnostics(
1160
CreateCompilation
(source).VerifyDiagnostics(
1185
CreateCompilation
(source).VerifyDiagnostics(
1792
var compilation =
CreateCompilation
(text);
2052
CreateCompilation
(source, parseOptions: options).VerifyDiagnostics(
2062
CreateCompilation
(condDefSource).VerifyDiagnostics(
2106
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
2173
var comp =
CreateCompilation
(source);
2856
CreateCompilation
(source).VerifyDiagnostics(
2921
CreateCompilation
(source).VerifyDiagnostics(
2962
CreateCompilation
(source).VerifyDiagnostics(
2987
CreateCompilation
(source).VerifyDiagnostics(
3312
var comp =
CreateCompilation
("""
3334
var comp =
CreateCompilation
("""
3418
var compilation =
CreateCompilation
(source);
3511
CreateCompilation
(@"
3542
CreateCompilation
(@"
3573
CreateCompilation
(@"
3602
CreateCompilation
(@"
3655
CreateCompilation
(@"
Semantics\ForLoopErrorTests.cs (7)
27
CreateCompilation
(text).VerifyDiagnostics(
55
CreateCompilation
(text).
76
CreateCompilation
(text).
94
CreateCompilation
(text).VerifyDiagnostics(
115
CreateCompilation
(text).
146
CreateCompilation
(text).
199
var comp =
CreateCompilation
(text);
Semantics\FunctionPointerTests.cs (2)
21
return
CreateCompilation
(source, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: parseOptions, targetFramework: targetFramework ?? TargetFramework.Standard);
2107
var cComp =
CreateCompilation
(cDefinition, assemblyName: "cLib");
Semantics\GenericConstraintsTests.cs (165)
24
CreateCompilation
(@"
54
CreateCompilation
(@"
87
CreateCompilation
(@"
121
CreateCompilation
(@"
154
CreateCompilation
(@"
190
var reference =
CreateCompilation
(@"
214
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
226
var reference =
CreateCompilation
(@"
250
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
265
var reference =
CreateCompilation
(@"
289
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
304
var reference =
CreateCompilation
(@"
328
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
353
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
358
var reference =
CreateCompilation
(code).EmitToImageReference();
373
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
390
CreateCompilation
($@"
415
CreateCompilation
(@"
522
CreateCompilation
(@"
549
var reference =
CreateCompilation
(@"
555
CreateCompilation
(@"
578
CreateCompilation
(@"
595
var reference =
CreateCompilation
(@"
601
CreateCompilation
(@"
614
var comp =
CreateCompilation
(@"
705
CreateCompilation
(code).VerifyDiagnostics(
717
CreateCompilation
(@"
743
CreateCompilation
(@"
769
CreateCompilation
(@"
782
CreateCompilation
(@"
814
var reference =
CreateCompilation
(@"
819
CreateCompilation
(@"
842
var reference =
CreateCompilation
(@"
847
CreateCompilation
(@"
870
var reference =
CreateCompilation
(@"
875
CreateCompilation
(@"
910
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
915
var reference =
CreateCompilation
(code).EmitToImageReference();
929
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
938
CreateCompilation
(@"
989
var compilation =
CreateCompilation
("public class Test<T> where T : struct, System.Delegate { }")
1041
CreateCompilation
(@"
1066
var reference =
CreateCompilation
(@"
1072
CreateCompilation
(@"
1093
CreateCompilation
(@"
1110
var reference =
CreateCompilation
(@"
1116
CreateCompilation
(@"
1129
var comp =
CreateCompilation
(@"
1198
CreateCompilation
(@"
1224
CreateCompilation
(@"
1250
CreateCompilation
(@"
1263
CreateCompilation
(@"
1295
var reference =
CreateCompilation
(@"
1300
CreateCompilation
(@"
1323
var reference =
CreateCompilation
(@"
1328
CreateCompilation
(@"
1351
var reference =
CreateCompilation
(@"
1356
CreateCompilation
(@"
1392
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
1397
var reference =
CreateCompilation
(code).EmitToImageReference();
1411
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
1420
CreateCompilation
(@"
1474
var compilation =
CreateCompilation
("public class Test<T> where T : struct, System.MulticastDelegate { }")
1526
CreateCompilation
(@"
1551
var reference =
CreateCompilation
(@"
1557
CreateCompilation
(@"
1578
CreateCompilation
(@"
1595
var reference =
CreateCompilation
(@"
1601
CreateCompilation
(@"
1614
var comp =
CreateCompilation
(@"
1687
CreateCompilation
(code).VerifyDiagnostics();
1693
CreateCompilation
(code).VerifyDiagnostics(
1702
CreateCompilation
(@"
1734
CreateCompilation
(@"
1768
CreateCompilation
(@"
1795
CreateCompilation
(@"
1828
var c =
CreateCompilation
("public class Test<T> where T : class, unmanaged {}");
1846
var c =
CreateCompilation
("public class Test<T> where T : struct, unmanaged {}");
1864
CreateCompilation
("public class Test<T> where T : unmanaged, new() {}").VerifyDiagnostics(
1873
CreateCompilation
("public class Test<T> where T : unmanaged, System.Exception { }").VerifyDiagnostics(
1883
CreateCompilation
("public class Test<T> where T : System.Exception, unmanaged { }").VerifyDiagnostics(
1892
CreateCompilation
("public class Test<T> where T : System.Enum, System.IDisposable, unmanaged { }").VerifyDiagnostics(
1918
CreateCompilation
("public class Test<T, U> where T : U, unmanaged { }").VerifyDiagnostics(
1927
CreateCompilation
("public class Test<T, U> where T : unmanaged, U { }").VerifyDiagnostics();
1928
CreateCompilation
("public class Test<T, U> where U: class where T : unmanaged, U, System.IDisposable { }").VerifyDiagnostics();
1978
var reference =
CreateCompilation
(@"
1998
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2013
var reference =
CreateCompilation
(@"
2034
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2050
var reference =
CreateCompilation
(@"
2066
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2088
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
2093
var reference =
CreateCompilation
(code).EmitToImageReference();
2105
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
2209
CreateCompilation
(@"
2241
var reference =
CreateCompilation
(@"
2247
CreateCompilation
(@"
2275
CreateCompilation
(@"
2292
CreateCompilation
(@"
2329
CreateCompilation
(@"
2363
var reference =
CreateCompilation
(@"
2370
CreateCompilation
(@"
2398
var reference =
CreateCompilation
(@"
2405
var reference1 =
CreateCompilation
(@"
2443
var reference =
CreateCompilation
(@"
2449
CreateCompilation
(@"
2462
CreateCompilation
(@"
2679
CreateCompilation
(@"
2740
CreateCompilation
(@"
2864
var compilation =
CreateCompilation
(@"
2888
CreateCompilation
(@"
2903
CreateCompilation
(@"
2920
CreateCompilation
(@"
3004
CreateCompilation
(code).VerifyDiagnostics(
3125
var compilation =
CreateCompilation
(@"
3152
var compilation =
CreateCompilation
(@"
3182
var compilation =
CreateCompilation
(@"
3208
var compilation =
CreateCompilation
(@"
3237
CreateCompilation
(@"
3296
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3320
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3350
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3385
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3414
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3417
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3457
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3464
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3492
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3534
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3558
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3578
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3599
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3623
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3654
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3679
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3707
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3735
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3763
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3794
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3830
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3862
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3890
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3979
var compilation =
CreateCompilation
(code);
4001
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4008
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4031
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4040
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4057
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4064
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4081
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4087
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4104
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4110
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4127
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4134
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4154
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4161
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4184
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4194
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4221
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4231
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4284
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4341
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4352
var comp =
CreateCompilation
(@"
4416
var comp =
CreateCompilation
(@"
Semantics\GlobalUsingDirectiveTests.cs (313)
36
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
66
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
86
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
108
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
134
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
166
var comp1 =
CreateCompilation
(source1);
191
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
234
var comp3 =
CreateCompilation
(source3, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
275
var comp1 =
CreateCompilation
(source1);
304
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
353
var comp3 =
CreateCompilation
(source3, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
385
var comp1 =
CreateCompilation
(source1);
404
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
421
var comp3 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
434
var extComp =
CreateCompilation
(ext);
541
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
544
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
547
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
550
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
553
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
556
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
563
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
580
var extComp =
CreateCompilation
(ext);
680
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
683
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
686
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
689
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
692
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
695
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
702
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
811
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
814
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
817
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
820
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
823
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
869
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.RegularPreview);
889
comp =
CreateCompilation
(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
892
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
895
comp =
CreateCompilation
(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.RegularPreview);
940
var comp =
CreateCompilation
(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.RegularPreview);
960
comp =
CreateCompilation
(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
963
comp =
CreateCompilation
(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.RegularPreview);
1020
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1061
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1111
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1139
var extComp =
CreateCompilation
(ext);
1235
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1238
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1241
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1244
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1247
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1250
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1257
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1274
var extComp =
CreateCompilation
(ext);
1363
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1366
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1369
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1372
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1375
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1378
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1385
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1483
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1486
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1489
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1492
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1495
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1530
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.RegularPreview);
1550
comp =
CreateCompilation
(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
1553
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
1556
comp =
CreateCompilation
(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.RegularPreview);
1590
var comp =
CreateCompilation
(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.RegularPreview);
1610
comp =
CreateCompilation
(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
1613
comp =
CreateCompilation
(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.RegularPreview);
1691
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1807
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1810
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1813
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1816
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1819
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1893
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1927
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1963
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
2026
var comp =
CreateCompilation
(new[] { source2, source1, source3, source6, source4, "", source5 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
2044
var comp1 =
CreateCompilation
(source1);
2073
var comp2 =
CreateCompilation
(new[] { source2 + source3, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2083
var comp3 =
CreateCompilation
(new[] { source2 + source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2096
var comp4 =
CreateCompilation
(new[] { source2 + source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2109
var comp5 =
CreateCompilation
(new[] { source2 + source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2129
var comp6 =
CreateCompilation
(new[] { source2, source3, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2139
var comp7 =
CreateCompilation
(new[] { source2, source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2152
var comp8 =
CreateCompilation
(new[] { source2 + source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2155
var comp9 =
CreateCompilation
(new[] { source2 + source5, source3, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2168
var comp10 =
CreateCompilation
(new[] { source2 + source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2194
var comp1 =
CreateCompilation
(source1);
2207
var comp2 =
CreateCompilation
(new[] { source1, source2, source3 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2218
comp2 =
CreateCompilation
(new[] { source1, source3, source2 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2242
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2253
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2267
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2270
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2273
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2276
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2279
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2282
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2300
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2307
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2329
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2340
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2343
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2384
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2398
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2415
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2418
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2421
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2424
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2427
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2430
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2480
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2494
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2511
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2514
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2517
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2520
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2523
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2526
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2548
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2559
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2570
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2577
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2587
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2597
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2607
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2610
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2634
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2641
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2662
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2673
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2676
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2702
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2713
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2724
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2731
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2741
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2751
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2761
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2764
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2788
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2795
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2816
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2827
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2830
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2871
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2905
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2909
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2913
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2917
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2957
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2991
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2995
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2999
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
3003
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
3043
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3077
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3081
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3085
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
3089
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
3170
var comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3254
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3283
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3300
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3311
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3353
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
3356
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
3359
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
3363
var newLibComp =
CreateCompilation
(alias1 + newLib_cs,
3368
var newLibComp2 =
CreateCompilation
(alias1 + newLib_cs,
3372
newLibComp =
CreateCompilation
(new[] { alias1, newLib_cs },
3376
newLibComp2 =
CreateCompilation
(new[] { alias1, newLib_cs },
3380
newLibComp =
CreateCompilation
(alias1 + alias2 + newLib_cs,
3388
newLibComp2 =
CreateCompilation
(alias1 + alias2 + newLib_cs,
3396
newLibComp =
CreateCompilation
(new[] { alias1, alias2 + newLib_cs },
3404
newLibComp2 =
CreateCompilation
(new[] { alias1, alias2 + newLib_cs },
3412
newLibComp =
CreateCompilation
(alias3 + alias4 + newLib_cs,
3420
newLibComp2 =
CreateCompilation
(alias3 + alias4 + newLib_cs,
3428
newLibComp =
CreateCompilation
(new[] { alias3, alias4 + newLib_cs },
3436
newLibComp2 =
CreateCompilation
(new[] { alias3, alias4 + newLib_cs },
3453
var extComp =
CreateCompilation
(ext, assemblyName: "Extern");
3506
var comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions, references: new[] { extCompRef });
3509
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3512
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3515
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3540
comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + source, parseOptions: parseOptions, references: new[] { extCompRef });
3543
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3546
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3549
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3573
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions);
3576
comp =
CreateCompilation
(new[] { globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions);
3579
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3582
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3605
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + source, parseOptions: parseOptions);
3608
comp =
CreateCompilation
(new[] { globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions);
3611
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3614
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3617
comp =
CreateCompilation
(source, parseOptions: parseOptions);
3644
var extComp =
CreateCompilation
(ext, assemblyName: "Extern");
3702
var comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions, references: new[] { extCompRef });
3705
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3708
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3711
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3736
comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + source, parseOptions: parseOptions, references: new[] { extCompRef });
3739
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3742
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3745
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3769
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions);
3772
comp =
CreateCompilation
(new[] { globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions);
3775
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3778
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3801
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + source, parseOptions: parseOptions);
3804
comp =
CreateCompilation
(new[] { globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions);
3807
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3810
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3839
var comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.RegularPreview);
3865
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3896
comp =
CreateCompilation
(new[] { externAlias + usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3929
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3949
comp =
CreateCompilation
(new[] { externAlias + globalUsings1, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3974
comp =
CreateCompilation
(new[] { externAlias, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4001
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.RegularPreview);
4021
comp =
CreateCompilation
(new[] { globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4046
comp =
CreateCompilation
(new[] { usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4073
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4087
comp =
CreateCompilation
(new[] { globalUsings1, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4108
comp =
CreateCompilation
(new[] { externAlias + usings, source }, parseOptions: TestOptions.RegularPreview);
4130
comp =
CreateCompilation
(new[] { externAlias, source }, parseOptions: TestOptions.RegularPreview);
4146
comp =
CreateCompilation
(new[] { usings, source }, parseOptions: TestOptions.RegularPreview);
4212
var comp =
CreateCompilation
(new[] { externAlias1 + globalUsings1 + source }, parseOptions: TestOptions.RegularPreview);
4223
comp =
CreateCompilation
(new[] { externAlias1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4226
comp =
CreateCompilation
(new[] { externAlias1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4240
comp =
CreateCompilation
(new[] { globalUsings1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4248
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4256
comp =
CreateCompilation
(new[] { externAlias1 + globalUsings1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4259
comp =
CreateCompilation
(new[] { externAlias1 + usings1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4262
comp =
CreateCompilation
(new[] { externAlias1 + externAlias2 + source }, parseOptions: TestOptions.RegularPreview);
4276
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4284
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4292
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4300
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4308
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4366
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4377
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4380
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4383
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4386
comp =
CreateCompilation
(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4393
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4400
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4462
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4473
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4476
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4479
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4482
comp =
CreateCompilation
(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4489
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4496
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4513
var comp1 =
CreateCompilation
(source1);
4562
var comp2 =
CreateCompilation
(externAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4573
comp2 =
CreateCompilation
(new[] { externAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4576
comp2 =
CreateCompilation
(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4580
var comp2 =
CreateCompilation
(externAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4591
comp2 =
CreateCompilation
(new[] { externAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4594
comp2 =
CreateCompilation
(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4598
var comp2 =
CreateCompilation
(externAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4605
comp2 =
CreateCompilation
(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4609
var comp2 =
CreateCompilation
(externAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4616
comp2 =
CreateCompilation
(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4678
var comp2 =
CreateCompilation
(globalAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4689
comp2 =
CreateCompilation
(new[] { globalAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4692
comp2 =
CreateCompilation
(new[] { source2, globalAlias + globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4695
comp2 =
CreateCompilation
(new[] { source2, globalAlias, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4698
comp2 =
CreateCompilation
(new[] { source2, globalUsing1, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4701
comp2 =
CreateCompilation
(globalUsing1 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4704
comp2 =
CreateCompilation
(new[] { regularAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4707
comp2 =
CreateCompilation
(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4711
var comp2 =
CreateCompilation
(globalAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4722
comp2 =
CreateCompilation
(new[] { globalAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4725
comp2 =
CreateCompilation
(new[] { source2, globalAlias + globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4728
comp2 =
CreateCompilation
(new[] { source2, globalAlias, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4731
comp2 =
CreateCompilation
(new[] { source2, globalUsing2, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4734
comp2 =
CreateCompilation
(globalUsing2 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4737
comp2 =
CreateCompilation
(new[] { regularAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4740
comp2 =
CreateCompilation
(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4744
var comp2 =
CreateCompilation
(globalAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4755
comp2 =
CreateCompilation
(new[] { globalAlias, using1 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4758
comp2 =
CreateCompilation
(regularAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4761
comp2 =
CreateCompilation
(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4765
var comp2 =
CreateCompilation
(globalAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4776
comp2 =
CreateCompilation
(new[] { globalAlias, using2 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4779
comp2 =
CreateCompilation
(regularAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4782
comp2 =
CreateCompilation
(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4865
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4925
CreateCompilation
(new[] { globalUsing1 + globalUsing2 + regularUsings + source }, parseOptions: TestOptions.RegularPreview).
4928
CreateCompilation
(new[] { globalUsing1 + regularUsings + source, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4931
CreateCompilation
(new[] { regularUsings + source, globalUsing1, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4944
CreateCompilation
(new[] { globalUsing1 + globalUsing2 + source }, parseOptions: TestOptions.RegularPreview).
4947
CreateCompilation
(new[] { globalUsing1 + source, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4950
CreateCompilation
(new[] { regularUsings + source }, parseOptions: TestOptions.RegularPreview).
4974
var comp =
CreateCompilation
(new[] { globalUsings1, source }, parseOptions: TestOptions.RegularPreview);
5001
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5006
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
5022
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5044
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5063
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5082
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5101
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
Semantics\HideByNameTests.cs (3)
757
CreateCompilation
(@"
780
CreateCompilation
(@"
801
CreateCompilation
(@"
Semantics\ImplicitlyTypeArraysTests.cs (3)
22
var compilation =
CreateCompilation
(@"
64
var comp =
CreateCompilation
(tree);
90
var comp =
CreateCompilation
(tree);
Semantics\ImplicitlyTypedLocalsTests.cs (6)
19
var compilation =
CreateCompilation
(@"
36
var compilation =
CreateCompilation
(@"
73
CreateCompilation
(text).VerifyDiagnostics(
105
CreateCompilation
(text).VerifyDiagnostics(
152
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics();
153
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
Semantics\ImplicitObjectCreationTests.cs (12)
23
return CSharpTestBase.
CreateCompilation
(source, options: options, parseOptions: ImplicitObjectCreationTestOptions, references: references);
93
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
1839
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
2065
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4153
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4180
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4232
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4271
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4316
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4348
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4387
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: signedDll);
4388
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: signedDll);
Semantics\ImportsTests.cs (2)
103
var comp =
CreateCompilation
(
146
var comp =
CreateCompilation
(trees, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef.WithAliases(externAliases) });
Semantics\IndexAndRangeTests.cs (10)
491
var comp =
CreateCompilation
(src);
533
var comp =
CreateCompilation
(src);
713
var comp =
CreateCompilation
(source + @"
726
comp =
CreateCompilation
(source + @"
803
var compilation =
CreateCompilation
(@"
822
var compilation =
CreateCompilation
(@"
877
var compilation =
CreateCompilation
(@"
1057
var compilation =
CreateCompilation
(@"
1752
var comp =
CreateCompilation
(@"
1783
var comp =
CreateCompilation
(@"
Semantics\InheritanceBindingTests.cs (183)
71
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
163
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
248
CreateCompilation
(text).VerifyDiagnostics(
319
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
411
CreateCompilation
(text).VerifyDiagnostics(
540
CreateCompilation
(text).VerifyDiagnostics(
674
CreateCompilation
(text).VerifyDiagnostics(
716
CreateCompilation
(text).VerifyDiagnostics(
757
CreateCompilation
(text).VerifyDiagnostics(
813
CreateCompilation
(text).VerifyDiagnostics(
876
CreateCompilation
(text).VerifyDiagnostics(
936
CreateCompilation
(text).VerifyDiagnostics(
989
CreateCompilation
(text).VerifyDiagnostics(
1070
CreateCompilation
(text).VerifyDiagnostics(
1278
CreateCompilation
(text).VerifyDiagnostics(
1364
CreateCompilation
(text).VerifyDiagnostics(
1404
CreateCompilation
(text).VerifyDiagnostics(
1466
CreateCompilation
(text).VerifyDiagnostics(
1528
CreateCompilation
(text).VerifyDiagnostics(
2011
CreateCompilation
(text).VerifyDiagnostics(
2043
CreateCompilation
(text).VerifyDiagnostics(
2073
CreateCompilation
(text).VerifyDiagnostics(
2105
CreateCompilation
(text).VerifyDiagnostics(
2133
CreateCompilation
(text).VerifyDiagnostics(
2158
CreateCompilation
(text).VerifyDiagnostics(
2185
CreateCompilation
(text).VerifyDiagnostics(
2212
CreateCompilation
(text).VerifyDiagnostics(
2241
CreateCompilation
(text).VerifyDiagnostics(
2346
CreateCompilation
(text).VerifyDiagnostics(
2391
CreateCompilation
(text).VerifyDiagnostics(
2439
CreateCompilation
(text).VerifyDiagnostics(
2460
CreateCompilation
(text).VerifyDiagnostics(
2792
CreateCompilation
(text).VerifyDiagnostics(
2908
CreateCompilation
(text).VerifyDiagnostics(
3007
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp12.EmitToImageReference() }, assemblyName: "lib2");
3024
var comp3 =
CreateCompilation
(new[] { source3 }, references: new[] { comp11.EmitToImageReference(), comp2.EmitToImageReference() }, assemblyName: "lib3");
3203
CreateCompilation
(text).VerifyDiagnostics(
3230
CreateCompilation
(text).VerifyDiagnostics(
3258
CreateCompilation
(text).VerifyDiagnostics(
3295
CreateCompilation
(text).VerifyDiagnostics(
3332
CreateCompilation
(text).VerifyDiagnostics(
3390
CreateCompilation
(text).VerifyDiagnostics(
3451
CreateCompilation
(text).VerifyDiagnostics(
3512
CreateCompilation
(text).VerifyDiagnostics(
3573
CreateCompilation
(text).VerifyDiagnostics(
3701
CreateCompilation
(text).VerifyDiagnostics(
4166
CreateCompilation
(text).VerifyDiagnostics(
4264
CreateCompilation
(text).VerifyDiagnostics(
4645
CreateCompilation
(text).VerifyDiagnostics(
4730
CreateCompilation
(text).VerifyDiagnostics(
4752
CreateCompilation
(text).VerifyDiagnostics(
4819
CreateCompilation
(text).VerifyDiagnostics(
4863
CreateCompilation
(text).VerifyDiagnostics(
4897
CreateCompilation
(text).VerifyDiagnostics();
4922
CreateCompilation
(text).VerifyDiagnostics();
4946
CreateCompilation
(text).VerifyDiagnostics();
4970
CreateCompilation
(text).VerifyDiagnostics();
4988
CSharpCompilation comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
5028
CreateCompilation
(text).VerifyDiagnostics(
5049
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
5208
CreateCompilation
(text, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
5467
CreateCompilation
(text).VerifyDiagnostics(
5485
CreateCompilation
(text).VerifyDiagnostics(
5847
CreateCompilation
(text).VerifyDiagnostics(
5920
CreateCompilation
(text).VerifyDiagnostics(
5937
CreateCompilation
(text).VerifyDiagnostics(
5970
CreateCompilation
(text).VerifyDiagnostics(
6004
CreateCompilation
(text).VerifyDiagnostics(
6092
CreateCompilation
(text).VerifyDiagnostics(
6128
CreateCompilation
(text).VerifyDiagnostics(
6150
CreateCompilation
(text).VerifyDiagnostics(
6183
CreateCompilation
(text).VerifyDiagnostics(
6202
var comp1 =
CreateCompilation
(text1);
6240
var compilation1 =
CreateCompilation
(source1);
6285
CreateCompilation
(source).VerifyDiagnostics(
6374
CreateCompilation
(source).VerifyDiagnostics(
6434
CreateCompilation
(text).VerifyDiagnostics(
6497
CreateCompilation
(text).VerifyDiagnostics(
6538
CreateCompilation
(text).VerifyDiagnostics(
6621
var compilation =
CreateCompilation
(text);
6678
CreateCompilation
(text).VerifyDiagnostics(
6703
var comp =
CreateCompilation
(text);
6752
CreateCompilation
(source).VerifyDiagnostics(
6803
CreateCompilation
(source).VerifyDiagnostics(
6919
CreateCompilation
(text).VerifyDiagnostics(
7022
CreateCompilation
(text).VerifyDiagnostics(
7093
CreateCompilation
(text).VerifyDiagnostics(
7137
CreateCompilation
(text).VerifyDiagnostics(
7198
CreateCompilation
(text).VerifyDiagnostics(
7234
CreateCompilation
(text).VerifyDiagnostics(
7313
CreateCompilation
(text).VerifyDiagnostics(
7431
CreateCompilation
(text).VerifyDiagnostics(
7518
CreateCompilation
(source).VerifyDiagnostics(
7584
CreateCompilation
(source).VerifyDiagnostics(
7641
CreateCompilation
(source).VerifyDiagnostics(
7726
CreateCompilation
(source).VerifyDiagnostics(
7789
CreateCompilation
(source).VerifyDiagnostics(
7855
CreateCompilation
(text).VerifyDiagnostics(
7915
CreateCompilation
(source).VerifyDiagnostics(
7966
CreateCompilation
(source).VerifyDiagnostics(
8012
CreateCompilation
(source).VerifyDiagnostics(
8063
CreateCompilation
(source).VerifyDiagnostics(
8109
CreateCompilation
(source).VerifyDiagnostics(
8135
CreateCompilation
(source).VerifyDiagnostics(
8169
CreateCompilation
(source).VerifyDiagnostics();
8186
CreateCompilation
(source).VerifyDiagnostics(
8207
CreateCompilation
(source).VerifyDiagnostics(
8228
CreateCompilation
(source).VerifyDiagnostics(
8238
var comp =
CreateCompilation
(text, refs);
8269
CreateCompilation
(source).VerifyDiagnostics();
8328
CreateCompilation
(source).VerifyDiagnostics(
8353
var comp =
CreateCompilation
(source);
8380
var comp =
CreateCompilation
(source);
8408
var comp =
CreateCompilation
(source);
8439
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8466
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8493
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8523
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8550
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8577
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8602
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8624
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8646
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8671
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8693
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8715
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8744
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8750
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
8752
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8773
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8794
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8811
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8813
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
8815
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8836
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8856
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8876
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8896
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8916
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8933
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8950
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8970
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8990
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9010
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9030
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9051
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9071
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9093
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9116
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9135
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9157
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9180
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9201
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9222
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9243
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9264
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9285
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9306
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9327
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9348
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9368
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9389
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9411
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9432
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9453
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9475
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9496
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9517
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9539
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9560
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9581
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9603
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9625
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9646
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9667
var comp =
CreateCompilation
(source).VerifyDiagnostics();
9685
var comp =
CreateCompilation
(source).VerifyDiagnostics();
9702
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9723
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9744
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9767
var comp =
CreateCompilation
(source).VerifyDiagnostics(
9794
var comp =
CreateCompilation
(source).VerifyDiagnostics();
9820
CreateCompilation
(source1 + source2).VerifyDiagnostics();
9821
CreateCompilation
(source2 + source1).VerifyDiagnostics();
Semantics\InitOnlyMemberTests.cs (115)
40
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
65
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
77
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
103
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
136
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
148
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
173
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
186
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
208
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
216
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
227
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
252
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
279
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
300
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8, assemblyName: "lib");
312
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, references: new[] { lib.ToMetadataReference() }, assemblyName: "comp");
334
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
367
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
389
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
453
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
494
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
546
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
575
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
604
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
635
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
688
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
745
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
771
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
870
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
945
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
971
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1003
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1045
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1046
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1050
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1051
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1081
var libComp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1082
var comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1129
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1130
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1134
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1135
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1149
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1212
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1251
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1281
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1308
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1335
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1362
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1389
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1409
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1441
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
1523
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1617
var comp =
CreateCompilation
(source,
1687
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1715
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1764
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1788
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
1866
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1906
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1949
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1995
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2034
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2065
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2086
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2104
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2157
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2192
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2213
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2230
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2282
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2375
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2418
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2448
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2468
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2490
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2514
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2536
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2611
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2680
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2737
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2786
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
2823
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2876
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2957
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3009
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
3036
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3058
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3084
var comp =
CreateCompilation
(source,
3109
var compilation =
CreateCompilation
(@"
3172
var comp =
CreateCompilation
(new[] { @"
3257
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3348
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3466
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9,
3565
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9,
3629
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3688
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3738
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3806
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3884
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3972
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4055
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4102
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
4125
var comp =
CreateCompilation
(new[] { @"
4193
var comp1 =
CreateCompilation
(new[] { source0, source1, IsExternalInitTypeDefinition },
4200
var comp7 =
CreateCompilation
(source2, references: comp1Ref,
4367
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4390
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4483
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4512
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source });
4536
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4562
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
Semantics\InteractiveSemanticModelTests.cs (2)
25
var compilation =
CreateCompilation
(@"
357
var compilation =
CreateCompilation
(testSrc, parseOptions: TestOptions.Script);
Semantics\InteractiveUsingTests.cs (9)
142
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
161
CreateCompilation
(source, options: options).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
179
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
251
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
270
CreateCompilation
(source, options: options).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
322
var lib1 =
CreateCompilation
(string.Format(libSourceTemplate, 1), assemblyName: "Lib1").EmitToImageReference();
323
var lib2 =
CreateCompilation
(string.Format(libSourceTemplate, 2), assemblyName: "Lib2").EmitToImageReference();
515
var lib =
CreateCompilation
(libSource).EmitToImageReference();
556
var lib =
CreateCompilation
(libSource).EmitToImageReference();
Semantics\InterceptorsTests.cs (9)
67
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource });
70
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview-experimental"));
73
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "false"));
76
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("interceptorspreview"));
79
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "Global"));
82
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "global.a"));
113
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "NS"));
119
comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "NS1.NS2"));
160
var comp =
CreateCompilation
(source);
Semantics\InterpolationTests.cs (277)
939
CreateCompilation
(source).VerifyDiagnostics(
968
CreateCompilation
(source).VerifyDiagnostics(
989
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1000
CreateCompilation
(source).VerifyDiagnostics(
1170
var comp =
CreateCompilation
(text, targetFramework: framework,
1273
var comp =
CreateCompilation
(text, targetFramework: framework,
1374
var comp =
CreateCompilation
(text, targetFramework: framework,
1426
var comp =
CreateCompilation
(text, targetFramework: framework,
1465
CreateCompilation
(text).VerifyDiagnostics(
1507
CreateCompilation
(text).VerifyDiagnostics(
1646
CreateCompilation
(text).VerifyDiagnostics(
1844
var comp1 =
CreateCompilation
(interpolatedStringBuilder);
1848
var comp2 =
CreateCompilation
(source, new[] { reference });
2222
var comp =
CreateCompilation
(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
2260
var comp1 =
CreateCompilation
(interpolatedStringBuilder, targetFramework: TargetFramework.Net50);
2264
var comp2 =
CreateCompilation
(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.Regular10);
3282
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3312
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3342
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3373
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3402
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3430
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3458
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3660
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
3742
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, parseOptions: TestOptions.Regular9);
4053
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder },
4106
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp);
4208
var comp =
CreateCompilation
(source);
4233
var comp =
CreateCompilation
(new[] { code, handler });
4274
var comp =
CreateCompilation
(new[] { code, handler });
4316
var comp =
CreateCompilation
(new[] { code, handler });
4377
var comp =
CreateCompilation
(source);
4403
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
4424
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4428
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4441
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4454
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4486
var comp =
CreateCompilation
(source);
4524
var comp =
CreateCompilation
(source);
4640
var comp =
CreateCompilation
(new[] { code, builder });
4778
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
4821
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
4889
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
4926
comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular9);
4979
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5009
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5038
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5062
var comp =
CreateCompilation
(new[]
5093
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5147
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5198
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5221
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
5247
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5275
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5333
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5380
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5435
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5494
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5559
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
5569
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
5617
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5684
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5754
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5817
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5845
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5851
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5871
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5932
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6003
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6029
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6089
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6116
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6173
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6200
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6279
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6343
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6408
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6435
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6491
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6536
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6557
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6600
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6646
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6692
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6739
var comp =
CreateCompilation
(new[]
6816
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
6846
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
6874
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6906
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6940
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
6981
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7015
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7056
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7093
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7134
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7168
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7209
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7242
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7276
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7316
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7356
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7396
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7437
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7473
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7514
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7550
var comp =
CreateCompilation
(@"_ = new C($"""");", references: new[] { vbComp.EmitToImageReference() });
7591
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7631
var comp =
CreateCompilation
(@"C<CustomHandler>.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7684
var comp =
CreateCompilation
(new[] { code, goodCode, InterpolatedStringHandlerArgumentAttribute, handler });
7701
comp =
CreateCompilation
(new[] { code, badCode, InterpolatedStringHandlerArgumentAttribute, handler });
7803
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
7841
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7879
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7907
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7910
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
7956
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
7963
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7968
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
7978
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
8014
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: parseOptions);
8082
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8246
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8250
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8255
comp =
CreateCompilation
(executableCode, new[] { d });
8300
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8308
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8419
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8430
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8563
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8727
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8860
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8997
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9098
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9161
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9165
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
9226
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9342
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9459
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9582
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9656
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9700
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9925
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9972
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
10025
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10128
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe);
10274
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10373
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10471
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10525
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10624
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10723
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10821
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10865
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10920
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11005
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11117
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11369
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11554
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11654
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11709
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11771
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11905
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12002
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12294
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12558
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12815
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12884
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12939
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13168
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13220
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
13254
var comp =
CreateCompilation
(new[] { code, handler });
13271
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13330
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13390
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13452
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13514
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13606
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13725
var comp =
CreateCompilation
(code);
13747
var comp =
CreateCompilation
(code);
13780
var comp =
CreateCompilation
(new[] { code, customHandler });
13825
var comp =
CreateCompilation
(new[] { code, customHandler });
13862
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
13891
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
13923
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
13968
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14013
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14056
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14105
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14161
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14257
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14356
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14531
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14588
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14628
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14631
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14660
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14697
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14700
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14737
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14740
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14777
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14786
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14835
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14838
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14869
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14872
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14903
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14906
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14940
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
14978
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14988
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15033
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15036
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15081
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15122
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15158
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15209
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15255
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15295
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15323
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15356
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15392
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15440
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15478
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15519
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15562
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15601
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15640
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15680
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15719
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15763
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15811
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15853
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15892
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15914
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
15960
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16015
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16077
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16111
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16166
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16193
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16238
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16294
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
16318
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16393
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16909
var comp =
CreateCompilation
(code);
17073
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
17087
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17151
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17324
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17345
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17409
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17482
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17514
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
17782
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17816
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
17985
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18020
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: TestOptions.Regular11);
18072
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
18124
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18179
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18255
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18274
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18288
var comp =
CreateCompilation
(text).VerifyDiagnostics(
18342
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18379
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18416
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18453
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18488
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18515
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
18551
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
18604
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
18686
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
18785
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
18898
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
19009
CreateCompilation
(source).VerifyDiagnostics(
19028
CreateCompilation
(source).VerifyEmitDiagnostics(
Semantics\IteratorTests.cs (8)
35
var comp =
CreateCompilation
(text);
60
var comp =
CreateCompilation
(text);
78
var comp =
CreateCompilation
(text);
101
var comp =
CreateCompilation
(text);
237
CreateCompilation
(source).VerifyDiagnostics();
270
var comp =
CreateCompilation
(text);
511
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll);
570
var comp =
CreateCompilation
(text);
Semantics\LambdaDiscardParametersTests.cs (24)
22
var comp =
CreateCompilation
(@"
77
var comp =
CreateCompilation
(@"
97
var comp =
CreateCompilation
(@"
124
var comp =
CreateCompilation
(@"
147
var comp =
CreateCompilation
(@"
170
var comp =
CreateCompilation
(@"
190
var comp =
CreateCompilation
(@"
212
var comp =
CreateCompilation
(@"
234
var comp =
CreateCompilation
(@"
267
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular7_3);
277
var comp2 =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
284
var comp3 =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
291
var comp =
CreateCompilation
(@"
314
var comp =
CreateCompilation
(@"
334
var comp =
CreateCompilation
(@"
368
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
378
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
401
var comp =
CreateCompilation
(@"
429
var comp =
CreateCompilation
(@"
463
var comp =
CreateCompilation
(@"
492
var comp =
CreateCompilation
(@"
528
var comp =
CreateCompilation
(@"
549
var comp =
CreateCompilation
(@"
581
var comp =
CreateCompilation
(@"
Semantics\LambdaTests.cs (247)
29
var comp =
CreateCompilation
(@"
261
var compilation =
CreateCompilation
(code);
284
CreateCompilation
(source).VerifyDiagnostics(
308
CreateCompilation
(source).VerifyDiagnostics(
337
var comp =
CreateCompilation
(Parse(text));
474
var comp =
CreateCompilation
(Parse(text1));
528
var csProject =
CreateCompilation
(
575
var csProject =
CreateCompilation
(Parse(csSource), new[] { MetadataReference.CreateFromImage(vbMetadata) });
596
var comp =
CreateCompilation
(source);
615
var comp =
CreateCompilation
(source);
636
var comp =
CreateCompilation
(source);
660
var csProject =
CreateCompilation
(csSource);
687
CreateCompilation
(csSource).VerifyDiagnostics(
724
CreateCompilation
(csSource).VerifyDiagnostics(
752
CreateCompilation
(csSource).VerifyDiagnostics(
776
CreateCompilation
(csSource).VerifyDiagnostics(
795
CreateCompilation
(csSource).VerifyDiagnostics(
813
CreateCompilation
(source).VerifyDiagnostics(
838
var comp =
CreateCompilation
(tree);
885
CreateCompilation
(csSource).VerifyDiagnostics(
937
var compilation =
CreateCompilation
(source);
1170
var comp =
CreateCompilation
(tree);
1203
var comp =
CreateCompilation
(tree);
1235
var comp =
CreateCompilation
(tree);
1428
var comp =
CreateCompilation
(@"
1451
var comp =
CreateCompilation
(@"
1470
var comp =
CreateCompilation
(@"
1502
var compilation =
CreateCompilation
(src);
1537
var compilation =
CreateCompilation
(src);
1574
var compilation =
CreateCompilation
(src);
1606
var compilation =
CreateCompilation
(src);
1885
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1923
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1942
CreateCompilation
(source).VerifyDiagnostics(
2711
var comp =
CreateCompilation
(source);
2813
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll);
2837
var comp =
CreateCompilation
(src);
2863
var comp =
CreateCompilation
(src);
2892
var comp =
CreateCompilation
(src);
2918
var comp =
CreateCompilation
(src);
2995
var comp =
CreateCompilation
(tree);
3037
var comp =
CreateCompilation
(tree);
3078
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3096
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3099
comp =
CreateCompilation
(source);
3122
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3137
comp =
CreateCompilation
(source);
3160
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3178
comp =
CreateCompilation
(source);
3201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3216
comp =
CreateCompilation
(source);
3239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3254
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3257
comp =
CreateCompilation
(source);
3279
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3291
comp =
CreateCompilation
(source);
3313
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3328
comp =
CreateCompilation
(source);
3355
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3370
comp =
CreateCompilation
(source);
3388
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3394
comp =
CreateCompilation
(source);
3412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3418
comp =
CreateCompilation
(source);
3436
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3445
comp =
CreateCompilation
(source);
3463
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3475
comp =
CreateCompilation
(source);
3501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3510
comp =
CreateCompilation
(source);
3540
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3555
comp =
CreateCompilation
(source);
3609
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
3677
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3695
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3731
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3734
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3761
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
3778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3873
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3929
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3972
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4023
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4088
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4149
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
4205
var comp =
CreateCompilation
(
4238
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4285
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4359
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4406
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4486
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4533
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4582
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition, NotNullWhenAttributeDefinition, MaybeNullAttributeDefinition });
4639
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition, NotNullAttributeDefinition });
4686
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4725
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4753
var comp =
CreateCompilation
(source);
4778
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4814
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4844
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4864
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4898
CreateCompilation
(source).VerifyDiagnostics(
4922
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4949
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4975
var comp =
CreateCompilation
(
5016
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
5048
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5060
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5081
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5136
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5162
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5186
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5212
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5284
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5361
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5387
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5413
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5432
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5457
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5485
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5536
var comp =
CreateCompilation
(source);
5567
var comp =
CreateCompilation
(source);
5598
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5631
var comp =
CreateCompilation
(source);
5711
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5745
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5767
var comp =
CreateCompilation
(source);
5801
var comp =
CreateCompilation
(source);
5833
var comp =
CreateCompilation
(source);
5866
var comp =
CreateCompilation
(source);
5893
var comp =
CreateCompilation
(source);
5916
var comp =
CreateCompilation
(source);
5938
var comp =
CreateCompilation
(source);
5963
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5991
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6035
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6038
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6063
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6097
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6124
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6170
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6191
var comp =
CreateCompilation
(source);
6214
var comp =
CreateCompilation
(source);
6239
var comp =
CreateCompilation
(source);
6261
var comp =
CreateCompilation
(source);
6282
var comp =
CreateCompilation
(source);
6304
var comp =
CreateCompilation
(source);
6325
var comp =
CreateCompilation
(source);
6346
var comp =
CreateCompilation
(source);
6368
var comp =
CreateCompilation
(source);
6389
var comp =
CreateCompilation
(source);
6410
var comp =
CreateCompilation
(source);
6431
var comp =
CreateCompilation
(source);
6452
var comp =
CreateCompilation
(source);
6472
var comp =
CreateCompilation
(source);
6492
var comp =
CreateCompilation
(source);
6524
var comp =
CreateCompilation
(@"
6560
var comp =
CreateCompilation
(@"
6595
var comp =
CreateCompilation
(@"
6629
var comp =
CreateCompilation
(@"
6665
var comp =
CreateCompilation
(@"
6697
var comp =
CreateCompilation
(@"
6720
var comp =
CreateCompilation
(@"
6753
var comp =
CreateCompilation
(@"
6777
var comp =
CreateCompilation
(@"
6801
var comp =
CreateCompilation
(@"
6830
var comp =
CreateCompilation
(@"
6871
var comp =
CreateCompilation
(source);
6907
CreateCompilation
("""
6927
CreateCompilation
("""
6962
CreateCompilation
("""
7008
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7034
var comp =
CreateCompilation
(source);
7063
var comp =
CreateCompilation
(source);
7094
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7134
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7139
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
7158
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
7177
var comp =
CreateCompilation
(source);
7199
var comp =
CreateCompilation
(source);
7225
var comp =
CreateCompilation
(source);
7245
var comp =
CreateCompilation
(source);
7267
var comp =
CreateCompilation
(source);
7286
var comp =
CreateCompilation
(source);
7308
var comp =
CreateCompilation
(source);
7327
var comp =
CreateCompilation
(source);
7359
var comp =
CreateCompilation
(source);
7388
var comp =
CreateCompilation
(source);
7412
var comp =
CreateCompilation
(source);
7432
var comp =
CreateCompilation
(source);
7461
var comp =
CreateCompilation
(source);
7484
var comp =
CreateCompilation
(source);
7505
var comp =
CreateCompilation
(source);
7523
var comp =
CreateCompilation
(source);
7543
var comp =
CreateCompilation
(source);
7559
var comp =
CreateCompilation
(source);
7575
var comp =
CreateCompilation
(source);
7591
var comp =
CreateCompilation
(source);
7610
var comp =
CreateCompilation
(source);
7628
var comp =
CreateCompilation
(source);
7666
var comp =
CreateCompilation
(source);
7688
var comp =
CreateCompilation
(source);
7710
var comp =
CreateCompilation
(source);
7729
var comp =
CreateCompilation
(source);
7748
var comp =
CreateCompilation
(source);
7771
var comp =
CreateCompilation
(source);
7788
var comp =
CreateCompilation
(source);
7812
var comp =
CreateCompilation
(source);
7836
var comp =
CreateCompilation
(source);
7860
var comp =
CreateCompilation
(source);
7886
CreateCompilation
(source).VerifyDiagnostics(
7912
CreateCompilation
(source).VerifyDiagnostics(
7930
CreateCompilation
(source).VerifyDiagnostics(
7944
CreateCompilation
(source).VerifyDiagnostics(
7956
CreateCompilation
(source).VerifyDiagnostics(
7974
CreateCompilation
(source).VerifyDiagnostics();
7990
CreateCompilation
(source).VerifyDiagnostics(
8006
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8054
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8079
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8111
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8151
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8202
CreateCompilation
(source).VerifyDiagnostics(
8228
var comp =
CreateCompilation
(tree);
8253
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8258
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
8270
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
8304
CreateCompilation
(source).VerifyDiagnostics(
8316
CreateCompilation
(source).VerifyDiagnostics(
8339
CreateCompilation
(source).VerifyDiagnostics(
8356
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8389
var comp =
CreateCompilation
(source);
8465
CreateCompilation
(source).VerifyDiagnostics(
8477
CreateCompilation
(source).VerifyDiagnostics(
8489
CreateCompilation
(source).VerifyDiagnostics(
8502
CreateCompilation
(source).VerifyDiagnostics(
8515
CreateCompilation
(source).VerifyDiagnostics();
8527
CreateCompilation
(source).VerifyDiagnostics(
8539
CreateCompilation
(source).VerifyDiagnostics(
8551
CreateCompilation
(source).VerifyDiagnostics(
Semantics\LocalFunctionTests.cs (237)
50
var comp =
CreateCompilation
(source);
344
var comp =
CreateCompilation
(tree);
392
var comp = (Compilation)
CreateCompilation
(tree);
439
var comp =
CreateCompilation
(tree);
484
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
532
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
603
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
656
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
710
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
758
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
796
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
843
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
886
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
901
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
946
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1016
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1050
var comp =
CreateCompilation
(text);
1081
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1118
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1202
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1283
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1348
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1379
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1415
var comp =
CreateCompilation
(text);
1444
var comp =
CreateCompilation
(source);
1452
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1489
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1518
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1525
var comp =
CreateCompilation
(@"
1544
var comp =
CreateCompilation
(@"
1570
var comp =
CreateCompilation
(@"
1598
var comp =
CreateCompilation
(@"
1614
var comp =
CreateCompilation
(@"
1634
var comp =
CreateCompilation
(@"
1655
var comp =
CreateCompilation
(@"
1692
var comp =
CreateCompilation
(tree);
1739
var comp = (Compilation)
CreateCompilation
(@"
1814
var comp = (Compilation)
CreateCompilation
(@"
1899
var comp =
CreateCompilation
(tree);
1955
var comp =
CreateCompilation
(tree);
2023
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2063
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2156
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular7_3);
2186
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2211
var comp =
CreateCompilation
(@"
2369
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12.WithFeature("run-nullable-analysis", "never"));
2441
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular13.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2442
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2449
var comp =
CreateCompilation
(@"
2534
var comp =
CreateCompilation
(@"
2583
var comp =
CreateCompilation
(source);
2844
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
3032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3038
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3056
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3065
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3205
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true));
3654
var comp =
CreateCompilation
(source);
3675
var comp =
CreateCompilation
(source);
3733
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3737
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3740
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4012
CreateCompilation
(source, options: option, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
4750
CreateCompilation
(source).VerifyDiagnostics();
5101
var comp =
CreateCompilation
(src);
5254
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5257
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5260
comp =
CreateCompilation
(source);
5303
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5321
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5324
comp =
CreateCompilation
(source);
5347
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5365
comp =
CreateCompilation
(source);
5388
var comp =
CreateCompilation
(source);
5410
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5427
comp =
CreateCompilation
(source);
5449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5467
comp =
CreateCompilation
(source);
5493
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5511
comp =
CreateCompilation
(source);
5541
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5544
comp =
CreateCompilation
(source);
5580
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5598
comp =
CreateCompilation
(source);
5620
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5632
comp =
CreateCompilation
(source);
5663
var comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5702
comp =
CreateCompilation
(source);
5727
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5735
comp =
CreateCompilation
(source);
5755
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5760
comp =
CreateCompilation
(source);
5781
var comp =
CreateCompilation
(source);
5812
var comp =
CreateCompilation
(source);
5842
var comp =
CreateCompilation
(source);
5867
var comp =
CreateCompilation
(source);
5946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithPreprocessorSymbols("MyDefine"));
5949
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular);
5987
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6027
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6094
var comp =
CreateCompilation
(new[] { NotNullIfNotNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6125
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6163
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6193
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6222
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6263
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6290
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6319
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6337
var comp =
CreateCompilation
(source);
6356
var comp =
CreateCompilation
(source);
6377
var comp =
CreateCompilation
(source);
6405
var comp =
CreateCompilation
(source);
6438
var comp =
CreateCompilation
(source);
6482
var comp =
CreateCompilation
(source);
6529
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
6600
var comp =
CreateCompilation
(source);
6623
var comp =
CreateCompilation
(source);
6652
var comp =
CreateCompilation
(source);
6678
var comp =
CreateCompilation
(source);
6707
var comp =
CreateCompilation
(source);
6739
var comp =
CreateCompilation
(source);
6794
var comp =
CreateCompilation
(source);
6824
var comp =
CreateCompilation
(source);
6868
var comp =
CreateCompilation
(source);
7027
var comp =
CreateCompilation
(source);
7081
var comp =
CreateCompilation
(source);
7140
var comp =
CreateCompilation
(source);
7189
var comp =
CreateCompilation
(source);
7252
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7282
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7310
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7340
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7414
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7485
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7509
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7559
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7618
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7682
var comp =
CreateCompilation
(@"
7718
var comp =
CreateCompilation
(@"
7753
var comp =
CreateCompilation
(@"
7790
var comp =
CreateCompilation
(@"
7826
var comp =
CreateCompilation
(@"
7862
var comp =
CreateCompilation
(@"
7897
var comp =
CreateCompilation
(@"
7924
var comp =
CreateCompilation
(@"
7958
var comp =
CreateCompilation
(@"
7992
var comp =
CreateCompilation
(@"
8019
var comp =
CreateCompilation
(@"
8048
var comp =
CreateCompilation
(@"
8067
var comp =
CreateCompilation
(@"
8086
var comp =
CreateCompilation
(@"
8113
var comp =
CreateCompilation
(@"
8149
var comp =
CreateCompilation
(@"
8185
var comp =
CreateCompilation
(@"
8212
var comp =
CreateCompilation
(@"
8239
var comp =
CreateCompilation
(@"
8273
var comp =
CreateCompilation
(@"
8300
var comp =
CreateCompilation
(@"
8336
var comp =
CreateCompilation
(@"
8371
var comp =
CreateCompilation
(@"
8398
var comp =
CreateCompilation
(@"
8433
var comp =
CreateCompilation
(@"
8452
var comp =
CreateCompilation
(@"
8481
var comp =
CreateCompilation
(@"
8512
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8516
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8532
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
8536
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
8558
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8579
var comp =
CreateCompilation
(source);
8591
var comp =
CreateCompilation
(source);
8612
var comp =
CreateCompilation
(source);
8638
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8670
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8728
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8767
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8808
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8850
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8884
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8915
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
8983
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9004
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9028
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9052
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9076
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9099
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9122
var comp =
CreateCompilation
(source);
9149
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9166
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9186
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9195
var comp =
CreateCompilation
(@"
9231
var comp =
CreateCompilation
(@"
9266
var comp =
CreateCompilation
(@"
9303
var comp =
CreateCompilation
(@"
9355
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9383
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9419
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9462
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9482
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9509
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9540
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9574
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9591
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9611
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9631
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9654
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9677
var comp =
CreateCompilation
(source);
9708
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9737
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9777
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9786
var comp =
CreateCompilation
(@"
9820
var comp =
CreateCompilation
(@"
9846
var comp =
CreateCompilation
(@"
9872
var comp =
CreateCompilation
(@"
9913
var comp =
CreateCompilation
(@"
9953
var comp =
CreateCompilation
(@"
9987
var comp =
CreateCompilation
(@"
10018
var comp =
CreateCompilation
(@"
10042
var comp =
CreateCompilation
(@"
10073
var comp =
CreateCompilation
(@"
10097
var comp =
CreateCompilation
(@"
10130
var comp =
CreateCompilation
(@"
10168
var comp =
CreateCompilation
(text);
10217
CreateCompilation
(text).VerifyDiagnostics(
10254
CreateCompilation
(text).VerifyDiagnostics();
10289
CreateCompilation
(text).VerifyDiagnostics(
10326
CreateCompilation
(text).VerifyDiagnostics(
10363
CreateCompilation
(text).VerifyDiagnostics(
10373
var compilation =
CreateCompilation
("""
10417
var comp =
CreateCompilation
(src);
10453
var comp =
CreateCompilation
(src);
10483
var comp =
CreateCompilation
(src);
10513
var comp =
CreateCompilation
(src);
10546
var comp =
CreateCompilation
(src);
10576
var comp =
CreateCompilation
(src);
Semantics\LockTests.cs (28)
39
var compilation =
CreateCompilation
(source);
76
CreateCompilation
(source).VerifyDiagnostics(
96
CreateCompilation
(source).VerifyDiagnostics(
116
CreateCompilation
(source).VerifyDiagnostics();
135
CreateCompilation
(source).VerifyDiagnostics(
162
CreateCompilation
(source).VerifyDiagnostics(
194
CreateCompilation
(source).VerifyDiagnostics(
219
CreateCompilation
(source).VerifyDiagnostics(
240
CreateCompilation
(source).VerifyDiagnostics(
261
CreateCompilation
(source).VerifyDiagnostics(
289
CreateCompilation
(source).VerifyDiagnostics(
316
CreateCompilation
(source).VerifyDiagnostics(// (6,19): error CS1026: ) expected
352
CreateCompilation
(source).VerifyDiagnostics(
382
CreateCompilation
(source).VerifyDiagnostics(
431
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_UseDefViolation, "i").WithArguments("i"));
449
CreateCompilation
(source).VerifyDiagnostics(
474
var compilation =
CreateCompilation
(
498
var compilation =
CreateCompilation
(
517
var compilation =
CreateCompilation
(
536
var compilation =
CreateCompilation
(
584
var compilation =
CreateCompilation
(
612
var compilation =
CreateCompilation
(
636
var compilation =
CreateCompilation
(
655
var compilation =
CreateCompilation
(
674
var compilation =
CreateCompilation
(
734
CreateCompilation
(source).VerifyDiagnostics(
774
var regularCompilation =
CreateCompilation
(source);
775
var strictCompilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature());
Semantics\LookupPositionTests.cs (2)
2269
var compilation =
CreateCompilation
(source);
2298
var compilation =
CreateCompilation
(source);
Semantics\LookupTests.cs (14)
424
var comp =
CreateCompilation
(testSrc);
580
var comp =
CreateCompilation
(testSrc);
1318
CreateCompilation
(testSrc).VerifyDiagnostics();
1498
var compilation =
CreateCompilation
(source);
1515
CreateCompilation
(source).VerifyDiagnostics(
1615
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
1639
var compilation =
CreateCompilation
(source);
1666
var compilation =
CreateCompilation
(source);
1707
var comp =
CreateCompilation
(source);
1753
var comp =
CreateCompilation
(source);
1781
var comp =
CreateCompilation
(source);
1816
var comp =
CreateCompilation
(source);
1977
var comp =
CreateCompilation
(source);
2117
var comp =
CreateCompilation
(source);
Semantics\MethodBodyModelTests.cs (34)
55
var comp =
CreateCompilation
(tree);
77
var comp =
CreateCompilation
(tree);
100
var comp =
CreateCompilation
(tree);
123
var comp =
CreateCompilation
(tree);
163
var comp =
CreateCompilation
(tree);
203
var comp =
CreateCompilation
(tree);
243
var comp =
CreateCompilation
(tree);
266
var comp =
CreateCompilation
(tree);
294
var comp =
CreateCompilation
(tree);
344
CreateCompilation
(text).VerifyDiagnostics(
370
var comp =
CreateCompilation
(tree);
394
var comp =
CreateCompilation
(tree);
417
var comp =
CreateCompilation
(tree);
441
var comp =
CreateCompilation
(tree);
464
var comp =
CreateCompilation
(tree);
487
var comp =
CreateCompilation
(tree);
510
var comp =
CreateCompilation
(tree);
533
var comp =
CreateCompilation
(tree);
564
var comp =
CreateCompilation
(tree);
616
var comp =
CreateCompilation
(tree);
640
var comp =
CreateCompilation
(tree);
667
var comp =
CreateCompilation
(tree);
699
var comp =
CreateCompilation
(tree);
726
var comp =
CreateCompilation
(tree);
751
var comp =
CreateCompilation
(tree);
771
var comp =
CreateCompilation
(tree);
796
var comp =
CreateCompilation
(tree);
833
var comp =
CreateCompilation
(tree);
860
var comp =
CreateCompilation
(tree);
885
var comp =
CreateCompilation
(tree);
912
var comp =
CreateCompilation
(tree);
933
var comp =
CreateCompilation
(tree);
954
var comp =
CreateCompilation
(tree);
993
var comp =
CreateCompilation
(tree);
Semantics\MethodTypeInferenceTests.cs (13)
490
CreateCompilation
(source).VerifyDiagnostics(
574
CreateCompilation
(source).VerifyDiagnostics();
633
CreateCompilation
(source).VerifyDiagnostics(
696
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
751
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
797
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
828
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
887
CreateCompilation
(source).VerifyDiagnostics(
913
CreateCompilation
(source).VerifyDiagnostics(
993
CreateCompilation
(source).VerifyDiagnostics();
1014
CreateCompilation
(source).VerifyDiagnostics(
1041
var comp =
CreateCompilation
(source);
1071
var comp =
CreateCompilation
(source);
Semantics\MultiDimensionalArrayTests.cs (1)
198
CreateCompilation
(text).VerifyDiagnostics(
Semantics\NameCollisionTests.cs (34)
259
CreateCompilation
(source).VerifyDiagnostics(
347
CreateCompilation
(source).VerifyDiagnostics();
389
CreateCompilation
(source).VerifyDiagnostics();
417
CreateCompilation
(source).VerifyDiagnostics();
455
CreateCompilation
(source).VerifyDiagnostics(
538
CreateCompilation
(source).VerifyDiagnostics();
582
CreateCompilation
(source).VerifyDiagnostics(
607
CreateCompilation
(source).VerifyDiagnostics();
632
CreateCompilation
(source).VerifyDiagnostics();
760
CreateCompilation
(source).VerifyDiagnostics(
834
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
861
CreateCompilation
(source).VerifyDiagnostics(
894
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
909
CreateCompilation
(source).VerifyDiagnostics(
934
CreateCompilation
(source).VerifyDiagnostics(
1032
CreateCompilation
(source).VerifyDiagnostics(
1099
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1125
CreateCompilation
(source).VerifyDiagnostics(
1168
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1173
CreateCompilation
(source).VerifyDiagnostics();
1234
CreateCompilation
(source).VerifyDiagnostics(
1337
CreateCompilation
(source).VerifyDiagnostics(
1378
CreateCompilation
(source).VerifyDiagnostics();
1428
CreateCompilation
(source).VerifyDiagnostics(
1560
CreateCompilation
(source).VerifyDiagnostics(
1776
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1797
CreateCompilation
(source).VerifyDiagnostics(
1839
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1860
CreateCompilation
(source).VerifyDiagnostics(
1919
CreateCompilation
(source).VerifyDiagnostics();
1938
CreateCompilation
(source).VerifyDiagnostics(
1967
CreateCompilation
(source).VerifyDiagnostics(
1996
CreateCompilation
(source).VerifyDiagnostics(
2031
CreateCompilation
(source).VerifyDiagnostics(
Semantics\NamedAndOptionalTests.cs (23)
38
var comp =
CreateCompilation
(source);
127
CreateCompilation
(source).VerifyDiagnostics();
174
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
196
CreateCompilation
(source).VerifyDiagnostics(
226
CreateCompilation
(source).VerifyDiagnostics(
256
CreateCompilation
(source).VerifyDiagnostics(
275
CreateCompilation
(source).VerifyDiagnostics(
740
CreateCompilation
(source).VerifyDiagnostics(
810
var comp =
CreateCompilation
(text);
834
CreateCompilation
(source).VerifyDiagnostics(
851
CreateCompilation
(source).VerifyDiagnostics(
874
CreateCompilation
(source).VerifyDiagnostics(
889
CreateCompilation
(source).VerifyDiagnostics();
964
CreateCompilation
(source).VerifyDiagnostics(
1012
var comp =
CreateCompilation
(source);
1123
CreateCompilation
(source).VerifyDiagnostics(
1379
var comp =
CreateCompilation
(source);
1427
CreateCompilation
(source).VerifyDiagnostics(
1676
var libComp =
CreateCompilation
(library, options: TestOptions.ReleaseDll, assemblyName: "Library");
1746
var comp =
CreateCompilation
(source);
2455
var comp =
CreateCompilation
(csharp);
2481
var comp =
CreateCompilation
(csharp);
2521
var comp =
CreateCompilation
(source);
Semantics\NameLengthTests.cs (13)
70
var comp =
CreateCompilation
(source);
188
var comp =
CreateCompilation
(source);
221
var comp =
CreateCompilation
(source);
270
var comp =
CreateCompilation
(source);
313
var comp =
CreateCompilation
(source);
340
var comp =
CreateCompilation
(source);
374
var comp =
CreateCompilation
(source);
404
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
429
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
460
var comp =
CreateCompilation
(source);
483
var comp =
CreateCompilation
(source);
555
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
567
var comp =
CreateCompilation
(source);
Semantics\NameOfTests.cs (67)
514
var comp =
CreateCompilation
(@"
591
var compilation =
CreateCompilation
(
615
var compilation =
CreateCompilation
(
634
var compilation =
CreateCompilation
(
656
var compilation =
CreateCompilation
(
682
var compilation =
CreateCompilation
(source);
708
var compilation =
CreateCompilation
(source);
968
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1039
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1122
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1202
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1708
CreateCompilation
(source, options: option).VerifyDiagnostics(
1725
CreateCompilation
(source, options: option).VerifyDiagnostics();
1738
CreateCompilation
(source, options: option).VerifyDiagnostics();
1753
CreateCompilation
(source, options: option).VerifyDiagnostics();
1767
CreateCompilation
(source, options: option).VerifyDiagnostics(
1792
CreateCompilation
(source, options: option).VerifyDiagnostics();
1851
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1907
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1948
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1968
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1991
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1992
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
1993
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2012
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2038
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2057
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2076
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2097
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2116
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2128
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2142
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2158
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2174
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2194
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2210
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2272
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2297
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2322
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2344
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2345
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
2346
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2365
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2366
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
2367
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2385
CreateCompilation
("""
2412
CreateCompilation
("""
2428
CreateCompilation
("""
2444
CreateCompilation
("""
2526
CreateCompilation
("""
2544
CreateCompilation
("""
2562
CreateCompilation
("""
2577
CreateCompilation
("""
2592
CreateCompilation
("""
2609
CreateCompilation
("""
2650
CreateCompilation
("""
2665
CreateCompilation
("""
2793
CreateCompilation
("""
2812
CreateCompilation
("""
2831
CreateCompilation
("""
2860
CreateCompilation
("""
2891
CreateCompilation
("""
2913
CreateCompilation
("""
2938
CreateCompilation
("""
2972
CreateCompilation
("""
3000
CreateCompilation
("""
3029
var compilation =
CreateCompilation
($$"""
Semantics\NativeIntegerTests.cs (240)
70
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
85
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
103
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
776
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib40);
791
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461);
1064
comp =
CreateCompilation
(sourceB, references: new[] { refA1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard);
1080
comp =
CreateCompilation
(sourceC, references: new[] { refA2, refB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard);
1570
var comp =
CreateCompilation
("");
2925
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
2934
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
2972
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
2981
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
3014
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
3112
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3115
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3120
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3123
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3159
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3164
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3167
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3194
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3199
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3202
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3253
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3256
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3261
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3264
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3299
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3320
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3323
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3358
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3379
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3382
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3402
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3426
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3450
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3459
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3473
comp =
CreateCompilation
(source3, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3489
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9);
3492
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9);
3527
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3530
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3535
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3538
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3563
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3568
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3571
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3596
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3601
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3604
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3620
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3627
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3670
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseExe);
3673
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3702
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3709
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3736
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3743
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3772
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3786
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3794
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
3815
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
3818
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
3821
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview);
3833
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular8);
3842
comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3851
comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
3879
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular8);
3888
comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3897
comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
3933
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3936
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3965
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
3968
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4001
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4004
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4023
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
4026
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4051
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
4054
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4071
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4106
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4110
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4152
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4170
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
4179
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4202
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4211
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4240
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4263
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4266
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4282
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4288
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4309
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4340
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
4373
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4382
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4401
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
4402
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
4416
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
4452
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4488
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.StandardAndCSharp);
4544
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4687
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4758
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4762
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4884
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
4887
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
4890
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
4996
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
4999
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5063
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5147
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5206
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5226
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5247
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8);
5338
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5357
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5447
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5487
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5503
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5506
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5535
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5550
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5553
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5579
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5606
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5609
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5671
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5684
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5687
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5713
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5734
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5737
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5782
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5823
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5826
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5844
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5868
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5871
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5889
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
6001
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
6004
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
6019
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
6033
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
6036
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
6057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6105
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6186
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6286
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6360
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6387
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6410
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6427
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6545
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6592
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6731
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6840
var comp =
CreateCompilation
(source);
6895
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6916
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6941
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6953
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
6970
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6984
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
7003
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7022
comp =
CreateCompilation
(source1, references: new[] { ref0 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7082
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7116
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7146
var comp =
CreateCompilation
(source);
7214
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7217
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
7221
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7224
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7227
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7230
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7287
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7454
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
9490
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
9725
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10099
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10326
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10493
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
12376
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
12437
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12662
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12865
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12940
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13264
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
13282
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13308
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13336
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13366
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13383
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13401
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13431
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13448
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13487
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13516
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13540
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13569
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13605
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13664
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13727
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13872
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
14010
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
14218
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14301
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14370
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
14419
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14441
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14474
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14510
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14598
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14627
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14650
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14675
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14704
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14729
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14764
var comp =
CreateCompilation
(source);
14815
var comp =
CreateCompilation
(source);
15064
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15120
var comp =
CreateCompilation
(source);
15162
var comp =
CreateCompilation
(source);
15229
var comp =
CreateCompilation
(source);
15297
var comp =
CreateCompilation
(source);
15312
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15333
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15356
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15384
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15407
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15433
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15832
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
15856
var comp =
CreateCompilation
(source);
15877
var comp =
CreateCompilation
(source);
Semantics\NonTrailingNamedArgumentsTests.cs (32)
89
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
197
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
228
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
264
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
300
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
334
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular7);
358
var comp =
CreateCompilation
(source);
414
var comp =
CreateCompilation
(source);
446
var comp =
CreateCompilation
(source);
475
var comp =
CreateCompilation
(source);
525
var comp =
CreateCompilation
(source);
558
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
589
var comp =
CreateCompilation
(source);
618
var comp =
CreateCompilation
(source);
640
var comp =
CreateCompilation
(source);
673
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
701
var comp =
CreateCompilation
(source);
815
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
822
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
843
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
874
var comp =
CreateCompilation
(source);
906
var comp =
CreateCompilation
(source);
925
var comp =
CreateCompilation
(source);
971
var comp =
CreateCompilation
(source);
1009
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1044
var comp =
CreateCompilation
(source);
1072
var comp =
CreateCompilation
(source);
1090
var comp =
CreateCompilation
(source);
1143
var comp =
CreateCompilation
(source);
1159
var comp =
CreateCompilation
(source);
1177
var comp =
CreateCompilation
(source);
1197
var comp =
CreateCompilation
(source);
Semantics\NullableContextTests.cs (31)
63
var comp =
CreateCompilation
(source, options: WithNullable(globalContext));
95
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
196
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
245
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
275
var refA =
CreateCompilation
(sourceA).EmitToImageReference();
304
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: parseOptions);
346
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
385
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
420
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
542
var refA =
CreateCompilation
(sourceA).EmitToImageReference();
560
var comp =
CreateCompilation
(sourceB, options: options, references: new[] { refA });
723
var comp =
CreateCompilation
(source);
983
var comp =
CreateCompilation
(source);
1064
var comp =
CreateCompilation
(source, options: options);
1148
var comp =
CreateCompilation
(source);
1207
var comp =
CreateCompilation
(source);
1298
var comp =
CreateCompilation
(source);
1355
var comp =
CreateCompilation
(source);
1450
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
1484
var comp =
CreateCompilation
(new[] { source1, source2 });
1514
var comp =
CreateCompilation
(source);
1585
var comp =
CreateCompilation
(source);
1737
var comp =
CreateCompilation
(source, options: options);
1767
var comp =
CreateCompilation
(source);
1836
var comp =
CreateCompilation
(source);
1874
var comp =
CreateCompilation
(source);
1923
var comp =
CreateCompilation
(source);
1965
var comp =
CreateCompilation
(source);
2005
var comp =
CreateCompilation
(source);
2044
var comp =
CreateCompilation
(source);
2225
var comp =
CreateCompilation
(source, options: options);
Semantics\NullableConversionTests.cs (2)
653
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithWarningLevel(0));
747
var compilation =
CreateCompilation
(source);
Semantics\NullableReferenceTypesTests.cs (3722)
101
return
CreateCompilation
(source, options: WithNullableEnable(), references: references, parseOptions: parseOptions);
117
CreateCompilation
(source).VerifyDiagnostics();
177
var comp =
CreateCompilation
(@"
231
var comp =
CreateCompilation
(@"
273
var comp =
CreateCompilation
(@"
315
var comp =
CreateCompilation
(@"
357
var comp =
CreateCompilation
(@"
381
var comp =
CreateCompilation
(@"
424
var comp =
CreateCompilation
(@"
441
var comp =
CreateCompilation
(@"
468
var comp =
CreateCompilation
(@"
513
var comp =
CreateCompilation
(@"
533
var comp =
CreateCompilation
(@"
557
var comp =
CreateCompilation
(@"
579
var comp =
CreateCompilation
(@"
602
var comp =
CreateCompilation
(@"
629
var comp =
CreateCompilation
(@"
652
var comp =
CreateCompilation
(@"
677
var comp =
CreateCompilation
(@"
707
var comp =
CreateCompilation
(@"
740
var comp =
CreateCompilation
(@"
770
var comp =
CreateCompilation
(@"
800
var comp =
CreateCompilation
(@"
834
var comp =
CreateCompilation
(@"
863
var comp =
CreateCompilation
(@"
895
var comp =
CreateCompilation
(@"
934
var comp =
CreateCompilation
(@"
967
var comp =
CreateCompilation
(@"
998
var comp =
CreateCompilation
(@"
1031
var comp =
CreateCompilation
(@"
1061
var comp =
CreateCompilation
(@"
1101
var comp =
CreateCompilation
(@"
1125
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1150
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1189
var compilation =
CreateCompilation
(source);
1243
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
1302
var comp =
CreateCompilation
(@"
1332
var comp =
CreateCompilation
(@"
1346
var comp =
CreateCompilation
(@"
1396
var comp =
CreateCompilation
(@"
1433
var comp =
CreateCompilation
(@"
1473
var comp =
CreateCompilation
(source);
1509
var comp =
CreateCompilation
(source);
1516
var comp =
CreateCompilation
(@"
1557
CreateCompilation
(text).VerifyDiagnostics(
1609
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1641
var comp =
CreateCompilation
(@"
1747
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1781
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1834
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1862
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1918
CSharpCompilation c =
CreateCompilation
(new[] { @"
1952
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2001
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2087
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
2104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2134
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2237
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2259
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2298
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2337
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2370
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2413
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2455
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2516
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2582
CreateCompilation
(source).VerifyDiagnostics(
2667
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2693
var comp =
CreateCompilation
(source, options: WithNullable(TestOptions.UnsafeReleaseDll, NullableContextOptions.Enable));
2734
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2763
var comp =
CreateCompilation
(@"
2782
var comp =
CreateCompilation
(@"
2815
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2821
comp =
CreateCompilation
(source, options: WithNullableEnable());
2842
comp =
CreateCompilation
(source, options: WithNullableEnable());
2859
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2897
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2914
var comp =
CreateCompilation
(@"
2998
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3040
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3099
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3122
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3212
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3254
var comp =
CreateCompilation
(source.Replace("FIELDTYPE", fieldType), options: WithNullableEnable());
3289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3357
var comp =
CreateCompilation
(source);
3377
var comp =
CreateCompilation
(source);
3434
var comp =
CreateCompilation
(src);
3474
var comp =
CreateCompilation
(src);
3496
CreateCompilation
(text).VerifyDiagnostics(
3600
CreateCompilation
(source).VerifyDiagnostics(
3632
var comp =
CreateCompilation
(source);
3678
var comp =
CreateCompilation
(source);
3726
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3756
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3816
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3880
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3945
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4020
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4104
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4138
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
4148
var c2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4399
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4434
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4457
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4481
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4497
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4554
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4586
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4615
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4639
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4674
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4929
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4973
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5018
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5104
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5145
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5189
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll);
5285
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5331
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5393
var comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll);
5406
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5419
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5460
var comp =
CreateCompilation
(source);
5486
var comp =
CreateCompilation
(source);
5511
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5536
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5556
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5576
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5598
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5616
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5638
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5667
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5701
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5736
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5813
var comp =
CreateCompilation
(new[] { source1, source2, source3, source4 },
5856
var comp =
CreateCompilation
(source);
5882
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5902
var comp =
CreateCompilation
(source);
5920
var comp =
CreateCompilation
(source);
5938
var comp =
CreateCompilation
(source);
5954
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Annotations));
5972
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5990
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6015
var comp =
CreateCompilation
(source);
6035
var comp =
CreateCompilation
(source);
6055
var comp =
CreateCompilation
(source);
6074
var comp =
CreateCompilation
(source);
6093
var comp =
CreateCompilation
(source);
6112
var comp =
CreateCompilation
(source);
6135
var comp =
CreateCompilation
(source);
6159
var comp =
CreateCompilation
(source);
6178
var comp =
CreateCompilation
(source);
6201
var comp =
CreateCompilation
(source);
6222
var comp =
CreateCompilation
(source);
6246
var comp =
CreateCompilation
(source);
6270
var comp =
CreateCompilation
(source);
6292
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Warnings));
6316
var comp =
CreateCompilation
(source, options: WithNullableDisable());
6340
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6357
var comp1 =
CreateCompilation
(source);
6364
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress));
6381
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6398
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6418
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6442
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6465
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6487
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6509
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6532
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6554
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6576
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6601
var comp =
CreateCompilation
(source);
6623
var comp =
CreateCompilation
(source);
6643
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6667
var comp =
CreateCompilation
(source);
6704
var comp =
CreateCompilation
(source);
6735
var comp =
CreateCompilation
(source);
6789
var comp =
CreateCompilation
(source);
6851
var comp =
CreateCompilation
(source);
6882
var comp =
CreateCompilation
(source);
6904
var comp =
CreateCompilation
(source);
6922
var comp =
CreateCompilation
(source);
6947
var comp =
CreateCompilation
(source);
6965
var comp =
CreateCompilation
(source);
6987
var comp =
CreateCompilation
(source);
7014
var comp =
CreateCompilation
(source);
7045
var comp =
CreateCompilation
(source);
7067
var comp =
CreateCompilation
(source);
7094
var comp =
CreateCompilation
(source);
7124
var comp =
CreateCompilation
(source);
7153
var comp =
CreateCompilation
(source);
7180
var comp =
CreateCompilation
(source);
7209
var comp =
CreateCompilation
(source);
7238
var comp =
CreateCompilation
(source);
7259
var comp =
CreateCompilation
(source);
7280
var comp =
CreateCompilation
(source);
7311
var comp =
CreateCompilation
(source);
7352
var comp =
CreateCompilation
(source);
7424
var comp =
CreateCompilation
(source);
7528
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7577
comp =
CreateCompilation
(source, options: WithNullableEnable());
7620
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7644
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7672
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7702
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7724
var c =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
7748
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7796
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7811
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7853
var c =
CreateCompilation
(new[] { source });
7856
c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7866
var c2 =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
7887
var c =
CreateCompilation
(new[] { source });
7906
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7940
var c =
CreateCompilation
(new[] { source });
7943
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7961
var c =
CreateCompilation
(new[] { source });
7964
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7985
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8007
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8048
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8107
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8129
var c =
CreateCompilation
(source);
8143
CSharpCompilation c =
CreateCompilation
(new[] { @"
8166
CSharpCompilation c =
CreateCompilation
(new[] { @"
8183
CSharpCompilation c =
CreateCompilation
(new[] { @"
8205
CSharpCompilation c =
CreateCompilation
(new[] { @"
8227
CSharpCompilation c =
CreateCompilation
(new[] { @"
8252
CSharpCompilation c =
CreateCompilation
(new[] { @"
8424
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8427
var c2 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
8461
var c3 =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
8486
CSharpCompilation c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8517
var comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8524
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8527
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.EmitToImageReference() });
8534
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8560
var comp =
CreateCompilation
(source);
8572
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8582
var comp =
CreateCompilation
("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7);
8589
var comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8595
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8601
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8604
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8607
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8610
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8613
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8616
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8619
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8622
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8625
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8628
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8679
CSharpCompilation c =
CreateCompilation
(new[] { @"
8811
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8818
var comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8821
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8826
comp1 =
CreateCompilation
(source1, references: compRefs0);
8829
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8834
comp0 =
CreateCompilation
(source0);
8841
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8844
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8849
comp1 =
CreateCompilation
(source1, references: compRefs0);
8852
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8856
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8859
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8864
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
8871
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8874
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8879
comp1 =
CreateCompilation
(source1, references: compRefs0);
8882
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8886
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8892
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8928
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8945
var comp1A =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
8948
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
8975
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8998
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9017
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9043
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9081
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9083
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9155
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9158
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9174
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9242
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9246
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9250
var comp2A =
CreateCompilation
(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7);
9253
var comp2B =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9256
var comp2C =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9277
var comp2D =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 });
9325
var comp0 =
CreateCompilation
(source0);
9336
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9340
var comp2 =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9368
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9372
comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9376
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9424
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9427
var comp1 =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
9430
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9448
var comp =
CreateCompilation
(new[] { source });
9467
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9478
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9492
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9500
var lib =
CreateCompilation
(lib_cs, assemblyName: "lib");
9503
var lib2 =
CreateCompilation
(lib2_cs, references: new[] { lib.EmitToImageReference() }, assemblyName: "lib2");
9509
var comp =
CreateCompilation
(source_cs, references: new[] { lib2.EmitToImageReference() });
9534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9548
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9566
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9653
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9698
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9717
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9735
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9804
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9854
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9863
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9923
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9956
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9967
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10032
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10083
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10095
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10161
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10203
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10213
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10278
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10312
var obliviousComp =
CreateCompilation
(new[] { obliviousLib });
10315
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
10330
var comp =
CreateCompilation
(new[] { source });
10349
var comp =
CreateCompilation
(new[] { source });
10379
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10382
comp =
CreateCompilation
(new[] { source });
10385
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10404
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10407
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
10413
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10427
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10441
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10511
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10611
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10684
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10770
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10845
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10933
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10976
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11027
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11078
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11123
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
11170
var comp =
CreateCompilation
(new[] { source });
11245
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
11330
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11361
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11385
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11406
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11429
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11450
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11488
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11563
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11622
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11689
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11728
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11756
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11816
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
11881
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11919
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11995
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12077
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12172
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12243
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12304
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12394
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12450
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
12484
var comp =
CreateCompilation
(new[] { source });
12511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12559
var comp =
CreateCompilation
(new[] { source });
12603
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12661
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12760
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12866
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12948
var compilation =
CreateCompilation
(new[] { source });
13014
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13105
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13184
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13246
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13308
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13376
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13449
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13507
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13554
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13587
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13625
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13662
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13724
var compilation =
CreateCompilation
(new[] { source });
13849
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource, prependDefaultHeader: false) },
13892
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13962
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14013
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14070
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14126
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14170
var compilation =
CreateCompilation
(new[] { source });
14223
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14279
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14333
var compilation1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
14338
var compilation2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(),
14385
var compilation1 =
CreateCompilation
(new[] { source1 }, options: options1);
14392
var compilation2 =
CreateCompilation
(new[] { source2 }, options: options2,
14399
var compilation3 =
CreateCompilation
(new[] { source1, source2 }, options: options1);
14403
var compilation4 =
CreateCompilation
(new[] { source2, source1 }, options: options1);
14435
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14485
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14561
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14663
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14690
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14763
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14869
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14900
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14930
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14946
var comp =
CreateCompilation
(@"
14990
var comp =
CreateCompilation
(@"
15052
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15106
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15171
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15213
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15246
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15271
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15319
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15340
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15361
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15382
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15403
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15436
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15469
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15495
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15537
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15558
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15579
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15600
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15621
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15669
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15726
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15794
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15853
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15899
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15927
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15948
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15982
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16038
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16059
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16087
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16134
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16178
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16232
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16260
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16298
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16342
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16399
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16441
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16492
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16548
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16620
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16705
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16790
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16996
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17071
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17143
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17169
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
17185
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: WithNullableEnable());
17229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17405
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17473
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17554
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17638
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17722
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17783
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17833
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
17864
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17888
compilation =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
17909
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17982
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
18034
var compilation =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
18103
CreateCompilation
(new[] { source }, options: WithNullableEnable()).
18129
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18136
CSharpCompilation c =
CreateCompilation
(
18635
CSharpCompilation c =
CreateCompilation
(new[] { @"
18783
CSharpCompilation c =
CreateCompilation
(new[] { @"
18815
CSharpCompilation c =
CreateCompilation
(new[] { @"
18877
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18941
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18963
var c2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable());
18974
CSharpCompilation c =
CreateCompilation
(new[] { @"
19019
CSharpCompilation c =
CreateCompilation
(new[] { @"
19064
CSharpCompilation c =
CreateCompilation
(new[] { @"
19096
CSharpCompilation c =
CreateCompilation
(new[] { @"
19131
CSharpCompilation c =
CreateCompilation
(new[] { @"
19194
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19248
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19272
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19308
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19352
CSharpCompilation c =
CreateCompilation
(new[] { @"
19417
CSharpCompilation c =
CreateCompilation
(new[] { @"
19494
CSharpCompilation c =
CreateCompilation
(new[] { @"
19537
CSharpCompilation c =
CreateCompilation
(new[] { @"
19601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19630
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19649
CSharpCompilation c0 =
CreateCompilation
(@"
19671
CSharpCompilation c =
CreateCompilation
(new[] { @"
19800
CSharpCompilation c0 =
CreateCompilation
(@"
19807
CSharpCompilation c =
CreateCompilation
(new[] { @"
19868
CSharpCompilation c0 =
CreateCompilation
(@"
19875
CSharpCompilation c =
CreateCompilation
(new[] { @"
19913
CSharpCompilation c0 =
CreateCompilation
(@"
19920
CSharpCompilation c =
CreateCompilation
(new[] { @"
19984
CSharpCompilation c0 =
CreateCompilation
(@"
19991
CSharpCompilation c =
CreateCompilation
(new[] { @"
20034
CSharpCompilation c0 =
CreateCompilation
(@"
20041
CSharpCompilation c =
CreateCompilation
(new[] { @"
20114
CSharpCompilation c0 =
CreateCompilation
(@"
20121
CSharpCompilation c =
CreateCompilation
(new[] { @"
20169
CSharpCompilation c0 =
CreateCompilation
(@"
20189
CSharpCompilation c =
CreateCompilation
(new[] { @"
20296
CSharpCompilation c =
CreateCompilation
(new[] { @"
20334
CSharpCompilation c =
CreateCompilation
(new[] { @"
20370
CSharpCompilation c =
CreateCompilation
(new[] { @"
20403
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20437
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20457
CSharpCompilation c =
CreateCompilation
(new[] { @"
20515
CSharpCompilation c =
CreateCompilation
(new[] { @"
20559
CSharpCompilation c =
CreateCompilation
(new[] { @"
20603
CSharpCompilation c =
CreateCompilation
(new[] { @"
20638
CSharpCompilation c =
CreateCompilation
(new[] { @"
20684
CSharpCompilation c =
CreateCompilation
(new[] { @"
20730
CSharpCompilation c =
CreateCompilation
(new[] { @"
20771
CSharpCompilation c =
CreateCompilation
(new[] { @"
20813
CSharpCompilation c =
CreateCompilation
(new[] { @"
23695
var c =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8);
23714
var c2 =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9);
26895
var c =
CreateCompilation
(@"
26926
var c =
CreateCompilation
(new[] { @"
26959
var c =
CreateCompilation
(new[] { @"
26998
var c =
CreateCompilation
(new[] { @"
27037
var c =
CreateCompilation
(new[] { @"
27073
var c =
CreateCompilation
(new[] { @"
27107
var c =
CreateCompilation
(new[] { @"
27139
var c =
CreateCompilation
(new[] { @"
27170
var c =
CreateCompilation
(new[] { @"
27199
var c =
CreateCompilation
(new[] { @"
27280
var comp =
CreateCompilation
(src);
27313
var comp =
CreateCompilation
(src);
27340
var comp =
CreateCompilation
(src);
27363
var comp =
CreateCompilation
(src);
27395
var comp =
CreateCompilation
(src);
27420
var comp =
CreateCompilation
(src);
27462
var comp =
CreateCompilation
(src);
27500
var comp =
CreateCompilation
(src);
27562
var comp =
CreateCompilation
(src);
27585
var c =
CreateCompilation
(new[] { @"
27616
var c =
CreateCompilation
(new[] { @"
27647
var c =
CreateCompilation
(new[] { @"
27683
var c =
CreateCompilation
(new[] { @"
27722
var c =
CreateCompilation
(new[] { @"
27759
var c =
CreateCompilation
(new[] { @"
27792
var c =
CreateCompilation
(new[] { @"
27825
var c =
CreateCompilation
(new[] { @"
27858
var c =
CreateCompilation
(new[] { @"
27896
var c =
CreateCompilation
(new[] { @"
27927
var c =
CreateCompilation
(new[] { @"
27962
var c =
CreateCompilation
(new[] { @"
28000
var c =
CreateCompilation
(new[] { @"
28029
var c =
CreateCompilation
(new[] { @"
28064
var c =
CreateCompilation
(new[] { @"
28105
var c =
CreateCompilation
(new[] { @"
28135
var c =
CreateCompilation
(new[] { @"
28169
var c =
CreateCompilation
(new[] { @"
28203
var c =
CreateCompilation
(new[] { @"
28237
var c =
CreateCompilation
(new[] { @"
28271
var c =
CreateCompilation
(new[] { @"
28305
var c =
CreateCompilation
(new[] { @"
28338
var c =
CreateCompilation
(new[] { @"
28365
var c =
CreateCompilation
(new[] { @"
28392
var c =
CreateCompilation
(new[] { @"
28419
var c =
CreateCompilation
(new[] { @"
28442
var c =
CreateCompilation
(new[] { @"
28469
var c =
CreateCompilation
(new[] { @"
28586
var c =
CreateCompilation
(new[] { @"
28617
var c =
CreateCompilation
(new[] { @"
28874
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }).VerifyDiagnostics(
29635
var c =
CreateCompilation
(new[] { @"
29798
var c =
CreateCompilation
(new[] { @"
29893
var c =
CreateCompilation
(new[] { @"
29924
var c =
CreateCompilation
(new[] { @"
29952
var c =
CreateCompilation
(new[] { @"
29982
var c =
CreateCompilation
(new[] { @"
30018
var c =
CreateCompilation
(new[] { @"
30047
var c =
CreateCompilation
(new[] { @"
30939
var c =
CreateCompilation
(new[] { @"
30967
var c =
CreateCompilation
(new[] { @"
31364
var c =
CreateCompilation
(new[] { @"
31396
var c =
CreateCompilation
(new[] { @"
31762
CSharpCompilation c =
CreateCompilation
(new[] { @"
31793
CSharpCompilation c =
CreateCompilation
(new[] { @"
31822
CSharpCompilation c =
CreateCompilation
(new[] { @"
31850
CSharpCompilation c =
CreateCompilation
(new[] { @"
31888
CSharpCompilation c =
CreateCompilation
(new[] { @"
31920
CSharpCompilation c =
CreateCompilation
(new[] { @"
31951
CSharpCompilation c =
CreateCompilation
(new[] { @"
31967
CSharpCompilation c =
CreateCompilation
(new[] { @"
32069
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition },
33935
CSharpCompilation c =
CreateCompilation
(new[] { @"
34716
CSharpCompilation c =
CreateCompilation
(new[] { @"
34753
CSharpCompilation c =
CreateCompilation
(new[] { @"
34793
CSharpCompilation c =
CreateCompilation
(new[] { @"
34811
CSharpCompilation c =
CreateCompilation
(new[] { @"
34829
CSharpCompilation c =
CreateCompilation
(new[] { @"
34848
CSharpCompilation c =
CreateCompilation
(new[] { @"
34870
CSharpCompilation c =
CreateCompilation
(new[] { @"
34889
CSharpCompilation c =
CreateCompilation
(new[] { @"
34914
CSharpCompilation c =
CreateCompilation
(new[] { @"
34940
CSharpCompilation c =
CreateCompilation
(new[] { @"
35020
CSharpCompilation c =
CreateCompilation
(new[] { @"
35044
CSharpCompilation c =
CreateCompilation
(new[] { @"
35064
CSharpCompilation c =
CreateCompilation
(new[] { @"
35099
var comp =
CreateCompilation
(source);
35106
CSharpCompilation c =
CreateCompilation
(new[] { @"
35131
CSharpCompilation c =
CreateCompilation
(new[] { @"
35153
CSharpCompilation c =
CreateCompilation
(new[] { @"
35177
CSharpCompilation c =
CreateCompilation
(new[] { @"
35204
CSharpCompilation c =
CreateCompilation
(new[] { @"
35229
CSharpCompilation c =
CreateCompilation
(new[] { @"
35253
CSharpCompilation c =
CreateCompilation
(new[] { @"
35280
CSharpCompilation c =
CreateCompilation
(new[] { @"
35301
var c =
CreateCompilation
(@"
35325
var c =
CreateCompilation
(@"
35350
var c =
CreateCompilation
(@"
35378
var c =
CreateCompilation
(@"
35407
var c =
CreateCompilation
(@"
35451
var c =
CreateCompilation
(@"
35486
var c =
CreateCompilation
(@"
35510
var c =
CreateCompilation
(@"
35534
var c =
CreateCompilation
(@"
35580
var c =
CreateCompilation
(@"
35617
var c =
CreateCompilation
(@"
35733
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition });
35765
var comp =
CreateCompilation
(source);
35789
var comp =
CreateCompilation
(source);
35824
var comp =
CreateCompilation
(source);
35859
var comp =
CreateCompilation
(source);
35954
var c =
CreateCompilation
(@"
35974
var c =
CreateCompilation
(@"
35999
var c =
CreateCompilation
(@"
36047
var c =
CreateCompilation
(@"
36074
var c =
CreateCompilation
(@"
36099
var c =
CreateCompilation
(@"
36133
var c =
CreateCompilation
(@"
36165
var c =
CreateCompilation
(@"
36189
var c =
CreateCompilation
(@"
36213
var c =
CreateCompilation
(@"
36233
var c =
CreateCompilation
(@"
36259
var c =
CreateCompilation
(@"
36303
CSharpCompilation c =
CreateCompilation
(new[] { @"
36324
CSharpCompilation c =
CreateCompilation
(new[] { @"
36345
CSharpCompilation c =
CreateCompilation
(new[] { @"
36370
CSharpCompilation c =
CreateCompilation
(new[] { @"
36397
CSharpCompilation c =
CreateCompilation
(new[] { @"
36418
CSharpCompilation c =
CreateCompilation
(new[] { @"
36445
CSharpCompilation c =
CreateCompilation
(new[] { @"
36469
CSharpCompilation c =
CreateCompilation
(new[] { @"
36493
CSharpCompilation c =
CreateCompilation
(new[] { @"
36513
CSharpCompilation c =
CreateCompilation
(new[] { @"
36537
CSharpCompilation c =
CreateCompilation
(new[] { @"
36558
CSharpCompilation c =
CreateCompilation
(new[] { @"
36585
CSharpCompilation c =
CreateCompilation
(new[] { @"
36611
CSharpCompilation c =
CreateCompilation
(@"
36631
CSharpCompilation c =
CreateCompilation
(new[] { @"
36653
CSharpCompilation c =
CreateCompilation
(new[] { @"
36673
var libComp =
CreateCompilation
(@"
36680
var comp =
CreateCompilation
(new[] { @"
36702
var comp =
CreateCompilation
(new[] { @"
36729
var obliviousComp =
CreateCompilation
(@"
36736
var comp =
CreateCompilation
(new[] { @"
36794
CSharpCompilation c =
CreateCompilation
(new[] { @"
36818
CSharpCompilation c =
CreateCompilation
(new[] { @"
36842
CSharpCompilation c =
CreateCompilation
(new[] { @"
36876
CSharpCompilation c =
CreateCompilation
(new[] { @"
36906
CSharpCompilation c =
CreateCompilation
(new[] { @"
36935
CSharpCompilation c =
CreateCompilation
(new[] { @"
37016
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
37288
CSharpCompilation c =
CreateCompilation
(new[] { @"
37334
CSharpCompilation c =
CreateCompilation
(new[] { @"
37355
CSharpCompilation c =
CreateCompilation
(new[] { @"
37379
CSharpCompilation c =
CreateCompilation
(new[] { @"
37401
CSharpCompilation c =
CreateCompilation
(new[] { @"
37426
CSharpCompilation c =
CreateCompilation
(new[] { @"
37453
CSharpCompilation c =
CreateCompilation
(new[] { @"
37494
CSharpCompilation c =
CreateCompilation
(new[] { @"
37520
CSharpCompilation c =
CreateCompilation
(new[] { @"
37539
CSharpCompilation c =
CreateCompilation
(new[] { @"
37562
CSharpCompilation c =
CreateCompilation
(new[] { @"
37585
CSharpCompilation c =
CreateCompilation
(new[] { @"
37612
CSharpCompilation c =
CreateCompilation
(new[] { @"
37640
CSharpCompilation c =
CreateCompilation
(new[] { @"
37660
CSharpCompilation c =
CreateCompilation
(new[] { @"
37686
CSharpCompilation c =
CreateCompilation
(new[] { $@"
37783
var comp =
CreateCompilation
(source);
37809
CSharpCompilation c =
CreateCompilation
(new[] { @"
37843
CSharpCompilation c =
CreateCompilation
(new[] { @"
37859
CSharpCompilation c =
CreateCompilation
(new[] { @"
37898
CSharpCompilation c =
CreateCompilation
(new[] { @"
37937
CSharpCompilation c =
CreateCompilation
(new[] { @"
37968
CSharpCompilation c =
CreateCompilation
(new[] { @"
37997
CSharpCompilation c =
CreateCompilation
(new[] { @"
38026
CSharpCompilation c =
CreateCompilation
(new[] { @"
38077
var compilation2 =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() });
38084
CSharpCompilation c =
CreateCompilation
(new[] { @"
38127
CSharpCompilation c =
CreateCompilation
(new[] { @"
38158
CSharpCompilation c =
CreateCompilation
(new[] { @"
38176
CSharpCompilation c =
CreateCompilation
(new[] { @"
38207
CSharpCompilation c =
CreateCompilation
(new[] { @"
38241
CSharpCompilation c =
CreateCompilation
(new[] { @"
38264
CSharpCompilation c =
CreateCompilation
(new[] { @"
38290
CSharpCompilation c =
CreateCompilation
(new[] { @"
38319
CSharpCompilation c =
CreateCompilation
(new[] { @"
38353
CSharpCompilation c =
CreateCompilation
(new[] { @"
38471
CSharpCompilation c =
CreateCompilation
(new[] { @"
38503
CSharpCompilation c =
CreateCompilation
(new[] { @"
38535
CSharpCompilation c =
CreateCompilation
(new[] { @"
38560
CSharpCompilation c =
CreateCompilation
(new[] { @"
38585
CSharpCompilation c =
CreateCompilation
(new[] { @"
38614
CSharpCompilation c =
CreateCompilation
(new[] { @"
38643
CSharpCompilation c =
CreateCompilation
(new[] { @"
38664
CSharpCompilation c =
CreateCompilation
(new[] { @"
38683
CSharpCompilation c =
CreateCompilation
(new[] { @"
38756
CSharpCompilation c =
CreateCompilation
(new[] { @"
38780
CSharpCompilation c =
CreateCompilation
(new[] { @"
38804
CSharpCompilation c =
CreateCompilation
(new[] { @"
38827
CSharpCompilation c =
CreateCompilation
(new[] { @"
38846
CSharpCompilation c =
CreateCompilation
(@"
38865
CSharpCompilation c =
CreateCompilation
(new[] { @"
38884
CSharpCompilation c =
CreateCompilation
(new[] { @"
38908
CSharpCompilation c =
CreateCompilation
(new[] { @"
38947
CSharpCompilation c =
CreateCompilation
(new[] { @"
38979
CSharpCompilation c =
CreateCompilation
(new[] { @"
38998
CSharpCompilation c =
CreateCompilation
(new[] { @"
39179
CSharpCompilation c =
CreateCompilation
(new[] { @"
39206
CSharpCompilation c =
CreateCompilation
(@"
39224
CSharpCompilation c =
CreateCompilation
(new[] { @"
39251
CSharpCompilation c =
CreateCompilation
(new[] { @"
39275
CSharpCompilation c =
CreateCompilation
(new[] { @"
39300
CSharpCompilation c =
CreateCompilation
(new[] { @"
39326
CSharpCompilation c =
CreateCompilation
(new[] { @"
39350
CSharpCompilation c =
CreateCompilation
(new[] { @"
39369
CSharpCompilation c =
CreateCompilation
(new[] { @"
39392
CSharpCompilation c =
CreateCompilation
(new[] { @"
39431
CSharpCompilation c =
CreateCompilation
(new[] { @"
39456
CSharpCompilation c =
CreateCompilation
(new[] { @"
39476
CSharpCompilation c =
CreateCompilation
(new[] { @"
39501
CSharpCompilation c =
CreateCompilation
(new[] { @"
39520
CSharpCompilation c =
CreateCompilation
(new[] { @"
39584
var comp =
CreateCompilation
(
39655
var comp =
CreateCompilation
(
39713
var comp =
CreateCompilation
(
39780
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
39857
var comp =
CreateCompilation
(
39895
var comp =
CreateCompilation
(
39941
var comp =
CreateCompilation
(
39993
var comp =
CreateCompilation
(
40069
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40187
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40221
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40291
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40305
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source0 }, options: WithNullableEnable());
40323
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
41256
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41301
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41725
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
42169
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
42221
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
43059
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43143
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43459
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43488
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43887
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44076
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, AllowNullAttributeDefinition, source }, options: WithNullableEnable());
44168
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44228
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44268
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44287
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source0 }, options: WithNullableEnable());
45847
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
45967
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46093
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable());
46191
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46217
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46235
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46252
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46285
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46302
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46345
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46373
var c =
CreateCompilation
(new[] { @"
47214
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source });
47243
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, MaybeNullWhenAttributeDefinition, source });
47298
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47374
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47420
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47439
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47453
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source0 }, options: WithNullableEnable());
47470
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
47633
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
48800
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
48843
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
48862
CSharpCompilation c =
CreateCompilation
(new[] { @"
48965
CSharpCompilation c =
CreateCompilation
(new[] { @"
49068
CSharpCompilation c =
CreateCompilation
(new[] { @"
49143
CSharpCompilation c =
CreateCompilation
(new[] { @"
49206
CSharpCompilation c =
CreateCompilation
(new[] { @"
49260
CSharpCompilation c =
CreateCompilation
(new[] { @"
49333
CSharpCompilation c =
CreateCompilation
(new[] { @"
49407
CSharpCompilation c =
CreateCompilation
(@"
49437
CSharpCompilation c =
CreateCompilation
(new[] { @"
49463
CSharpCompilation c =
CreateCompilation
(new[] { @"
49490
CSharpCompilation c =
CreateCompilation
(new[] { @"
49513
CSharpCompilation c =
CreateCompilation
(new[] { @"
49549
CSharpCompilation c =
CreateCompilation
(new[] { @"
49585
var compilation =
CreateCompilation
(new[] { @"
49726
var compilation =
CreateCompilation
(new[] { @"
49759
var compilation =
CreateCompilation
(new[] { @"
49785
var compilation =
CreateCompilation
(new[] { @"
49812
var compilation =
CreateCompilation
(new[] { @"
49837
CSharpCompilation c =
CreateCompilation
(@"
49870
CSharpCompilation c =
CreateCompilation
(@"
51236
CreateCompilation
(source).VerifyDiagnostics(
51946
CreateCompilation
(source).VerifyDiagnostics(
52213
CreateCompilation
(source).VerifyDiagnostics(
52241
CreateCompilation
(source).VerifyDiagnostics(
52286
CreateCompilation
(source).VerifyDiagnostics(
54307
CSharpCompilation c =
CreateCompilation
(new[] { @"
54334
CSharpCompilation c =
CreateCompilation
(new[] { @"
54362
CSharpCompilation c =
CreateCompilation
(new[] { @"
54389
CSharpCompilation c =
CreateCompilation
(new[] { @"
54416
CSharpCompilation c =
CreateCompilation
(new[] { @"
54443
CSharpCompilation c =
CreateCompilation
(new[] { @"
54461
CSharpCompilation c =
CreateCompilation
(new[] { @"
54494
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54521
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54545
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54572
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54611
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54648
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54730
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54783
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54821
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54843
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54859
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54940
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55031
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55108
CreateCompilation
(source).VerifyDiagnostics(
55187
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55266
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55313
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55366
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55410
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55435
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55459
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55479
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55512
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55594
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55650
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55706
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55781
var comp =
CreateCompilation
(@"
55802
var comp =
CreateCompilation
(@"
55827
var comp =
CreateCompilation
(@"
55852
var comp =
CreateCompilation
(@"
55871
var comp =
CreateCompilation
(@"
55889
var comp =
CreateCompilation
(@"
55910
var comp =
CreateCompilation
(@"
55938
var comp =
CreateCompilation
(@"
55963
var comp =
CreateCompilation
(@"
55982
var comp =
CreateCompilation
(@"
55997
var comp =
CreateCompilation
(@"
56012
var comp =
CreateCompilation
(@"
56073
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56103
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56136
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56173
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56208
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56242
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56301
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56340
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56374
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56405
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56434
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56469
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56505
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56546
var comp =
CreateCompilation
(source);
56584
var comp =
CreateCompilation
(source);
56616
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56645
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56662
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56684
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56711
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56761
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56786
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56822
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56850
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56876
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56897
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56917
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
56943
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56990
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
57067
CreateCompilation
(source).VerifyDiagnostics(
57093
CreateCompilation
(source).VerifyDiagnostics(
57131
CreateCompilation
(source).VerifyDiagnostics(
57177
CreateCompilation
(source).VerifyDiagnostics();
57193
CreateCompilation
(source).VerifyDiagnostics(
57215
CreateCompilation
(source).VerifyDiagnostics();
57236
CreateCompilation
(source).VerifyDiagnostics(
57269
CreateCompilation
(source).VerifyDiagnostics(
57304
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57308
var comp =
CreateCompilation
(@"
57396
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57456
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57512
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57550
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57565
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
57609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
57685
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57725
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57754
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57781
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57809
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57837
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57865
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57893
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57910
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57927
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57944
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57961
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57994
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable(TestOptions.ReleaseExe));
58047
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58137
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58187
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58336
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58433
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58448
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
58528
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
58574
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58635
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58685
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58711
CSharpCompilation c =
CreateCompilation
(new[] { @"
58777
CSharpCompilation c =
CreateCompilation
(new[] { @"
58826
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58861
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58885
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58919
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58951
CreateCompilation
(source).VerifyDiagnostics(
58960
CSharpCompilation c =
CreateCompilation
(new[] { @"
59007
var comp =
CreateCompilation
(
59044
var comp =
CreateCompilation
(
59071
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59099
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59135
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59165
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59230
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59264
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59292
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59317
var comp =
CreateCompilation
(
59349
var comp =
CreateCompilation
(
59389
var comp =
CreateCompilation
(
59416
var comp =
CreateCompilation
(
59428
CSharpCompilation c =
CreateCompilation
(new[] { @"
59500
CSharpCompilation c =
CreateCompilation
(new[] { @"
59559
CSharpCompilation c =
CreateCompilation
(new[] { @"
59592
CSharpCompilation c =
CreateCompilation
(new[] { @"
59692
CSharpCompilation c =
CreateCompilation
(new[] { @"
59764
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
59771
CSharpCompilation c =
CreateCompilation
(new[] { @"
59913
CSharpCompilation c =
CreateCompilation
(new[] { @"
60018
CSharpCompilation c =
CreateCompilation
(new[] { @"
60081
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60120
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60155
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60222
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60244
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60267
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60341
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60365
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60404
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60466
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60490
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60512
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60528
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60549
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60583
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60633
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60661
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60715
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60750
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60815
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60855
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60888
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60914
var comp =
CreateCompilation
(source);
61021
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61142
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
61175
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
61245
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61293
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61322
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61351
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61380
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61409
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61416
CSharpCompilation c =
CreateCompilation
(
61473
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61500
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61646
var comp =
CreateCompilation
(src);
61686
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61714
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61727
CSharpCompilation c =
CreateCompilation
(new[] { @"
61808
CSharpCompilation c =
CreateCompilation
(new[] { @"
61985
CSharpCompilation c =
CreateCompilation
(new[] { @"
62047
CSharpCompilation c =
CreateCompilation
(new[] { @"
62083
CSharpCompilation c =
CreateCompilation
(new[] { @"
62256
CSharpCompilation c =
CreateCompilation
(new[] { @"
62305
CSharpCompilation c =
CreateCompilation
(new[] { @"
62334
CSharpCompilation c =
CreateCompilation
(new[] { @"
62405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62447
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62466
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62489
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62525
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62558
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62594
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62625
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62662
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62694
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62721
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62742
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62765
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62786
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62807
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62830
var comp =
CreateCompilation
(source).VerifyDiagnostics(
62854
CSharpCompilation c =
CreateCompilation
(new[] { @"
62879
CSharpCompilation c =
CreateCompilation
(new[] { @"
62965
CSharpCompilation c =
CreateCompilation
(new[] { @"
63052
CSharpCompilation c =
CreateCompilation
(new[] { @"
63107
CSharpCompilation c =
CreateCompilation
(new[] { @"
63150
CSharpCompilation c =
CreateCompilation
(new[] { @"
63183
CSharpCompilation c =
CreateCompilation
(new[] { @"
63238
CSharpCompilation c =
CreateCompilation
(new[] { @"
63277
CSharpCompilation c =
CreateCompilation
(new[] { @"
63338
CSharpCompilation c =
CreateCompilation
(new[] { @"
63387
CSharpCompilation c =
CreateCompilation
(new[] { @"
63447
CSharpCompilation c =
CreateCompilation
(new[] { @"
63495
CSharpCompilation c =
CreateCompilation
(new[] { @"
63553
CSharpCompilation c =
CreateCompilation
(new[] { @"
63605
CSharpCompilation c =
CreateCompilation
(new[] { @"
63660
CSharpCompilation c =
CreateCompilation
(new[] { @"
63727
CSharpCompilation c =
CreateCompilation
(new[] { @"
63782
CSharpCompilation c =
CreateCompilation
(new[] { @"
63825
CSharpCompilation notAnnotated =
CreateCompilation
(@"
63842
CSharpCompilation c =
CreateCompilation
(new[] { @"
63885
CSharpCompilation c =
CreateCompilation
(new[] { @"
63920
CSharpCompilation c =
CreateCompilation
(new[] { @"
63971
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64045
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64074
var comp =
CreateCompilation
(source);
64114
var comp =
CreateCompilation
(@"
64138
var comp =
CreateCompilation
(@"
64162
var comp =
CreateCompilation
("""
64213
var comp =
CreateCompilation
(source, options: WithNullableEnable());
64418
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64446
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64482
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64538
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64563
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64603
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64628
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64661
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64710
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64734
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64772
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64819
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64862
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64901
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65243
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65357
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65460
var comp =
CreateCompilation
(
65494
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65516
var comp =
CreateCompilation
(
65561
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65581
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65646
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65727
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65758
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65886
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
65939
CreateCompilation
(source).VerifyDiagnostics();
65972
CreateCompilation
(source).VerifyDiagnostics();
66006
CreateCompilation
(source).VerifyDiagnostics();
66034
CreateCompilation
(source).VerifyDiagnostics(
66065
CreateCompilation
(source).VerifyDiagnostics(
66101
CreateCompilation
(source).VerifyDiagnostics(
66137
CreateCompilation
(source).VerifyDiagnostics(
66167
CreateCompilation
(source).VerifyDiagnostics(
66191
CreateCompilation
(source).VerifyDiagnostics(
66217
CreateCompilation
(source).VerifyDiagnostics(
66246
CreateCompilation
(source).VerifyDiagnostics(
66275
CreateCompilation
(source).VerifyDiagnostics();
66298
CreateCompilation
(source).VerifyDiagnostics(
66326
CreateCompilation
(source).VerifyDiagnostics(
66354
CreateCompilation
(source).VerifyDiagnostics(
66390
CreateCompilation
(source).VerifyDiagnostics(
66419
CreateCompilation
(source).VerifyDiagnostics(
66460
CreateCompilation
(source).VerifyDiagnostics();
66489
CreateCompilation
(source).VerifyDiagnostics(
66523
CreateCompilation
(source).VerifyDiagnostics();
66552
CreateCompilation
(source).VerifyDiagnostics();
66581
CreateCompilation
(source).VerifyDiagnostics();
66610
CreateCompilation
(source).VerifyDiagnostics();
66644
CreateCompilation
(source).VerifyDiagnostics();
66681
CreateCompilation
(source).VerifyDiagnostics();
66708
CreateCompilation
(source).VerifyDiagnostics(
66744
CreateCompilation
(source).VerifyDiagnostics(
66786
CreateCompilation
(source).VerifyDiagnostics(
66825
CreateCompilation
(source).VerifyDiagnostics(
66875
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
66952
CSharpCompilation c =
CreateCompilation
(new[] { @"
66993
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67022
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67069
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67116
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67163
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67188
CSharpCompilation c =
CreateCompilation
(new[] { @"
67266
CSharpCompilation c =
CreateCompilation
(new[] { @"
67305
CSharpCompilation c =
CreateCompilation
(new[] { @"
67344
CSharpCompilation c =
CreateCompilation
(new[] { @"
67383
CSharpCompilation c =
CreateCompilation
(new[] { @"
67422
CSharpCompilation c =
CreateCompilation
(new[] { @"
67462
CSharpCompilation c =
CreateCompilation
(new[] { @"
67502
CSharpCompilation c =
CreateCompilation
(new[] { @"
67527
CSharpCompilation c =
CreateCompilation
(new[] { @"
67569
CSharpCompilation c =
CreateCompilation
(new[] { @"
67622
CSharpCompilation c =
CreateCompilation
(new[] { @"
67668
CSharpCompilation c =
CreateCompilation
(new[] { @"
67706
CSharpCompilation c =
CreateCompilation
(new[] { @"
67743
CSharpCompilation c =
CreateCompilation
(new[] { @"
67780
CSharpCompilation c =
CreateCompilation
(new[] { @"
67817
CSharpCompilation c =
CreateCompilation
(new[] { @"
67855
CSharpCompilation c =
CreateCompilation
(new[] { @"
67893
CSharpCompilation c =
CreateCompilation
(new[] { @"
67918
CSharpCompilation c =
CreateCompilation
(new[] { @"
67957
CSharpCompilation c =
CreateCompilation
(new[] { @"
68001
CSharpCompilation c =
CreateCompilation
(new[] { @"
68053
CSharpCompilation c =
CreateCompilation
(new[] { @"
68138
CSharpCompilation c =
CreateCompilation
(new[] { @"
68165
CSharpCompilation c =
CreateCompilation
(new[] { @"
68190
CSharpCompilation c =
CreateCompilation
(new[] { @"
68216
CSharpCompilation c =
CreateCompilation
(new[] { @"
68243
CSharpCompilation c =
CreateCompilation
(new[] { @"
68279
CSharpCompilation c =
CreateCompilation
(new[] { @"
68309
CSharpCompilation c =
CreateCompilation
(new[] { @"
68345
CSharpCompilation c =
CreateCompilation
(new[] { @"
68392
CSharpCompilation c =
CreateCompilation
(new[] { @"
68466
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68499
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68533
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68563
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68589
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68626
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68653
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68687
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68723
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68756
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68790
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68824
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68855
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68889
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68920
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68948
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68976
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69004
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69032
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69055
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
69090
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
69101
CSharpCompilation c =
CreateCompilation
(new[] { @"
69127
CSharpCompilation c =
CreateCompilation
(new[] { @"
69195
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69278
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69299
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69317
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69338
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69372
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69415
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69458
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69511
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69607
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69650
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69703
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69797
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70839
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70881
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70957
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71001
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71044
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71075
CSharpCompilation c =
CreateCompilation
(new[] { @"
71108
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71129
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71143
CSharpCompilation c =
CreateCompilation
(new[] { @"
71170
CSharpCompilation c =
CreateCompilation
(new[] { @"
71206
CSharpCompilation c =
CreateCompilation
(new[] { @"
71242
var comp =
CreateCompilation
(
71279
var comp =
CreateCompilation
(source, options: WithNullableEnable());
71312
var comp =
CreateCompilation
(
71353
var comp =
CreateCompilation
(
71390
var comp =
CreateCompilation
(
71427
var comp =
CreateCompilation
(
71460
var comp =
CreateCompilation
(
71492
var comp =
CreateCompilation
(
71543
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71578
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71660
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71686
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71746
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71775
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
71999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72030
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72038
CSharpCompilation c =
CreateCompilation
(new[] { @"
72064
CSharpCompilation c =
CreateCompilation
(new[] { @"
72090
CSharpCompilation c =
CreateCompilation
(new[] { @"
72284
CSharpCompilation c =
CreateCompilation
(new[] { @"
72336
CSharpCompilation c =
CreateCompilation
(new[] { @"
72381
CSharpCompilation c =
CreateCompilation
(new[] { @"
72420
CSharpCompilation c =
CreateCompilation
(new[] { @"
72462
CSharpCompilation c =
CreateCompilation
(new[] { @"
72501
CSharpCompilation c =
CreateCompilation
(new[] { @"
72551
CSharpCompilation c =
CreateCompilation
(new[] { @"
72600
CSharpCompilation c =
CreateCompilation
(new[] { @"
72662
CSharpCompilation c =
CreateCompilation
(new[] { @"
72714
CSharpCompilation c =
CreateCompilation
(new[] { @"
72778
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72798
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72830
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable());
72870
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72877
CSharpCompilation c =
CreateCompilation
(new[] { @"
72911
CSharpCompilation c =
CreateCompilation
(new[] { @"
72962
CSharpCompilation c =
CreateCompilation
(new[] { @"
72997
CSharpCompilation c =
CreateCompilation
(new[] { @"
73048
CSharpCompilation c =
CreateCompilation
(new[] { @"
73114
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73130
CSharpCompilation c =
CreateCompilation
(new[] { @"
73212
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73219
CSharpCompilation c =
CreateCompilation
(new[] { @"
73372
CSharpCompilation c =
CreateCompilation
(new[] { @"
73428
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73484
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73528
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73551
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73575
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73607
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73653
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73715
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73758
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73792
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73847
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73887
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73921
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73956
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73996
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74058
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74111
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74148
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74161
CSharpCompilation c =
CreateCompilation
(new[] { @"
74263
CSharpCompilation c =
CreateCompilation
(
74350
CSharpCompilation c =
CreateCompilation
(new[] { @"
74457
CSharpCompilation c =
CreateCompilation
(new[] { @"
74506
CSharpCompilation c =
CreateCompilation
(new[] { @"
74554
CSharpCompilation c =
CreateCompilation
(new[] { @"
74601
CSharpCompilation c =
CreateCompilation
(new[] { @"
74649
CSharpCompilation c =
CreateCompilation
(new[] { @"
74691
CSharpCompilation c =
CreateCompilation
(new[] { @"
74733
CSharpCompilation c =
CreateCompilation
(new[] { @"
74813
CSharpCompilation c =
CreateCompilation
(new[] { @"
74914
CSharpCompilation c =
CreateCompilation
(new[] { @"
74952
CSharpCompilation c =
CreateCompilation
(
75005
CSharpCompilation c =
CreateCompilation
(new[] { @"
75098
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75139
var comp =
CreateCompilation
(source);
75172
var comp =
CreateCompilation
(source);
75206
var comp =
CreateCompilation
(source);
75246
var comp =
CreateCompilation
(source);
75287
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75318
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75348
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition });
75355
CSharpCompilation c =
CreateCompilation
(new[] { @"
75440
CSharpCompilation c =
CreateCompilation
(new[] { @"
75485
CSharpCompilation c =
CreateCompilation
(new[] { @"
75517
CSharpCompilation c =
CreateCompilation
(new[] { @"
75566
CSharpCompilation c =
CreateCompilation
(new[] { @"
75645
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75709
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75861
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75887
CSharpCompilation c =
CreateCompilation
(new[] { @"
75970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75989
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76011
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76031
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76059
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76093
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76117
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76139
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76166
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76189
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76218
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76236
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76251
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76442
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76462
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76482
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76507
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76523
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76544
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76668
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76775
var comp =
CreateCompilation
(source.Replace("OPERATOR", op), options: WithNullableEnable());
76812
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76848
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76873
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76964
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77028
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77065
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77102
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77107
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77116
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77143
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77148
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77177
var compilation =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, options: WithNullableEnable());
77313
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77344
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77371
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77377
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77478
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77494
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77506
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77512
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77539
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77545
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77646
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77665
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77678
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77684
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77787
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77806
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77819
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77825
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77933
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77964
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77980
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77996
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
78025
var comp =
CreateCompilation
(
78049
var comp =
CreateCompilation
(
78085
var comp =
CreateCompilation
(
78121
var comp =
CreateCompilation
(
78180
CSharpCompilation c =
CreateCompilation
(new[] { source },
78226
var comp =
CreateCompilation
(source);
78274
var comp =
CreateCompilation
(source);
78300
var comp =
CreateCompilation
(source);
78321
var comp =
CreateCompilation
(source);
78353
var comp =
CreateCompilation
(source);
78821
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
78848
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78869
var compA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular7);
78880
var compB =
CreateCompilation
(
78908
var comp =
CreateCompilation
(
78944
var comp =
CreateCompilation
(
79074
var comp =
CreateCompilation
(
79138
var comp =
CreateCompilation
(
79194
var comp =
CreateCompilation
(
79220
comp =
CreateCompilation
(
79244
var comp =
CreateCompilation
(
79298
var comp =
CreateCompilation
(
79324
var comp =
CreateCompilation
(
79413
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79437
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79479
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79505
var comp =
CreateCompilation
(source);
79533
var comp =
CreateCompilation
(
79567
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79633
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79670
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79696
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79725
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79754
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79794
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79831
var comp =
CreateCompilation
(
79862
var comp =
CreateCompilation
(
79930
var comp =
CreateCompilation
(
79961
var comp =
CreateCompilation
(
79991
var comp =
CreateCompilation
(
80024
var comp =
CreateCompilation
(
80077
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80144
var comp =
CreateCompilation
(
80188
var comp =
CreateCompilation
(
80252
var comp =
CreateCompilation
(src, options: WithNullableEnable(TestOptions.DebugDll));
80279
var comp =
CreateCompilation
(
80324
var comp =
CreateCompilation
(
80350
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80390
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80517
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80618
var comp =
CreateCompilation
(
80624
comp =
CreateCompilation
(
80630
comp =
CreateCompilation
(
80656
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80676
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80715
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80719
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
80723
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
80764
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80836
var comp =
CreateCompilation
(
80859
var comp =
CreateCompilation
(
80882
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80891
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80913
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80919
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80961
var comp =
CreateCompilation
(
80996
var comp =
CreateCompilation
(
81021
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81044
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81073
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81100
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81125
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
81131
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81151
var comp =
CreateCompilation
(
81162
comp =
CreateCompilation
(
81173
comp =
CreateCompilation
(
81207
var comp =
CreateCompilation
(
81216
comp =
CreateCompilation
(
81243
var comp =
CreateCompilation
(
81281
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81325
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81351
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81394
var comp0 =
CreateCompilation
(
81413
var comp1 =
CreateCompilation
(
81433
var comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
81469
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81536
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81672
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81767
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
81807
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
81854
var libComp =
CreateCompilation
(new[] { libSource });
81874
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3);
81881
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
81906
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81951
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
81979
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82017
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable());
82061
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: WithNullableEnable());
82109
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
82154
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82196
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82264
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82294
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable()).VerifyDiagnostics(
82323
var comp =
CreateCompilation
(
82341
var comp =
CreateCompilation
(
82396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82418
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82471
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82496
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82543
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82561
var comp =
CreateCompilation
(
82592
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82614
var comp =
CreateCompilation
(
82635
var comp =
CreateCompilation
(
82650
var comp =
CreateCompilation
(
82681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82708
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82738
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82773
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82817
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82852
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82875
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82898
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82921
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82946
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82971
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82992
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83012
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83079
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeReleaseDll));
83213
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83260
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
83299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83325
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83365
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83414
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83433
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83449
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83482
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83540
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83643
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83723
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83806
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83921
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84074
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84161
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84251
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84384
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84441
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84473
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84495
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84523
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84589
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84664
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84717
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84746
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84775
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84805
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84828
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84872
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84923
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84957
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84997
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85034
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85075
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85119
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85181
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85232
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85284
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85439
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85515
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85571
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85616
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85647
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85684
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85710
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85736
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85765
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85799
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85823
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85867
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85902
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85950
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86013
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86041
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86067
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86090
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86123
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86157
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86193
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86235
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86299
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86324
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86354
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86456
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86482
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86512
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86592
var comp =
CreateCompilation
(source);
86639
var comp =
CreateCompilation
(source);
86707
var comp =
CreateCompilation
(source);
86775
var comp =
CreateCompilation
(source);
86813
var comp =
CreateCompilation
(source);
86841
var comp =
CreateCompilation
(source);
86874
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
86895
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86921
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86951
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86974
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87002
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87056
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87102
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87132
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87159
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87184
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87218
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87244
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87267
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87422
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87449
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87483
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87584
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87615
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87645
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87681
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87727
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
87752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87792
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87836
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87901
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87953
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
87994
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88029
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88089
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88119
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88146
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88179
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88208
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88232
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88252
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88278
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88307
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88338
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88368
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88426
var comp =
CreateCompilation
(source);
88449
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88542
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88594
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88623
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88676
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88719
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88778
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88883
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88889
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88915
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88943
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88946
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88995
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89015
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89032
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89043
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89045
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89056
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89058
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89070
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89097
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89142
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89183
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89214
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89236
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
89312
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89540
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89682
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89768
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89825
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89869
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89901
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89940
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89972
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90095
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90119
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90148
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90211
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90274
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90318
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90369
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90413
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90514
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90573
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90782
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90862
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
90932
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91060
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91098
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91140
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
91227
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics(
91297
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91475
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91502
var comp =
CreateCompilation
(src);
91538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91578
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91617
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91644
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
91672
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
91696
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91723
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91752
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91790
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91822
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91851
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91881
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91908
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91938
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91968
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91995
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92027
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92054
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92088
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92118
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92142
var comp =
CreateCompilation
(source);
92169
var comp =
CreateCompilation
(source);
92649
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92674
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92689
CreateCompilation
(source).VerifyDiagnostics(
92715
CreateCompilation
(source).VerifyDiagnostics(
92735
var comp =
CreateCompilation
(
92761
var comp =
CreateCompilation
(
92796
var comp =
CreateCompilation
(
92820
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92842
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
92878
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92900
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92920
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92968
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92991
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93015
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93035
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93108
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93130
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93152
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93192
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93253
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93273
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93294
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93319
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93341
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93376
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93446
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93476
var comp =
CreateCompilation
(
93509
var comp =
CreateCompilation
(
93536
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93561
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93592
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93651
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93665
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93687
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93708
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93738
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeDebugDll));
93793
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93818
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93831
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93885
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93917
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93946
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
94010
var comp =
CreateCompilation
(
94081
var comp =
CreateCompilation
(
94129
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94143
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
94188
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
94239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94273
var comp =
CreateCompilation
(source);
94302
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94326
var comp =
CreateCompilation
(
94350
var comp =
CreateCompilation
(
94374
var comp =
CreateCompilation
(
94398
var comp =
CreateCompilation
(
94421
var comp =
CreateCompilation
(
94442
var comp =
CreateCompilation
(
94471
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94529
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94548
var comp =
CreateCompilation
(
94567
var comp =
CreateCompilation
(
94588
var comp =
CreateCompilation
(
94620
var comp =
CreateCompilation
(
94658
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94686
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94753
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94789
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94817
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94862
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94932
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95005
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95071
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95106
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95133
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95148
var comp0 =
CreateCompilation
(source0);
95164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
95187
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95215
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95286
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95322
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95369
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95416
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95449
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95486
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95530
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95599
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95629
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95663
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95699
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95750
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95814
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95903
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95941
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95983
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96018
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96049
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96078
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96140
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96184
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96260
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96300
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96334
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96413
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96467
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96532
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96584
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96635
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96729
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96765
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96792
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96819
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96851
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96892
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96942
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96995
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97036
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97066
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97095
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97116
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97138
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97160
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97183
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97211
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97237
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97269
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97305
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97355
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97387
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97420
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97450
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97519
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97544
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97590
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97691
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97748
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97789
var comp =
CreateCompilation
(source);
97834
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97848
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97856
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, skipUsesIsNullable: true);
97859
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9, skipUsesIsNullable: true);
97882
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97915
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97945
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97985
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98013
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98047
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98087
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98118
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98143
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98177
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98211
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98241
var comp =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, parseOptions: TestOptions.Regular9);
98282
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98308
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98324
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() })
98350
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98366
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
98393
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98409
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
98476
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98582
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
98645
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98649
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
98671
var comp4 =
CreateCompilation
(new[] { source1 });
98673
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
98706
var comp =
CreateCompilation
(new[] { source },
98758
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98773
var comp2 =
CreateCompilation
(new[] { source2 },
98827
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98829
var comp2 =
CreateCompilation
(NullableContextAttributeDefinition);
98844
var comp3 =
CreateCompilation
(new[] { source3 },
98899
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98915
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
98976
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99004
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99037
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99077
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99112
var comp =
CreateCompilation
(source);
99128
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99131
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
99134
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
99157
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99182
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99270
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
99333
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99337
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
99359
var comp4 =
CreateCompilation
(new[] { source1 });
99361
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
99437
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99439
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
99453
var comp3 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
99456
var comp4 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() });
99459
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() });
99462
var comp6 =
CreateCompilation
(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
99472
var comp7 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp6.ToMetadataReference() });
99475
var comp9 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() });
99542
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99619
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99702
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99785
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99862
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99936
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99992
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100074
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100110
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100114
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100145
var comp4 =
CreateCompilation
(new[] { source1 });
100147
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100159
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100207
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100229
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100233
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100256
var comp4 =
CreateCompilation
(new[] { source1 });
100258
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100264
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100282
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100320
var comp =
CreateCompilation
(new[] { source });
100363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100407
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3);
100428
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
100460
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100483
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100527
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100569
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100610
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100747
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100836
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100908
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100935
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100961
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100984
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101022
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101105
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101221
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101285
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
101289
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { reference });
101366
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
101370
var comp2 =
CreateCompilation
(source2, options: WithNullable(NullableContextOptions.Warnings), references: new[] { reference });
101406
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101432
var compilation =
CreateCompilation
(source);
101466
var compilation =
CreateCompilation
(source);
101533
var compilation =
CreateCompilation
(source);
101599
var compilation =
CreateCompilation
(source);
101632
var compilation =
CreateCompilation
(source);
101655
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101683
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101712
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib46);
101745
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101791
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101841
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101861
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
101918
var comp1 =
CreateCompilation
(source1);
101941
var comp2 =
CreateCompilation
(source2);
101970
var comp1 =
CreateCompilation
(source1);
101997
var comp1 =
CreateCompilation
(source1);
102024
var comp1 =
CreateCompilation
(source1);
102051
var comp1 =
CreateCompilation
(source1);
102078
var comp1 =
CreateCompilation
(source1);
102105
var comp1 =
CreateCompilation
(source1);
102147
var comp1 =
CreateCompilation
(source1);
102178
var comp1 =
CreateCompilation
(source1);
102212
var comp2 =
CreateCompilation
(source2);
102252
var comp1 =
CreateCompilation
(source1);
102290
var comp1 =
CreateCompilation
(source1);
102328
var comp1 =
CreateCompilation
(source1);
102356
var comp1 =
CreateCompilation
(source1);
102384
var comp1 =
CreateCompilation
(source1);
102412
var comp1 =
CreateCompilation
(source1);
102451
var comp1 =
CreateCompilation
(source1);
102478
var comp1 =
CreateCompilation
(source1);
102500
var comp2 =
CreateCompilation
(source2);
102528
var comp1 =
CreateCompilation
(source1);
102554
var comp1 =
CreateCompilation
(source1);
102580
var comp1 =
CreateCompilation
(source1);
102606
var comp1 =
CreateCompilation
(source1);
102632
var comp1 =
CreateCompilation
(source1);
102658
var comp1 =
CreateCompilation
(source1);
102699
var comp1 =
CreateCompilation
(source1);
102729
var comp1 =
CreateCompilation
(source1);
102762
var comp2 =
CreateCompilation
(source2);
102801
var comp1 =
CreateCompilation
(source1);
102838
var comp1 =
CreateCompilation
(source1);
102875
var comp1 =
CreateCompilation
(source1);
102902
var comp1 =
CreateCompilation
(source1);
102929
var comp1 =
CreateCompilation
(source1);
102956
var comp1 =
CreateCompilation
(source1);
102993
var comp1 =
CreateCompilation
(source1);
103025
var comp1 =
CreateCompilation
(source1);
103056
var comp1 =
CreateCompilation
(source1);
103099
var comp1 =
CreateCompilation
(source1);
103143
var comp1 =
CreateCompilation
(source1);
103184
var comp1 =
CreateCompilation
(source1);
103204
var comp2 =
CreateCompilation
(source2);
103229
var comp3 =
CreateCompilation
(source3);
103258
var comp1 =
CreateCompilation
(source1);
103278
var comp2 =
CreateCompilation
(source2);
103309
var comp1 =
CreateCompilation
(source1);
103329
var comp2 =
CreateCompilation
(source2);
103356
var comp3 =
CreateCompilation
(source3);
103387
var comp1 =
CreateCompilation
(source1);
103408
var comp2 =
CreateCompilation
(source2);
103436
var comp1 =
CreateCompilation
(source1);
103462
var comp2 =
CreateCompilation
(source2);
103489
var comp3 =
CreateCompilation
(source3);
103523
var comp1 =
CreateCompilation
(source1);
103546
var comp2 =
CreateCompilation
(source2);
103570
var comp3 =
CreateCompilation
(source3);
103603
var comp1 =
CreateCompilation
(source1);
103627
var comp2 =
CreateCompilation
(source2);
103652
var comp3 =
CreateCompilation
(source3);
103685
var comp1 =
CreateCompilation
(source1);
103712
var comp2 =
CreateCompilation
(source2);
103740
var comp3 =
CreateCompilation
(source3);
103774
var comp1 =
CreateCompilation
(source1);
103800
var comp2 =
CreateCompilation
(source2);
103827
var comp3 =
CreateCompilation
(source3);
103861
var comp1 =
CreateCompilation
(source1);
103884
var comp2 =
CreateCompilation
(source2);
103908
var comp3 =
CreateCompilation
(source3);
103941
var comp1 =
CreateCompilation
(source1);
103968
var comp2 =
CreateCompilation
(source2);
103996
var comp3 =
CreateCompilation
(source3);
104033
var comp1 =
CreateCompilation
(source1);
104058
var comp2 =
CreateCompilation
(source2);
104084
var comp3 =
CreateCompilation
(source3);
104117
var comp1 =
CreateCompilation
(source1);
104137
var comp1 =
CreateCompilation
(source1);
104159
var comp1 =
CreateCompilation
(source1);
104181
var comp2 =
CreateCompilation
(source2);
104207
var comp1 =
CreateCompilation
(source1);
104228
var comp2 =
CreateCompilation
(source2);
104253
var comp1 =
CreateCompilation
(source1);
104274
var comp1 =
CreateCompilation
(source1);
104304
var comp1 =
CreateCompilation
(source1);
104330
var comp1 =
CreateCompilation
(source1);
104359
var comp1 =
CreateCompilation
(source1);
104391
var comp1 =
CreateCompilation
(source1);
104417
var comp1 =
CreateCompilation
(source1);
104446
var comp1 =
CreateCompilation
(source1);
104474
var comp1 =
CreateCompilation
(source1);
104494
var comp1 =
CreateCompilation
(source1);
104516
var comp1 =
CreateCompilation
(source1);
104543
var comp1 =
CreateCompilation
(source1);
104568
var comp1 =
CreateCompilation
(source1);
104589
var comp1 =
CreateCompilation
(source1);
104619
var comp1 =
CreateCompilation
(source1);
104646
var comp1 =
CreateCompilation
(source1);
104675
var comp1 =
CreateCompilation
(source1);
104706
var comp1 =
CreateCompilation
(source1);
104732
var comp1 =
CreateCompilation
(source1);
104761
var comp1 =
CreateCompilation
(source1);
104800
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104880
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
104896
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
104953
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
104955
var comp2 =
CreateCompilation
(NullableAttributeDefinition);
104971
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
105028
var comp =
CreateCompilation
(new[] { source });
105074
var comp1 =
CreateCompilation
(new[] { source1 });
105125
var comp1 =
CreateCompilation
(new[] { source1 });
105167
var comp1 =
CreateCompilation
(new[] { source1 });
105210
var comp1 =
CreateCompilation
(new[] { source1 });
105249
var comp1 =
CreateCompilation
(new[] { source1 });
105289
var comp1 =
CreateCompilation
(new[] { source1 });
105329
var comp1 =
CreateCompilation
(new[] { source1 });
105375
var comp1 =
CreateCompilation
(new[] { source1 });
105412
var comp1 =
CreateCompilation
(new[] { source1 });
105442
var comp1 =
CreateCompilation
(new[] { source1 });
105528
var comp1 =
CreateCompilation
(new[] { source1 });
105600
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
105636
var comp1 =
CreateCompilation
(new[] { source1 });
105669
var comp1 =
CreateCompilation
(new[] { source1 });
105702
var comp1 =
CreateCompilation
(new[] { source1 });
105732
var comp1 =
CreateCompilation
(new[] { source1 });
105762
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105789
var comp1 =
CreateCompilation
(new[] { source1 });
105810
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105839
var comp =
CreateCompilation
(source);
105864
var comp1 =
CreateCompilation
(new[] { source }, options: options);
105893
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105904
var comp2 =
CreateCompilation
(new[] { source }, options: WithNullableDisable());
105968
var comp1 =
CreateCompilation
(new[] { source1 });
106109
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { reference }, parseOptions: TestOptions.Regular8);
106151
var comp1 =
CreateCompilation
(new[] { source1 });
106182
var comp1 =
CreateCompilation
(new[] { source1 });
106213
var comp1 =
CreateCompilation
(new[] { source1 });
106245
var comp1 =
CreateCompilation
(new[] { source1 });
106278
var comp1 =
CreateCompilation
(new[] { source1 });
106311
var comp1 =
CreateCompilation
(new[] { source1 });
106343
var comp1 =
CreateCompilation
(new[] { source1 });
106375
var comp1 =
CreateCompilation
(new[] { source1 });
106408
var comp1 =
CreateCompilation
(new[] { source1 });
106438
var comp1 =
CreateCompilation
(new[] { source1 });
106469
var comp1 =
CreateCompilation
(new[] { source1 });
106500
var comp1 =
CreateCompilation
(new[] { source1 });
106532
var comp1 =
CreateCompilation
(new[] { source1 });
106564
var comp1 =
CreateCompilation
(new[] { source1 });
106597
var comp1 =
CreateCompilation
(new[] { source1 });
106628
var comp1 =
CreateCompilation
(new[] { source1 });
106660
var comp1 =
CreateCompilation
(new[] { source1 });
106691
var comp1 =
CreateCompilation
(new[] { source1 });
106723
var comp1 =
CreateCompilation
(new[] { source1 });
106753
var comp1 =
CreateCompilation
(new[] { source1 });
106783
var comp1 =
CreateCompilation
(new[] { source1 });
106813
var comp1 =
CreateCompilation
(new[] { source1 });
106843
var comp1 =
CreateCompilation
(new[] { source1 });
107170
var comp1 =
CreateCompilation
(new[] { source1 });
107207
var comp1 =
CreateCompilation
(new[] { source1 });
107243
var comp1 =
CreateCompilation
(new[] { source1 });
107280
var comp1 =
CreateCompilation
(new[] { source1 });
107316
var comp1 =
CreateCompilation
(new[] { source1 });
107354
var comp1 =
CreateCompilation
(new[] { source1 });
107398
var comp1 =
CreateCompilation
(new[] { source1 });
107401
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
107439
var comp1 =
CreateCompilation
(new[] { source1 });
107480
var comp1 =
CreateCompilation
(new[] { source1 });
107516
var comp1 =
CreateCompilation
(new[] { source1 });
107553
var comp1 =
CreateCompilation
(new[] { source1 });
107589
var comp1 =
CreateCompilation
(new[] { source1 });
107625
var comp1 =
CreateCompilation
(new[] { source1 });
107661
var comp1 =
CreateCompilation
(new[] { source1 });
107697
var comp1 =
CreateCompilation
(new[] { source1 });
107722
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107778
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107853
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107914
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107957
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108008
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108078
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108135
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108180
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108225
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108269
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108327
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108392
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108444
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108498
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108539
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108612
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108701
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108771
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108830
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108883
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108915
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108947
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108985
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109023
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109073
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109131
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109192
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109249
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
109253
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { reference });
109308
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109347
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109408
var comp1 =
CreateCompilation
(source);
109459
var comp1 =
CreateCompilation
(source);
109531
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109647
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109702
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109736
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109763
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109831
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109880
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109907
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109971
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110012
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110087
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110133
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110194
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110343
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110415
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110441
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110471
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110494
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110537
var comp =
CreateCompilation
(source1, new[] { ref0 });
110617
var comp =
CreateCompilation
(source1, new[] { ref0 });
110632
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110680
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110717
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110781
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110825
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110872
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110906
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110953
var comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
110986
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
110999
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111002
comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111005
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111032
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111055
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111108
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
111110
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111121
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111137
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111175
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111207
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111265
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111300
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111322
var comp0 =
CreateCompilation
(source0);
111329
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111341
var comp0 =
CreateCompilation
(source0);
111352
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111370
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111388
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111406
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111424
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111439
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111457
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111475
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111493
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111508
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111523
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111542
var comp0 =
CreateCompilation
(new[] { source0 });
111564
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111594
var comp0 =
CreateCompilation
(new[] { source0 }, parseOptions: TestOptions.Regular8);
111658
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111679
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
111745
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111799
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111846
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111888
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111898
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111908
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111950
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
111982
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112024
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112070
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112082
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
112125
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112181
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112210
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112251
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112278
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112418
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112460
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112532
var comp0 =
CreateCompilation
(source0);
112534
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112555
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable());
112557
comp =
CreateCompilation
(source, references: new[] { ref0 });
112567
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112570
comp =
CreateCompilation
(source, references: new[] { ref0 });
112586
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112630
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
112641
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112650
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
112660
comp =
CreateCompilation
(source, references: new[] { ref0 });
112669
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112672
comp =
CreateCompilation
(source, references: new[] { ref0 });
112680
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112715
var comp =
CreateCompilation
(source);
112717
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112780
var comp =
CreateCompilation
(new[] { source });
112870
var comp =
CreateCompilation
(new[] { source });
112907
var comp =
CreateCompilation
(new[] { source });
112927
var comp =
CreateCompilation
(new[] { source });
112987
var comp =
CreateCompilation
(new[] { source });
113069
var comp =
CreateCompilation
(new[] { source });
113105
var comp =
CreateCompilation
(new[] { source });
113176
var comp1 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "") });
113179
var comp2 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "annotations") });
113231
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113260
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113297
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113369
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113391
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113421
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113446
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113476
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113501
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113531
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113556
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113589
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113620
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113647
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113666
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113690
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113712
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113745
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113798
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114023
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114247
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114272
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114305
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114333
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114366
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114394
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114424
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114460
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114497
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114533
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114563
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114595
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114626
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114657
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114687
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114718
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114748
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114777
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114976
var comp =
CreateCompilation
(new[] { source });
114999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115031
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115074
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
115117
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115150
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115199
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115255
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115284
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115325
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115397
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115435
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115480
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115520
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115551
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115586
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115953
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
115981
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116013
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116045
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116090
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics(
116129
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116148
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116159
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116162
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116185
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116197
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116200
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116223
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116234
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116237
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116260
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116271
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116274
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116297
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116313
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116316
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116339
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116355
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116358
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116378
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116396
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116399
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116419
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116440
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116443
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116466
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116481
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116484
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116507
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116524
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116527
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116544
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll)).VerifyEmitDiagnostics();
116545
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
116795
var comp =
CreateCompilation
(source2, new[] { ref1.WithEmbedInteropTypes(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
116813
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116834
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116859
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116876
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116894
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116912
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116943
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116990
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117019
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117041
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117075
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117097
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117129
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117157
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117190
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117218
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117251
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117274
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117301
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117328
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117355
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117379
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117517
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117606
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117657
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117687
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117715
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117751
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117777
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117794
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117815
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117838
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117861
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117882
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117906
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117932
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117955
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117976
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117999
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118022
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118039
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118060
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118080
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118108
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118135
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118163
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118187
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118207
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118231
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118251
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118276
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118299
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118322
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118347
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118372
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118394
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118414
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118437
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118460
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118486
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118506
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118527
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118545
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118571
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118604
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118636
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118661
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118685
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118710
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118735
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118764
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118795
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118822
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118848
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118870
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118888
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118906
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118929
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118956
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118982
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119014
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119039
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119061
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119088
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119125
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119162
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119191
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119228
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119255
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119284
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119306
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119329
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119350
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119374
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119394
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119421
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119445
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119472
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119496
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119520
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119549
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119570
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119593
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119623
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119660
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119694
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119731
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119764
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119780
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119803
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119830
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119859
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119881
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119904
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119933
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119962
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119991
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120020
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120045
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120071
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120097
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120122
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120155
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120188
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120218
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120254
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120290
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120321
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120347
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120373
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120397
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120421
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
120444
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120472
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120503
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120530
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120553
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120579
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120599
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120655
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120672
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120693
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120714
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120741
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120768
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120791
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120813
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120835
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120862
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120886
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120903
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120924
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120944
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120967
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120997
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121025
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121054
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121080
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121107
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121127
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121147
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121164
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121191
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121222
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121252
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121278
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121305
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121332
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121356
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121384
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
121409
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121465
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121496
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121526
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121555
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121582
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121610
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121637
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121665
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121692
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121717
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121741
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121764
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121789
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121814
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121838
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121863
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121887
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121915
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121940
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121966
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121988
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122014
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122035
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122056
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122078
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122099
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122120
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122142
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122164
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122185
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122204
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122229
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122255
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122280
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122305
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122331
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122356
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122382
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122406
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122428
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122449
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122471
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122496
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122522
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122547
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122572
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122597
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122615
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122636
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122655
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122681
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122706
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122733
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122760
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122780
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122803
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122824
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122852
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122879
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122904
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122926
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122944
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122963
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122985
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123003
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123021
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123040
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123062
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123080
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123099
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123125
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123150
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123174
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123196
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123218
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123242
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123264
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123286
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123312
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123342
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123361
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123381
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123405
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123434
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123464
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123490
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
123509
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123546
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123580
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123682
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123752
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123807
var comp =
CreateCompilation
(new[] { source });
123810
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Warnings));
123813
comp =
CreateCompilation
(new[] { @"#nullable enable warnings
123817
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123820
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations));
123823
comp =
CreateCompilation
(new[] { @"#nullable enable annotations
124131
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource) });
124222
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124257
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124293
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124333
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124376
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124423
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124469
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124553
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124593
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124833
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124880
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124918
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124971
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125023
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125074
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125107
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125112
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
125115
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125126
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125135
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125144
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125153
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125164
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125173
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125184
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125194
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125199
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125205
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125210
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125219
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125230
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125240
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125290
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125295
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option));
125298
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125311
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125314
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Default));
125317
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125320
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125325
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Error));
125328
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125333
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125337
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125341
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125346
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125350
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Hidden));
125353
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125358
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125362
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125461
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
125470
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125479
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125488
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125499
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125508
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125519
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125529
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125534
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125540
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125545
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125554
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125565
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125575
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125881
var comp =
CreateCompilation
(source);
126000
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126004
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126008
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126012
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126018
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126022
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126028
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126033
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126038
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126044
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126049
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126053
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126059
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126064
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126075
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126080
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
126083
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
126146
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
126150
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126154
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126158
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126164
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126168
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126174
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126179
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126184
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126190
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126195
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126199
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126205
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126210
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126680
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126714
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126791
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126823
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127123
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
127143
var comp =
CreateCompilation
(source);
127159
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127179
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127194
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127219
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127242
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127262
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127288
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127303
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127358
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127390
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127422
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127473
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127531
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127573
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127624
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127660
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127689
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127846
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127928
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127989
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128054
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128120
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128174
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128231
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128269
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128374
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128446
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128487
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128551
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128604
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128667
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128717
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128839
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128950
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129009
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129058
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129112
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129163
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129210
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129258
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129299
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129359
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129399
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129422
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129474
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129527
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129639
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129697
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129738
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129787
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129835
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129875
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129953
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129986
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130020
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130062
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130094
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130124
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130155
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130223
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130246
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130265
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130282
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130309
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130353
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130415
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130454
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130499
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130529
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130572
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130611
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130690
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130747
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130815
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130838
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130873
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130912
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130936
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130960
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130987
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, options: WithNullableEnable());
131058
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
131093
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131128
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131167
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131206
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131319
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131346
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131372
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131398
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131416
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131434
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131453
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131472
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131494
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131528
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131563
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131601
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131623
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131645
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131691
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131724
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131758
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131791
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131816
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131849
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131884
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131919
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
131954
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131982
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132061
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132105
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132148
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132201
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132220
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132246
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132271
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132318
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132337
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
132363
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132389
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132417
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132501
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132527
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132553
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132579
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132608
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132635
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132661
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132686
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132710
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132735
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132832
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132857
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132888
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132945
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132975
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133006
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133038
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133071
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133106
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133129
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133154
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133180
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133208
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133292
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133352
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133382
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133406
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133468
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133499
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133532
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133568
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133599
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133635
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133670
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133717
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133779
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133838
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133867
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133900
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133936
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133973
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134004
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134151
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134193
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134318
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134467
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134517
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134548
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134576
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134611
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134669
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134705
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134723
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134821
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134854
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134888
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134917
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134934
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134952
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134974
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135001
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135026
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135077
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135107
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135136
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135168
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135188
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135212
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135244
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135291
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135318
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135364
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135467
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135545
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135595
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135638
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135669
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135693
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135715
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135736
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135757
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135780
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135843
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135910
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135977
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
136032
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136081
var comp =
CreateCompilation
(source);
136121
var comp =
CreateCompilation
(source);
136155
var comp =
CreateCompilation
(source);
136176
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136191
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136221
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136239
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136273
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136337
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136369
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136516
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136540
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136559
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136642
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136649
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136672
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136678
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136724
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136751
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136780
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136805
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136830
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136862
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136916
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136938
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136957
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
136976
var comp =
CreateCompilation
(new[] { source1, source2 });
136980
comp =
CreateCompilation
(new[] { source2, source1 });
137008
var comp =
CreateCompilation
(new[] { source1, source2 });
137012
comp =
CreateCompilation
(new[] { source2, source1 });
137042
var comp =
CreateCompilation
(new[] { source1, source2 });
137075
var comp =
CreateCompilation
(new[] { source1, source2 });
137079
comp =
CreateCompilation
(new[] { source2, source1 });
137104
var comp =
CreateCompilation
(new[] { source1, source2 });
137108
comp =
CreateCompilation
(new[] { source2, source1 });
137134
var comp =
CreateCompilation
(new[] { source1 });
137156
var comp =
CreateCompilation
(new[] { source1 });
137178
var comp =
CreateCompilation
(new[] { source1 });
137200
var comp =
CreateCompilation
(new[] { source1 });
137226
var comp =
CreateCompilation
(new[] { source1 });
137253
var comp =
CreateCompilation
(new[] { source1 });
137278
var comp =
CreateCompilation
(new[] { source1 });
137305
var comp =
CreateCompilation
(new[] { source1, source2 });
137309
comp =
CreateCompilation
(new[] { source2, source1 });
137362
var comp1 =
CreateCompilation
(new[] { source0, source1 });
137368
var comp2 =
CreateCompilation
(new[] { source0, source2 });
137374
var comp3 =
CreateCompilation
(new[] { source0, source3 });
137380
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137384
comp =
CreateCompilation
(new[] { source0, source1, source3, source2 });
137388
comp =
CreateCompilation
(new[] { source0, source2, source1, source3 });
137392
comp =
CreateCompilation
(new[] { source0, source2, source3, source1 });
137396
comp =
CreateCompilation
(new[] { source0, source3, source1, source2 });
137400
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137440
var comp1 =
CreateCompilation
(new[] { source });
137481
var comp1 =
CreateCompilation
(new[] { source });
137520
var comp1 =
CreateCompilation
(new[] { source });
137559
var comp1 =
CreateCompilation
(new[] { source });
137608
var comp1 =
CreateCompilation
(new[] { source });
137644
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137647
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137684
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137687
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137728
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137731
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137771
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137774
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137813
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137816
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137849
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137852
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137892
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137895
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137943
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137946
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137988
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137991
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138041
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138044
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138094
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138139
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138142
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138194
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138718
var comp1 =
CreateCompilation
(source1, assemblyName: nameof(source1)).VerifyDiagnostics().EmitToImageReference();
138763
var comp =
CreateCompilation
(new[] { source1, source2 });
138787
var comp =
CreateCompilation
(new[] { source1, source2 });
138825
var comp =
CreateCompilation
(new[] { source1 });
138863
var comp =
CreateCompilation
(new[] { source1 });
138888
CreateCompilation
(text).VerifyDiagnostics(
138914
CreateCompilation
(text).VerifyDiagnostics(
138940
CreateCompilation
(text).VerifyDiagnostics(
138971
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139004
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139037
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139069
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139095
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139122
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139149
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139190
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139222
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139246
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139270
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139291
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139315
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139335
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139359
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139389
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139417
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139445
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139473
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139501
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139533
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139561
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139589
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139616
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139639
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139662
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139689
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139712
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139735
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139764
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139819
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
139886
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
139930
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
139969
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140010
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140057
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140192
var comp =
CreateCompilation
(source);
140217
var comp =
CreateCompilation
(source);
140246
var comp =
CreateCompilation
(source);
140283
var comp =
CreateCompilation
(source);
140313
var comp =
CreateCompilation
(source);
140346
var comp =
CreateCompilation
(source);
140379
var comp =
CreateCompilation
(source);
140419
var comp =
CreateCompilation
(source);
140466
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable());
140495
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
140517
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140615
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140688
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140717
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140818
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140853
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140892
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140934
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics();
140966
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141008
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141134
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141174
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141224
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141265
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141300
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141382
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141425
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141470
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141507
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141566
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141625
var comp =
CreateCompilation
(source);
141690
var comp =
CreateCompilation
(source);
141758
var comp =
CreateCompilation
(source);
141813
var comp =
CreateCompilation
(source);
141867
var comp =
CreateCompilation
(source);
141926
var comp =
CreateCompilation
(source);
141963
var comp =
CreateCompilation
(source);
141993
var comp =
CreateCompilation
(source);
142028
var comp =
CreateCompilation
(source);
142092
var comp =
CreateCompilation
(source);
142114
var comp =
CreateCompilation
(source);
142152
var comp =
CreateCompilation
(source);
142200
var comp =
CreateCompilation
(source);
142218
var comp =
CreateCompilation
(source);
142261
var comp =
CreateCompilation
(source);
142321
var comp =
CreateCompilation
(source);
142357
var comp =
CreateCompilation
(source);
142405
var comp =
CreateCompilation
(source);
142469
var comp =
CreateCompilation
(source);
142515
var comp =
CreateCompilation
(source);
142561
var comp =
CreateCompilation
(source);
142599
var comp =
CreateCompilation
(source);
142644
var comp =
CreateCompilation
(source);
142679
var comp =
CreateCompilation
(source);
142705
var comp =
CreateCompilation
(source);
142740
var comp =
CreateCompilation
(source);
142744
comp =
CreateCompilation
(source);
142782
var comp =
CreateCompilation
(source);
142821
var comp =
CreateCompilation
(source);
142852
var comp =
CreateCompilation
(source);
142880
var comp =
CreateCompilation
(source);
142908
var comp =
CreateCompilation
(source);
142938
var comp =
CreateCompilation
(source);
142971
var comp =
CreateCompilation
(source);
142997
var comp =
CreateCompilation
(source);
143030
var comp =
CreateCompilation
(source);
143061
var comp =
CreateCompilation
(source);
143091
var comp =
CreateCompilation
(source);
143123
var comp =
CreateCompilation
(source);
143154
var comp =
CreateCompilation
(source);
143228
var comp =
CreateCompilation
(source);
143279
var comp =
CreateCompilation
(source);
143305
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143334
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143364
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143408
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143442
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143476
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143512
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143554
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143588
var comp =
CreateCompilation
(source);
143619
var comp =
CreateCompilation
(source);
143645
var comp =
CreateCompilation
(source);
143671
var comp =
CreateCompilation
(source);
143700
var comp =
CreateCompilation
(source);
143732
var comp =
CreateCompilation
(source);
143768
var comp =
CreateCompilation
(source);
143806
var comp =
CreateCompilation
(source);
143844
var comp =
CreateCompilation
(source);
143873
var comp =
CreateCompilation
(source);
143902
var comp =
CreateCompilation
(source);
143938
var comp =
CreateCompilation
(source);
143971
var comp =
CreateCompilation
(source);
144001
var comp =
CreateCompilation
(source);
144030
var comp =
CreateCompilation
(source);
144057
var comp =
CreateCompilation
(source);
144089
var comp =
CreateCompilation
(source);
144124
var comp =
CreateCompilation
(source);
144154
var comp =
CreateCompilation
(source);
144229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144304
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144327
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144393
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
144415
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144471
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144503
comp =
CreateCompilation
(source, options: WithNullableEnable());
144528
comp =
CreateCompilation
(source, options: WithNullableEnable());
144564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144600
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144634
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144663
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144702
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144734
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144772
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144814
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144918
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144959
var spanRef =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
144961
var comp =
CreateCompilation
(def + @"
144997
var defComp =
CreateCompilation
(def,
145001
var useComp =
CreateCompilation
(@"
145081
var comp =
CreateCompilation
(@"
145112
var comp =
CreateCompilation
(@"
145156
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145252
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145310
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145346
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145372
var comp =
CreateCompilation
(source);
145409
var comp =
CreateCompilation
(source);
145449
var comp =
CreateCompilation
(source);
145486
var comp =
CreateCompilation
(source);
145525
var comp =
CreateCompilation
(source);
145567
var comp =
CreateCompilation
(source);
145600
var comp =
CreateCompilation
(source);
145632
var comp =
CreateCompilation
(source);
145667
var comp =
CreateCompilation
(source);
145706
var comp =
CreateCompilation
(source);
145737
var comp =
CreateCompilation
(source);
145764
var comp =
CreateCompilation
(source);
145786
var comp =
CreateCompilation
(source);
145800
var comp =
CreateCompilation
(source);
145829
var comp =
CreateCompilation
(source);
145858
var comp =
CreateCompilation
(source);
145887
var comp =
CreateCompilation
(source);
145914
var comp =
CreateCompilation
(source);
145947
var comp =
CreateCompilation
(source);
145978
var comp =
CreateCompilation
(source);
146007
var comp =
CreateCompilation
(source);
146040
var comp =
CreateCompilation
(source);
146065
var comp =
CreateCompilation
(source);
146089
var comp =
CreateCompilation
(source);
146110
var comp =
CreateCompilation
(source);
146136
var comp =
CreateCompilation
(source);
146159
var comp =
CreateCompilation
(source);
146184
var comp =
CreateCompilation
(source);
146208
var comp =
CreateCompilation
(source);
146232
var comp =
CreateCompilation
(source);
146256
var comp =
CreateCompilation
(source);
146291
var comp =
CreateCompilation
(text);
146330
var comp =
CreateCompilation
(text);
146370
var comp =
CreateCompilation
(text);
146409
var comp =
CreateCompilation
(text);
146495
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146528
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146557
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146597
var comp =
CreateCompilation
(source);
146635
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
146675
var comp =
CreateCompilation
(source);
146724
var comp =
CreateCompilation
(source, options: WithNullableEnable());
146775
var comp =
CreateCompilation
(source);
146844
var comp =
CreateCompilation
(source);
146926
var comp =
CreateCompilation
(source);
146991
var comp =
CreateCompilation
(source);
147091
var comp =
CreateCompilation
(source, options: WithNullableEnable());
147178
var comp =
CreateCompilation
(source);
147221
var comp =
CreateCompilation
(source);
147250
var comp =
CreateCompilation
(source);
147273
var comp =
CreateCompilation
(source);
147301
var comp =
CreateCompilation
(source);
147514
var comp =
CreateCompilation
(source);
147539
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
147621
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147712
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147894
var comp =
CreateCompilation
(source);
148013
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148028
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148080
var comp =
CreateCompilation
(source);
148121
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148184
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148285
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148303
comp =
CreateCompilation
(source);
148356
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148368
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148402
var comp =
CreateCompilation
(source);
148440
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148455
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148508
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148559
comp =
CreateCompilation
(source);
148608
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148614
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148645
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148694
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148726
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148760
var comp =
CreateCompilation
(source);
148786
var comp =
CreateCompilation
(source);
148808
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148829
var comp =
CreateCompilation
(source);
148850
var comp =
CreateCompilation
(source);
148874
var comp =
CreateCompilation
(source);
148912
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148959
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148999
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149043
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149067
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149102
var comp =
CreateCompilation
(source);
149126
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149158
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149182
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149212
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149248
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149305
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149336
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149359
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149381
var comp =
CreateCompilation
(source);
149420
var comp =
CreateCompilation
(source);
149459
var comp =
CreateCompilation
(source);
149499
var comp =
CreateCompilation
(source);
149542
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149571
var comp =
CreateCompilation
(source);
149612
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149652
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
149717
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149765
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149802
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149847
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
149911
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
149920
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149934
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
149940
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
149950
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
149960
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
149989
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150070
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150155
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150213
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150230
comp =
CreateCompilation
(sourceB0, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150246
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150298
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150332
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150372
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150479
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150502
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150545
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150602
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150638
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular);
150686
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150766
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150846
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150926
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151009
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151089
comp =
CreateCompilation
(sourceB6, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151181
comp =
CreateCompilation
(sourceB7, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151244
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151280
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular8);
151382
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151462
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151554
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151619
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151644
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151704
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
151752
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151812
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
151857
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151905
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
151953
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
151995
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152020
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152080
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152128
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152188
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152233
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152281
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152329
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152368
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152389
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152439
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152480
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152530
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152562
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152603
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152644
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152674
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
152699
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152759
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152813
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152873
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152918
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152965
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152991
comp =
CreateCompilation
(new[] { sourceB1, AllowNullAttributeDefinition }, references: new[] { refA });
153052
comp =
CreateCompilation
(new[] { sourceB3, AllowNullAttributeDefinition }, references: new[] { refA });
153113
comp =
CreateCompilation
(new[] { sourceB5, AllowNullAttributeDefinition }, references: new[] { refA });
153162
comp =
CreateCompilation
(new[] { sourceB6, AllowNullAttributeDefinition }, references: new[] { refA });
153216
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
153240
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153281
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153394
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153423
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153447
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
153489
comp =
CreateCompilation
(new[] { sourceB2, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, references: new[] { refA });
153529
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153557
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
153581
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
153593
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
153617
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
153655
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153710
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153757
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153794
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153833
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153877
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153942
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153981
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154006
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154031
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154056
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154082
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154108
comp =
CreateCompilation
(source6, parseOptions: TestOptions.Regular9);
154135
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154155
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154173
comp =
CreateCompilation
(source2);
154188
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154206
comp =
CreateCompilation
(source4);
154221
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154245
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154275
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154297
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154322
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154345
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154368
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154456
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154503
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154531
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154581
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154685
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154714
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154781
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154849
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154917
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154962
var comp =
CreateCompilation
(new[] { sourceA, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
154986
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155015
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155062
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155087
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155123
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155148
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155193
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155249
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155286
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
155306
comp =
CreateCompilation
(sourceB, references: new[] { refA });
155335
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155359
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
155379
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
155391
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
155402
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
155413
comp =
CreateCompilation
(sourceB3, references: new[] { refA });
155424
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
155449
var comp =
CreateCompilation
(source);
155475
var comp =
CreateCompilation
(source);
155502
var comp =
CreateCompilation
(source);
155535
var comp =
CreateCompilation
(source);
155571
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155583
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155630
var comp =
CreateCompilation
(source);
155695
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition });
155732
var comp =
CreateCompilation
(source);
155793
var comp =
CreateCompilation
(source);
155813
var nullableAttrComp =
CreateCompilation
(NullableAttributeDefinition);
155832
var lib =
CreateCompilation
(lib_cs, references: new[] { nullableAttrRef });
155845
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
155857
var executeComp =
CreateCompilation
(executable_cs,
155941
var comp =
CreateCompilation
(source);
155967
var comp =
CreateCompilation
(source);
155992
var comp =
CreateCompilation
(source);
156025
var comp =
CreateCompilation
(source);
156054
var comp =
CreateCompilation
(
156156
var comp =
CreateCompilation
(source);
156196
var comp =
CreateCompilation
(source);
156230
var comp =
CreateCompilation
(source);
156264
var comp =
CreateCompilation
(source);
156275
var comp =
CreateCompilation
(@"
156451
var comp =
CreateCompilation
(source);
156469
var comp =
CreateCompilation
(source);
156487
var comp =
CreateCompilation
(source);
156506
var comp =
CreateCompilation
(source);
156525
var comp =
CreateCompilation
(source);
156546
var comp =
CreateCompilation
(source0);
156576
var comp =
CreateCompilation
(source);
156594
var comp =
CreateCompilation
(source0);
156641
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156674
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156710
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156742
var comp =
CreateCompilation
(source);
156784
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156806
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156853
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156880
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156922
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156958
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156992
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157008
var comp =
CreateCompilation
(source0);
157022
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157044
var comp =
CreateCompilation
(source0);
157058
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157091
var comp =
CreateCompilation
(source0);
157168
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157199
var comp =
CreateCompilation
(sourceA);
157328
comp =
CreateCompilation
(new[] { sourceB2 }, references: new[] { refA });
157420
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157446
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157482
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157513
var comp =
CreateCompilation
(src);
157534
var comp =
CreateCompilation
(src);
157552
var comp =
CreateCompilation
(src);
157576
var comp =
CreateCompilation
(src);
157624
var comp =
CreateCompilation
(src);
157675
var comp =
CreateCompilation
(src);
157698
var comp =
CreateCompilation
(src);
157721
var comp =
CreateCompilation
(src);
157744
var comp =
CreateCompilation
(src);
157767
var comp =
CreateCompilation
(src);
157790
var comp =
CreateCompilation
(src);
157813
var comp =
CreateCompilation
(src);
157836
var comp =
CreateCompilation
(src);
157871
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
157909
var comp =
CreateCompilation
(src);
157946
var comp =
CreateCompilation
(src);
157984
var comp =
CreateCompilation
(src);
158018
var comp =
CreateCompilation
(src);
158051
var comp =
CreateCompilation
(src);
158092
var comp =
CreateCompilation
(src);
158127
var comp =
CreateCompilation
(src);
158160
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158187
var comp =
CreateCompilation
(src);
158220
var comp =
CreateCompilation
(src);
158261
var comp =
CreateCompilation
(src);
158301
var comp =
CreateCompilation
(src);
158340
var comp =
CreateCompilation
(src);
158377
var comp =
CreateCompilation
(src);
158412
var comp =
CreateCompilation
(src);
158445
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158472
var comp =
CreateCompilation
(src);
158511
var comp =
CreateCompilation
(src);
158553
var comp =
CreateCompilation
(src);
158595
var comp =
CreateCompilation
(src);
158634
var comp =
CreateCompilation
(src);
158670
var comp =
CreateCompilation
(src);
158700
var comp =
CreateCompilation
(src);
158736
var comp =
CreateCompilation
(src);
158771
var comp =
CreateCompilation
(src);
158810
var comp =
CreateCompilation
(src);
158843
var comp =
CreateCompilation
(src);
158878
CreateCompilation
(source).VerifyDiagnostics();
158906
CreateCompilation
(source).VerifyDiagnostics();
158932
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
158951
var comp =
CreateCompilation
(source);
158977
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
159004
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159042
var comp =
CreateCompilation
(source);
159064
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159102
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159143
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159178
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159204
var comp =
CreateCompilation
(source);
159211
var comp =
CreateCompilation
(@"
159264
var comp =
CreateCompilation
(@"
159307
var comp =
CreateCompilation
(@"
159393
var comp =
CreateCompilation
(@"
159434
var comp =
CreateCompilation
(@"
159492
var comp =
CreateCompilation
(@"
159550
var comp =
CreateCompilation
(@"
159603
var comp =
CreateCompilation
(@"
159646
var comp =
CreateCompilation
(@"
159732
var comp =
CreateCompilation
(@"
159773
var comp =
CreateCompilation
(@"
159831
var comp =
CreateCompilation
(@"
159889
var comp =
CreateCompilation
(@"
159930
var comp =
CreateCompilation
(@"
159980
var comp =
CreateCompilation
(@"
160023
var comp =
CreateCompilation
(@"
160109
var comp =
CreateCompilation
(@"
160150
var comp =
CreateCompilation
(@"
160208
var comp =
CreateCompilation
(@"
160266
var comp =
CreateCompilation
(@"
160483
CSharpCompilation c =
CreateCompilation
(new[] { @"
160551
var comp =
CreateCompilation
(source, options: WithNullableEnable());
160606
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
160656
var comp =
CreateCompilation
(source);
160676
var comp =
CreateCompilation
(@"
160697
var comp =
CreateCompilation
(@"
160728
var comp =
CreateCompilation
(@"
160757
var comp =
CreateCompilation
(@"
160809
var comp =
CreateCompilation
($$"""
160871
var comp =
CreateCompilation
($$"""
160920
var comp =
CreateCompilation
(@"
160945
var comp =
CreateCompilation
(@"
160972
var comp =
CreateCompilation
(@"
161017
var comp =
CreateCompilation
("""
161059
CreateCompilation
(source).VerifyDiagnostics(
161092
CreateCompilation
(source).VerifyDiagnostics();
161125
CreateCompilation
(source).VerifyDiagnostics();
161199
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
161233
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161279
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161319
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161343
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161381
var comp =
CreateCompilation
(source);
161406
var comp =
CreateCompilation
(source);
161432
var comp =
CreateCompilation
(source);
161461
var comp =
CreateCompilation
(source);
161499
CreateCompilation
(source).VerifyDiagnostics(
Semantics\NullableReferenceTypesVsPatterns.cs (37)
19
return
CreateCompilation
(new[] { source }, options: WithNullableEnable());
515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
1019
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2211
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
2282
var comp =
CreateCompilation
(source);
2311
var comp =
CreateCompilation
(source);
2336
var comp =
CreateCompilation
(source);
2365
var comp =
CreateCompilation
(source);
2372
var comp =
CreateCompilation
(@"
2396
var comp =
CreateCompilation
(@"
2421
var comp =
CreateCompilation
(@"
2446
var comp =
CreateCompilation
(@"
2464
var comp =
CreateCompilation
(@"
2497
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2509
comp =
CreateCompilation
(source);
2519
var comp =
CreateCompilation
(@"
2551
var comp =
CreateCompilation
(@"
2576
var comp =
CreateCompilation
(@"
2595
var comp =
CreateCompilation
(@"
2610
var comp =
CreateCompilation
(@"
2629
var comp =
CreateCompilation
(@"
2767
var comp =
CreateCompilation
(source);
2806
var comp =
CreateCompilation
(source);
2843
var comp =
CreateCompilation
(source);
2885
var comp =
CreateCompilation
(source);
2921
var comp =
CreateCompilation
(source);
2951
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2980
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3016
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3050
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3096
var comp =
CreateCompilation
(source);
3127
var comp =
CreateCompilation
(source);
3161
var comp =
CreateCompilation
(source);
3196
var comp =
CreateCompilation
(source);
3223
var comp =
CreateCompilation
(source);
3250
var comp =
CreateCompilation
(source);
3281
var comp =
CreateCompilation
(source);
Semantics\NullableTests.cs (16)
33
var comp =
CreateCompilation
(src);
66
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
68
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
92
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
137
var comp =
CreateCompilation
(source1);
1793
var complib =
CreateCompilation
(
1798
var comp =
CreateCompilation
(
1832
CreateCompilation
(source).VerifyDiagnostics();
1886
CreateCompilation
(source).VerifyDiagnostics(
2094
CreateCompilation
(source).VerifyDiagnostics(
2122
CreateCompilation
(source).VerifyEmitDiagnostics(
2147
CreateCompilation
(source).VerifyDiagnostics(
2169
CreateCompilation
(source).VerifyDiagnostics(
2191
CreateCompilation
(source).VerifyDiagnostics(
2211
var comp =
CreateCompilation
(source);
2244
var comp =
CreateCompilation
(source);
Semantics\NullCoalesceAssignmentTests.cs (5)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
68
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
111
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
152
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
178
var comp =
CreateCompilation
(source);
Semantics\ObjectAndCollectionInitializerTests.cs (22)
256
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }).VerifyDiagnostics();
3221
CreateCompilation
(source).VerifyDiagnostics(
3466
var compilation =
CreateCompilation
(source);
3514
var compilation =
CreateCompilation
(source);
3559
var compilation =
CreateCompilation
(source);
3607
var compilation =
CreateCompilation
(source);
3644
var compilation =
CreateCompilation
(source);
3685
var compilation =
CreateCompilation
(source);
3735
var compilation =
CreateCompilation
(source);
3779
var compilation =
CreateCompilation
(source);
3810
var comp =
CreateCompilation
(source);
3833
var comp =
CreateCompilation
(source);
3857
var comp =
CreateCompilation
(source);
3888
CreateCompilation
(source).VerifyDiagnostics(
3909
CreateCompilation
(source).VerifyDiagnostics(
3930
var compilation =
CreateCompilation
(source);
4012
var compilation =
CreateCompilation
(source);
4047
var compilation =
CreateCompilation
(source);
4122
var compilation =
CreateCompilation
(source);
4193
CreateCompilation
(source).VerifyDiagnostics(
4220
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
4274
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\OperatorTests.cs (85)
43
var compilation =
CreateCompilation
(source);
2969
var compilation =
CreateCompilation
(source);
3038
CreateCompilation
(source).VerifyDiagnostics(
3096
CreateCompilation
(source).VerifyDiagnostics(
3201
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4755
CreateCompilation
(@"
4828
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
4840
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef });
4908
var compilation =
CreateCompilation
(source);
4945
var compilation =
CreateCompilation
(source);
4983
var compilation =
CreateCompilation
(source);
5028
CreateCompilation
(source).VerifyDiagnostics(
5048
CreateCompilation
(source).VerifyDiagnostics(
5104
CreateCompilation
(source).VerifyDiagnostics(
5141
CreateCompilation
(source).VerifyDiagnostics(
5175
CreateCompilation
(source).VerifyDiagnostics(
5431
var comp =
CreateCompilation
(source);
5458
var comp =
CreateCompilation
(source);
5500
var comp =
CreateCompilation
(source);
5534
var comp =
CreateCompilation
(source);
5590
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5645
CreateCompilation
(source).VerifyDiagnostics(
5682
CreateCompilation
(source).VerifyDiagnostics(
5713
CreateCompilation
(source).VerifyDiagnostics(
5764
CreateCompilation
(source).VerifyDiagnostics(
5934
var comp =
CreateCompilation
(source);
5982
CreateCompilation
(text).VerifyDiagnostics(
6007
CreateCompilation
(text).VerifyDiagnostics(
6033
CreateCompilation
(text).VerifyDiagnostics(
6165
CreateCompilation
(source2).VerifyDiagnostics(
6191
CreateCompilation
(text).VerifyDiagnostics();
6215
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoImplicitConvCast, "b++").WithArguments("A", "B"));
6233
CreateCompilation
(text).VerifyDiagnostics();
6251
CreateCompilation
(text).VerifyDiagnostics(
6272
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify(
6293
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify();
6362
CreateCompilation
(source).VerifyDiagnostics(
6407
CreateCompilation
(source).VerifyDiagnostics(
6506
CreateCompilation
(source).VerifyDiagnostics();
6563
CreateCompilation
(source).VerifyDiagnostics();
6580
CreateCompilation
(source).VerifyDiagnostics();
6597
CreateCompilation
(source).VerifyDiagnostics();
6614
CreateCompilation
(source).VerifyDiagnostics(
6634
CreateCompilation
(source).VerifyDiagnostics(
6654
CreateCompilation
(source).VerifyDiagnostics();
6671
CreateCompilation
(source).VerifyDiagnostics();
6688
CreateCompilation
(source).VerifyDiagnostics(
6763
CreateCompilation
(source).VerifyDiagnostics(
6829
CreateCompilation
(source).VerifyDiagnostics(
6930
var comp =
CreateCompilation
(source);
6980
CreateCompilation
(source).VerifyDiagnostics(
7015
CreateCompilation
(source).VerifyDiagnostics(
7050
var comp =
CreateCompilation
(source);
7092
CreateCompilation
(source).VerifyDiagnostics(
7130
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7177
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7205
var comp =
CreateCompilation
(source);
7242
CreateCompilation
(source).VerifyDiagnostics(
7275
CreateCompilation
(source).VerifyDiagnostics();
7325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7483
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
7699
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
7852
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8012
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8549
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8584
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8628
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8678
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8743
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8808
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8847
CreateCompilation
(source1, options: TestOptions.ReleaseDll).VerifyDiagnostics(
8849
CreateCompilation
(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8962
var compilation =
CreateCompilation
(source);
9716
CreateCompilation
(source).VerifyDiagnostics(
10223
CreateCompilation
(source).VerifyDiagnostics(
11219
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
11280
var compilation =
CreateCompilation
(source)
11329
var compilation =
CreateCompilation
(source);
11404
var comp =
CreateCompilation
(source);
11454
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
11476
var comp =
CreateCompilation
(code);
11497
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
11520
var comp =
CreateCompilation
(code);
11543
var comp =
CreateCompilation
(code);
11567
var comp =
CreateCompilation
(code);
Semantics\OverloadResolutionPerfTests.cs (22)
235
var comp =
CreateCompilation
(source);
287
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
311
var comp =
CreateCompilation
(source);
344
var comp =
CreateCompilation
(source);
383
var comp =
CreateCompilation
(source);
411
var comp =
CreateCompilation
(source);
444
var comp =
CreateCompilation
(source);
477
var comp =
CreateCompilation
(source);
498
var comp =
CreateCompilation
(source);
528
var comp =
CreateCompilation
(source);
558
var comp =
CreateCompilation
(source);
589
var comp =
CreateCompilation
(source);
616
var comp =
CreateCompilation
(source);
652
var comp =
CreateCompilation
(source);
682
var comp =
CreateCompilation
(source);
715
var comp =
CreateCompilation
(source);
755
var comp =
CreateCompilation
(sourceBuilder.ToString());
846
var comp =
CreateCompilation
(source);
886
var comp =
CreateCompilation
(source);
922
var comp =
CreateCompilation
(source);
965
var comp =
CreateCompilation
(source);
1056
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
Semantics\OverloadResolutionTests.cs (136)
158
CreateCompilation
(source2).VerifyDiagnostics(
306
CreateCompilation
(source2).VerifyDiagnostics(
339
CreateCompilation
(source2).VerifyDiagnostics(
389
var comp =
CreateCompilation
(source2);
438
CreateCompilation
(source1).VerifyDiagnostics(
478
CreateCompilation
(source2).VerifyDiagnostics(
1165
CreateCompilation
(source2).VerifyDiagnostics(
1246
CreateCompilation
(source).VerifyDiagnostics(
1303
CreateCompilation
(source).VerifyDiagnostics(
1375
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1467
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
1490
CreateCompilation
(source).VerifyDiagnostics(
1524
CreateCompilation
(source).VerifyDiagnostics(
1543
CreateCompilation
(source).VerifyDiagnostics(
1786
CreateCompilation
(source).VerifyDiagnostics(
1820
CreateCompilation
(source).VerifyDiagnostics(
1852
CreateCompilation
(source).VerifyDiagnostics(
2003
CreateCompilation
(source).VerifyDiagnostics(
2032
CreateCompilation
(source).VerifyDiagnostics(
2077
CreateCompilation
(source).VerifyDiagnostics(
2216
CreateCompilation
(source).VerifyDiagnostics(
2299
var cCommon =
CreateCompilation
(@"
2304
var cCS =
CreateCompilation
(@"
2310
var cFinal =
CreateCompilation
(@"
2675
CreateCompilation
(source).VerifyDiagnostics();
2779
CreateCompilation
(source).VerifyDiagnostics(
2815
CreateCompilation
(source).VerifyDiagnostics(
2851
CreateCompilation
(source).VerifyDiagnostics(
2891
CreateCompilation
(source).VerifyDiagnostics(
2974
CreateCompilation
(source).VerifyDiagnostics(
3057
CreateCompilation
(source).VerifyDiagnostics(
3129
CreateCompilation
(source).VerifyDiagnostics(
3162
CreateCompilation
(source).VerifyDiagnostics(
3197
CreateCompilation
(source).VerifyDiagnostics();
3233
CreateCompilation
(source).VerifyDiagnostics(
3712
CreateCompilation
(source).VerifyDiagnostics(
5906
CreateCompilation
(source).VerifyDiagnostics(
6282
CreateCompilation
(source).VerifyDiagnostics(
6372
CreateCompilation
(source).VerifyDiagnostics(
6428
CreateCompilation
(source).VerifyDiagnostics(
6486
CreateCompilation
(source).VerifyDiagnostics(
6564
CreateCompilation
(source).VerifyDiagnostics(
6883
CreateCompilation
(source).VerifyDiagnostics(
6914
CreateCompilation
(source).VerifyDiagnostics(
7021
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7143
var comp =
CreateCompilation
(source);
7253
var comp =
CreateCompilation
(source);
7427
var comp =
CreateCompilation
(source);
7468
var comp =
CreateCompilation
(source);
7552
var comp =
CreateCompilation
(source);
7575
var comp =
CreateCompilation
(source);
7874
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7912
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7917
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
7954
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7992
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7997
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8034
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8039
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8076
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8081
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8116
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8121
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8157
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8265
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8311
var comp =
CreateCompilation
(source);
8373
var comp =
CreateCompilation
(source);
8407
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8493
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8541
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8588
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8627
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8662
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8688
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8718
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8838
var compilation =
CreateCompilation
(source1);
8923
var compilation =
CreateCompilation
(source);
9060
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9099
CreateCompilation
(source).VerifyDiagnostics(
9123
CreateCompilation
(source).VerifyDiagnostics(
9147
CreateCompilation
(source).VerifyDiagnostics(
9468
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9522
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9523
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9524
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9551
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9552
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9553
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9572
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
9590
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9602
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9603
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
9622
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9661
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9694
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9729
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9831
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9862
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9895
CreateCompilation
(code).VerifyDiagnostics(
9941
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9971
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9972
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9993
CreateCompilation
(code).VerifyDiagnostics(
10461
CreateCompilation
(code).VerifyDiagnostics(
10495
CreateCompilation
(code).VerifyDiagnostics(
10529
CreateCompilation
(code).VerifyDiagnostics(
10563
CreateCompilation
(code).VerifyDiagnostics(
10575
CreateCompilation
(@"
10600
CreateCompilation
(@"
10753
CreateCompilation
(code).VerifyDiagnostics(
10818
CreateCompilation
(code).VerifyDiagnostics(
10915
CreateCompilation
(code).VerifyDiagnostics(
11210
CreateCompilation
(@"
11299
CreateCompilation
(code).VerifyDiagnostics(
11447
var comp =
CreateCompilation
(code);
11474
CreateCompilation
(code).VerifyDiagnostics(
11523
CreateCompilation
(code, references: new[] { libComp.EmitToImageReference() }).VerifyDiagnostics(
11532
CreateCompilation
(code, references: new[] { libComp.ToMetadataReference() }).VerifyDiagnostics(
11563
CreateCompilation
(code).VerifyDiagnostics(
11655
CreateCompilation
(code).VerifyDiagnostics
11687
CreateCompilation
(code).VerifyDiagnostics
11750
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11754
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11755
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11756
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11799
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11803
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11804
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11805
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11849
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11853
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11854
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11855
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11890
var comp =
CreateCompilation
(source);
11918
var comp =
CreateCompilation
(source);
11949
CreateCompilation
(source).VerifyDiagnostics();
Semantics\QueryTests.cs (9)
1449
var compilation =
CreateCompilation
(csSource);
1657
var compilation =
CreateCompilation
(csSource);
1718
var compilation =
CreateCompilation
(csSource);
1756
var compilation =
CreateCompilation
(csSource);
2946
var comp =
CreateCompilation
(@"
3416
var compilation =
CreateCompilation
(csSource);
3460
var compilation =
CreateCompilation
(csSource);
4475
var comp =
CreateCompilation
(@"
4737
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
Semantics\RawInterpolationTests.cs (9)
318
CreateCompilation
(source).VerifyDiagnostics(
344
CreateCompilation
(source).VerifyDiagnostics(
952
CreateCompilation
(source).VerifyDiagnostics(
980
CreateCompilation
(source).VerifyDiagnostics(
1000
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
1146
CreateCompilation
(text).VerifyDiagnostics();
1181
CreateCompilation
(text).VerifyDiagnostics(
1300
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
1319
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
Semantics\RawInterpolationTests_Handler.cs (188)
212
var comp1 =
CreateCompilation
(interpolatedStringBuilder);
216
var comp2 =
CreateCompilation
(source, new[] { reference });
590
var comp =
CreateCompilation
(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
630
var comp1 =
CreateCompilation
(interpolatedStringBuilder, targetFramework: TargetFramework.Net50);
634
var comp2 =
CreateCompilation
(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.RegularPreview);
1654
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1683
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1712
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1742
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1770
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1797
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1824
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
2023
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
2118
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, parseOptions: TestOptions.Regular9);
2454
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder },
2507
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp);
2609
var comp =
CreateCompilation
(source);
2642
var comp =
CreateCompilation
(source);
2681
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
2701
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2705
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2717
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2730
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2762
var comp =
CreateCompilation
(source);
2813
var comp =
CreateCompilation
(source);
2941
var comp =
CreateCompilation
(new[] { code, builder });
3079
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3122
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
3189
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3219
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3247
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3277
var comp =
CreateCompilation
(new[]
3307
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3361
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3412
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3434
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.RegularPreview);
3459
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3486
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3544
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3591
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3646
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3707
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3774
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
3802
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp);
3850
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3917
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
3987
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4050
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4097
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4127
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4188
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4259
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4284
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4344
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4370
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4427
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4453
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4532
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4596
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4661
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4687
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4743
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4788
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4808
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4851
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4897
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4943
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4990
var comp =
CreateCompilation
(new[]
5073
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
5102
var comp =
CreateCompilation
(@"C.M(1, $""""""
5138
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5175
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5208
var comp =
CreateCompilation
(@"C.M($""""""
5262
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5295
var comp =
CreateCompilation
(@"C.M(1, $""""""
5349
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5385
var comp =
CreateCompilation
(@"C.M(1, $""""""
5439
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5472
var comp =
CreateCompilation
(@"C.M($""""""
5526
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5559
var comp =
CreateCompilation
(@"C.M(1, $""""""
5606
var comp =
CreateCompilation
(@"C.M(1, $""""""
5653
var comp =
CreateCompilation
(@"C.M(1, $""""""
5707
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5742
var comp =
CreateCompilation
(@"C.M($""""""
5796
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5831
var comp =
CreateCompilation
(@"_ = new C($""""""
5885
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
5924
var comp =
CreateCompilation
(@"C<CustomHandler>.M($""""""
5971
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
6015
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6057
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6090
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6093
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
6144
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6150
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6155
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
6164
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
6199
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6421
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6425
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6430
comp =
CreateCompilation
(executableCode, new[] { d });
6477
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6485
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6598
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6609
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6744
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6910
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7045
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7184
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7289
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7356
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7360
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
7423
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7541
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7661
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7786
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7863
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7911
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8147
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8237
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8283
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8351
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8490
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8588
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8881
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9146
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9405
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9476
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9530
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9761
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9815
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
9855
var comp =
CreateCompilation
(new[] { code, handler });
9871
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9930
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9990
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10052
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10114
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10211
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10330
var comp =
CreateCompilation
(code);
10351
var comp =
CreateCompilation
(code);
10383
var comp =
CreateCompilation
(new[] { code, customHandler });
10431
var comp =
CreateCompilation
(new[] { code, customHandler });
10473
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10507
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10544
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10595
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10646
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10691
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10742
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10803
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10902
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
11007
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11042
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11077
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11119
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11164
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11197
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11230
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11264
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11302
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11340
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11356
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11402
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11456
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11494
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11532
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11571
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11633
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11669
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11727
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
11750
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11825
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12341
var comp =
CreateCompilation
(code);
12504
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12571
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12742
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12811
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12886
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12921
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
13200
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
13235
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13413
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13448
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13469
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
13524
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13578
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
Semantics\ReadOnlyStructsTests.cs (75)
40
CreateCompilation
(text).VerifyDiagnostics(
75
CreateCompilation
(text).VerifyDiagnostics(
149
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
221
var comp =
CreateCompilation
(csharp);
253
var comp =
CreateCompilation
(csharp);
279
var comp =
CreateCompilation
(csharp);
315
var comp =
CreateCompilation
(csharp);
351
var comp =
CreateCompilation
(csharp);
382
var comp =
CreateCompilation
(csharp);
411
var comp =
CreateCompilation
(csharp);
444
var comp =
CreateCompilation
(csharp);
474
var comp =
CreateCompilation
(csharp);
513
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeReleaseDll);
543
var comp =
CreateCompilation
(csharp);
574
var comp =
CreateCompilation
(csharp);
703
var comp =
CreateCompilation
(csharp);
726
var comp =
CreateCompilation
(csharp);
756
var comp =
CreateCompilation
(csharp);
828
var comp =
CreateCompilation
(csharp);
850
var verifier =
CreateCompilation
(csharp);
879
var verifier =
CreateCompilation
(csharp);
908
var verifier =
CreateCompilation
(csharp);
932
var comp =
CreateCompilation
(csharp);
960
var comp =
CreateCompilation
(csharp);
1150
var comp =
CreateCompilation
(csharp);
1189
Compilation comp =
CreateCompilation
(csharp);
1262
Compilation comp =
CreateCompilation
(csharp);
1310
var comp =
CreateCompilation
(csharp);
1345
var comp =
CreateCompilation
(csharp);
1377
var comp =
CreateCompilation
(csharp);
1398
var comp =
CreateCompilation
(csharp);
1426
var comp =
CreateCompilation
(csharp);
1452
var comp =
CreateCompilation
(csharp);
1479
var comp =
CreateCompilation
(csharp);
1503
var comp =
CreateCompilation
(csharp);
1520
var comp =
CreateCompilation
(csharp);
1537
var comp =
CreateCompilation
(csharp);
1551
var comp =
CreateCompilation
(csharp);
1571
var comp =
CreateCompilation
(csharp);
1611
var moduleMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1612
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1616
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1617
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1639
var moduleMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1640
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1644
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1645
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1667
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461);
1673
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
1689
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461);
1695
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
1708
var comp =
CreateCompilation
(csharp);
1725
var comp =
CreateCompilation
(csharp);
1757
var comp =
CreateCompilation
(csharp);
1774
var comp =
CreateCompilation
(csharp);
1803
var comp =
CreateCompilation
(csharp);
1842
var comp =
CreateCompilation
(csharp);
1861
var comp =
CreateCompilation
(csharp);
1949
var comp =
CreateCompilation
(csharp);
1998
var comp =
CreateCompilation
(csharp);
2017
var comp =
CreateCompilation
(csharp);
2042
var comp =
CreateCompilation
(csharp);
2062
var comp =
CreateCompilation
(csharp);
2078
var comp =
CreateCompilation
(csharp);
2103
var comp =
CreateCompilation
(csharp);
2129
var comp =
CreateCompilation
(csharp);
2218
var comp =
CreateCompilation
(csharp);
2246
var comp =
CreateCompilation
(csharp);
2268
var comp =
CreateCompilation
(csharp);
2287
var comp =
CreateCompilation
(csharp);
2309
var comp =
CreateCompilation
(csharp);
2339
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular7_3);
2363
comp =
CreateCompilation
(csharp);
2395
var comp =
CreateCompilation
(csharp);
Semantics\RecordStructTests.cs (92)
27
=> CSharpTestBase.
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
188
var comp2 =
CreateCompilation
(src2, references: new[] { comp.EmitToImageReference() });
209
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
251
var comp =
CreateCompilation
(new[] { src1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
264
comp =
CreateCompilation
(new[] { src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
270
comp =
CreateCompilation
(new[] { src3, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
276
comp =
CreateCompilation
(new[] { src1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseDll);
289
comp =
CreateCompilation
(new[] { src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseDll);
292
comp =
CreateCompilation
(new[] { src3, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseDll);
323
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular9);
336
comp =
CreateCompilation
(new[] { src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
342
comp =
CreateCompilation
(new[] { src3, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
348
comp =
CreateCompilation
(src4, parseOptions: TestOptions.Regular9);
509
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib40);
510
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
571
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll);
659
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.UnsafeDebugDll);
926
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
970
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
1102
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
1136
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
1166
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
1504
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1560
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1613
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1672
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.UnsafeDebugExe);
1710
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1892
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2156
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2423
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
2857
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3196
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3235
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3276
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3321
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3369
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3995
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4005
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
4053
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4092
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4138
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
5118
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5119
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
6898
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
7534
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
7702
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
7859
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
8258
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
8265
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
8441
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8616
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8787
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8984
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9153
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9339
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9533
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9646
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9793
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9919
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10040
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10149
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
10182
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10341
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10444
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10459
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10539
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10548
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10595
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
11195
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11207
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
11237
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11244
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11251
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11263
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11270
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11277
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11289
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11296
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11303
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11315
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11322
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11329
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11344
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11351
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11358
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11373
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11380
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11387
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11402
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11409
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11416
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11434
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Semantics\RefEscapingTests.cs (100)
1360
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1491
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1525
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
3364
var comp =
CreateCompilation
(tree, targetFramework: TargetFramework.Net90, options: TestOptions.UnsafeDebugDll);
5554
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
5589
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
6208
CreateCompilation
(@"
6237
CreateCompilation
(@"
6363
var comp =
CreateCompilation
(@"
6457
CreateCompilation
(code).VerifyEmitDiagnostics(
6469
CreateCompilation
(@"
6496
CreateCompilation
(@"
6523
CreateCompilation
(@"
6576
CreateCompilation
(@"
6606
CreateCompilation
(@"
6633
CreateCompilation
(@"
6671
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6689
CreateCompilation
(@"
6771
var compilation =
CreateCompilation
(
6831
var compilation =
CreateCompilation
(
6944
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7011
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7060
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7105
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7159
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7204
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7251
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7305
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7349
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7390
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7439
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7476
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7520
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7596
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7646
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7699
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7771
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7833
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7889
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7962
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8035
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8092
var comp =
CreateCompilation
(source);
8145
var comp =
CreateCompilation
(source);
8181
var comp =
CreateCompilation
(source);
8225
var comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular11);
8228
comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular10);
8232
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10);
8235
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular11);
8238
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular11);
8242
comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular11);
8245
comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular10);
8248
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
8345
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
8372
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
8435
var comp =
CreateCompilation
(source);
8551
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8584
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8626
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8649
CreateCompilation
(source).VerifyDiagnostics();
8667
CreateCompilation
(source).VerifyDiagnostics();
8683
CreateCompilation
(source).VerifyDiagnostics(
8712
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8782
CreateCompilation
(source).VerifyDiagnostics(
8881
CreateCompilation
(source).VerifyDiagnostics(
8938
CreateCompilation
(source).VerifyDiagnostics(
8971
CreateCompilation
(source).VerifyDiagnostics();
8986
CreateCompilation
(source).VerifyDiagnostics();
9048
CreateCompilation
(source).VerifyDiagnostics(
9102
CreateCompilation
(source).VerifyDiagnostics();
9118
CreateCompilation
(source).VerifyDiagnostics();
9140
CreateCompilation
(source).VerifyDiagnostics(
9171
CreateCompilation
(source).VerifyDiagnostics(
9199
CreateCompilation
(source).VerifyDiagnostics(
9351
CreateCompilation
(source).VerifyDiagnostics(
9403
CreateCompilation
(source).VerifyDiagnostics(
9433
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
9463
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
9493
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
9514
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
9543
CreateCompilation
(source).VerifyDiagnostics(
9581
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
9619
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
9639
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
9665
CreateCompilation
(source).VerifyDiagnostics();
9685
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
9705
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
9725
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
9937
CreateCompilation
(source).VerifyDiagnostics(
9988
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10035
CreateCompilation
(source).VerifyDiagnostics(
10078
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10124
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10170
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10198
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10227
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10248
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10274
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10303
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10330
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10359
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
Semantics\RefExtensionMethodsTests.cs (11)
428
CreateCompilation
(@"
472
CreateCompilation
(@"
516
CreateCompilation
(@"
598
CreateCompilation
(@"
642
CreateCompilation
(@"
973
CreateCompilation
(@"
1017
CreateCompilation
(@"
1061
CreateCompilation
(@"
1105
CreateCompilation
(@"
1149
CreateCompilation
(@"
1193
CreateCompilation
(@"
Semantics\RefFieldTests.cs (752)
85
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
97
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
126
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
150
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
167
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
175
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
197
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
211
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
236
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
244
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
271
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
285
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
312
var comp =
CreateCompilation
(sourceB, new[] { refA });
329
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
338
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
370
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
394
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
425
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
506
var comp =
CreateCompilation
(sourceB, targetFramework: TargetFramework.Mscorlib40, references: new[] { refA });
541
var comp =
CreateCompilation
(sourceB, references: new[] { refA, CSharpRef });
544
comp =
CreateCompilation
("", new[] { refB });
564
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
602
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
632
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
656
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
726
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
772
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
821
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
904
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1002
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1095
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1160
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1236
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1279
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1316
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1350
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1395
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1440
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1487
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1488
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1543
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1544
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1595
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1596
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1651
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1652
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1689
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1727
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
1763
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1799
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1842
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1886
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1918
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1958
var comp =
CreateCompilation
(sourceC, new[] { refB }, targetFramework: TargetFramework.Net70);
1988
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2006
var comp =
CreateCompilation
("", references: new[] { refA, refB });
2056
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2065
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2098
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
2227
var compA =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2246
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2289
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net70);
2337
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2363
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2439
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
2477
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2503
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2512
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2534
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
2585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2601
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2640
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2696
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2732
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2782
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2827
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2830
comp =
CreateCompilation
(source);
2847
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2895
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2898
comp =
CreateCompilation
(source);
3033
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3036
comp =
CreateCompilation
(source);
3139
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3142
comp =
CreateCompilation
(source);
3400
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3403
comp =
CreateCompilation
(source);
3454
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3457
comp =
CreateCompilation
(source);
3500
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3503
comp =
CreateCompilation
(source);
3618
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3621
comp =
CreateCompilation
(source);
3733
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3736
comp =
CreateCompilation
(source);
3818
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3821
comp =
CreateCompilation
(source);
4004
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4007
comp =
CreateCompilation
(source);
4033
var comp =
CreateCompilation
(source);
4077
var comp =
CreateCompilation
(source);
4126
var comp =
CreateCompilation
(source);
4165
var comp =
CreateCompilation
(source);
4196
var comp =
CreateCompilation
(source);
4236
var comp =
CreateCompilation
(source);
4291
var comp =
CreateCompilation
(source);
4310
var comp =
CreateCompilation
(source);
4331
var comp =
CreateCompilation
(source);
4353
var comp =
CreateCompilation
(source);
4391
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4421
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4456
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4459
comp =
CreateCompilation
(source);
4501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4504
comp =
CreateCompilation
(source);
4544
var comp =
CreateCompilation
(source);
4570
var comp =
CreateCompilation
(source);
4596
var comp =
CreateCompilation
(source);
4642
var comp =
CreateCompilation
(new[] { source });
4693
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4763
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4815
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4854
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4899
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5037
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5040
comp =
CreateCompilation
(source);
5072
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
5123
var comp =
CreateCompilation
(source);
5179
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5195
var comp =
CreateCompilation
(source);
5214
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5271
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5346
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
5384
var comp =
CreateCompilation
(source);
5437
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5465
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5484
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(9), targetFramework: TargetFramework.Net70).VerifyDiagnostics();
5493
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(10), targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
5494
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
5500
var comp =
CreateCompilation
("""
5523
var comp =
CreateCompilation
("""
5544
var comp =
CreateCompilation
("""
5565
var comp =
CreateCompilation
("""
5589
var comp =
CreateCompilation
("""
5624
var comp =
CreateCompilation
("""
5656
var comp =
CreateCompilation
("""
5680
var comp =
CreateCompilation
("""
5703
var comp =
CreateCompilation
("""
5726
var comp =
CreateCompilation
("""
5749
var comp =
CreateCompilation
("""
5772
var comp =
CreateCompilation
("""
5792
var comp =
CreateCompilation
("""
5815
var comp =
CreateCompilation
("""
5867
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5935
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5973
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6032
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6070
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6128
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6174
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6214
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6260
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6626
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6786
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7031
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7115
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7188
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7238
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7313
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7374
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7458
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7545
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7583
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7657
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7688
var comp =
CreateCompilation
(source);
7728
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7756
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7799
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7889
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7933
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7995
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
8039
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
8101
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8148
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8266
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8328
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("peverify-compat"), targetFramework: TargetFramework.Net70);
8362
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8408
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8480
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
8508
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8565
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8634
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8671
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8708
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8753
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8803
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8872
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8943
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9006
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9080
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9345
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9395
var comp =
CreateCompilation
(source);
9469
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9699
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9746
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9794
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9816
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
9864
var comp =
CreateCompilation
(source);
9935
var comp =
CreateCompilation
(source);
10014
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10064
var comp =
CreateCompilation
(source);
10097
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
10157
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseDll);
10175
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
10201
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10240
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10280
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10416
var comp =
CreateCompilation
(source,
10470
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
10535
var comp =
CreateCompilation
(source);
10565
var comp =
CreateCompilation
(source,
10597
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10600
comp =
CreateCompilation
(source);
10619
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10633
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10650
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10664
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10684
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10701
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10743
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10760
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10799
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
10812
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB), options: TestOptions.UnsafeReleaseDll);
10841
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10854
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10874
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10);
10891
comp =
CreateCompilation
(sourceA);
10905
comp =
CreateCompilation
(sourceB, references: new[] { refA });
10949
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10962
comp =
CreateCompilation
(source);
10992
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11017
comp =
CreateCompilation
(source);
11063
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular10);
11091
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
11142
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11152
comp =
CreateCompilation
(source);
11180
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseExe);
11203
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11243
var comp =
CreateCompilation
(source);
11266
var comp =
CreateCompilation
(source);
11352
var comp =
CreateCompilation
(source);
11381
var comp =
CreateCompilation
(source);
11434
var comp =
CreateCompilation
(source1, references: new[] { ref0 });
11451
var comp =
CreateCompilation
(sourceA);
11467
comp =
CreateCompilation
(sourceB, references: new[] { refA });
11505
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11546
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
11586
var comp =
CreateCompilation
(source);
11617
var comp =
CreateCompilation
(source);
11644
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11669
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11711
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11739
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10));
11785
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp11));
11835
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11847
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11881
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11905
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11946
var comp =
CreateCompilation
(source);
11964
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
11975
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
12030
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12053
comp =
CreateCompilation
(source);
12109
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12190
comp =
CreateCompilation
(source);
12262
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12328
comp =
CreateCompilation
(source);
12479
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12658
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12733
comp =
CreateCompilation
(source);
12889
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
13049
var comp =
CreateCompilation
(source);
13087
var comp =
CreateCompilation
(source);
13122
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13139
comp =
CreateCompilation
(source);
13177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13194
comp =
CreateCompilation
(source);
13239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13253
comp =
CreateCompilation
(source);
13289
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13300
comp =
CreateCompilation
(source);
13329
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13353
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13377
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13399
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13423
var comp =
CreateCompilation
(source);
13432
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13487
var comp =
CreateCompilation
(source);
13496
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13563
var comp =
CreateCompilation
(source);
13572
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13634
var comp =
CreateCompilation
(source);
13643
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13699
var comp =
CreateCompilation
(source);
13738
var comp =
CreateCompilation
(source);
13772
var comp =
CreateCompilation
(source);
13800
var comp =
CreateCompilation
(source);
13814
var comp =
CreateCompilation
(source);
13828
var comp =
CreateCompilation
(source);
13846
var comp =
CreateCompilation
(source);
13863
var comp =
CreateCompilation
(source);
13881
var comp =
CreateCompilation
(source);
13904
var comp =
CreateCompilation
(source);
13926
var comp =
CreateCompilation
(source);
13960
var comp =
CreateCompilation
(source);
14000
var comp =
CreateCompilation
(source);
14039
var comp =
CreateCompilation
(source);
14080
var comp =
CreateCompilation
(source);
14122
var comp =
CreateCompilation
(source);
14163
var comp =
CreateCompilation
(source);
14224
var comp =
CreateCompilation
(source);
14302
var comp =
CreateCompilation
(source);
14338
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14347
comp =
CreateCompilation
(source);
14380
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14389
comp =
CreateCompilation
(source);
14425
var comp =
CreateCompilation
(source);
14455
var comp =
CreateCompilation
(source);
14484
var comp =
CreateCompilation
(source);
14517
var comp =
CreateCompilation
(source);
14575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14590
comp =
CreateCompilation
(source);
14675
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
14727
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14792
comp =
CreateCompilation
(source);
14965
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
15029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
15043
comp =
CreateCompilation
(source);
15072
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
15120
var comp =
CreateCompilation
(source);
15125
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
15187
var comp =
CreateCompilation
(source);
15216
var comp =
CreateCompilation
(source);
15245
var comp =
CreateCompilation
(source);
15277
var comp =
CreateCompilation
(source);
15337
var comp =
CreateCompilation
(source);
15396
var comp =
CreateCompilation
(source);
15459
var comp =
CreateCompilation
(source);
15511
var comp =
CreateCompilation
(source);
15560
var comp =
CreateCompilation
(source);
15615
var comp =
CreateCompilation
(source);
15661
var comp =
CreateCompilation
(source);
15701
var comp =
CreateCompilation
(source);
15742
var comp =
CreateCompilation
(sourceA);
15779
var comp =
CreateCompilation
(source);
15822
var comp =
CreateCompilation
(source);
15881
var comp =
CreateCompilation
(source);
15929
var comp =
CreateCompilation
(source);
15970
var comp =
CreateCompilation
(source);
16022
var comp =
CreateCompilation
(source);
16071
var comp =
CreateCompilation
(source);
16202
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16257
var comp =
CreateCompilation
(source);
16292
var comp =
CreateCompilation
(source);
16328
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16371
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16442
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16471
var comp =
CreateCompilation
(source);
16495
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16532
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16579
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16622
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16657
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16684
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16718
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16764
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16813
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
16872
var comp =
CreateCompilation
(source);
16944
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
16976
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
16994
var comp =
CreateCompilation
(source);
17025
var comp =
CreateCompilation
(source);
17084
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
17109
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
17112
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
17149
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
17168
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
17171
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
17203
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, UnscopedRefAttributeDefinition });
17206
comp =
CreateCompilation
(new[] { sourceA, sourceB2, UnscopedRefAttributeDefinition });
17209
comp =
CreateCompilation
(new[] { sourceB2, sourceA, UnscopedRefAttributeDefinition });
17227
var comp =
CreateCompilation
(sourceA);
17248
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17282
var comp =
CreateCompilation
(sourceA);
17305
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17332
var comp =
CreateCompilation
(sourceA);
17355
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17384
var comp =
CreateCompilation
(source);
17413
var comp =
CreateCompilation
(source);
17440
var comp =
CreateCompilation
(sourceA);
17467
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
17505
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
17535
var comp =
CreateCompilation
(sourceA);
17558
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
17586
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
17609
var comp =
CreateCompilation
(sourceA);
17623
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17641
var comp =
CreateCompilation
(source);
17664
var comp =
CreateCompilation
(source);
17688
var comp =
CreateCompilation
(source);
17727
var comp =
CreateCompilation
(source);
17776
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17812
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17838
var comp =
CreateCompilation
(source);
17858
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
17877
var comp =
CreateCompilation
(source);
17902
var comp =
CreateCompilation
(source);
17934
var comp =
CreateCompilation
(source);
17978
var comp =
CreateCompilation
(source);
18003
var comp =
CreateCompilation
(source);
18022
var comp =
CreateCompilation
(source);
18052
var comp =
CreateCompilation
(source);
18074
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
18098
var comp =
CreateCompilation
(source);
18117
var comp =
CreateCompilation
(source);
18174
var comp =
CreateCompilation
(source);
18205
var comp =
CreateCompilation
(source);
18245
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
18295
var comp =
CreateCompilation
(source);
18314
var comp =
CreateCompilation
(source);
18355
var comp =
CreateCompilation
(source);
18390
var comp =
CreateCompilation
(source);
18434
var comp =
CreateCompilation
(source);
18478
var comp =
CreateCompilation
(source);
18522
var comp =
CreateCompilation
(source);
18557
var comp =
CreateCompilation
(source);
18593
var comp =
CreateCompilation
(source);
18628
var comp =
CreateCompilation
(source);
18658
var comp =
CreateCompilation
(source);
18679
var comp =
CreateCompilation
(source);
18700
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18718
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18744
var comp =
CreateCompilation
(source);
18763
var comp =
CreateCompilation
(source);
18799
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
18827
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
18849
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
18904
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18930
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18960
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18995
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19021
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19064
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19092
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19130
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19174
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19227
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19274
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19322
var comp =
CreateCompilation
(source);
19413
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19491
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19576
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19671
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19752
var comp =
CreateCompilation
(source);
19794
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19850
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19892
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19921
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19942
var comp =
CreateCompilation
(source);
19981
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20038
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20103
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20129
var comp =
CreateCompilation
(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
20160
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20163
comp =
CreateCompilation
(source);
20198
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20201
comp =
CreateCompilation
(source);
20229
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20298
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20326
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20333
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20354
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20356
var comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20369
comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
20415
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20461
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20486
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20516
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20562
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20585
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20605
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20629
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20660
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20687
var comp =
CreateCompilation
(source);
20714
var comp =
CreateCompilation
(source);
20741
var comp =
CreateCompilation
(source);
20768
var comp =
CreateCompilation
(source);
20798
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20825
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20846
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20875
var comp =
CreateCompilation
(source);
20899
var comp =
CreateCompilation
(source);
20925
var comp =
CreateCompilation
(source);
20951
var comp =
CreateCompilation
(source);
20977
var comp =
CreateCompilation
(source);
21011
var comp =
CreateCompilation
(source);
21045
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
21071
var comp =
CreateCompilation
(source);
21094
var comp =
CreateCompilation
(source);
21126
var comp =
CreateCompilation
(source);
21159
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21211
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21244
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21279
var comp =
CreateCompilation
(source);
21302
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21334
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21456
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21458
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21498
var comp =
CreateCompilation
(source);
21530
var comp =
CreateCompilation
(source);
21557
var comp =
CreateCompilation
(source);
21615
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21676
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21747
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21786
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21862
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21886
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21913
comp =
CreateCompilation
(source);
21954
comp =
CreateCompilation
(source);
21977
comp =
CreateCompilation
(source);
22000
comp =
CreateCompilation
(source);
22026
comp =
CreateCompilation
(source);
22044
comp =
CreateCompilation
(source);
22074
comp =
CreateCompilation
(source);
22101
comp =
CreateCompilation
(source);
22130
comp =
CreateCompilation
(source);
22155
comp =
CreateCompilation
(source);
22195
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22202
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22216
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22219
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22264
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22284
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22294
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22311
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22318
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22339
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22366
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22385
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22403
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22445
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22484
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22503
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22521
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22549
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition });
22580
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22613
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22649
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22684
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
22729
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22769
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22799
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22820
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22864
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
22888
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
22939
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22952
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
22977
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22995
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23025
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23052
var comp =
CreateCompilation
(source);
23085
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23105
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23152
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23195
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23288
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
23308
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23339
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23372
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23395
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23445
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23511
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23598
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23648
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23681
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23709
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23740
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23778
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23819
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23863
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23893
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23929
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23966
var comp =
CreateCompilation
(source);
24018
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24082
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24143
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24181
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
24214
var comp =
CreateCompilation
(source);
24257
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24298
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24387
var comp =
CreateCompilation
(sourceB, new[] { refA });
24489
var comp =
CreateCompilation
(sourceB, new[] { refA });
24597
var comp =
CreateCompilation
(sourceB, new[] { refA });
24635
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseDll);
24663
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24700
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24706
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24736
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24784
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
24790
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24826
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24883
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24896
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24934
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24955
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24993
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25004
comp =
CreateCompilation
(sourceB, references: new[] { refA });
25023
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25040
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25061
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25082
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25120
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25138
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular10);
25165
comp =
CreateCompilation
(new[] { sourceB2, UnscopedRefAttributeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular);
25198
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25216
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25269
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25296
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
25385
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular);
25411
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25432
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25457
comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25529
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25607
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25645
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25690
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25717
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25752
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25778
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25824
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
25879
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25930
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
25963
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
26007
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26069
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26114
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26198
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26231
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26265
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26340
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26373
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26416
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
26462
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
26501
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
26532
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: targetFramework);
26781
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26833
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26885
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26975
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27012
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27032
comp =
CreateCompilation
(source);
27102
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27122
comp =
CreateCompilation
(source);
27186
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27224
comp =
CreateCompilation
(source);
27287
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27325
comp =
CreateCompilation
(source);
27391
var comp =
CreateCompilation
(source);
27396
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
27451
var comp =
CreateCompilation
(source);
27456
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
27505
var comp =
CreateCompilation
(source);
27524
var comp =
CreateCompilation
(source);
27545
var comp =
CreateCompilation
(source);
27564
var comp =
CreateCompilation
(source);
27599
var comp =
CreateCompilation
(source);
27646
var comp =
CreateCompilation
(source);
27676
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27685
comp =
CreateCompilation
(source);
27724
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27733
comp =
CreateCompilation
(source);
27778
var comp =
CreateCompilation
(source);
27817
var comp =
CreateCompilation
(source);
27904
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27983
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28099
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
28179
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28248
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
28292
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28317
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeReleaseExe);
28351
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28380
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28409
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28441
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28476
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28508
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
28550
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
28582
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28618
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
28665
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28694
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28723
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28749
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28771
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28810
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
28949
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28981
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29010
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29050
var comp =
CreateCompilation
(source);
29107
var comp =
CreateCompilation
(source);
29169
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29246
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29316
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29376
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29411
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29449
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29479
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29524
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29789
var comp =
CreateCompilation
(source);
29895
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29932
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29970
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29992
var comp =
CreateCompilation
(source);
30019
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
30047
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
30089
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
30245
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
30296
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
30526
var comp =
CreateCompilation
("""
30592
var comp =
CreateCompilation
("""
30665
var comp =
CreateCompilation
("""
31036
var comp =
CreateCompilation
("""
31061
var comp =
CreateCompilation
("""
31086
var comp =
CreateCompilation
("""
31113
var comp =
CreateCompilation
("""
31138
var comp =
CreateCompilation
("""
31166
var comp =
CreateCompilation
("""
31191
var comp =
CreateCompilation
("""
31219
var comp =
CreateCompilation
("""
31247
var comp =
CreateCompilation
("""
31272
var comp =
CreateCompilation
("""
31300
var comp =
CreateCompilation
("""
31328
var comp =
CreateCompilation
("""
31353
var comp =
CreateCompilation
("""
Semantics\RefLocalsAndReturnsTests.cs (128)
25
var comp =
CreateCompilation
(@"
46
var comp =
CreateCompilation
(@"
73
var comp =
CreateCompilation
(@"
91
var comp =
CreateCompilation
(@"
112
var comp =
CreateCompilation
(@"
128
var comp =
CreateCompilation
(@"
146
var comp =
CreateCompilation
(@"
165
var comp =
CreateCompilation
(@"
186
var comp =
CreateCompilation
(@"
205
var comp =
CreateCompilation
(@"
259
var comp =
CreateCompilation
(@"
294
var comp =
CreateCompilation
(@"
332
CreateCompilation
(source).VerifyDiagnostics(
354
CreateCompilation
(source).VerifyDiagnostics();
360
var comp =
CreateCompilation
(@"
399
var comp =
CreateCompilation
(@"
418
var comp =
CreateCompilation
(@"
435
var comp =
CreateCompilation
(@"
460
var comp =
CreateCompilation
(@"
512
var comp =
CreateCompilation
(@"
553
CreateCompilation
(tree).VerifyDiagnostics(
601
var comp =
CreateCompilation
(@"
619
var comp =
CreateCompilation
(@"
638
var comp =
CreateCompilation
(@"
654
var comp =
CreateCompilation
(@"
671
var comp =
CreateCompilation
(@"
704
var comp =
CreateCompilation
(@"
724
var comp =
CreateCompilation
(@"
752
var comp =
CreateCompilation
(@"
781
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
790
comp =
CreateCompilation
(source);
800
var comp =
CreateCompilation
(@"
824
var comp =
CreateCompilation
(@"
849
var comp =
CreateCompilation
(@"
899
var comp =
CreateCompilation
(@"
916
var comp =
CreateCompilation
(@"
934
var comp =
CreateCompilation
(@"
952
var comp =
CreateCompilation
(@"
971
var comp =
CreateCompilation
(@"
991
var comp =
CreateCompilation
(@"
1011
var comp =
CreateCompilation
(@"
1043
CreateCompilation
(source).VerifyDiagnostics(
1061
CreateCompilation
(source).VerifyDiagnostics(
1070
CreateCompilation
(@"
1092
var comp =
CreateCompilation
(tree);
1102
var comp =
CreateCompilation
(@"
1120
var comp =
CreateCompilation
(@"
1138
var comp =
CreateCompilation
(@"
1155
var comp =
CreateCompilation
(@"
1177
var comp =
CreateCompilation
(@"
1196
var comp =
CreateCompilation
(@"
1218
var comp =
CreateCompilation
(@"
1254
var comp =
CreateCompilation
(@"
1295
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1307
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
1309
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
1336
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1351
var comp =
CreateCompilation
(@"
1382
var comp =
CreateCompilation
(@"
1410
var comp =
CreateCompilation
(@"
1434
var comp =
CreateCompilation
(@"
1455
var comp =
CreateCompilation
(@"
1476
var comp =
CreateCompilation
(@"
1511
var comp =
CreateCompilation
(@"
1529
var comp =
CreateCompilation
(@"
1565
var comp =
CreateCompilation
(@"
1605
var comp =
CreateCompilation
(@"
1645
var comp =
CreateCompilation
(text);
1669
var comp =
CreateCompilation
(text);
1690
var comp =
CreateCompilation
(text);
1734
var comp =
CreateCompilation
(text);
1775
var comp =
CreateCompilation
(text);
1848
var comp =
CreateCompilation
(text);
1902
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
1956
var comp =
CreateCompilation
(text);
1998
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef, SystemCoreRef });
2049
var comp =
CreateCompilation
(text);
2166
var comp =
CreateCompilation
(text);
2265
var comp =
CreateCompilation
(text);
2373
var comp =
CreateCompilation
(text);
2446
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2529
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2623
var comp =
CreateCompilation
(text);
2956
CreateCompilation
(code).VerifyDiagnostics(
2991
CreateCompilation
(code).VerifyDiagnostics(
3151
CreateCompilation
(code).VerifyDiagnostics(
3191
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3199
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3200
CreateCompilation
(code).VerifyEmitDiagnostics();
3227
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3256
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3268
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3269
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3329
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3330
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3331
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3352
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3360
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3361
CreateCompilation
(code).VerifyEmitDiagnostics();
3386
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3416
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3428
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3429
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3454
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3484
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3496
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3497
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3838
CreateCompilation
(code).VerifyEmitDiagnostics(
4548
CreateCompilation
(@"
4565
CreateCompilation
(@"
4584
CreateCompilation
(@"
4617
CreateCompilation
(@"
4650
CreateCompilation
(@"
4673
CreateCompilation
(@"
4703
CreateCompilation
(@"
4720
CreateCompilation
(@"
4737
var compilation =
CreateCompilation
(@"
4765
var compilation =
CreateCompilation
(@"
4793
var compilation =
CreateCompilation
(@"
4821
var compilation =
CreateCompilation
(@"
4849
var compilation =
CreateCompilation
(@"
4877
var compilation =
CreateCompilation
(@"
4905
var compilation =
CreateCompilation
(@"
5142
CreateCompilation
(code).VerifyEmitDiagnostics(
5167
CreateCompilation
(code).VerifyEmitDiagnostics(
5193
var comp =
CreateCompilation
(code).VerifyEmitDiagnostics(
5239
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
5278
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\ScriptSemanticsTests.cs (1)
275
var compilation =
CreateCompilation
("namespace System { public struct Int32 { } }");
Semantics\SemanticAnalyzerTests.cs (20)
61
var comp =
CreateCompilation
(source);
82
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
89
CreateCompilation
(source).VerifyDiagnostics();
107
CreateCompilation
(source).VerifyDiagnostics(
137
CreateCompilation
(source).VerifyDiagnostics(
161
CreateCompilation
(source).VerifyDiagnostics(
194
CreateCompilation
(source).VerifyDiagnostics(
591
CreateCompilation
(source).VerifyDiagnostics(
684
CreateCompilation
(source).VerifyDiagnostics(
746
CreateCompilation
(source).VerifyDiagnostics(
804
CreateCompilation
(source).VerifyDiagnostics(
845
CreateCompilation
(source).VerifyDiagnostics(
880
CreateCompilation
(source).VerifyDiagnostics(
909
CreateCompilation
(source).VerifyDiagnostics();
928
CreateCompilation
(source).VerifyDiagnostics(
1005
CreateCompilation
(source).VerifyDiagnostics(
1134
CreateCompilation
(source).VerifyDiagnostics(
1220
CreateCompilation
(source).VerifyDiagnostics(
1240
CreateCompilation
(source).VerifyDiagnostics(
1276
CreateCompilation
(source).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (552)
103
CreateCompilation
(text).
150
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
214
CreateCompilation
(text).VerifyDiagnostics(
246
CreateCompilation
(text).VerifyDiagnostics(
283
CreateCompilation
(text).VerifyDiagnostics(
338
CreateCompilation
(text).VerifyDiagnostics(
386
CreateCompilation
(text).VerifyDiagnostics(
444
CreateCompilation
(text).VerifyDiagnostics(
470
CreateCompilation
(text).VerifyDiagnostics(
496
CreateCompilation
(text).VerifyDiagnostics(
560
CreateCompilation
(text).VerifyDiagnostics(
635
CreateCompilation
(text).VerifyDiagnostics(
804
CreateCompilation
(text).VerifyDiagnostics(
872
CreateCompilation
(text).VerifyDiagnostics(
939
CreateCompilation
(text).VerifyDiagnostics(
984
CreateCompilation
(text).VerifyDiagnostics(
1003
CreateCompilation
(text).VerifyDiagnostics(
1023
CreateCompilation
(text).VerifyDiagnostics(
1041
CreateCompilation
(text).VerifyDiagnostics(
1072
CreateCompilation
(text).VerifyDiagnostics(
1118
CreateCompilation
(text).VerifyDiagnostics(
1152
CreateCompilation
(text).VerifyDiagnostics(
1171
CreateCompilation
(text).VerifyDiagnostics(
1188
CreateCompilation
(text).VerifyDiagnostics(
1206
CreateCompilation
(text).VerifyDiagnostics(
1225
CreateCompilation
(text).VerifyDiagnostics(
1269
CreateCompilation
(text).VerifyDiagnostics(
1297
CreateCompilation
(text).VerifyDiagnostics(
1347
CreateCompilation
(text).VerifyDiagnostics(
1447
CreateCompilation
(source).VerifyDiagnostics(
1472
CreateCompilation
(source).VerifyDiagnostics(
1492
CreateCompilation
(text).VerifyDiagnostics(
1512
CreateCompilation
(text).VerifyDiagnostics(
1532
CreateCompilation
(text).VerifyDiagnostics(
1552
CreateCompilation
(text).VerifyDiagnostics(
1573
CreateCompilation
(text).VerifyDiagnostics(
1593
CreateCompilation
(text).VerifyDiagnostics(
1613
CreateCompilation
(text).VerifyDiagnostics(
1633
CreateCompilation
(text).VerifyDiagnostics(
1653
CreateCompilation
(text).VerifyDiagnostics(
1673
CreateCompilation
(text).VerifyDiagnostics(
1693
var diagnostics =
CreateCompilation
(text).GetDiagnostics();
1729
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoExplicitConv, "foreach").WithArguments("int[]", "int"));
1741
CreateCompilation
(text).VerifyDiagnostics(
1773
CreateCompilation
(text).VerifyDiagnostics(
1876
CreateCompilation
(text3).VerifyDiagnostics();
1937
CreateCompilation
(text).VerifyDiagnostics(
1975
CreateCompilation
(text).VerifyDiagnostics(
2005
CreateCompilation
(source).VerifyDiagnostics(
2049
CreateCompilation
(source).VerifyDiagnostics(
2086
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_ValueCantBeNull, "(MyEnum)null").WithArguments("Program.MyEnum").WithLocation(12, 20));
2115
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(new Dictionary<string, ReportDiagnostic>()
2153
CreateCompilation
(text).VerifyDiagnostics(
2174
CreateCompilation
(text).VerifyDiagnostics(
2199
CreateCompilation
(text).VerifyDiagnostics(
2215
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2358
CreateCompilation
(text).VerifyDiagnostics(
2392
CreateCompilation
(text).VerifyDiagnostics(
2412
CreateCompilation
(text).VerifyDiagnostics(
2425
CreateCompilation
(
2445
CreateCompilation
(@"
2487
CreateCompilation
(source).VerifyDiagnostics(
2502
CreateCompilation
(
2537
CreateCompilation
(source).VerifyDiagnostics(
2563
CreateCompilation
(source).VerifyDiagnostics(
2583
CreateCompilation
(
2612
CreateCompilation
(source).VerifyDiagnostics(
2625
CreateCompilation
(source).VerifyDiagnostics(
2641
CreateCompilation
(source).VerifyDiagnostics(
2653
CreateCompilation
(source).VerifyDiagnostics(
2665
CreateCompilation
(source).VerifyDiagnostics(
2681
CreateCompilation
(source).VerifyDiagnostics(
2698
CreateCompilation
(source).VerifyDiagnostics(
2717
CreateCompilation
(source).VerifyDiagnostics(
2729
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2793
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2813
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2829
CreateCompilation
(
2849
CreateCompilation
(
2888
CreateCompilation
(
2929
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
2937
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
2951
CreateCompilation
(
2975
CreateCompilation
(
3040
CreateCompilation
(
3079
CreateCompilation
(
3172
CreateCompilation
(text).VerifyDiagnostics(
3196
CreateCompilation
(text).VerifyDiagnostics(
3223
CreateCompilation
(text).VerifyDiagnostics(
3251
var comp =
CreateCompilation
(text);
3289
CreateCompilation
(text).VerifyDiagnostics(
3323
var compilation =
CreateCompilation
(tree);
3383
CreateCompilation
(text).VerifyDiagnostics(
3404
CreateCompilation
(text).VerifyDiagnostics(
3447
CreateCompilation
(text).VerifyDiagnostics(
3478
CreateCompilation
(text).VerifyDiagnostics(
3530
CreateCompilation
(text).VerifyDiagnostics(
3558
CreateCompilation
(source).VerifyDiagnostics(
3629
CreateCompilation
(source).VerifyDiagnostics(
3652
CreateCompilation
(source).VerifyDiagnostics(
3674
CreateCompilation
(text).VerifyDiagnostics(
3695
CreateCompilation
(text).
3709
CreateCompilation
(
3751
CreateCompilation
(source).VerifyDiagnostics(
3803
CreateCompilation
(source).VerifyDiagnostics(
3841
CreateCompilation
(source).VerifyDiagnostics(
3869
CreateCompilation
(source).VerifyDiagnostics(
3894
CreateCompilation
(source).VerifyDiagnostics(
4002
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3);
4017
comp =
CreateCompilation
(text);
4035
CreateCompilation
(
4070
CreateCompilation
(
4139
var comp =
CreateCompilation
(text);
4175
var comp =
CreateCompilation
(text);
4203
var comp =
CreateCompilation
(text);
4261
CreateCompilation
(test).VerifyDiagnostics(
4293
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
4330
CreateCompilation
(text).VerifyDiagnostics(
4349
var comp =
CreateCompilation
(text);
4375
var comp =
CreateCompilation
(text);
4385
CreateCompilation
(
4434
CreateCompilation
(source).VerifyDiagnostics(
4459
CreateCompilation
(source).VerifyDiagnostics(
4475
CreateCompilation
(source).VerifyDiagnostics(
4484
CreateCompilation
(
4515
CreateCompilation
(
4553
var compilation1 =
CreateCompilation
(source1);
4566
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
4595
CreateCompilation
(text).VerifyDiagnostics(
4624
CreateCompilation
(text).VerifyDiagnostics(
4653
CreateCompilation
(text).VerifyDiagnostics(
4681
CreateCompilation
(text).VerifyDiagnostics(
4727
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4733
CreateCompilation
(text).VerifyDiagnostics(
4755
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4758
CreateCompilation
(text).VerifyDiagnostics(); // dynamic conversion to Exception
4784
CreateCompilation
(text).VerifyDiagnostics(
4899
CreateCompilation
(text).VerifyDiagnostics(
4992
CreateCompilation
(text).VerifyDiagnostics(
5074
CreateCompilation
(text).VerifyDiagnostics(
5120
CreateCompilation
(text).
5144
CreateCompilation
(text).
5200
CreateCompilation
(text).
5249
CreateCompilation
(text).VerifyDiagnostics(
5276
CreateCompilation
(text).
5299
CreateCompilation
(text).
5326
CreateCompilation
(text).
5348
CreateCompilation
(text).
5397
CreateCompilation
(text).
5429
CreateCompilation
(text).
5465
CreateCompilation
(text).
5503
CreateCompilation
(text).VerifyDiagnostics(
5532
CreateCompilation
(text).VerifyDiagnostics(
5560
CreateCompilation
(text).VerifyDiagnostics(
5593
CreateCompilation
(text).VerifyDiagnostics(
5620
CreateCompilation
(text).VerifyDiagnostics(
5646
CreateCompilation
(text).VerifyDiagnostics(
5668
CreateCompilation
(text).VerifyDiagnostics(
5690
CreateCompilation
(text).VerifyDiagnostics(
5714
CreateCompilation
(text).VerifyDiagnostics(
5738
CreateCompilation
(text).VerifyDiagnostics(
5763
CreateCompilation
(text).VerifyDiagnostics(
5790
CreateCompilation
(text).VerifyDiagnostics(
5823
CreateCompilation
(text).VerifyDiagnostics(
5856
CreateCompilation
(text).VerifyDiagnostics(
5892
CreateCompilation
(source).VerifyDiagnostics(
5924
CreateCompilation
(source).VerifyDiagnostics(
6160
CreateCompilation
(
6201
CreateCompilation
(
6304
CreateCompilation
(
6338
CreateCompilation
(
6357
CreateCompilation
(
6377
CreateCompilation
(
6463
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
6511
var comp =
CreateCompilation
(text);
6542
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
6573
CreateCompilation
(text).VerifyDiagnostics(
6592
CreateCompilation
(text).
6612
CreateCompilation
(text).VerifyDiagnostics(
6639
CreateCompilation
(text).VerifyDiagnostics(
6681
CreateCompilation
(text).VerifyDiagnostics(
6704
CreateCompilation
(text).VerifyDiagnostics(
6726
CreateCompilation
(source).VerifyDiagnostics(
6750
CreateCompilation
(source).VerifyDiagnostics(
6782
CreateCompilation
(source).VerifyDiagnostics(
6810
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
6834
CreateCompilation
(source).VerifyDiagnostics(
6864
CreateCompilation
(text).VerifyDiagnostics(
6886
CreateCompilation
(text).VerifyDiagnostics(
6947
CreateCompilation
(text).
6979
CreateCompilation
(text, parseOptions: TestOptions.Regular10).
7239
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
7340
CreateCompilation
(source).Emit(new System.IO.MemoryStream()).Diagnostics
7387
CreateCompilation
(source).VerifyDiagnostics(
7482
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7571
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
7576
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
7643
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics();
7695
CreateCompilation
(source).VerifyDiagnostics(
7725
CreateCompilation
(source).VerifyDiagnostics(
7746
CreateCompilation
(source).VerifyDiagnostics(
7761
CreateCompilation
(source).VerifyDiagnostics(
7769
CreateCompilation
(
7801
var compilation1 =
CreateCompilation
(source1);
7814
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
7840
CreateCompilation
(text).VerifyDiagnostics(
7859
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithTuplesFeature()).VerifyDiagnostics(
7892
var comp =
CreateCompilation
(new[] { Parse(test, options: TestOptions.Regular6) }, new MetadataReference[] { });
8036
CreateCompilation
(text).VerifyDiagnostics(
8065
CreateCompilation
(text).VerifyDiagnostics(
8095
CreateCompilation
(text).VerifyDiagnostics(
8144
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8237
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8273
CreateCompilation
(text).VerifyDiagnostics(
8308
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8333
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8362
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8401
var comp =
CreateCompilation
(text);
8425
CreateCompilation
(text).VerifyDiagnostics(
8444
CreateCompilation
(text).VerifyDiagnostics(
8466
CreateCompilation
(text).VerifyDiagnostics(
8506
CreateCompilation
(text).VerifyDiagnostics(
8588
CreateCompilation
(text).VerifyDiagnostics(
8669
var comp =
CreateCompilation
(text);
8758
CreateCompilation
(
8782
CreateCompilation
(
8813
CreateCompilation
(
8854
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8890
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8920
CreateCompilation
(text).VerifyDiagnostics(
8929
CreateCompilation
(@"
8953
CreateCompilation
(@"
8979
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9001
CreateCompilation
(text).VerifyDiagnostics(
9043
CreateCompilation
(text).VerifyDiagnostics(
9079
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9103
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9127
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9162
CreateCompilation
(source).VerifyDiagnostics(
9180
CreateCompilation
(source).VerifyDiagnostics(
9205
CreateCompilation
(source).VerifyDiagnostics(
9230
CreateCompilation
(source).VerifyDiagnostics(
9246
CreateCompilation
(source).VerifyDiagnostics(
9257
CreateCompilation
(source).VerifyDiagnostics();
9268
CreateCompilation
(source).VerifyDiagnostics();
9285
CreateCompilation
(source).VerifyDiagnostics(
9311
CreateCompilation
(source).VerifyDiagnostics(
9329
CreateCompilation
(text).
9351
CreateCompilation
(text).VerifyDiagnostics(
9377
CreateCompilation
(text).
9403
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
9421
CreateCompilation
(source).VerifyDiagnostics(
9482
CreateCompilation
(source).VerifyDiagnostics(
9512
CreateCompilation
(source).VerifyDiagnostics(
9538
CreateCompilation
(source).VerifyDiagnostics(
9574
CreateCompilation
(source).VerifyDiagnostics(
9586
CreateCompilation
(
9643
CreateCompilation
(source).VerifyDiagnostics(
9679
CreateCompilation
(source).VerifyDiagnostics(
9687
CreateCompilation
(
9735
CreateCompilation
(source).VerifyDiagnostics(
9773
CreateCompilation
(source).VerifyDiagnostics(
9805
CreateCompilation
(source).VerifyDiagnostics(
9824
CreateCompilation
(text).VerifyDiagnostics(
9868
CreateCompilation
(text).VerifyDiagnostics(
10109
CreateCompilation
(text).VerifyDiagnostics(
10174
CreateCompilation
(text).VerifyDiagnostics(
10197
CreateCompilation
(source).VerifyDiagnostics(
10212
CreateCompilation
(source).VerifyDiagnostics(
10222
CreateCompilation
(source).VerifyDiagnostics(
10239
CreateCompilation
(source).VerifyDiagnostics(
10272
CreateCompilation
(source).VerifyDiagnostics(
10295
CreateCompilation
(source).VerifyDiagnostics(
10320
CreateCompilation
(source).VerifyDiagnostics(
10342
CreateCompilation
(source).VerifyDiagnostics(
10357
CreateCompilation
(source).VerifyDiagnostics(
10368
CreateCompilation
(source).VerifyDiagnostics(
10391
CreateCompilation
(source).VerifyDiagnostics(
10422
CreateCompilation
(text).VerifyDiagnostics(
10463
CreateCompilation
(source).VerifyDiagnostics(
10535
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10540
CreateCompilation
(text).VerifyDiagnostics(
10565
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10573
CreateCompilation
(text).VerifyDiagnostics(
10613
CreateCompilation
(text).VerifyDiagnostics(
10654
CreateCompilation
(text).VerifyDiagnostics(
10716
CreateCompilation
(source).VerifyDiagnostics(
10746
CreateCompilation
(source).VerifyDiagnostics(
10769
CreateCompilation
(source).VerifyDiagnostics(
10826
CreateCompilation
(text).VerifyDiagnostics(
10897
CreateCompilation
(code).VerifyDiagnostics(
10932
CreateCompilation
(text).VerifyDiagnostics(
10961
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
10999
CreateCompilation
(text).VerifyDiagnostics(
11040
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(noWarns)).VerifyDiagnostics(
11070
CreateCompilation
(text).VerifyDiagnostics(
11085
CreateCompilation
(text).VerifyDiagnostics(
11110
CreateCompilation
(text).VerifyDiagnostics(
11162
CreateCompilation
(text).VerifyDiagnostics(
11184
CreateCompilation
(source).VerifyDiagnostics(
11204
CreateCompilation
(source).VerifyDiagnostics(
11229
CreateCompilation
(source).VerifyDiagnostics(
11269
CreateCompilation
(source).VerifyDiagnostics(
11318
CreateCompilation
(source).VerifyDiagnostics(
11362
CreateCompilation
(source).VerifyDiagnostics(
11407
CreateCompilation
(source).VerifyDiagnostics();
11413
var compilation =
CreateCompilation
(
11449
CreateCompilation
(source).VerifyDiagnostics(
11511
CreateCompilation
(test).VerifyDiagnostics(
11528
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11553
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11589
CreateCompilation
(text).VerifyDiagnostics(
11629
var compilation =
CreateCompilation
(
11667
var compilation =
CreateCompilation
(text);
11686
CreateCompilation
(@"
11726
CreateCompilation
(text).VerifyDiagnostics(
11756
CreateCompilation
(text).VerifyDiagnostics(
11844
CreateCompilation
(code).VerifyDiagnostics(
11852
CreateCompilation
(
11917
CreateCompilation
(text).VerifyDiagnostics(
11965
CreateCompilation
(text).VerifyDiagnostics(
11988
CreateCompilation
(text).VerifyDiagnostics(
12031
var comp =
CreateCompilation
(source);
12054
var comp =
CreateCompilation
(source);
12112
CreateCompilation
(@"
12278
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12302
var comp =
CreateCompilation
(text);
12787
CreateCompilation
(text).VerifyDiagnostics(
12810
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
12838
CreateCompilation
(
12861
CreateCompilation
(
12885
CreateCompilation
(
12976
CreateCompilation
(text, parseOptions: TestOptions.Regular10)
13010
var comp =
CreateCompilation
(text);
13076
CreateCompilation
(text).VerifyDiagnostics(
13232
CreateCompilation
(text).VerifyDiagnostics(
13319
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13371
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13454
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13505
CreateCompilation
(text).VerifyDiagnostics(
13554
CreateCompilation
(text).VerifyDiagnostics(
13609
CreateCompilation
(source).VerifyDiagnostics(
13618
CreateCompilation
(
13647
CreateCompilation
(
13850
CreateCompilation
(source, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(
13946
CreateCompilation
(text).VerifyDiagnostics(
13971
CreateCompilation
(source).VerifyDiagnostics(
13998
CreateCompilation
(source).VerifyDiagnostics(
14030
CreateCompilation
(source).VerifyDiagnostics(
14097
CreateCompilation
(text).VerifyDiagnostics(
14123
CreateCompilation
(text).VerifyDiagnostics(
14151
CreateCompilation
(text).VerifyDiagnostics(
14179
CreateCompilation
(text).VerifyDiagnostics(
14209
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
14270
CreateCompilation
(text).VerifyDiagnostics(
14331
CreateCompilation
(
14351
CreateCompilation
(
14367
CreateCompilation
(
14394
CreateCompilation
(
14445
CreateCompilation
(
14561
CreateCompilation
(text).VerifyDiagnostics(
14675
CreateCompilation
(text).
14753
CreateCompilation
(text).VerifyDiagnostics(
14775
CreateCompilation
(text).
14828
CreateCompilation
(text).VerifyDiagnostics(
14848
CreateCompilation
(text).
14898
CreateCompilation
(text).VerifyDiagnostics(
14924
CreateCompilation
(text).VerifyDiagnostics(
15002
CreateCompilation
(source).VerifyDiagnostics(
15048
CreateCompilation
(text).VerifyDiagnostics(
15077
CreateCompilation
(text).VerifyDiagnostics(
15127
var comp =
CreateCompilation
(text);
15155
var comp =
CreateCompilation
(text);
15191
var comp =
CreateCompilation
(text);
15247
var comp =
CreateCompilation
(text);
15282
var comp =
CreateCompilation
(text);
15333
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
15361
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
15362
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
15390
var comp =
CreateCompilation
(text);
15419
var comp =
CreateCompilation
(text);
15445
var comp =
CreateCompilation
(text);
15466
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15554
CreateCompilation
(text).
15578
CreateCompilation
(text).VerifyDiagnostics(
15599
CreateCompilation
(text).
15667
CreateCompilation
(text).VerifyDiagnostics(
15696
CreateCompilation
(text).VerifyDiagnostics(
15727
CreateCompilation
(text).VerifyDiagnostics(
15768
CreateCompilation
(text).VerifyDiagnostics(
15798
CreateCompilation
(text).VerifyDiagnostics(
15833
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15851
CreateCompilation
(text).VerifyDiagnostics(
15876
CreateCompilation
(text).
15899
CreateCompilation
(text).VerifyDiagnostics(
15958
CreateCompilation
(text).VerifyDiagnostics(
16011
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
16051
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
16150
CreateCompilation
(source).VerifyDiagnostics(
16171
CreateCompilation
(source).VerifyDiagnostics(
16290
CreateCompilation
(text).VerifyDiagnostics(
16312
var compilation =
CreateCompilation
(text);
16339
var compilation =
CreateCompilation
(text);
16396
CreateCompilation
(text).VerifyDiagnostics(
16425
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16455
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16484
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16509
CreateCompilation
(text).VerifyDiagnostics(
16549
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16583
var comp =
CreateCompilation
(text);
16626
var compilation =
CreateCompilation
(text);
16722
var comp =
CreateCompilation
(text);
16741
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
16800
var compilation = CSharpTestBase.
CreateCompilation
(text);
16952
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
17244
var comp =
CreateCompilation
(program);
17317
CreateCompilation
(text).VerifyDiagnostics(
17544
CreateCompilation
(program).VerifyDiagnostics(
17730
var comp =
CreateCompilation
(text);
17811
CreateCompilation
(text).VerifyDiagnostics(
17943
CreateCompilation
(text).VerifyDiagnostics(
18100
CreateCompilation
(text).VerifyDiagnostics(
18200
CreateCompilation
(text).VerifyDiagnostics(
18268
CreateCompilation
(text).VerifyDiagnostics(
18337
CreateCompilation
(text).VerifyDiagnostics(
18368
CreateCompilation
(text).VerifyDiagnostics(
18391
CreateCompilation
(source).VerifyDiagnostics();
18393
CreateCompilation
(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics();
18448
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18542
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18568
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18866
CreateCompilation
(text).VerifyDiagnostics(
18889
CreateCompilation
(text).VerifyDiagnostics(
18909
CreateCompilation
(text).VerifyDiagnostics(
18940
CreateCompilation
(text).VerifyDiagnostics();
18955
CreateCompilation
(text).VerifyDiagnostics(
18982
CreateCompilation
(text).VerifyDiagnostics(
19009
CreateCompilation
(text).VerifyDiagnostics(
19046
CreateCompilation
(text).VerifyDiagnostics(
19076
CreateCompilation
(text).VerifyDiagnostics(
19109
CreateCompilation
(text).VerifyDiagnostics(
19154
CreateCompilation
(text).VerifyDiagnostics(
19180
CreateCompilation
(text).
19197
CreateCompilation
(text).
19215
CreateCompilation
(text).VerifyDiagnostics(
19238
CreateCompilation
(text).VerifyDiagnostics(
19258
CreateCompilation
(text).VerifyDiagnostics(
19275
var comp =
CreateCompilation
(text);
19304
var comp =
CreateCompilation
(text);
19337
var comp =
CreateCompilation
(text);
19420
CreateCompilation
(text).VerifyDiagnostics(
19469
CreateCompilation
(text).VerifyDiagnostics(
19514
CreateCompilation
(text).VerifyDiagnostics(
19533
CreateCompilation
(text).VerifyDiagnostics(
19551
CreateCompilation
(text).VerifyDiagnostics(
19567
CreateCompilation
(text).VerifyDiagnostics(
19585
CreateCompilation
(text).VerifyDiagnostics(
19609
CreateCompilation
(text).VerifyDiagnostics(
19630
CreateCompilation
(text).VerifyDiagnostics(
19652
CreateCompilation
(text).VerifyDiagnostics();
19672
CreateCompilation
(text).VerifyDiagnostics(
19696
CreateCompilation
(text).VerifyDiagnostics(
19756
CreateCompilation
(text).VerifyDiagnostics();
19803
CreateCompilation
(text).VerifyDiagnostics(
19837
CreateCompilation
(text).VerifyDiagnostics(
19861
CreateCompilation
(text).VerifyDiagnostics();
19879
CreateCompilation
(text).VerifyDiagnostics(
19942
CreateCompilation
(text).VerifyDiagnostics(
19977
CreateCompilation
(text).VerifyDiagnostics(
20015
CreateCompilation
(text).VerifyDiagnostics(
20037
var comp =
CreateCompilation
(text);
20053
var comp =
CreateCompilation
(text);
20118
CreateCompilation
(text).VerifyDiagnostics(
20178
CreateCompilation
(text).VerifyDiagnostics(
20208
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
20242
CreateCompilation
(text).VerifyDiagnostics();
20269
CreateCompilation
(text).VerifyDiagnostics();
20336
var comp =
CreateCompilation
(text);
20547
CreateCompilation
(text).VerifyDiagnostics(
20873
CreateCompilation
(text).VerifyDiagnostics(
21111
CreateCompilation
(text).VerifyDiagnostics(
21141
CreateCompilation
(text).
21163
CreateCompilation
(text).
21190
var comp =
CreateCompilation
(text);
21213
CreateCompilation
(text).VerifyDiagnostics(
21240
CreateCompilation
(text).VerifyDiagnostics(
21265
CreateCompilation
(text).VerifyDiagnostics();
21288
CreateCompilation
(text).VerifyDiagnostics(
21307
CreateCompilation
(text).VerifyDiagnostics(
21330
CreateCompilation
(text).VerifyDiagnostics(
21389
CreateCompilation
(text).VerifyDiagnostics(
21460
var comp =
CreateCompilation
(text);
21498
CreateCompilation
(@"
21526
CreateCompilation
(
21579
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
21610
CreateCompilation
(text).VerifyDiagnostics(
21899
var c =
CreateCompilation
(
22077
CreateCompilation
(text).VerifyDiagnostics(
22136
CreateCompilation
(text).VerifyDiagnostics(
22171
CreateCompilation
(text).
22280
CreateCompilation
(text).VerifyDiagnostics();
22305
CreateCompilation
(text).VerifyDiagnostics(
22350
CreateCompilation
(text).VerifyDiagnostics(
22503
CreateCompilation
(text).VerifyDiagnostics(
22640
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
22663
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
22813
CreateCompilation
(text).VerifyDiagnostics(
22848
CreateCompilation
(text).VerifyDiagnostics(
22890
CreateCompilation
(text).VerifyDiagnostics(
22935
CreateCompilation
(text).VerifyDiagnostics(
22969
CreateCompilation
(text).VerifyEmitDiagnostics(
23016
var comp =
CreateCompilation
(text);
23069
CreateCompilation
(source).VerifyDiagnostics(
23093
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23158
CreateCompilation
(source).VerifyDiagnostics(
23172
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23217
CreateCompilation
(source).VerifyDiagnostics(
23333
CreateCompilation
(text).VerifyDiagnostics(
23477
CreateCompilation
(text).VerifyDiagnostics(
23522
CreateCompilation
(text).VerifyDiagnostics(
23541
CreateCompilation
(text).VerifyDiagnostics(
23558
CreateCompilation
(text).VerifyDiagnostics(
23578
CreateCompilation
(text).VerifyDiagnostics(
23595
CreateCompilation
(text).VerifyDiagnostics(
23620
CreateCompilation
(builder.ToString(), null, TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)).VerifyEmitDiagnostics(
23642
CreateCompilation
(@"
23659
CreateCompilation
(@"
23684
CreateCompilation
(@"
23710
CreateCompilation
(@"
23753
CreateCompilation
(text).VerifyDiagnostics(
23779
CreateCompilation
(text).VerifyDiagnostics(
23797
CreateCompilation
(text).VerifyDiagnostics(
23821
CreateCompilation
(source).VerifyDiagnostics();
23843
CreateCompilation
(source).VerifyDiagnostics(
23909
CreateCompilation
(source).VerifyDiagnostics(
23975
CreateCompilation
(source).VerifyDiagnostics(
24025
CreateCompilation
(text).VerifyDiagnostics(
24055
CreateCompilation
(text).VerifyDiagnostics(
24132
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
24684
var compilation =
CreateCompilation
(text);
24831
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
24868
var comp =
CreateCompilation
(source);
24889
var comp =
CreateCompilation
(source);
24947
var comp =
CreateCompilation
(source);
24971
var comp =
CreateCompilation
(source);
25003
var comp =
CreateCompilation
(source);
25033
var comp =
CreateCompilation
(source);
25064
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
25100
var comp =
CreateCompilation
(source);
25164
var comp =
CreateCompilation
(source);
25261
var comp =
CreateCompilation
(source);
Semantics\SpanStackSafetyTests.cs (7)
1497
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1541
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1595
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1657
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1694
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
2094
CreateCompilation
(code).VerifyDiagnostics(
2128
CreateCompilation
(code).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (10)
1244
CreateCompilation
(@"
1278
CreateCompilation
(@"
1497
CreateCompilation
(@"
1620
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1820
CreateCompilation
(@"
2119
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2704
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2747
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2776
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
Semantics\StackAllocSpanExpressionsTests.cs (5)
195
CreateCompilation
(@"
214
CreateCompilation
(@"
405
CreateCompilation
(@"
471
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
603
CreateCompilation
(@"
Semantics\StructConstructorTests.cs (74)
29
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
35
comp =
CreateCompilation
(sourceA);
101
var comp =
CreateCompilation
(source);
217
var comp =
CreateCompilation
(sourceA);
247
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
250
comp =
CreateCompilation
(sourceB, references: new[] { refA });
1325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1470
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1590
comp =
CreateCompilation
(source);
1626
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1661
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1676
comp =
CreateCompilation
(source);
1721
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1898
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1927
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1973
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2013
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2086
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2376
var comp =
CreateCompilation
(source);
2437
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2568
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2580
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2617
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2650
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2662
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2700
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2712
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
2753
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2855
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2926
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3035
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3038
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
3054
var comp =
CreateCompilation
(source);
3076
var comp =
CreateCompilation
(source);
3140
var comp =
CreateCompilation
(source);
3218
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
3235
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461);
3276
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3297
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3326
var comp =
CreateCompilation
(source);
3356
var comp =
CreateCompilation
(source);
3406
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular10);
3418
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11);
3456
var comp =
CreateCompilation
(source);
3524
var comp =
CreateCompilation
(source);
3547
var comp =
CreateCompilation
(source);
3574
var comp =
CreateCompilation
(source);
3615
var comp =
CreateCompilation
(source);
3719
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3792
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3819
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3846
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3870
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Script, targetFramework: TargetFramework.NetCoreApp);
3889
CreateCompilation
(source, parseOptions: TestOptions.Regular10)
3895
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11)
3901
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(GetIdForErrorCode(ErrorCode.WRN_UnassignedThisSupportedVersion), ReportDiagnostic.Error), parseOptions: TestOptions.Regular11)
3940
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
3978
CreateCompilation
(source, parseOptions: TestOptions.Regular10)
3990
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11)
4015
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4107
var comp =
CreateCompilation
(source);
4129
var comp =
CreateCompilation
(source);
4149
var comp =
CreateCompilation
(source);
4527
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4533
comp =
CreateCompilation
(source);
4549
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4552
comp =
CreateCompilation
(source);
4699
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular10);
4827
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4870
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
Semantics\StructsTests.cs (13)
30
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
59
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
67
CreateCompilation
(text).VerifyDiagnostics(
86
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
94
CreateCompilation
(text).VerifyDiagnostics();
117
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
570
CreateCompilation
(csSource).VerifyDiagnostics(
596
CreateCompilation
(csSource).VerifyDiagnostics(
613
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
638
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
652
CreateCompilation
(source).VerifyDiagnostics(
669
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
681
comp =
CreateCompilation
(text);
Semantics\SuppressAccessibilityChecksTests.cs (5)
20
var compilationA =
CreateCompilation
(@"
33
var compilationB =
CreateCompilation
(@"
120
var comp =
CreateCompilation
(tree);
155
var compilationB =
CreateCompilation
(@"
184
var compilation =
CreateCompilation
(@"
Semantics\SwitchTests.cs (119)
40
CreateCompilation
(source).VerifyDiagnostics();
79
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
84
CreateCompilation
(text).VerifyDiagnostics(
114
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
119
CreateCompilation
(text).VerifyDiagnostics(
150
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
155
CreateCompilation
(text).VerifyDiagnostics(
192
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
200
CreateCompilation
(text).VerifyDiagnostics(
255
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
281
CreateCompilation
(text).VerifyDiagnostics(
331
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
336
CreateCompilation
(text).VerifyDiagnostics(
365
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
396
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
404
CreateCompilation
(text).VerifyDiagnostics(
437
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
442
CreateCompilation
(text).VerifyDiagnostics(
462
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
467
CreateCompilation
(text).VerifyDiagnostics(
492
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
497
CreateCompilation
(text).VerifyDiagnostics(
522
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
527
CreateCompilation
(text).VerifyDiagnostics(
550
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
554
CreateCompilation
(text).VerifyDiagnostics(
593
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
597
CreateCompilation
(text).VerifyDiagnostics();
633
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
638
CreateCompilation
(text).VerifyDiagnostics(
675
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
680
CreateCompilation
(text).VerifyDiagnostics(
725
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
730
CreateCompilation
(text).VerifyDiagnostics(
779
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
783
CreateCompilation
(text).VerifyDiagnostics(
832
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
837
CreateCompilation
(text).VerifyDiagnostics(
887
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
888
CreateCompilation
(text).VerifyDiagnostics();
920
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
925
CreateCompilation
(text).VerifyDiagnostics(
959
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
964
CreateCompilation
(text).VerifyDiagnostics(
1001
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1005
CreateCompilation
(text).VerifyDiagnostics(
1037
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1051
CreateCompilation
(text).VerifyDiagnostics(
1083
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1088
CreateCompilation
(text).VerifyDiagnostics(
1202
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1203
CreateCompilation
(text).VerifyDiagnostics();
1243
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1244
CreateCompilation
(text).VerifyDiagnostics();
1293
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1294
CreateCompilation
(text).VerifyDiagnostics();
1336
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1337
CreateCompilation
(text).VerifyDiagnostics();
1374
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1375
CreateCompilation
(text).VerifyDiagnostics();
1417
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1418
CreateCompilation
(text).VerifyDiagnostics();
1461
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1465
CreateCompilation
(text).VerifyDiagnostics(
1511
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1516
CreateCompilation
(text).VerifyDiagnostics(
1562
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1569
CreateCompilation
(text).VerifyDiagnostics(
1615
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1620
CreateCompilation
(text).VerifyDiagnostics(
1666
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1671
CreateCompilation
(text).VerifyDiagnostics(
1717
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1722
CreateCompilation
(text).VerifyDiagnostics(
1768
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1773
CreateCompilation
(text).VerifyDiagnostics(
1825
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1830
CreateCompilation
(text).VerifyDiagnostics(
1883
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1891
CreateCompilation
(text).VerifyDiagnostics(
1943
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1948
CreateCompilation
(text).VerifyDiagnostics(
2000
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2008
CreateCompilation
(text).VerifyDiagnostics(
2067
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2075
CreateCompilation
(text).VerifyDiagnostics(
2227
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2232
CreateCompilation
(text).VerifyDiagnostics(
2267
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2272
CreateCompilation
(text).VerifyDiagnostics(
2304
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2309
CreateCompilation
(text).VerifyDiagnostics(
2359
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2370
CreateCompilation
(text).VerifyDiagnostics(
2462
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2467
CreateCompilation
(text).VerifyDiagnostics(
2519
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2530
CreateCompilation
(text).VerifyDiagnostics(
2579
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2583
CreateCompilation
(text).VerifyDiagnostics(
2613
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2623
CreateCompilation
(text).VerifyDiagnostics(
2682
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2686
CreateCompilation
(text).VerifyDiagnostics(
2714
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2719
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2724
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
2749
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2753
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2754
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
2780
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2791
CreateCompilation
(text).VerifyDiagnostics(
2821
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics();
2822
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp1)).VerifyDiagnostics(
2912
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2917
CreateCompilation
(text).VerifyDiagnostics(
2945
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
2946
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2947
CreateCompilation
(text).VerifyDiagnostics(
Semantics\SynthesizedStaticConstructorTests.cs (1)
290
var compilation =
CreateCompilation
(source);
Semantics\TargetTypedConditionalOperatorTests.cs (21)
182
var comp =
CreateCompilation
(
207
var comp =
CreateCompilation
(
229
var comp =
CreateCompilation
(
265
var comp =
CreateCompilation
(
333
var comp =
CreateCompilation
(tree, options: TestOptions.DebugDll.WithAllowUnsafe(true));
412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe)
415
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugExe)
432
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll.WithAllowUnsafe(true))
434
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll.WithAllowUnsafe(true))
451
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll)
453
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll)
525
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics(expectedDiagnostics);
526
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(expectedDiagnostics);
613
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics();
614
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics();
639
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
647
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(
664
var comp =
CreateCompilation
(source);
685
var comp =
CreateCompilation
(source);
707
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
713
comp =
CreateCompilation
(source);
Semantics\TargetTypedDefaultTests.cs (113)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
117
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
136
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
167
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
189
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
219
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
236
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
273
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
312
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
353
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
413
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
457
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
552
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
595
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
637
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
692
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
713
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
734
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
830
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
859
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
910
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
928
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
967
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
994
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1013
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1134
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1163
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1192
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1228
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1362
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1365
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1468
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1471
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1571
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1574
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1593
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1621
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1624
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
1721
var comp =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugExe);
1787
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
1858
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular, options: TestOptions.DebugExe);
1903
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1939
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2007
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2053
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2079
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe.WithAllowUnsafe(true));
2227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2250
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2307
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2326
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2359
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2381
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2477
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2503
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2524
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2549
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2591
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2609
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2628
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2653
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, references: new[] { CSharpRef }, options: TestOptions.DebugExe);
2671
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2696
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
2722
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_1)
2743
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2833
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2855
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2880
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1);
2903
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2926
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2962
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3012
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3078
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3100
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3129
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3161
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3193
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3254
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3274
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3295
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3369
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3428
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3447
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3467
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3506
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3547
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3568
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3623
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3705
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3743
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3793
var comp =
CreateCompilation
(source);
Semantics\TopLevelStatementsTests.cs (280)
43
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
77
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
105
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
113
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
140
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
161
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
164
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
177
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
183
comp =
CreateCompilation
(text1, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
278
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
293
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
308
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
434
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
455
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
524
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
562
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
611
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
630
var comp =
CreateCompilation
(text, parseOptions: DefaultParseOptions);
664
var comp =
CreateCompilation
(text, parseOptions: DefaultParseOptions);
690
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
736
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
780
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
812
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
825
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
838
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
859
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
909
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
930
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
970
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1002
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1015
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1028
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1055
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1073
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1101
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1116
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1123
comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12);
1130
comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1133
comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
1269
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1286
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1302
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1316
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1346
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1360
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1395
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1413
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1446
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1465
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1500
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1541
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1587
var comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1649
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1822
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1976
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1979
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1982
Assert.Throws<System.ArgumentException>(() =>
CreateCompilation
(new[] { Parse(text1, filename: "text1", DefaultParseOptions),
1986
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2043
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2207
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2357
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2360
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2363
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2409
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2554
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2573
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2604
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2629
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2690
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2775
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2832
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2860
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2894
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3008
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3070
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3133
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3200
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3264
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3326
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3389
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3456
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3520
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3582
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3645
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3712
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3776
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3844
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3912
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4061
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4161
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4186
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4207
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4289
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4311
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4363
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4451
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4468
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4492
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4531
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4559
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4597
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4611
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4639
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4656
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4672
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4692
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4707
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4725
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4748
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4763
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4777
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4798
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4819
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4840
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4865
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4885
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4917
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4938
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4970
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5003
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5031
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5061
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5093
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5123
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5149
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5185
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5224
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5280
var comp =
CreateCompilation
(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5317
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName("Program2"), parseOptions: DefaultParseOptions);
5344
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5368
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5388
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5409
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5430
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5454
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5479
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5506
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5534
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5561
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5589
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5613
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5638
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5655
var comp =
CreateCompilation
(text);
5665
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5679
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5698
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5719
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5743
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5769
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5790
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5811
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5832
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5853
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5873
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5897
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5915
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5939
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5962
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5999
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6223
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6264
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6307
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6357
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6396
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6407
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6501
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6510
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6558
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6573
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6679
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6690
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6766
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6775
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6824
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6833
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6882
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6891
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6950
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6959
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7029
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7037
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7142
var comp =
CreateCompilation
(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7151
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7236
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7245
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7309
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7319
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7376
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7386
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7465
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7488
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7510
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7548
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7574
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7605
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7623
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7670
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7717
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7786
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7851
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7874
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7893
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7912
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7932
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7950
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7972
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7992
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8011
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8029
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8049
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8061
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions);
8074
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseModule, parseOptions: DefaultParseOptions);
8190
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8208
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8221
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8230
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8244
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8258
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8272
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8299
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8316
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8333
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8350
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8397
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions);
8442
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8458
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8485
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8515
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8537
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8556
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8571
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8604
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8624
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8636
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8647
var comp =
CreateCompilation
(text);
8669
var comp =
CreateCompilation
(text);
8691
var comp =
CreateCompilation
(text);
8818
var comp =
CreateCompilation
(@"
8874
var comp =
CreateCompilation
(@"
8951
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8968
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8985
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8997
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9010
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9028
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9046
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9101
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9139
var comp =
CreateCompilation
(text);
9173
var comp =
CreateCompilation
(text);
9195
var comp =
CreateCompilation
(text);
9217
var comp =
CreateCompilation
(text);
9246
var comp =
CreateCompilation
(text);
9268
var comp =
CreateCompilation
(text);
9291
var comp =
CreateCompilation
(text);
9318
var comp =
CreateCompilation
(text);
9350
var comp =
CreateCompilation
(text);
9366
var comp =
CreateCompilation
(text);
9382
var comp =
CreateCompilation
(text);
9398
var comp =
CreateCompilation
(text);
9420
var comp =
CreateCompilation
(text);
9440
var comp =
CreateCompilation
(text);
9455
var comp =
CreateCompilation
(text);
9475
var comp =
CreateCompilation
(text);
9495
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9534
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9551
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9571
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9597
var comp =
CreateCompilation
(src);
9610
var comp =
CreateCompilation
(src);
9632
var comp =
CreateCompilation
(src);
9654
var comp =
CreateCompilation
(src);
9675
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
9700
var compilation =
CreateCompilation
(source);
9725
var comp =
CreateCompilation
(src);
9766
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9769
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9794
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9797
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9822
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9825
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
Semantics\TryCatchTests.cs (2)
39
var compilation =
CreateCompilation
(source);
71
CreateCompilation
(source).VerifyDiagnostics(
Semantics\TypeOfTests.cs (5)
45
CreateCompilation
("""
59
CreateCompilation
("""
73
CreateCompilation
("""
89
CreateCompilation
("""
108
CreateCompilation
("""
Semantics\UninitializedNonNullableFieldTests.cs (101)
49
var comp =
CreateCompilation
(src, options: WithNullableEnable());
71
var comp =
CreateCompilation
(src, options: WithNullableEnable());
87
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
129
var comp =
CreateCompilation
(source, options: WithNullableEnable());
159
var comp =
CreateCompilation
(source);
180
var comp =
CreateCompilation
(source);
201
var comp =
CreateCompilation
(source);
221
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
236
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
265
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
362
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
403
var comp =
CreateCompilation
(source, options: WithNullableEnable());
419
var comp =
CreateCompilation
(source, options: WithNullableEnable());
437
var comp =
CreateCompilation
(source, options: WithNullableEnable());
461
var comp =
CreateCompilation
(source, options: WithNullableEnable());
505
var comp =
CreateCompilation
(source, options: WithNullableEnable());
534
var comp =
CreateCompilation
(source, options: WithNullableEnable());
551
var comp =
CreateCompilation
(source, options: WithNullableEnable());
571
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
590
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
610
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
633
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
666
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
702
var comp =
CreateCompilation
(source, options: WithNullableEnable());
728
var comp =
CreateCompilation
(source, options: WithNullableEnable());
758
var comp =
CreateCompilation
(source, options: WithNullableEnable());
812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
856
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular10);
952
var comp =
CreateCompilation
(source);
983
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
1013
var comp =
CreateCompilation
(source);
1052
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1128
var comp =
CreateCompilation
(source);
1190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1258
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1283
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1323
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1350
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1380
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1406
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1436
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1446
comp =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
1457
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1555
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1589
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1612
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1647
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1694
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1755
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1782
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1846
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1888
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1918
var comp =
CreateCompilation
(source);
1940
var comp =
CreateCompilation
(source);
1963
var comp =
CreateCompilation
(source);
1982
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
2028
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
2055
var comp =
CreateCompilation
(source);
2078
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2092
var comp =
CreateCompilation
(@"
2189
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
2216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2244
var comp =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.RegularPreview);
2275
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2313
var comp =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.RegularPreview);
2337
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2361
var comp =
CreateCompilation
(source);
2379
var comp =
CreateCompilation
(source);
2398
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2424
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2438
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2463
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2493
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2531
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2557
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2595
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2616
var comp =
CreateCompilation
(@"
2662
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2677
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2692
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2707
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2722
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2788
var comp =
CreateCompilation
(@"
2828
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
2851
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
2875
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
2897
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
2926
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
Semantics\UnsafeTests.cs (557)
106
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
123
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
144
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
170
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
186
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
190
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
205
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
209
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
246
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
262
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
278
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
284
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
301
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
306
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
307
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
324
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
329
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
330
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
348
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
354
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
379
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
397
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
398
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
421
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
445
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
446
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
468
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
492
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
493
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
513
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
535
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
559
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
583
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
610
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
639
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
644
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
645
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
664
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
676
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
677
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
754
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
755
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
811
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
812
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
813
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
853
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
873
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
878
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
879
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
900
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
905
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
906
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
924
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
936
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
937
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
955
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
964
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
965
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
983
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
984
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
985
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
1006
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1015
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1016
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1034
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1043
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1044
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1066
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1075
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1076
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1098
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1107
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1108
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1126
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1138
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1139
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1157
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1158
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1159
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1179
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1180
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1181
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1202
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1203
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1204
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1227
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1228
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1229
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1245
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1246
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1247
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1263
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1268
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1269
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1292
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1293
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1294
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1309
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1329
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1348
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1366
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1389
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1390
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1415
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1416
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1437
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1438
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1439
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1462
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1463
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1464
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1485
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1486
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1487
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1510
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1511
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1512
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1528
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1529
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1530
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1546
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1551
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1552
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1575
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1576
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1577
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1592
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1611
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1634
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1635
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1657
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1658
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1659
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1683
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1684
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1685
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1707
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1708
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1709
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1736
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1737
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1738
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1755
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1756
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1757
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1774
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1779
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1780
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1804
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1805
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1806
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1822
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1848
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1877
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1878
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1905
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1906
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1928
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1929
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1930
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1954
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1955
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1956
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1978
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1979
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1980
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2007
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2008
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2009
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2026
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2027
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2028
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2045
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2050
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2051
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2075
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2076
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2077
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2093
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2119
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2148
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2149
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2176
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2177
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2196
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2197
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2198
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2216
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2217
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2218
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2240
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2241
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2242
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2263
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2264
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2265
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2282
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2283
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2284
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2301
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
2306
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2307
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2328
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2329
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2330
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2343
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
2363
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2387
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2388
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2401
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2402
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2403
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2423
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2424
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2425
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2441
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2442
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2443
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2463
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2464
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2465
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2488
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2489
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2490
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2516
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2517
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2518
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2541
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2552
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2553
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2576
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2577
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2578
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2595
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2596
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2597
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2620
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2643
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
3181
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3193
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3198
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3213
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
3214
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
3217
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3231
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
3232
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
3249
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3256
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3259
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3265
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3266
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
3269
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3275
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3276
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
3293
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3317
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3344
CreateCompilation
(text).VerifyDiagnostics(
3360
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3373
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
3377
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3391
CreateCompilation
(text).VerifyDiagnostics(
3395
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3419
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4170
CreateCompilation
(withoutUnsafe).VerifyDiagnostics(expectedWithoutUnsafe);
4171
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithoutUnsafe);
4174
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
4177
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
4180
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
5295
var compilation =
CreateCompilation
(text);
5312
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5327
var compilation =
CreateCompilation
(text);
5344
var compilation =
CreateCompilation
(text);
5360
var compilation =
CreateCompilation
(text);
5379
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5400
var compilation =
CreateCompilation
(text);
5420
var compilation =
CreateCompilation
(text);
5437
var compilation =
CreateCompilation
(text);
5470
var compilation =
CreateCompilation
(text);
5486
var compilation =
CreateCompilation
(text);
5519
var compilation =
CreateCompilation
(text);
5556
var compilation =
CreateCompilation
(text);
5588
var compilation =
CreateCompilation
(text);
5622
var compilation =
CreateCompilation
(text);
5644
var compilation =
CreateCompilation
(text);
5679
var compilation =
CreateCompilation
(text);
5723
var compilation =
CreateCompilation
(text);
5762
var compilation =
CreateCompilation
(text);
5806
var compilation =
CreateCompilation
(text);
5829
var compilation =
CreateCompilation
(text);
5842
var compilation =
CreateCompilation
(text);
5864
var compilation =
CreateCompilation
(text);
5884
var compilation =
CreateCompilation
(text);
5897
var compilation =
CreateCompilation
(text);
5914
var libComp =
CreateCompilation
(libSrc, options: TestOptions.UnsafeDebugDll);
5934
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, references: new[] { libComp.EmitToImageReference() });
5966
var comp =
CreateCompilation
(src);
5993
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
6036
var comp =
CreateCompilation
(libSrc);
6057
var comp =
CreateCompilation
(libSrc);
6078
var comp =
CreateCompilation
(libSrc);
6097
var comp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net70);
6119
var comp =
CreateCompilation
(libSrc);
6144
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6170
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6194
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6218
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6248
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6264
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6300
var comp =
CreateCompilation
(tree);
6345
var metadata =
CreateCompilation
(externalCode).EmitToImageReference();
6367
var compilation =
CreateCompilation
(tree, new[] { metadata }, TestOptions.UnsafeReleaseDll);
6414
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6432
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6474
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6640
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6791
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6825
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6870
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6927
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6947
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6967
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6986
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7007
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7029
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7052
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7073
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7096
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7120
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7147
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7169
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7187
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7210
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7253
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7290
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7319
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7357
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7395
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7436
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7451
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7470
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7488
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7507
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7531
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7568
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7585
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7600
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7618
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7636
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7655
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7673
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7692
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7795
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7841
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7908
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7967
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7985
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8005
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8025
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8044
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8062
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8071
CreateCompilation
(@"
8092
CreateCompilation
(@"
8113
CreateCompilation
(@"
8154
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8221
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8279
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8339
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8375
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8416
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8469
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8519
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8557
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8667
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8744
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8785
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8817
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8851
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8905
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8943
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8987
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9056
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9130
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9151
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9167
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9191
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9211
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9249
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9274
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9317
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
9374
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9418
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9513
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9533
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9555
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9581
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9603
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9653
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9687
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9726
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9766
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9801
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9855
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9900
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9936
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9956
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9986
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10008
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10061
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
10091
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10121
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10143
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10173
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10214
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10286
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10455
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
10456
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
10457
CreateCompilation
(text).VerifyDiagnostics(expectedDiagnostics);
10478
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10509
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10560
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10622
var compilation =
CreateCompilation
(text);
10684
var compilation =
CreateCompilation
(text);
10744
var compilation =
CreateCompilation
(text);
10828
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
10829
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
10830
CreateCompilation
(text).VerifyDiagnostics(expectedDiagnostics);
10845
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10927
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11024
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11057
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11080
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11113
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11241
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
11301
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11368
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
11381
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11407
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11408
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11420
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11421
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11455
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11457
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedWithUnsafe);
11459
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11461
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedWithUnsafe);
11463
CreateCompilation
(text).VerifyDiagnostics(expected);
11465
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
11511
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11512
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11539
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11540
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11568
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11587
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11604
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11623
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11674
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11675
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11696
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11697
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11721
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11734
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11745
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11758
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11785
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
11803
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
11825
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
11851
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11873
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11900
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
11919
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
11936
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11959
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12041
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12057
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
12080
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
12342
var s =
CreateCompilation
(text).GlobalNamespace.GetMember<TypeSymbol>("S");
12561
CreateCompilation
(@"
12580
CreateCompilation
(@"
12614
CreateCompilation
(@"
12642
CreateCompilation
(@"
12665
CreateCompilation
(@"
12712
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12726
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
12746
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
12762
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12781
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12800
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12816
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12832
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12851
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12877
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12900
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12920
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12938
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12962
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12983
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12998
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13011
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13024
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13046
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13065
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13083
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13098
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
13117
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13136
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13157
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13183
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13203
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13228
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13247
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13265
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13274
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13300
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13309
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13329
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13332
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13348
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13351
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13381
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13384
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13403
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13406
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13423
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13432
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13444
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13456
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13485
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13488
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13500
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13503
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13520
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13526
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13542
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13545
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13562
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13565
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13571
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13577
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13593
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13599
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13627
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13660
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13718
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13721
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13745
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13787
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13863
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13866
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13888
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13900
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13906
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13909
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13932
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13939
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13942
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
Semantics\UserDefinedConversionTests.cs (33)
256
var comp =
CreateCompilation
(source1 + source2);
259
comp =
CreateCompilation
(source1 + source3);
319
var comp =
CreateCompilation
(implicitConversions + implicitConversionBadSuccess);
340
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadSuccess);
357
comp =
CreateCompilation
(implicitConversions + implicitConversionsBadFailures);
381
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadFailures);
435
var comp =
CreateCompilation
(source1);
459
comp =
CreateCompilation
(source2);
485
var comp =
CreateCompilation
(source);
669
var comp =
CreateCompilation
(source1 + source3);
672
comp =
CreateCompilation
(source2 + source3);
682
comp =
CreateCompilation
(source1 + source4);
694
comp =
CreateCompilation
(source2 + source4);
1151
var comp =
CreateCompilation
(source1 + source2 + source3 + source4 + source5, options: TestOptions.UnsafeReleaseDll);
1186
var comp =
CreateCompilation
(source);
1249
var comp =
CreateCompilation
(source2);
1411
var comp =
CreateCompilation
(source);
1470
var comp =
CreateCompilation
(source1);
1548
CreateCompilation
(source).VerifyDiagnostics();
1621
var comp =
CreateCompilation
(source);
1643
var comp =
CreateCompilation
(source);
1865
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
1910
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
1951
var comp =
CreateCompilation
(source);
1993
var comp =
CreateCompilation
(source);
2035
var comp =
CreateCompilation
(source);
2055
var comp =
CreateCompilation
(source);
2097
var comp =
CreateCompilation
(source);
2117
var comp =
CreateCompilation
(source);
2159
var comp =
CreateCompilation
(source);
2180
var comp =
CreateCompilation
(source);
2224
var comp =
CreateCompilation
(source);
2278
var comp =
CreateCompilation
(source);
Semantics\UseSiteErrorTests.cs (61)
936
CreateCompilation
(text, new MetadataReference[] { delegatesWithoutInvokeReference }).VerifyDiagnostics(
997
CreateCompilation
(text, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference }).VerifyDiagnostics(
1075
var xRef =
CreateCompilation
(xSource, assemblyName: "Test").EmitToImageReference();
1088
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Test");
1107
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1120
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1136
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1149
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1174
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1188
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1202
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1248
var baseLib =
CreateCompilation
(baseSource, assemblyName: "BaseAssembly");
1661
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1662
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1663
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1732
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1733
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1734
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1737
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1787
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1788
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1789
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1791
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1844
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1845
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1846
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1848
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1901
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1902
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1903
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1905
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1948
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1949
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1950
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1953
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
2189
CSharpCompilation comp1 =
CreateCompilation
(source1, assemblyName: "Base");
2195
CSharpCompilation comp2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(comp1) });
2213
CSharpCompilation comp3 =
CreateCompilation
(source3, new MetadataReference[] { new CSharpCompilationReference(comp2) });
2233
comp3 =
CreateCompilation
(source3, new MetadataReference[] { comp2.EmitToImageReference() });
2284
var successfulCompilation =
CreateCompilation
(source, new MetadataReference[] { unavailableAssemblyReference, csharpAssemblyReference, ilAssemblyReference });
2287
var failingCompilation =
CreateCompilation
(source, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference });
2458
private static readonly MetadataReference UnmanagedUseSiteError_Ref1 =
CreateCompilation
(@"
2464
private static readonly MetadataReference UnmanagedUseSiteError_Ref2 =
CreateCompilation
(@"
2484
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2494
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2511
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2520
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2536
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2545
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2563
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2590
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2610
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2632
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2652
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2667
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2692
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2707
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2729
var comp =
CreateCompilation
(source, references: new[] { UnmanagedUseSiteError_Ref2 });
2738
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2752
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2769
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
Semantics\UsingDeclarationTests.cs (27)
32
CreateCompilation
(source).VerifyDiagnostics();
52
CreateCompilation
(source).VerifyDiagnostics(
81
CreateCompilation
(source).VerifyDiagnostics(
109
CreateCompilation
(source).VerifyDiagnostics(
139
CreateCompilation
(source).VerifyDiagnostics(
168
CreateCompilation
(source).VerifyDiagnostics(
193
CreateCompilation
(source).VerifyDiagnostics(
261
CreateCompilation
(source).VerifyDiagnostics(
295
CreateCompilation
(source).VerifyDiagnostics();
315
CreateCompilation
(source).VerifyDiagnostics();
335
CreateCompilation
(source).VerifyDiagnostics(
359
CreateCompilation
(source).VerifyDiagnostics();
385
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
409
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
435
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
453
CreateCompilation
(source).VerifyDiagnostics(
479
CreateCompilation
(source).VerifyDiagnostics(
499
CreateCompilation
(source).VerifyDiagnostics(
520
CreateCompilation
(source).VerifyDiagnostics();
541
CreateCompilation
(source).VerifyDiagnostics();
563
CreateCompilation
(source).VerifyDiagnostics();
588
CreateCompilation
(source).VerifyDiagnostics(
785
CreateCompilation
(source).VerifyDiagnostics(
849
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected);
851
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
929
CreateCompilation
(source).VerifyDiagnostics(
956
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Semantics\UsingStatementTests.cs (53)
54
var compilation =
CreateCompilation
(source);
94
CreateCompilation
(source).VerifyDiagnostics(
117
CreateCompilation
(source).VerifyDiagnostics();
138
CreateCompilation
(source).VerifyDiagnostics(
164
CreateCompilation
(source).VerifyDiagnostics(
195
CreateCompilation
(source).VerifyDiagnostics(
230
CreateCompilation
(source).VerifyDiagnostics();
254
CreateCompilation
(source).VerifyDiagnostics(
295
CreateCompilation
(source).VerifyDiagnostics();
322
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
385
CreateCompilation
(source).VerifyDiagnostics(
422
CreateCompilation
(source).VerifyDiagnostics(
547
CreateCompilation
(source).VerifyDiagnostics(
606
CreateCompilation
(source).VerifyDiagnostics(
653
CreateCompilation
(source).VerifyDiagnostics(
684
CreateCompilation
(source).VerifyDiagnostics(
720
CreateCompilation
(source).VerifyDiagnostics(
750
CreateCompilation
(source).VerifyDiagnostics(
781
CreateCompilation
(source).VerifyDiagnostics(
813
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
843
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
870
CreateCompilation
(source).VerifyDiagnostics();
893
CreateCompilation
(source).VerifyDiagnostics();
916
CreateCompilation
(source).VerifyDiagnostics(
946
CreateCompilation
(source).VerifyDiagnostics(
976
CreateCompilation
(source).VerifyDiagnostics();
998
CreateCompilation
(source).VerifyDiagnostics(
1023
CreateCompilation
(source).VerifyDiagnostics(
1049
CreateCompilation
(source).VerifyDiagnostics(
1163
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1169
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1192
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1198
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1220
CreateCompilation
(source).VerifyDiagnostics(
1240
CreateCompilation
(source).VerifyDiagnostics();
1258
CreateCompilation
(source).VerifyDiagnostics();
1276
CreateCompilation
(source).VerifyDiagnostics(
1304
var compilation =
CreateCompilation
(source);
1335
var compilation =
CreateCompilation
(source);
1368
var compilation =
CreateCompilation
(source);
1416
CreateCompilation
(source).VerifyDiagnostics(
1450
CreateCompilation
(source).VerifyDiagnostics(
1479
var compilation =
CreateCompilation
(source);
1499
var compilation =
CreateCompilation
(source);
1521
var compilation =
CreateCompilation
(source);
1549
var compilation =
CreateCompilation
(source);
1578
var compilation =
CreateCompilation
(source);
1699
CreateCompilation
(source).VerifyDiagnostics(
1718
CreateCompilation
(source).VerifyDiagnostics(
1753
CreateCompilation
(source).VerifyDiagnostics();
1822
CreateCompilation
(source).VerifyDiagnostics(
1848
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"));
Semantics\Utf8StringsLiteralsTests.cs (129)
54
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
83
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
111
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
142
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
175
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
199
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
226
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
255
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
283
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
314
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
338
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
362
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
384
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
416
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
453
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
461
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
487
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
518
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
561
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
673
var comp =
CreateCompilation
(source);
707
var comp =
CreateCompilation
(source);
740
var comp =
CreateCompilation
(source);
774
var comp =
CreateCompilation
(source);
821
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
873
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
924
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
981
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1037
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1095
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1151
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1205
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1257
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1308
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1366
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1396
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1420
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1453
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1475
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1515
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1536
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1540
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1575
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1602
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1605
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1623
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1649
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1666
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1672
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1702
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1719
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1725
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1755
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1772
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1778
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1817
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1834
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1840
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1877
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1943
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
1972
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2002
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2037
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2074
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2102
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2122
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2143
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2169
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2198
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2276
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2325
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2362
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2399
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2433
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2457
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2461
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
2482
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2513
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2573
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2606
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2639
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2687
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2732
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2780
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2810
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2852
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2890
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2967
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2995
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3023
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3051
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3079
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3107
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3135
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3163
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3191
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3247
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3303
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3332
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3384
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3446
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3494
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3536
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3585
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3634
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3684
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3731
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3772
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3794
var comp =
CreateCompilation
(new[] { source + HelpersSource, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3853
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3899
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3989
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4032
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4061
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4132
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4155
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4186
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4225
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4250
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4300
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\ValueTupleTests.cs (5)
84
var comp =
CreateCompilation
(source);
265
var comp =
CreateCompilation
(source, assemblyName: "comp");
294
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
330
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
360
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\VarianceTests.cs (14)
113
var comp =
CreateCompilation
(string.Format(text, i, j));
226
var comp =
CreateCompilation
(string.Format(text, i, j));
273
CreateCompilation
(text).VerifyDiagnostics(
298
CreateCompilation
(text).VerifyDiagnostics(
333
CreateCompilation
(text).VerifyDiagnostics(
371
CreateCompilation
(text).VerifyDiagnostics(
412
CreateCompilation
(text).VerifyDiagnostics(
444
CreateCompilation
(text).VerifyDiagnostics(
500
CreateCompilation
(text).VerifyDiagnostics(
552
CreateCompilation
(text).VerifyDiagnostics(
576
CreateCompilation
(text).VerifyDiagnostics(
608
CreateCompilation
(text).VerifyDiagnostics(
638
CreateCompilation
(@"
651
CreateCompilation
(@"
Semantics\WarningVersionTests.cs (26)
48
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
49
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(3)).VerifyDiagnostics();
50
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics();
51
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(whenWave5);
52
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6)).VerifyDiagnostics(whenWave5);
78
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
79
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics();
80
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(whenWave5);
117
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics();
118
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4)).VerifyDiagnostics();
119
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(whenWave5);
131
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
209
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
288
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
382
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
392
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
394
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
410
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
497
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
584
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
671
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
683
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
685
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
701
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
713
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
715
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
SourceGeneration\GeneratorDriverTests.cs (112)
35
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
55
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
77
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
98
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
127
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
158
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
217
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
249
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
274
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
297
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
318
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
341
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
371
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
402
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
428
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
454
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
483
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
522
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
582
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
612
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
657
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
704
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
739
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
776
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
798
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
823
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
851
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
882
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
908
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
935
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
963
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
995
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1024
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1059
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1086
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1131
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1158
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1257
Compilation compilation =
CreateCompilation
(source, sourceFileName: "sourcefile.cs", options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1348
var compilation =
CreateCompilation
(source, parseOptions: parseOptions);
1385
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1420
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1442
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1467
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1493
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1535
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1564
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1597
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1618
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1680
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1724
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1943
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1979
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2135
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2194
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2241
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2303
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2384
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2456
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2484
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2547
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2577
Compilation newCompilation =
CreateCompilation
(newSource, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2613
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2697
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2884
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3079
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3145
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3191
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3279
Compilation compilation =
CreateCompilation
(builder.ToString(), options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3305
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3338
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3384
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3412
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3443
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3491
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3535
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3566
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3581
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3597
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3610
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3642
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3676
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3705
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3736
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3768
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3801
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3830
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3860
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3892
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3925
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
3971
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
4006
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
4076
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
4298
generatorDriver.RunGenerators(
CreateCompilation
("class C { }"));
4309
var compilation =
CreateCompilation
("class Compilation1{}");
4320
compilation =
CreateCompilation
("class Compilation2{}");
4330
compilation =
CreateCompilation
("class Compilation3{}");
4339
compilation =
CreateCompilation
("class Compilation4{}");
4355
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4362
compilation =
CreateCompilation
("class Compilation2{}", parseOptions: parseOptions);
4378
var compilation =
CreateCompilation
("class Compilation1{}");
4406
var compilation =
CreateCompilation
("class Compilation1{}");
4440
var compilation =
CreateCompilation
("class C{}");
4463
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4484
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4493
compilation =
CreateCompilation
("class Compilation2{}", parseOptions: newParseOptions);
4520
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4537
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4555
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4575
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4593
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4611
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4628
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (47)
68
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
110
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
147
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
177
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
207
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
236
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
263
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
291
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
320
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
356
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
395
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
424
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
457
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
490
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
522
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
554
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
585
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
616
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
649
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
680
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
709
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
743
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
772
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
809
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
846
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
883
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
920
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
957
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
993
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1020
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1057
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1095
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1133
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1171
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1209
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1240
var comp0 =
CreateCompilation
(source0).VerifyDiagnostics().EmitToImageReference();
1263
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, new[] { comp0 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1330
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1376
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1414
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1461
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1508
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1551
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1599
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1654
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1711
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1765
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
39
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
71
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
97
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
122
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
147
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
175
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
207
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
239
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
273
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
306
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
332
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
358
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
384
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
417
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
445
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
473
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
500
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
531
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
564
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
596
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
628
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
656
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
684
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
712
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
741
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
768
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
795
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
826
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
858
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
887
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
915
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
943
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
972
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1002
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1042
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1090
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1143
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1194
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1249
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1302
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1360
Compilation compilation =
CreateCompilation
(new[] { source0, source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1408
Compilation compilation =
CreateCompilation
(new[] { source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1453
Compilation compilation =
CreateCompilation
(new[] { source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1504
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1555
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1616
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\SyntaxAwareGeneratorTests.cs (42)
33
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
59
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
84
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
110
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
135
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
162
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
234
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
273
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
314
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
370
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
412
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
454
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
496
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
550
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
580
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
618
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
672
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
729
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
772
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
817
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
852
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
892
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
934
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1011
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1086
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1167
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1217
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1300
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1377
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1510
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1565
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1614
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1675
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1734
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1787
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1850
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1891
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1932
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1981
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2007
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2045
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2079
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5568)
BadSymbolReference.cs (15)
30
var compilation1 =
CreateCompilation
(
360
var compilation2 =
CreateCompilation
(a_cs, new MetadataReference[] { cl3 });
460
var cl3Compilation =
CreateCompilation
(cl3Source, new MetadataReference[] { cl2 });
464
var compilation3 =
CreateCompilation
(a_cs, new MetadataReference[] { new CSharpCompilationReference(cl3Compilation) });
468
var cl3BadCompilation1 =
CreateCompilation
(cl3Source, new MetadataReference[] { cl3 });
470
var compilation4 =
CreateCompilation
(a_cs, new MetadataReference[] { new CSharpCompilationReference(cl3BadCompilation1) });
561
var cl3BadCompilation2 =
CreateCompilation
(cl3Source);
601
var compilation5 =
CreateCompilation
(a_cs, new MetadataReference[] { new CSharpCompilationReference(cl3BadCompilation2) });
649
var compilation6 =
CreateCompilation
(cl4Source);
826
var lib1 =
CreateCompilation
(@"
1010
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
1018
var lib1 =
CreateCompilation
(@"
1249
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
1303
var lib1 =
CreateCompilation
(@"
1428
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
Compilation\CompilationAPITests.cs (76)
73
var comp =
CreateCompilation
(tree, options: options);
79
comp =
CreateCompilation
(tree, options: options);
92
var comp =
CreateCompilation
(tree);
102
comp =
CreateCompilation
(tree, options: options);
120
var comp =
CreateCompilation
(tree);
127
comp =
CreateCompilation
(tree, options: options);
141
var comp =
CreateCompilation
(tree, options: options);
151
var comp2 =
CreateCompilation
(tree, options: options);
174
var comp =
CreateCompilation
(new[] { tree, newTree }, options: options);
198
CreateCompilation
(tree, options: options).VerifyDiagnostics(
211
CreateCompilation
(tree, options: options).VerifyDiagnostics(
225
CreateCompilation
(source).VerifyDiagnostics(
230
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(0)).VerifyDiagnostics(
254
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("")).VerifyDiagnostics(
263
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("\"\"")).VerifyDiagnostics(
396
var c =
CreateCompilation
("class C {}");
980
var netModule1 =
CreateCompilation
(
986
var netModule2 =
CreateCompilation
(
1000
var assembly =
CreateCompilation
(
1015
assembly =
CreateCompilation
(
1036
var netModule1 =
CreateCompilation
(
1042
var netModule2 =
CreateCompilation
(
1056
var netModule3 =
CreateCompilation
(
1070
var assembly =
CreateCompilation
(
1091
var netModule1 =
CreateCompilation
(
1106
var assembly =
CreateCompilation
(
1125
var netModule1 =
CreateCompilation
(
1131
var netModule2 =
CreateCompilation
(
1145
var assembly =
CreateCompilation
(
1636
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1657
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1673
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1869
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("B"));
1937
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
1951
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
2201
var md1 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class C { }").EmitToArray());
2202
var md2 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class D { }").EmitToArray());
2366
var comp =
CreateCompilation
("");
2741
var compilation =
CreateCompilation
("");
2758
var compilation =
CreateCompilation
("");
2769
var compilation =
CreateCompilation
("");
2778
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2788
var compilation =
CreateCompilation
("");
2816
var compilation =
CreateCompilation
("");
2829
var compilation =
CreateCompilation
(@"
2861
var compilation =
CreateCompilation
(@"
2896
var compilation =
CreateCompilation
(@"
2937
var compilation =
CreateCompilation
("");
2949
var compilation =
CreateCompilation
("");
2959
var compilation =
CreateCompilation
("");
2968
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2978
var compilation =
CreateCompilation
("");
3014
var compilation =
CreateCompilation
("");
3030
var comp = (Compilation)
CreateCompilation
(source);
3065
var comp = (Compilation)
CreateCompilation
(source);
3094
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3103
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3113
var module =
CreateCompilation
(string.Empty);
3122
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3134
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3143
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3404
var comp =
CreateCompilation
("");
3417
var referenceComp =
CreateCompilation
("");
3419
var comp =
CreateCompilation
(
3437
var referenceComp =
CreateCompilation
("");
3439
var comp =
CreateCompilation
(
3466
var referenceComp =
CreateCompilation
(source);
3471
var comp =
CreateCompilation
(source, new[] { reference });
3494
var referenceComp =
CreateCompilation
(source);
3499
var comp =
CreateCompilation
("", new[] { reference });
3520
var referenceComp1 =
CreateCompilation
(source);
3523
var referenceComp2 =
CreateCompilation
(source);
3528
var comp =
CreateCompilation
("", new[] { reference1, reference2 });
3558
var referenceComp1 =
CreateCompilation
(source);
3561
var referenceComp2 =
CreateCompilation
(source);
3566
var comp =
CreateCompilation
(source, new[] { reference1, reference2 });
Compilation\ForEachStatementInfoTests.cs (1)
20
var c = (Compilation)
CreateCompilation
(@"
Compilation\GetImportScopesTests.cs (2)
22
var comp =
CreateCompilation
(tree);
402
var comp =
CreateCompilation
(source);
Compilation\GetSemanticInfoBrokenCodeTests.cs (14)
29
var comp =
CreateCompilation
(tree);
48
var comp =
CreateCompilation
(tree);
71
var comp =
CreateCompilation
(tree);
94
var comp =
CreateCompilation
(tree);
107
var comp =
CreateCompilation
(tree);
132
var comp =
CreateCompilation
(tree);
159
var comp =
CreateCompilation
(tree);
176
var comp =
CreateCompilation
(tree);
196
var comp =
CreateCompilation
(source);
220
var comp =
CreateCompilation
(source);
241
var comp = (Compilation)
CreateCompilation
(source);
263
var comp =
CreateCompilation
(source);
296
var comp =
CreateCompilation
(source);
360
var comp =
CreateCompilation
(tree);
Compilation\GetSemanticInfoTests.cs (114)
40
var comp =
CreateCompilation
(tree);
70
var comp =
CreateCompilation
(tree);
99
var comp =
CreateCompilation
(tree);
133
var comp =
CreateCompilation
(tree);
162
var comp =
CreateCompilation
(tree);
188
var comp =
CreateCompilation
(tree);
239
var comp =
CreateCompilation
(tree);
292
var comp =
CreateCompilation
(tree);
371
var comp = (Compilation)
CreateCompilation
(tree);
413
var comp =
CreateCompilation
(tree);
440
var comp =
CreateCompilation
(tree);
474
var comp =
CreateCompilation
(tree);
527
var comp =
CreateCompilation
(tree);
594
var comp =
CreateCompilation
(tree);
627
var comp =
CreateCompilation
(tree);
963
var compilation =
CreateCompilation
(@"
987
var compilation =
CreateCompilation
(@"
1022
var comp = (Compilation)
CreateCompilation
(tree);
1043
var compilation =
CreateCompilation
(code);
1130
var comp =
CreateCompilation
(tree);
1161
var comp =
CreateCompilation
(tree);
1190
var comp =
CreateCompilation
(tree);
1214
var comp =
CreateCompilation
(tree);
1237
var comp =
CreateCompilation
(tree);
1263
var comp = (Compilation)
CreateCompilation
(tree);
1291
var comp = (Compilation)
CreateCompilation
(tree);
1319
var comp = (Compilation)
CreateCompilation
(tree);
1346
var comp = (Compilation)
CreateCompilation
(tree);
1373
var comp =
CreateCompilation
(tree);
1409
var comp =
CreateCompilation
(tree);
1447
var comp =
CreateCompilation
(tree);
1485
var comp =
CreateCompilation
(tree);
1521
var comp =
CreateCompilation
(tree);
1552
var comp =
CreateCompilation
(tree);
1574
var comp =
CreateCompilation
(tree);
1602
var comp = (Compilation)
CreateCompilation
(tree);
1627
var comp =
CreateCompilation
(tree);
1666
var comp =
CreateCompilation
(tree);
1698
var comp =
CreateCompilation
(tree);
1733
var comp =
CreateCompilation
(tree);
1768
var comp =
CreateCompilation
(tree);
1804
var comp =
CreateCompilation
(tree);
1840
var comp =
CreateCompilation
(tree);
1881
var comp =
CreateCompilation
(tree);
1910
var comp =
CreateCompilation
(tree);
2279
var comp =
CreateCompilation
(text);
2317
var comp =
CreateCompilation
(tree);
2353
var comp =
CreateCompilation
(tree);
2389
var comp =
CreateCompilation
(tree);
2448
var comp =
CreateCompilation
(tree);
2475
var comp =
CreateCompilation
(text);
2505
var comp =
CreateCompilation
(tree);
2534
var comp =
CreateCompilation
(tree);
2561
var compilation =
CreateCompilation
(source);
2717
var comp = (Compilation)
CreateCompilation
(tree);
2788
var comp = (Compilation)
CreateCompilation
(tree);
2834
var comp = (Compilation)
CreateCompilation
(tree);
2864
var comp =
CreateCompilation
(tree);
2957
var comp =
CreateCompilation
(tree);
3049
var comp =
CreateCompilation
(tree);
3091
var comp = (Compilation)
CreateCompilation
(tree);
3123
var comp =
CreateCompilation
(tree);
3165
var comp = (Compilation)
CreateCompilation
(tree);
3197
var comp =
CreateCompilation
(tree);
3240
var comp = (Compilation)
CreateCompilation
(tree);
3270
var comp =
CreateCompilation
(tree);
3324
var comp = (Compilation)
CreateCompilation
(tree);
3390
var comp = (Compilation)
CreateCompilation
(tree);
3458
var compilation =
CreateCompilation
(source);
3514
var compilation =
CreateCompilation
(source);
3547
var compilation =
CreateCompilation
(source);
3575
var compilation =
CreateCompilation
(source);
3602
var compilation =
CreateCompilation
(source);
3627
var compilation =
CreateCompilation
(source);
3660
var compilation =
CreateCompilation
(source);
3696
var compilation =
CreateCompilation
(source);
3753
var compilation =
CreateCompilation
(text);
3781
var compilation = (Compilation)
CreateCompilation
(text);
3814
var compilation =
CreateCompilation
(text);
3842
var compilation = (Compilation)
CreateCompilation
(text);
3868
var compilation =
CreateCompilation
(text);
3908
var compilation = (Compilation)
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
3948
var compilation =
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
3994
var compilation =
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
4207
var compilation =
CreateCompilation
(text);
4237
var compilation =
CreateCompilation
(text);
4267
var compilation =
CreateCompilation
(text);
4288
var compilation =
CreateCompilation
(text);
4318
var compilation =
CreateCompilation
(text);
4346
var compilation =
CreateCompilation
(text);
4372
var compilation =
CreateCompilation
(text);
4396
var compilation =
CreateCompilation
(text);
4426
var compilation = (Compilation)
CreateCompilation
(text);
4480
var compilation = (Compilation)
CreateCompilation
(text);
4526
var compilation = (Compilation)
CreateCompilation
(text);
4580
var compilation =
CreateCompilation
(text);
4634
var compilation =
CreateCompilation
(text);
4670
var comp = (Compilation)
CreateCompilation
(source);
4715
var comp = (Compilation)
CreateCompilation
(source);
4748
var comp =
CreateCompilation
(source);
4781
var comp =
CreateCompilation
(source);
4824
var comp =
CreateCompilation
(source);
5398
var compilation = (Compilation)
CreateCompilation
(text);
5780
var comp =
CreateCompilation
(new[] { tree1, tree2 });
5819
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5863
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5892
var comp =
CreateCompilation
(source);
5910
var comp =
CreateCompilation
(source);
5923
var comp =
CreateCompilation
(source);
5946
var comp = (Compilation)
CreateCompilation
(source);
5983
var comp =
CreateCompilation
(source);
6007
var compilation =
CreateCompilation
(text);
6033
var comp =
CreateCompilation
(source);
6042
comp =
CreateCompilation
(source);
Compilation\GetUnusedImportDirectivesTests.cs (17)
33
var comp =
CreateCompilation
(tree);
58
var classLib1 =
CreateCompilation
(source: class1Source, assemblyName: "ClassLibrary1");
73
var classLib2 =
CreateCompilation
(source: class2Source, assemblyName: "ClassLibrary2", references: new[] { classLib1.ToMetadataReference() });
90
var comp =
CreateCompilation
(tree, new[] { classLib1.ToMetadataReference(), classLib2.ToMetadataReference() }, assemblyName: "ConsoleApplication");
173
var comp =
CreateCompilation
(tree);
191
var comp =
CreateCompilation
(tree);
221
var ivtCompilation =
CreateCompilation
(
242
var libCompilation =
CreateCompilation
(
281
var comp =
CreateCompilation
(source);
291
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(3));
317
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(0));
330
CreateCompilation
(source).VerifyDiagnostics(
366
CreateCompilation
(source).VerifyDiagnostics();
379
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Error));
422
var comp =
CreateCompilation
(new[] { source1, source2 });
450
var comp =
CreateCompilation
(new[] { source1, source2 });
487
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithDocumentationMode(documentationMode));
Compilation\IndexedProperties_BindingTests.cs (1)
136
var comp =
CreateCompilation
(tree, new[] { reference });
Compilation\QueryClauseInfoTests.cs (1)
20
var c = (Compilation)
CreateCompilation
("");
Compilation\ReferenceManagerTests.cs (76)
32
var ifaceDef =
CreateCompilation
(
43
var implDef2 =
CreateCompilation
(
66
var refV1 =
CreateCompilation
("public class D : C { }", new[] { v1 }, assemblyName: "refV1");
67
var refV2 =
CreateCompilation
("public class D : C { }", new[] { v2 }, assemblyName: "refV2");
70
var testRefV1 =
CreateCompilation
("public class E : D { }", new MetadataReference[] { new CSharpCompilationReference(refV1), v2 }, assemblyName: "testRefV1");
73
var testRefV2 =
CreateCompilation
("public class E : D { }", new MetadataReference[] { new CSharpCompilationReference(refV2), v1 }, assemblyName: "testRefV2");
108
var refV1 =
CreateCompilation
("public class D : C { }", new[] { v1 });
109
var refV2 =
CreateCompilation
("public class D : C { }", new[] { v2 });
112
var testRefV1 =
CreateCompilation
("public class E { }", new MetadataReference[] { new CSharpCompilationReference(refV1), v2 });
115
var testRefV2 =
CreateCompilation
("public class E { }", new MetadataReference[] { new CSharpCompilationReference(refV2), v1 });
129
var libV1 =
CreateCompilation
(
139
var libV2 =
CreateCompilation
(
149
var libV3 =
CreateCompilation
(
233
var libV1 =
CreateCompilation
(
245
var libV2 =
CreateCompilation
(
402
var a1 =
CreateCompilation
(
412
var a2 =
CreateCompilation
(
422
var b1 =
CreateCompilation
(
432
var b2 =
CreateCompilation
(
590
var libV1 =
CreateCompilation
(
601
var libV2 =
CreateCompilation
(
655
var libV1 =
CreateCompilation
(
665
var libV2 =
CreateCompilation
(
704
var main =
CreateCompilation
(
978
var lib1 =
CreateCompilation
(sourceLib, options: s_signedDll, assemblyName: "Lib");
979
var lib2 =
CreateCompilation
(sourceLib, options: s_signedDll, assemblyName: "Lib");
1035
var peImage =
CreateCompilation
(libSource, options: TestOptions.ReleaseDll, assemblyName: "CS1704").EmitToArray();
1091
var libV1 =
CreateCompilation
(sourceLibV1, assemblyName: "Lib");
1092
var libV2 =
CreateCompilation
(sourceLibV2, assemblyName: "Lib");
1167
var main =
CreateCompilation
(sourceMain,
1387
var a =
CreateCompilation
(sourceA, assemblyName: "A");
1403
var a2 =
CreateCompilation
(sourceA2, new[] { refB }, assemblyName: "A");
1409
var c =
CreateCompilation
("class C : A {}", new[] { refA2, refB }, assemblyName: "C");
1417
var b2 =
CreateCompilation
(@"
1439
var a =
CreateCompilation
("public class A { }", assemblyName: "A");
1444
var a2 =
CreateCompilation
(@"public class A { B B; }", new[] { refB }, assemblyName: "A");
1447
var withCircularReference1 =
CreateCompilation
(@"public class B : A { }", new[] { refA2 }, assemblyName: "B");
1549
var comp =
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "ReachFramework");
1557
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics();
1564
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics();
1571
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "ReachFramework").VerifyDiagnostics();
1645
var oldMetadata = AssemblyMetadata.CreateFromImage(
CreateCompilation
(oldVersion + csharp, assemblyName: "ReachFramework").EmitToArray());
1648
var comp =
CreateCompilation
(newVersion + csharp, new[] { ilRef, oldRef }, assemblyName: "ReachFramework");
1706
var b =
CreateCompilation
(srcB, references: new[] { aRef }, options: TestOptions.ReleaseModule.WithModuleName("mod.netmodule"), assemblyName: "B");
1732
var lib =
CreateCompilation
(libSource, assemblyName: "lib");
1734
var main =
CreateCompilation
(mainSource, new[] { refLib }, assemblyName: "main");
1762
var assemblyMetadata = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class TypeDependedOnByModule { }", assemblyName: "lib1").EmitToArray());
1764
var moduleRef =
CreateCompilation
("public class TypeFromModule : TypeDependedOnByModule { }", new[] { assemblyRef }, options: TestOptions.ReleaseModule, assemblyName: "lib2").EmitToImageReference();
1766
var comp1 =
CreateCompilation
(text1, new MetadataReference[]
1815
var moduleRef =
CreateCompilation
("public class C { }", options: TestOptions.ReleaseModule, assemblyName: "lib").EmitToImageReference();
1817
var comp1 =
CreateCompilation
(text1, new MetadataReference[]
1836
var cPublic =
CreateCompilation
("class C { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Public));
1837
var cInternal =
CreateCompilation
("class D { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
1838
var cAll =
CreateCompilation
("class E { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1840
var cPublic2 =
CreateCompilation
("class C { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Public));
1841
var cInternal2 =
CreateCompilation
("class D { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
1842
var cAll2 =
CreateCompilation
("class E { }", options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1864
var module =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
1868
var mainAll =
CreateCompilation
(mainSource, new[] { moduleRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1873
var mainInternal =
CreateCompilation
(mainSource, new[] { moduleRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
1878
var mainPublic =
CreateCompilation
(mainSource, new[] { moduleRef }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Public));
1913
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
1914
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
1957
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
1958
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
2001
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: s_signedDll);
2002
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: s_signedDll);
2115
var c =
CreateCompilation
("", new[] { new TestImageReference(TestResources.Basic.NativeApp, "NativeApp.exe") });
2127
var c =
CreateCompilation
(source, new[] { AssemblyMetadata.CreateFromImage(new byte[0]).GetReference(display: "Empty.dll") });
2166
var vectors40 =
CreateCompilation
(
2173
var vectors41 =
CreateCompilation
(
2291
CreateCompilation
(@"[assembly: System.Reflection.AssemblyVersion(""0.0.0.0"")] public class C {}", assemblyName: "C").ToMetadataReference(),
2292
CreateCompilation
(@"[assembly: System.Reflection.AssemblyVersion(""2.0.0.1"")] public class C {}", assemblyName: "C").ToMetadataReference(aliases: ImmutableArray.Create("X", "Y")),
2293
CreateCompilation
(@"[assembly: System.Reflection.AssemblyVersion(""1.0.0.0"")] public class C {}", assemblyName: "C").ToMetadataReference(),
2294
CreateCompilation
(@"[assembly: System.Reflection.AssemblyVersion(""2.0.0.0"")] public class C {}", assemblyName: "C").ToMetadataReference(),
2295
CreateCompilation
(@"[assembly: System.Reflection.AssemblyVersion(""1.1.0.0"")] public class C {}", assemblyName: "C").ToMetadataReference().
Compilation\SemanticModelAPITests.cs (115)
87
var comp1 =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
89
var comp2 =
CreateCompilation
(src2, parseOptions: TestOptions.Regular8,
94
comp2 =
CreateCompilation
(src2, parseOptions: TestOptions.Regular7_3,
163
var comp =
CreateCompilation
(@"
185
var comp =
CreateCompilation
(@"
250
var comp =
CreateCompilation
(tree);
269
var comp1 =
CreateCompilation
(tree);
270
var comp2 =
CreateCompilation
(tree);
328
var comp =
CreateCompilation
(tree);
347
var comp =
CreateCompilation
(tree);
368
var comp1 =
CreateCompilation
(tree1);
369
var comp2 =
CreateCompilation
(tree2);
391
var comp =
CreateCompilation
(tree);
418
var comp =
CreateCompilation
(tree);
460
var comp =
CreateCompilation
(text);
484
var comp =
CreateCompilation
(tree);
516
var comp =
CreateCompilation
(new SyntaxTree[] { partial1Tree, partial2Tree });
531
var comp =
CreateCompilation
(tree);
557
var comp =
CreateCompilation
(tree);
583
var comp = (Compilation)
CreateCompilation
(tree);
606
var comp = (Compilation)
CreateCompilation
(tree);
639
var compilation =
CreateCompilation
(tree1);
671
var compilation = (Compilation)
CreateCompilation
(tree1);
699
var compilation = (Compilation)
CreateCompilation
(new SyntaxTree[] { tree1, tree2 });
722
var comp = (Compilation)
CreateCompilation
(tree);
748
var comp = (Compilation)
CreateCompilation
(tree);
779
var comp =
CreateCompilation
(tree);
814
var comp = (Compilation)
CreateCompilation
(tree);
840
var comp =
CreateCompilation
(tree);
866
var comp = (Compilation)
CreateCompilation
(tree);
922
var comp =
CreateCompilation
(tree);
960
var comp =
CreateCompilation
(new[] { tree1, tree2 });
1001
var comp =
CreateCompilation
(new List<SyntaxTree> { tree1, tree2 });
1039
var comp =
CreateCompilation
(tree);
1070
var comp =
CreateCompilation
(tree);
1111
var comp =
CreateCompilation
(tree);
1155
var comp =
CreateCompilation
(tree);
1191
var comp =
CreateCompilation
(tree);
1228
var comp = (Compilation)
CreateCompilation
(source);
1258
var comp1 =
CreateCompilation
("public class C { }");
1261
var comp2 =
CreateCompilation
(source, new[] { ref1 });
1302
var comp =
CreateCompilation
(source);
1329
var comp =
CreateCompilation
(source);
1355
var comp = (Compilation)
CreateCompilation
(source);
1384
var comp =
CreateCompilation
(source);
1401
var compilation =
CreateCompilation
(@"
1445
var compilation =
CreateCompilation
(@"
1488
var compilation =
CreateCompilation
(@"
1532
var compilation =
CreateCompilation
(@"
1576
var compilation =
CreateCompilation
(@"
1619
var compilation =
CreateCompilation
(@"
1637
var compilation =
CreateCompilation
(@"
1655
var compilation =
CreateCompilation
(@"
1714
var comp = (Compilation)
CreateCompilation
(source);
1756
var compilation =
CreateCompilation
(@"
1815
var compilation =
CreateCompilation
(@"
1863
var compilation =
CreateCompilation
(@"
1895
var compilation =
CreateCompilation
(@"
1972
var compilation =
CreateCompilation
(@"
2016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular);
2066
var comp = (Compilation)
CreateCompilation
(source);
2135
var comp =
CreateCompilation
(source);
2154
var compilation =
CreateCompilation
(@"
2199
var compilation =
CreateCompilation
(@"
2245
var compilation =
CreateCompilation
(@"
2306
var comp =
CreateCompilation
(source);
2328
var compilation =
CreateCompilation
(@"
2420
var compilation =
CreateCompilation
(@"
2462
var compilation =
CreateCompilation
(@"
2504
var compilation =
CreateCompilation
(@"
2549
var compilation =
CreateCompilation
(@"
2621
var compilation =
CreateCompilation
(@"
2742
var compilation =
CreateCompilation
(@"
2793
var compilation =
CreateCompilation
(@"using System.Runtime;");
2808
var compilation =
CreateCompilation
(@"using A = System.Exception;");
2823
var compilation =
CreateCompilation
(@"
2848
var compilation =
CreateCompilation
(@"
2880
var compilation =
CreateCompilation
(@"
3123
var comp =
CreateCompilation
(source);
3151
var comp =
CreateCompilation
(source);
3186
var comp =
CreateCompilation
(source);
3519
var compilation =
CreateCompilation
(source);
3540
var compilation =
CreateCompilation
(source);
3578
var comp =
CreateCompilation
(source);
3609
var compilation =
CreateCompilation
(tree);
3736
var comp = (Compilation)
CreateCompilation
(source);
3765
var comp =
CreateCompilation
(@"
3841
var libRef =
CreateCompilation
("", assemblyName: "lib").EmitToImageReference(aliases: ImmutableArray.Create("Alias"));
3842
var comp =
CreateCompilation
(source, new[] { libRef });
3870
var comp =
CreateCompilation
(source);
3901
var comp = (Compilation)
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4103
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4140
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4183
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4207
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4235
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4273
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4325
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4365
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
4421
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
4451
var comp =
CreateCompilation
(source);
4470
var comp =
CreateCompilation
(source, options: options, parseOptions: TestOptions.Regular9);
4525
var comp =
CreateCompilation
(source, options: options, parseOptions: TestOptions.Regular9);
4601
var alias1 = getGlobalAlias(
CreateCompilation
(text));
4602
var alias2 = getGlobalAlias(
CreateCompilation
(text));
4623
var compilation =
CreateCompilation
(text);
4641
var compilation =
CreateCompilation
(text);
4659
var compilation =
CreateCompilation
(text);
4674
var compilation =
CreateCompilation
(text);
4690
var compilation =
CreateCompilation
(text);
4705
var compilation =
CreateCompilation
(text);
4724
var compilation =
CreateCompilation
(text);
4740
var compilation =
CreateCompilation
(text);
4755
var compilation =
CreateCompilation
(text);
4770
var compilation =
CreateCompilation
(tree);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (158)
49
var comp =
CreateCompilation
(@"
72
var compilation =
CreateCompilation
($@"
89
var compilation =
CreateCompilation
(@"
114
var compilation =
CreateCompilation
($@"
135
var compilation =
CreateCompilation
(@"
158
var compilation =
CreateCompilation
(@"
183
var compilation =
CreateCompilation
(@"
201
var compilation =
CreateCompilation
(@"
224
var compilation =
CreateCompilation
(@"
247
var compilation =
CreateCompilation
(@"
267
var compilation =
CreateCompilation
(@"
288
var compilation =
CreateCompilation
(
319
var compilation =
CreateCompilation
(
368
var compilation =
CreateCompilation
(
398
var compilation =
CreateCompilation
(
420
var compilation =
CreateCompilation
(
441
var compilation =
CreateCompilation
(
463
var compilation =
CreateCompilation
(
488
var compilation =
CreateCompilation
(
510
var compilation =
CreateCompilation
(
532
var compilation =
CreateCompilation
(
556
var compilation =
CreateCompilation
(@"
578
var compilation =
CreateCompilation
(@"
604
var compilation =
CreateCompilation
(@"
633
var compilation =
CreateCompilation
(@"
658
var compilation =
CreateCompilation
(@"
699
var compilation =
CreateCompilation
(@"
732
var compilation =
CreateCompilation
(@"
764
var compilation =
CreateCompilation
(@"
786
var compilation =
CreateCompilation
(@"
812
var compilation =
CreateCompilation
(@"
833
var compilation =
CreateCompilation
(@"
848
var compilation =
CreateCompilation
(@"
872
var compilation =
CreateCompilation
(@"
892
var compilation =
CreateCompilation
(@"
912
var compilation =
CreateCompilation
(@"
996
var compilation =
CreateCompilation
(@"
1020
var compilation =
CreateCompilation
(@"
1041
var compilation =
CreateCompilation
(@"
1065
var compilation =
CreateCompilation
(@"
1100
var compilation =
CreateCompilation
(@"
1155
var compilation =
CreateCompilation
(@"
1186
var compilation =
CreateCompilation
(@"
1231
var compilation =
CreateCompilation
(@"
1260
var compilation =
CreateCompilation
(@"
1299
var compilation =
CreateCompilation
(@"
1359
var compilation =
CreateCompilation
(@"
1402
var compilation =
CreateCompilation
(@"
1468
var compilation =
CreateCompilation
(
1509
var compilation =
CreateCompilation
(
1569
var compilation =
CreateCompilation
(@"
1605
var compilation =
CreateCompilation
(@"
1643
var compilation =
CreateCompilation
(@"
1677
var compilation = (Compilation)
CreateCompilation
(
1798
var compilation = (Compilation)
CreateCompilation
(
1845
var compilation =
CreateCompilation
(
1993
var compilation =
CreateCompilation
(
2037
var compilation =
CreateCompilation
(@"
2076
var compilation =
CreateCompilation
(text);
2163
var compilation =
CreateCompilation
(text);
2235
var compilation =
CreateCompilation
(@"
2266
var compilation =
CreateCompilation
(@"
2303
var compilation =
CreateCompilation
(@"
2339
var compilation =
CreateCompilation
(@"
2375
var compilation =
CreateCompilation
(@"
2410
var compilation =
CreateCompilation
(@"
2440
var compilation =
CreateCompilation
(@"
2479
var compilation =
CreateCompilation
(@"
2510
var compilation =
CreateCompilation
(@"
2547
var compilation =
CreateCompilation
(@"
2576
var compilation =
CreateCompilation
(@"
2606
var compilation =
CreateCompilation
(@"
2631
var compilation =
CreateCompilation
(@"
2657
var compilation =
CreateCompilation
(@"
2685
var compilation =
CreateCompilation
(@"
2771
var compilation = (Compilation)
CreateCompilation
(@"
2801
var compilation =
CreateCompilation
(@"
2826
var compilation =
CreateCompilation
(@"
2894
var compilation = (Compilation)
CreateCompilation
(@"
2927
var compilation = (Compilation)
CreateCompilation
(@"
2949
var compilation = (Compilation)
CreateCompilation
(@"
3008
var compilation = (Compilation)
CreateCompilation
(@"
3032
var compilation =
CreateCompilation
(@"
3061
var compilation = (Compilation)
CreateCompilation
(@"
3088
var comp1 =
CreateCompilation
(@"
3136
var compilation = (Compilation)
CreateCompilation
(text1);
3173
var compilation =
CreateCompilation
(text);
3186
var compilation =
CreateCompilation
(@"
3224
var compilation = (Compilation)
CreateCompilation
(@"
3248
var compilation =
CreateCompilation
(@"
3299
var compilation =
CreateCompilation
(@"
3328
var compilation =
CreateCompilation
(@"
3354
var compilation =
CreateCompilation
(@"
3379
var compilation =
CreateCompilation
(@"private");
3397
var compilation =
CreateCompilation
(@"
3420
var compilation =
CreateCompilation
(@"
3441
var compilation =
CreateCompilation
(@"
3461
var compilation =
CreateCompilation
(@"
3489
var compilation =
CreateCompilation
(@"
3512
var compilation =
CreateCompilation
(@"
3545
var compilation =
CreateCompilation
(@"
3576
var compilation =
CreateCompilation
(@"
3598
var compilation =
CreateCompilation
(@"
3623
var compilation =
CreateCompilation
(@"
3655
var compilation =
CreateCompilation
(@"
3682
var compilation =
CreateCompilation
(@"/", parseOptions: parseOptions);
3697
var compilation =
CreateCompilation
(@"
3764
var compilation =
CreateCompilation
(@"
3803
var compilation =
CreateCompilation
(code, parseOptions: TestOptions.Script);
3816
var compilation =
CreateCompilation
(@"
3864
var compilation =
CreateCompilation
(text);
3899
var comp =
CreateCompilation
(tree);
3920
var comp =
CreateCompilation
(tree);
3950
var c1 =
CreateCompilation
(@"
3990
var compilation = (Compilation)
CreateCompilation
(source);
4080
var compilation = (Compilation)
CreateCompilation
(source);
4122
var comp =
CreateCompilation
(src);
4141
comp =
CreateCompilation
(src);
4164
var compilation =
CreateCompilation
(source);
4243
var compilation =
CreateCompilation
(source);
4395
var compilation =
CreateCompilation
(@"
4432
var compilation = (Compilation)
CreateCompilation
(source);
4463
var compilation = (Compilation)
CreateCompilation
(source);
4494
var compilation = (Compilation)
CreateCompilation
(source);
4525
var compilation = (Compilation)
CreateCompilation
(text);
4562
var compilation = (Compilation)
CreateCompilation
(text);
4601
var compilation =
CreateCompilation
(text);
4650
var compilation = (Compilation)
CreateCompilation
(text);
4689
var compilation =
CreateCompilation
(source);
4704
var compilation =
CreateCompilation
(source);
4719
var compilation =
CreateCompilation
(source);
4738
var compilation =
CreateCompilation
(source);
4764
var compilation =
CreateCompilation
(source);
4795
var compilation =
CreateCompilation
(source);
4818
var compilation =
CreateCompilation
(source);
4841
var compilation =
CreateCompilation
(source);
4864
var compilation =
CreateCompilation
(source);
4887
var compilation =
CreateCompilation
(source);
4910
var compilation =
CreateCompilation
(source);
4933
var compilation =
CreateCompilation
(source);
4956
var compilation =
CreateCompilation
(source);
5029
var compilation =
CreateCompilation
(source);
5086
var compilation =
CreateCompilation
(source);
5109
var compilation =
CreateCompilation
(source);
5122
var compilation =
CreateCompilation
(@"private");
5160
var compilation =
CreateCompilation
(@"
5201
var comp =
CreateCompilation
(source);
5219
var comp =
CreateCompilation
(source);
5240
var comp =
CreateCompilation
(source);
5261
var comp =
CreateCompilation
(source);
5292
var comp =
CreateCompilation
(source);
5343
var comp =
CreateCompilation
(source);
5387
var comp =
CreateCompilation
(source);
5432
var comp =
CreateCompilation
(source);
5478
var comp =
CreateCompilation
(source);
5529
var comp =
CreateCompilation
(source);
5573
var comp =
CreateCompilation
(source);
5618
var comp =
CreateCompilation
(source);
Compilation\SemanticModelGetSemanticInfoTests.cs (36)
896
var compilation =
CreateCompilation
(source: sourceCode);
1111
var compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1145
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1175
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1205
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1231
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1258
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1286
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1313
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1354
compilation =
CreateCompilation
(source: sourceCode);
1392
compilation =
CreateCompilation
(source: sourceCode);
1451
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1469
compilation =
CreateCompilation
(source2, new[] { reference1 });
1481
compilation =
CreateCompilation
(source2, new[] { reference1 });
1496
compilation =
CreateCompilation
(source2, new[] { reference1 });
1517
compilation =
CreateCompilation
(source2, new[] { reference1 });
1590
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1605
compilation =
CreateCompilation
(source2, new[] { reference1 });
1620
compilation =
CreateCompilation
(source2, new[] { reference1 });
1661
var compilation =
CreateCompilation
("");
5538
var compilation =
CreateCompilation
(sourceCode);
8430
var compilation =
CreateCompilation
(sourceCode);
8454
var compilation =
CreateCompilation
(sourceCode);
8972
CreateCompilation
(sourceCode).VerifyDiagnostics(
9019
CreateCompilation
(sourceCode).VerifyDiagnostics(
12123
var comp =
CreateCompilation
(tree);
14482
var compilation =
CreateCompilation
(sourceCode);
14650
var comp =
CreateCompilation
(source);
14732
var compilation =
CreateCompilation
(new[] { sourceCode1, sourceCode2 });
14750
var compilation =
CreateCompilation
(
14833
var compilation =
CreateCompilation
(
14930
var pia =
CreateCompilation
(
15051
var compilation =
CreateCompilation
(sourceCode);
15293
var comp =
CreateCompilation
(@"
15369
var compilation =
CreateCompilation
(sourceCode);
15431
var compilation =
CreateCompilation
(source);
Compilation\SymbolSearchTests.cs (2)
188
var compilation =
CreateCompilation
(new[] { source });
229
return
CreateCompilation
(source: new string[] { source });
Compilation\SymbolVisitorTests.cs (6)
528
var c =
CreateCompilation
(
579
var c =
CreateCompilation
(
630
var c =
CreateCompilation
(
682
var c =
CreateCompilation
(
726
var c =
CreateCompilation
(
770
var c =
CreateCompilation
(
Compilation\TypeInfoTests.cs (1)
19
var c =
CreateCompilation
("");
Compilation\UsedAssembliesTests.cs (163)
40
var comp2 =
CreateCompilation
(source);
258
Compilation comp =
CreateCompilation
(source, parseOptions: parseOptions, references: references, options: options);
270
Compilation comp =
CreateCompilation
(source, references: references);
454
var comp1 =
CreateCompilation
(source1);
504
var comp0 =
CreateCompilation
(source0);
518
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
574
var comp0 =
CreateCompilation
(source0);
589
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref }, options: TestOptions.DebugModule);
636
comp2 =
CreateCompilation
(source2, references: new[] { comp1Ref });
683
var comp1 =
CreateCompilation
(source1);
746
var comp0 =
CreateCompilation
(source0);
764
var comp1 =
CreateCompilation
(source1);
946
var comp0 =
CreateCompilation
(source0);
964
var comp1 =
CreateCompilation
(source1);
1097
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
1102
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
1105
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
1117
var comp0 =
CreateCompilation
(source0);
1130
var comp1 =
CreateCompilation
(source1);
1277
var comp0 =
CreateCompilation
(source0);
1290
var comp1 =
CreateCompilation
(source1);
1364
var comp1 =
CreateCompilation
(source1);
1396
var comp0 =
CreateCompilation
(source0);
1413
var comp1 =
CreateCompilation
(source1);
1468
var comp0 =
CreateCompilation
(source0);
1478
var comp1 =
CreateCompilation
(source1);
1506
var comp0 =
CreateCompilation
(source0);
1516
var comp1 =
CreateCompilation
(source1);
1547
var comp0 =
CreateCompilation
(source0, assemblyName: "MethodReference_05_0");
1559
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1569
var comp2 =
CreateCompilation
(source2);
1625
var comp5 =
CreateCompilation
(source5);
1630
var comp6 =
CreateCompilation
(source1, references: new[] { comp5Ref });
1634
var comp7 =
CreateCompilation
(source5);
1683
var comp0 =
CreateCompilation
(source0);
1693
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1704
var comp2 =
CreateCompilation
(source2, references: new[] { comp1Ref });
1736
var comp0 =
CreateCompilation
(source0, assemblyName: "MethodReference_07_0");
1746
var comp1 =
CreateCompilation
(source1);
1756
var comp2 =
CreateCompilation
(source2, references: new[] { comp0Ref, comp1Ref });
1789
var comp0 =
CreateCompilation
(source0);
1800
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1872
var comp0 =
CreateCompilation
(source0);
1883
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1938
var comp5 =
CreateCompilation
(source5);
1943
var comp6 =
CreateCompilation
(source1, references: new[] { comp5Ref });
1947
var comp7 =
CreateCompilation
(source5);
1968
var comp1 =
CreateCompilation
(source1);
2022
var comp0 =
CreateCompilation
(source0);
2032
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
2062
var comp0 =
CreateCompilation
(source0);
2073
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
2105
var comp1 =
CreateCompilation
(source1);
2166
var comp1 =
CreateCompilation
(source1);
2317
Compilation comp =
CreateCompilation
(source, references: new[] { reference });
2339
AssertUsedAssemblyReferences(
CreateCompilation
(Parse(source, options: TestOptions.Script), references: new[] { reference }, options: TestOptions.DebugDll.WithUsings(@using)),
2359
var comp1 =
CreateCompilation
(source1);
2425
var comp0 =
CreateCompilation
(source0);
2460
var comp3 =
CreateCompilation
(source0);
2493
var comp0 =
CreateCompilation
(source0);
2511
var comp3 =
CreateCompilation
(source0);
2581
var comp0 =
CreateCompilation
(source0);
2599
var comp3 =
CreateCompilation
(source0);
2669
var comp0 =
CreateCompilation
(source0);
2687
var comp3 =
CreateCompilation
(source0);
2753
var comp0 =
CreateCompilation
(source0);
2772
var comp3 =
CreateCompilation
(source0);
2842
var comp0 =
CreateCompilation
(source0);
2860
var comp3 =
CreateCompilation
(source0);
2930
var comp0 =
CreateCompilation
(source0);
2948
var comp3 =
CreateCompilation
(source0);
2994
var comp0 =
CreateCompilation
(source0);
3039
var comp3 =
CreateCompilation
(source0);
3303
var comp0 =
CreateCompilation
(source0);
3349
var comp3 =
CreateCompilation
(source0);
3537
var comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
3556
var comp0 =
CreateCompilation
(source0);
3572
var comp1 =
CreateCompilation
(source1);
3692
Compilation comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, references: references);
3704
var comp0 =
CreateCompilation
(source0);
3720
var comp1 =
CreateCompilation
(source1);
3834
Compilation comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: references, options: TestOptions.UnsafeDebugDll);
3852
var comp0 =
CreateCompilation
(source0);
3864
var comp1 =
CreateCompilation
(source1);
3928
var comp0 =
CreateCompilation
(source0);
3940
var comp1 =
CreateCompilation
(source1);
4011
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
4015
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
4023
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4028
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4031
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4043
var comp0 =
CreateCompilation
(source0);
4055
var comp1 =
CreateCompilation
(source1);
4126
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4129
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4147
var comp0 =
CreateCompilation
(source0);
4156
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4189
var comp =
CreateCompilation
(@"
4207
comp =
CreateCompilation
(@"
4262
var comp0 =
CreateCompilation
(source0);
4274
var comp1 =
CreateCompilation
(source1);
4287
var comp2 =
CreateCompilation
(source2);
4345
var comp0 =
CreateCompilation
(source0);
4357
var comp1 =
CreateCompilation
(source1);
4370
var comp2 =
CreateCompilation
(source2);
4463
var comp0 =
CreateCompilation
(source0);
4475
var comp1 =
CreateCompilation
(source1);
4488
var comp2 =
CreateCompilation
(source2);
4549
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4551
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4578
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4580
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4606
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4610
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4614
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4618
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4627
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4630
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4633
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4651
var comp0 =
CreateCompilation
(source0);
4663
var comp1 =
CreateCompilation
(source1);
4676
var comp2 =
CreateCompilation
(source2);
4769
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4771
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4797
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4801
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4809
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4812
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4815
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4834
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4851
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4872
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4889
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4903
var comp0 =
CreateCompilation
(source0);
4919
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4993
var comp0 =
CreateCompilation
(source0);
5009
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5053
var comp0 =
CreateCompilation
(source0);
5064
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5140
var comp0 =
CreateCompilation
(source0);
5151
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5195
var comp0 =
CreateCompilation
(source0);
5398
var comp0 =
CreateCompilation
(source0);
5409
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5631
var comp1 =
CreateCompilation
(source1);
5677
var comp0 =
CreateCompilation
(source0);
5687
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5715
var comp0 =
CreateCompilation
(source0);
5725
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5754
var comp0 =
CreateCompilation
(source0);
5765
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5789
CreateCompilation
(source2, references: new[] { comp0Ref, comp1RefWithAlias }).VerifyDiagnostics(
5805
var comp0 =
CreateCompilation
(source0);
5842
var comp0 =
CreateCompilation
(source0);
5877
var comp0 =
CreateCompilation
(source0);
5915
var comp1 =
CreateCompilation
(source1);
5927
var comp2 =
CreateCompilation
(source2);
5939
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5941
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
5960
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5962
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
6006
var comp1 =
CreateCompilation
(source1);
DeclarationTests.cs (14)
290
var compilation =
CreateCompilation
(new SyntaxTree[] { underlyingTree, countedTree }, skipUsesIsNullable: true, options: TestOptions.ReleaseDll);
337
var compilation =
CreateCompilation
(new SyntaxTree[] { underlyingTree, countedTree }, skipUsesIsNullable: true, options: TestOptions.ReleaseDll);
404
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
457
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
500
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
553
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
608
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
657
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
700
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
747
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
792
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
837
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
869
var compilation1 =
CreateCompilation
(new SyntaxTree[] { firstTree });
870
var compilation2 =
CreateCompilation
(new SyntaxTree[] { firstTree });
DocumentationComments\CrefTests.cs (25)
247
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments);
277
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments);
1865
var lib1Ref =
CreateCompilation
(lib1Source, assemblyName: "A").EmitToImageReference();
1866
var lib2Ref =
CreateCompilation
(lib2Source, assemblyName: "B").EmitToImageReference();
4421
CreateCompilation
(new[] { tree1, tree2 }).VerifyDiagnostics(
6700
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics();
6731
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6739
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
6740
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
6775
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6796
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6797
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6838
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6839
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6840
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6868
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6889
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6890
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6919
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6943
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
6993
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7017
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
7038
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (49)
32
CreateCompilation
(
763
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
782
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
891
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
909
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
927
var comp =
CreateCompilation
(tree, assemblyName: "Test");
972
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
993
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1021
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1043
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1072
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1094
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1129
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1148
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1177
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1196
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1235
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1252
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1287
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1344
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1407
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1470
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1513
var comp =
CreateCompilation
(tree, assemblyName: "Test");
1559
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1580
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1610
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1631
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1651
var comp =
CreateCompilation
(tree, assemblyName: "Test");
1697
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1719
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1749
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1771
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1807
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1826
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1856
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1875
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1915
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1932
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1968
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2026
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2090
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2154
var compilation =
CreateCompilation
(source, assemblyName: "Test");
3165
var comp =
CreateCompilation
(new[] { tree1, tree2 });
3185
CreateCompilation
(source).VerifyDiagnostics();
4521
var compilation =
CreateCompilation
(tree);
5322
var comp =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
5760
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(warnDict), assemblyName: "Test");
7117
CreateCompilation
(tree, options: compOptions).VerifyDiagnostics(
7355
var comp =
CreateCompilation
(
DocumentationComments\DocumentationCommentIDTests.cs (23)
28
var comp =
CreateCompilation
(source);
46
var comp =
CreateCompilation
(source);
61
var comp =
CreateCompilation
(source);
76
var comp =
CreateCompilation
(source);
91
var comp =
CreateCompilation
(source);
107
var comp =
CreateCompilation
(source);
122
var comp =
CreateCompilation
(source);
141
var comp =
CreateCompilation
(source);
162
var comp =
CreateCompilation
(source);
182
var comp =
CreateCompilation
(source);
196
var comp =
CreateCompilation
(source);
210
var comp =
CreateCompilation
(source);
224
var comp =
CreateCompilation
(source);
238
var comp =
CreateCompilation
(source);
255
var comp =
CreateCompilation
(source);
270
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
286
var comp =
CreateCompilation
(source);
323
var comp =
CreateCompilation
(source);
349
var comp =
CreateCompilation
(source);
369
var comp =
CreateCompilation
(source);
395
var comp =
CreateCompilation
(source);
415
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions));
435
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions));
DocumentationComments\DocumentationModeTests.cs (2)
354
var comp =
CreateCompilation
(trees.ToArray(), assemblyName: "Test");
383
var comp =
CreateCompilation
(
DocumentationComments\EventDocumentationCommentTests.cs (1)
24
_compilation =
CreateCompilation
(@"namespace Acme
DocumentationComments\MethodDocumentationCommentTests.cs (1)
200
var compilation =
CreateCompilation
(references: new[] { csharpAssemblyReference, ilAssemblyReference }, source:
DocumentationComments\ParameterTests.cs (2)
829
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp2)).VerifyDiagnostics(
834
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.Latest)).VerifyDiagnostics();
DocumentationComments\PartialTypeDocumentationCommentTests.cs (1)
49
_compilation =
CreateCompilation
(new[] { tree1, tree2 });
DocumentationComments\PropertyDocumentationCommentTests.cs (1)
24
_compilation =
CreateCompilation
(@"namespace Acme
DocumentationComments\TypeDocumentationCommentTests.cs (1)
139
var comp =
CreateCompilation
(text);
SymbolDisplay\SymbolDisplayTests.cs (56)
2181
var comp1 =
CreateCompilation
(text);
2254
var comp1 =
CreateCompilation
(text);
3588
var comp =
CreateCompilation
(source);
3619
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
4731
var complib =
CreateCompilation
(src1, assemblyName: "Lib");
4733
var comp1 =
CreateCompilation
(src2, references: new MetadataReference[] { compref }, assemblyName: "Comp1");
4737
var comp2 =
CreateCompilation
("", references: new MetadataReference[] { mtref }, assemblyName: "Comp2");
4816
var compilation =
CreateCompilation
(text);
4941
var comp =
CreateCompilation
(source);
5115
var comp =
CreateCompilation
(source);
5309
var compilation =
CreateCompilation
(source);
5380
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
5617
var comp =
CreateCompilation
(text);
5838
var compA =
CreateCompilation
(sourceA);
5863
var compA =
CreateCompilation
(sourceA);
6059
var comp =
CreateCompilation
(text);
6093
var comp = (Compilation)
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
6165
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6234
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6320
var compilation = (Compilation)
CreateCompilation
(source);
6353
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6392
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6447
var compilation = (Compilation)
CreateCompilation
(source);
6491
var compilation = (Compilation)
CreateCompilation
(source);
6515
var comp = (Compilation)
CreateCompilation
(source);
6606
var comp =
CreateCompilation
(srcTree);
6649
var comp =
CreateCompilation
(srcTree);
6745
var comp =
CreateCompilation
(srcTree);
6839
var comp =
CreateCompilation
(srcTree);
6872
var comp =
CreateCompilation
(srcTree);
6917
var comp =
CreateCompilation
(srcTree);
7036
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7074
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7112
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7159
var comp =
CreateCompilation
(source).VerifyDiagnostics(
7244
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7504
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7657
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics();
7902
var compilation =
CreateCompilation
(source);
8000
var compilation =
CreateCompilation
(source);
8060
var compilation =
CreateCompilation
(source);
8092
var compilation =
CreateCompilation
(source);
8128
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9);
8396
var comp =
CreateCompilation
(source);
8447
var comp =
CreateCompilation
(source);
8517
var comp =
CreateCompilation
(source);
8542
var comp =
CreateCompilation
(source);
8610
var comp =
CreateCompilation
(source);
8645
var comp =
CreateCompilation
(source);
8694
var comp =
CreateCompilation
(source);
8778
var comp =
CreateCompilation
(source);
8804
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
8844
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
8871
var comp =
CreateCompilation
(source);
8927
var comp =
CreateCompilation
(source);
9021
var comp =
CreateCompilation
(source);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (20)
40
var compilation =
CreateCompilation
(text);
99
var compilation =
CreateCompilation
(text);
150
var compilation =
CreateCompilation
(text);
198
var comp1 =
CreateCompilation
(text1);
202
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
205
var compilation =
CreateCompilation
(text3, refs, assemblyName: "Test3");
255
CreateCompilation
(text).VerifyDiagnostics(
284
CreateCompilation
(text).VerifyDiagnostics(
413
var compilation =
CreateCompilation
(text);
466
var compilation =
CreateCompilation
(text);
506
var comp =
CreateCompilation
(source);
533
var comp =
CreateCompilation
(source);
560
var compilation =
CreateCompilation
(text);
630
var compilation =
CreateCompilation
(text);
686
var compilation =
CreateCompilation
(text);
826
var comp =
CreateCompilation
(text1, references: refs, assemblyName: "OHI_ExpImpPropGetSetMismatch001",
855
var comp0 =
CreateCompilation
(@"
861
var comp1 =
CreateCompilation
(@"
873
var comp2 =
CreateCompilation
(@"", references: new MetadataReference[] { mtref }, assemblyName: "META");
1003
var compilation = (Compilation)
CreateCompilation
(source);
Symbols\AnonymousTypesSemanticsTests.cs (5)
1536
var comp =
CreateCompilation
(source);
1899
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
1917
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1934
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1955
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
Symbols\AnonymousTypesSymbolTests.cs (3)
1638
var comp =
CreateCompilation
(tree);
1679
var comp =
CreateCompilation
(tree);
1845
var comp =
CreateCompilation
(source);
Symbols\AssemblyAndNamespaceTests.cs (6)
30
var comp =
CreateCompilation
(text, assemblyName: simpleName);
57
var comp =
CreateCompilation
(text, assemblyName: "Test");
161
var comp1 =
CreateCompilation
(text);
202
var comp1 =
CreateCompilation
(text1, assemblyName: "Compilation1");
203
var comp2 =
CreateCompilation
(text2, assemblyName: "Compilation2");
687
var comp =
CreateCompilation
(code);
Symbols\CheckedUserDefinedOperatorsTests.cs (122)
34
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
37
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10);
45
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
78
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
142
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
187
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
227
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
249
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
311
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
347
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
372
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
398
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
427
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
445
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
472
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
895
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
926
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
969
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1005
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1251
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1254
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10);
1262
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
1296
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1331
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1362
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1395
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1418
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1517
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1544
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1571
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1605
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1623
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1650
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2158
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
2214
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2429
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2456
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2485
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2488
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10);
2496
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
2532
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2605
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2637
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2656
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2715
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2749
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2772
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2795
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2821
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3179
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
3208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3422
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3432
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
3442
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3443
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3821
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3828
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
3835
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3836
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3880
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3931
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4035
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4197
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4207
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4217
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4218
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4658
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4668
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4678
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4679
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4728
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4779
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4788
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4797
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4798
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4840
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4891
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5001
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5110
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5204
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5216
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
5228
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5229
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5290
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5328
var compilation2 =
CreateCompilation
(source1 + source3, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5682
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5689
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
5696
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5697
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5769
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6037
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6326
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6431
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6550
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6604
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6607
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6608
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6754
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6757
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6758
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6803
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6806
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6807
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6852
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6855
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6856
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7003
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7006
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
7007
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7048
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7051
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
7052
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7201
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7273
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7344
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7417
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7481
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
Symbols\CompilationCreationTests.cs (6)
2972
var lib1 =
CreateCompilation
(source1, assemblyName: "Lib1", options: TestOptions.ReleaseModule);
2975
var lib2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "Lib2");
3008
var compilation =
CreateCompilation
("Compilation");
3016
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net50);
3024
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net60);
3032
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net70);
Symbols\ConversionTests.cs (46)
300
var compilation =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
348
var comp = (Compilation)
CreateCompilation
(source);
448
var comp =
CreateCompilation
(src);
476
var comp =
CreateCompilation
(src);
511
var comp =
CreateCompilation
(src);
547
var comp =
CreateCompilation
(src);
583
var comp =
CreateCompilation
(src);
617
var comp =
CreateCompilation
(src);
652
var comp =
CreateCompilation
(src);
680
var comp =
CreateCompilation
(src);
711
var comp =
CreateCompilation
(src);
734
var comp =
CreateCompilation
(src);
760
var comp =
CreateCompilation
(src);
789
var compilation =
CreateCompilation
(source);
809
var compilation =
CreateCompilation
(source);
832
CreateCompilation
(source).VerifyDiagnostics();
855
var compilation =
CreateCompilation
(source);
877
var compilation =
CreateCompilation
(source);
900
CreateCompilation
(source).VerifyDiagnostics();
916
CreateCompilation
(source).VerifyDiagnostics(
938
CreateCompilation
(source).VerifyDiagnostics();
956
CreateCompilation
(source).VerifyDiagnostics();
987
CreateCompilation
(source).VerifyDiagnostics(
1020
CreateCompilation
(source).VerifyDiagnostics(
1053
CreateCompilation
(source).VerifyDiagnostics(
1086
CreateCompilation
(source).VerifyDiagnostics(
1119
CreateCompilation
(source).VerifyDiagnostics(
1153
CreateCompilation
(source).VerifyDiagnostics();
1184
CreateCompilation
(source).VerifyDiagnostics(
1201
CreateCompilation
(source).VerifyDiagnostics(
1227
CreateCompilation
(source).VerifyDiagnostics(
1251
CreateCompilation
(source).VerifyDiagnostics(
1278
CreateCompilation
(source).VerifyDiagnostics(
1316
CreateCompilation
(source).VerifyDiagnostics(
1356
CreateCompilation
(source).VerifyDiagnostics(
1382
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1385
CreateCompilation
(source).VerifyDiagnostics();
1412
CreateCompilation
(source).VerifyDiagnostics(
1449
CreateCompilation
(source).VerifyDiagnostics();
1474
CreateCompilation
(source).VerifyDiagnostics(
1504
CreateCompilation
(source).VerifyDiagnostics(
1560
CreateCompilation
(source).VerifyDiagnostics(
1776
CreateCompilation
(source).VerifyDiagnostics(
2053
var comp = (Compilation)
CreateCompilation
(source);
2135
var comp = (Compilation)
CreateCompilation
(source);
2169
var comp = (Compilation)
CreateCompilation
(source);
Symbols\CorLibrary\CorTypes.cs (18)
268
CreateCompilation
(source2).VerifyDiagnostics(
288
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
301
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
372
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
378
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
425
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
432
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
557
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
563
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
617
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
627
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
635
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
663
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
673
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
829
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
844
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
1023
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
1038
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
Symbols\CovariantReturnTests.cs (18)
406
return
CreateCompilation
(
425
return
CreateCompilation
(
465
var result =
CreateCompilation
(assignments, references: references, targetFramework: TargetFramework.Empty);
487
var result =
CreateCompilation
(assignments, references: references, targetFramework: TargetFramework.Empty);
511
var result =
CreateCompilation
(
540
CreateCompilation
(
3871
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
3888
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
3947
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4007
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4113
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4130
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4228
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4245
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4337
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4354
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4500
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4526
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
Symbols\CSharpCompilerFeatureRequiredTests.cs (2)
65
return CSharpTestBase.
CreateCompilation
(source, references);
553
var comp = CSharpTestBase.
CreateCompilation
(new[] { """
Symbols\CustomModifiersTests.cs (2)
2283
var compilation =
CreateCompilation
(source, references: new[] { TestReferences.SymbolsTests.CustomModifiers.GenericMethodWithModifiers.dll },
2329
var compilation =
CreateCompilation
(source, references: new[] { TestReferences.SymbolsTests.CustomModifiers.GenericMethodWithModifiers.dll },
Symbols\DefaultInterfaceImplementationTests.cs (1049)
117
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
168
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
287
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
345
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
361
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
427
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
485
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
501
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
578
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
676
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
778
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
880
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
967
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1042
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1121
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1279
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1363
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1451
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1539
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1585
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
1622
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1666
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60,
1678
var compilation3 =
CreateCompilation
(source2, new[] { reference },
1723
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1744
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
1776
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
1819
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1910
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1928
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1971
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
2015
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2038
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2102
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2181
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2203
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2260
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2267
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2329
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2336
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2402
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2409
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2475
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2482
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2579
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2633
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2650
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2970
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3006
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3042
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3083
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3108
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3163
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3197
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3231
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3270
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3295
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3320
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3359
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3448
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3514
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3599
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3722
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3864
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3982
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
4134
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
4225
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
4277
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4393
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4405
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4489
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4534
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
4579
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4634
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
4675
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4735
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4786
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4802
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4867
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5103
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5140
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5168
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5205
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5297
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5383
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5500
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5591
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5736
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5826
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
5855
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
5953
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5965
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
6011
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6030
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
6081
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
6126
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
6189
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6220
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6236
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6283
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6354
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6368
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6541
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
6598
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
6619
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
6943
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7046
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7137
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7309
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
7343
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7417
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7429
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
7477
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7496
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
7532
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
7559
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7597
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
7620
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7663
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7696
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7712
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7760
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7812
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7969
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8085
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8245
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8363
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8399
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8612
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8678
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8770
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8812
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
8937
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9041
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
9092
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9230
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9257
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9265
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9282
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9295
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9308
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
9447
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9455
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9462
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9472
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9481
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9529
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9536
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9543
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9554
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9828
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9835
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9842
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9849
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9887
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9899
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9907
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9919
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9964
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9976
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9984
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9996
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
10043
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10050
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10058
compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10081
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10192
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10303
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10371
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
10456
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10507
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
10574
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10676
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10827
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10881
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
10915
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10927
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10938
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
10977
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
10999
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
11054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11233
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11298
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11353
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11455
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11552
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11579
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11606
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11633
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11646
var compilation2 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
11692
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
11716
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
11724
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
11757
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
11767
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
11784
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11847
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11881
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
11890
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11907
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
11915
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
11923
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
11983
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11996
compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
12005
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12022
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
12037
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
12044
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
12103
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
12119
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
12128
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12145
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
12160
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
12173
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
12216
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12226
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12237
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12278
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12288
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12299
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12340
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12350
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12360
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12612
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12623
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12637
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12700
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12711
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12725
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12788
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12799
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12813
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12947
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13020
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13077
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13567
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13657
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13897
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13991
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
14065
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14212
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14230
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14359
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14606
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14705
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14912
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14920
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14932
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14958
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14966
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14985
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
15110
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15118
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15129
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15137
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15145
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15245
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15255
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15263
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15660
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15669
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15674
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15683
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15743
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15750
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15755
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15762
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15837
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15845
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15856
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15864
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
15872
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15955
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15962
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15969
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
16002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
16307
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16579
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16767
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
16917
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16925
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
17015
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17265
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17456
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
17510
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17527
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
17541
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
17588
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17619
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
17726
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18282
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions),
18315
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(metadataImportOptions),
18328
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18457
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18465
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18484
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18494
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18503
compilation3 =
CreateCompilation
(source2, new[] { reference },
19837
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
19891
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19908
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
19922
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
19969
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
19999
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
20038
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20170
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20314
var compilation1 =
CreateCompilation
(source0 + source1,
20353
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
20367
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
20426
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
20444
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
20456
var compilation6 =
CreateCompilation
(source5, options: TestOptions.DebugExe,
20491
var compilation7 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
21552
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22041
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22131
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22370
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22447
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22625
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23688
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23754
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23937
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24507
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24538
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26531
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26567
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26607
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26743
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26799
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27223
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27619
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
27693
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27789
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27863
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27883
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27940
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28117
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
28195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28418
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28426
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28478
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28501
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28509
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28528
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
28615
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28623
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28634
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28642
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28650
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28751
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe, targetFramework: targetFramework,
28760
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: targetFramework,
28767
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
29169
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29178
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29183
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29192
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29255
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29262
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29267
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29274
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29349
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29357
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29368
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29376
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
29384
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
29460
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29467
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29474
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29500
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29578
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
29696
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29992
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30103
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
30265
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30319
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
30438
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30659
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30861
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
30915
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30930
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
30944
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
30990
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31020
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
31094
var compilation1 =
CreateCompilation
(source0 + source1,
31121
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
31130
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31168
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
31180
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
31206
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31750
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31809
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31932
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
31983
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
32016
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32024
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32038
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32123
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
32150
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32158
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32172
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32254
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32257
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe);
32287
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe);
32381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32481
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
32508
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
32541
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32549
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32556
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32687
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32764
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32801
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32828
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32870
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32959
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
32975
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
32991
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
33117
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33141
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33193
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33214
CreateCompilation
(source1, options: TestOptions.DebugDll,
33227
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33243
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33283
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
33307
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33357
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
33386
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33433
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33530
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33588
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33650
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33714
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33760
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33799
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33832
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
33884
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33980
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
34141
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
34157
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
34173
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34188
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34194
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
34210
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
34282
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34463
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34489
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34501
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
34540
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll,
34585
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
34683
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34689
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34703
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
34797
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
34894
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
34912
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34968
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34973
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34997
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35064
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35092
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35165
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35190
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35261
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35285
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35351
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35366
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35462
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35469
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35571
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35578
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35684
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35691
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35797
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35804
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35899
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35910
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36008
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36015
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36102
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36113
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36220
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36227
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36386
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36404
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36421
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36429
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36574
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36592
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36609
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36617
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36762
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36780
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36797
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36805
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
36859
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36887
var comp =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36986
var compilation1 =
CreateCompilation
(source1 + source2, options: options,
37002
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: options,
37018
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: options,
37274
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37291
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
37375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
37391
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
37522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37605
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37649
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37715
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37952
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37987
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37995
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
38002
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
38401
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
38420
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
38438
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38446
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
38741
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38800
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38826
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38838
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
38880
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
38909
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
39002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
39008
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
39015
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
39106
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
39175
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
39193
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
39492
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
39510
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40014
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
40032
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
40050
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
40212
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40242
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40303
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40333
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40393
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
40423
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40482
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
40511
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40615
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40663
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40723
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40787
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40853
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40927
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41069
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
41087
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
41105
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
41122
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41128
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
41141
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
41238
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41462
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41488
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41500
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
41542
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
41587
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
41668
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41674
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
41688
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
41782
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
41851
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
41869
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
42019
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42039
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42058
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42066
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42223
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42243
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42262
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42270
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42427
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42447
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42466
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42474
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
43589
var compilation1 =
CreateCompilation
(source1,
43626
var compilation1 =
CreateCompilation
(source1,
43669
var compilation1 =
CreateCompilation
(source1,
43696
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43720
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43789
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43834
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43839
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43844
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43868
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43919
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43971
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43976
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43981
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44004
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44101
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
44106
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
44111
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44134
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44192
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44222
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
44242
var compilation3 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugExe,
44268
var compilation2 =
CreateCompilation
(source3 + source4, new[] { reference }, options: TestOptions.DebugExe,
44288
var compilation4 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44343
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44420
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44544
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44642
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44689
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44723
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
44797
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44838
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44919
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44964
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44982
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
45002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45056
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45101
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45106
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45111
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45144
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45207
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45254
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45259
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45264
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45297
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45350
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45393
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45398
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45403
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45439
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45478
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45540
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45585
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45590
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45595
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45627
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45680
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45722
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45727
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45732
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45764
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45838
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
45844
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45902
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
45920
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
45936
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.Mscorlib461Extended,
46001
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
46034
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
46112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
46160
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46198
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
46256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
46303
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46317
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugDll,
46346
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
46372
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMainTypeName("I2"),
46588
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
46598
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46605
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46611
var compilation6 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46690
var compilation61 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46766
var compilation7 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46844
var compilation8 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46864
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
46879
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
46949
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
46952
var compilation2 =
CreateCompilation
(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
46995
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47012
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47024
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47028
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47156
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
47222
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47231
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47237
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47256
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
47267
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
47314
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47323
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47329
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47390
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47399
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47405
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47463
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
47470
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47520
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47529
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47535
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47601
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47610
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47616
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47676
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47684
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47689
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47708
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47716
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47721
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47737
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47745
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47750
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47809
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47817
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47822
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47841
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47849
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47854
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47870
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47878
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47883
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47937
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
47945
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47950
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48004
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48012
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48017
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48079
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48088
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48094
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48136
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48145
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48151
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48203
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48212
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48218
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48238
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
48252
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
48300
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48309
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48315
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48370
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48379
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48385
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48434
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48443
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48449
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48513
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48522
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48528
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48585
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48594
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48600
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48658
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48666
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48671
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48728
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48736
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48741
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48798
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
48805
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48890
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48899
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48905
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48956
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48965
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48971
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49063
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49072
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49078
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49118
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49222
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49295
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49304
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49310
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49528
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49544
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49550
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49576
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49606
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49617
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49652
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49660
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49768
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49776
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49917
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll,
49955
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49981
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50010
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50044
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50083
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50109
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50129
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50164
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50202
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50246
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50262
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50306
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50361
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50369
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50397
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50409
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50438
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50450
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50478
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50490
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50518
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50530
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50562
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50577
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50606
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50622
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50658
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50670
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50683
var attributes =
CreateCompilation
(NoPiaAttributes, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50711
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50749
var pia2Compilation =
CreateCompilation
(pia2, baseReferences, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Empty);
50753
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll, references: baseReferences.Concat(new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }), targetFramework: TargetFramework.Empty);
50757
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe, references: baseReferences.Concat(new[] { reference2, pia2Reference }), targetFramework: TargetFramework.Empty);
50791
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50807
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50843
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50896
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50949
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50994
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
51042
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51063
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51070
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51220
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51230
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51237
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51360
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51374
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51381
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51501
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51511
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51518
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51644
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51658
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51665
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51784
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51798
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51805
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51894
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51904
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51911
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51959
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52014
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52079
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52137
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52202
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52257
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52338
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52408
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52432
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52497
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52503
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52510
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
52689
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
52699
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52706
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
52854
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52860
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52867
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53017
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
53027
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53034
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53192
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53198
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53206
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53354
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53360
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53368
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53486
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
53496
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53503
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53593
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53725
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54193
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54200
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
57029
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57219
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57231
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57260
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57272
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57304
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57313
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57339
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57351
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57380
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57389
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57415
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57427
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57475
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57481
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57488
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57647
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57657
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57664
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
57805
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57811
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57818
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57956
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57966
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57973
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
58119
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
58125
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58132
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58268
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
58274
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58281
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58388
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
58398
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58405
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
58481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58673
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59245
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59252
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
59313
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59413
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59422
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59448
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59460
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62197
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62209
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62238
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62247
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62273
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62282
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62513
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
62528
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
62555
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62567
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62780
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
62833
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
64787
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64813
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64843
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64873
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64903
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64922
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64941
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64967
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64989
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65019
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65051
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65077
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65111
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65158
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65202
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65246
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65299
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65351
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65380
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65425
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65475
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65520
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65560
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65606
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65644
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65689
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65727
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65772
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65805
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65846
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65881
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65923
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65958
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66000
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66040
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66079
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66131
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66220
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66299
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66331
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66379
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66410
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66452
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66523
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66634
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66745
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66751
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66804
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66839
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66870
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66925
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66931
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66954
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66991
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67003
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67032
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67044
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67096
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67108
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67129
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67163
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67199
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67233
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67274
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67311
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67347
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67383
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67461
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67499
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67537
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67574
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67613
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67655
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67692
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67710
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67750
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67792
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67825
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67930
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67996
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
68061
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
68159
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
68191
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
68485
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68529
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68548
var compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68554
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
68592
compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() },
68605
compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() },
68682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68688
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68699
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
68843
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68859
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68866
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
68925
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68944
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68951
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
69045
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
69321
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
69389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
Symbols\DestructorTests.cs (14)
29
var comp =
CreateCompilation
(source);
41
CreateCompilation
(source).VerifyDiagnostics(
58
CreateCompilation
(source).VerifyDiagnostics(
76
CreateCompilation
(source).VerifyDiagnostics(
126
CreateCompilation
(source).VerifyDiagnostics(
207
CreateCompilation
(source).VerifyDiagnostics(
289
CreateCompilation
(source).VerifyDiagnostics(
331
CreateCompilation
(source).VerifyDiagnostics(
361
CreateCompilation
(source).VerifyDiagnostics(
385
CreateCompilation
(source).VerifyDiagnostics();
398
var compilation = (Compilation)
CreateCompilation
(source);
433
CreateCompilation
(source).VerifyDiagnostics();
529
CreateCompilation
(source, new[] { vbRef }).VerifyDiagnostics(
552
CreateCompilation
(source).VerifyDiagnostics(
Symbols\EnumTests.cs (17)
159
CreateCompilation
(source).VerifyDiagnostics(
174
CreateCompilation
(source).VerifyDiagnostics(
190
CreateCompilation
(source).VerifyDiagnostics(
207
CreateCompilation
(source).VerifyDiagnostics(
230
CreateCompilation
(source).VerifyDiagnostics();
247
CreateCompilation
(source).VerifyDiagnostics(
262
CreateCompilation
(source).VerifyDiagnostics(
275
CreateCompilation
(source).VerifyDiagnostics(
288
CreateCompilation
(source).VerifyDiagnostics();
320
var comp =
CreateCompilation
(sourceA, assemblyName: "UseSiteError_sourceA");
332
comp =
CreateCompilation
(sourceB, references: new[] { refA });
344
comp =
CreateCompilation
(sourceC, references: new[] { refB });
364
var comp =
CreateCompilation
(sourceA, assemblyName: "UseSiteError_sourceA");
376
comp =
CreateCompilation
(sourceB, references: new[] { refA });
388
comp =
CreateCompilation
(sourceC, references: new[] { refB }, options: TestOptions.ReleaseExe);
395
comp =
CreateCompilation
(sourceC, references: new[] { refB }, options: TestOptions.DebugExe);
406
CreateCompilation
("partial public enum E { }").VerifyDiagnostics(
Symbols\ErrorTypeSymbolTests.cs (5)
29
var compilation1 =
CreateCompilation
(source1, assemblyName: "91AB32B7-DDDF-4E50-87EF-4E8B0A664A41");
42
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 }, assemblyName: "91AB32B7-DDDF-4E50-87EF-4E8B0A664A42");
50
var compilation3 =
CreateCompilation
(source3, references: new[] { reference1, reference2 });
55
var compilation4 =
CreateCompilation
(source2);
61
var compilation5 =
CreateCompilation
(source5, references: new[] { reference2 });
Symbols\ExtendedPartialMethodsTests.cs (128)
29
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
39
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
52
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
71
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
87
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
128
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
138
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
151
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
170
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
186
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
265
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
275
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
288
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
305
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
322
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
339
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
355
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
367
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
380
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
390
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
403
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
422
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
439
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
456
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
512
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
538
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
564
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
586
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
608
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
629
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
642
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
654
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
669
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
692
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
713
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
742
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
765
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
791
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
812
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
839
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
867
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
894
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
911
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
920
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
937
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
964
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
985
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1006
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1023
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1040
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1049
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1066
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1092
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1258
var comp =
CreateCompilation
(text);
1282
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1338
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1364
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1387
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1416
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1440
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1449
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1466
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1488
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1513
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1535
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1644
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1678
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1714
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1735
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1755
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1782
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1812
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1856
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1888
var comp =
CreateCompilation
(text);
1913
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1939
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
1948
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1970
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2005
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2027
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2088
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2094
var comp2 =
CreateCompilation
(
2125
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2179
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2233
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2240
var comp2 =
CreateCompilation
(
2277
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2283
var comp2 =
CreateCompilation
(
2320
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2361
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2386
var comp1 =
CreateCompilation
(
2434
var comp1 =
CreateCompilation
(
2481
var comp1 =
CreateCompilation
(source1, assemblyName: "C");
2579
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2726
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2732
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2748
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2770
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2773
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2798
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2807
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2861
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2891
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2937
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3001
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3054
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3067
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3083
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3102
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3105
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3129
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3132
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3154
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3210
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3234
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3274
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3293
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3317
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3320
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3355
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3373
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3416
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3419
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3457
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3460
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3490
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\ExtensionMethodTests.cs (47)
203
var compilation =
CreateCompilation
(source);
224
var compilation =
CreateCompilation
(source);
257
var compilation =
CreateCompilation
(source);
430
var compilation =
CreateCompilation
(source);
458
var compilation =
CreateCompilation
(source);
674
var compilation =
CreateCompilation
(source);
751
var compilation =
CreateCompilation
(source);
778
var compilation =
CreateCompilation
(source);
840
var compilation =
CreateCompilation
(source);
1092
var compilation =
CreateCompilation
(source);
1138
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1199
var compilation =
CreateCompilation
(source);
1249
var compilation =
CreateCompilation
(source);
1337
var compilation =
CreateCompilation
(source);
1408
var compilation =
CreateCompilation
(source);
1440
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1445
compilation =
CreateCompilation
(source);
1481
var compilation =
CreateCompilation
(source);
1526
var compilation =
CreateCompilation
(source);
1574
var compilation =
CreateCompilation
(source);
1593
var compilation =
CreateCompilation
(source);
1616
var compilation =
CreateCompilation
(source);
1687
var compilation =
CreateCompilation
(source);
1723
var compilation =
CreateCompilation
(source);
1826
var compilation =
CreateCompilation
(source);
1859
var compilation =
CreateCompilation
(source);
1892
var compilation =
CreateCompilation
(source);
1952
var compilation =
CreateCompilation
(source);
2007
var compilation =
CreateCompilation
(source);
2045
var compilation =
CreateCompilation
(source);
2188
var compilation =
CreateCompilation
(source);
2522
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
2584
var comp =
CreateCompilation
(@"
2616
CreateCompilation
(text).GetDiagnostics();
2825
var compilation1 =
CreateCompilation
(source1);
3135
var comp =
CreateCompilation
(src1);
3253
var compilation =
CreateCompilation
(source2, new[] { reference1 });
3279
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3324
var compilation3 =
CreateCompilation
(source3, assemblyName: "C", references: new[] { reference1, reference2 });
3423
var compilation =
CreateCompilation
(source, references: new[] { FSharpTestLibraryRef });
3772
var compilation =
CreateCompilation
(source);
3860
var compilation =
CreateCompilation
(source);
3903
var compilation =
CreateCompilation
(source);
3952
var compilation =
CreateCompilation
(source);
3998
var compilation =
CreateCompilation
(source);
4124
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
4157
var comp =
CreateCompilation
(source);
Symbols\FunctionPointerTypeSymbolTests.cs (11)
23
return
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: targetFramework);
1512
var comp =
CreateCompilation
("", references: new[] { CompileIL(il) });
1528
var comp = (Compilation)
CreateCompilation
("");
1551
var comp = (Compilation)
CreateCompilation
("");
1563
var comp = (Compilation)
CreateCompilation
(@"class C {}");
1579
var comp = (Compilation)
CreateCompilation
("");
1595
var comp = (Compilation)
CreateCompilation
("");
1612
var comp = (Compilation)
CreateCompilation
("");
1635
var comp = (Compilation)
CreateCompilation
("");
1647
var comp = (Compilation)
CreateCompilation
("");
1958
var mainComp =
CreateCompilation
("");
Symbols\GenericConstraintConversionTests.cs (19)
57
CreateCompilation
(source).VerifyDiagnostics(
93
CreateCompilation
(source).VerifyDiagnostics(
139
CreateCompilation
(source).VerifyDiagnostics(
214
CreateCompilation
(source).VerifyDiagnostics(
286
CreateCompilation
(source).VerifyDiagnostics(
333
CreateCompilation
(source).VerifyDiagnostics(
414
CreateCompilation
(source).VerifyDiagnostics(
534
CreateCompilation
(source).VerifyDiagnostics(
607
CreateCompilation
(source).VerifyDiagnostics(
628
CreateCompilation
(source).VerifyDiagnostics(
651
CreateCompilation
(source).VerifyDiagnostics(
691
CreateCompilation
(source).VerifyDiagnostics(
730
CreateCompilation
(source).VerifyDiagnostics();
762
CreateCompilation
(source).VerifyDiagnostics();
790
CreateCompilation
(source).VerifyDiagnostics(
818
CreateCompilation
(source).VerifyDiagnostics(
970
CreateCompilation
(source).VerifyDiagnostics(
1005
CreateCompilation
(source).VerifyDiagnostics(
1053
CreateCompilation
(source).VerifyDiagnostics(
Symbols\GenericConstraintTests.cs (110)
243
CreateCompilation
(source).VerifyDiagnostics(
264
CreateCompilation
(source).VerifyDiagnostics(
290
var comp1 =
CreateCompilation
(metadatasrc);
291
var comp2 =
CreateCompilation
(source, new MetadataReference[] { comp1.EmitToImageReference() });
313
CreateCompilation
(source).VerifyDiagnostics(
340
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
386
CreateCompilation
(source).VerifyDiagnostics();
477
CreateCompilation
(source).VerifyDiagnostics(
519
CreateCompilation
(source).VerifyDiagnostics(
548
CreateCompilation
(source).VerifyDiagnostics(
605
CreateCompilation
(source).VerifyDiagnostics(
681
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
744
CreateCompilation
(source).VerifyDiagnostics(
785
CreateCompilation
(text).VerifyDiagnostics(
810
CreateCompilation
(text).VerifyDiagnostics(
859
CreateCompilation
(text).VerifyDiagnostics(
894
CreateCompilation
(text).VerifyDiagnostics(
911
CreateCompilation
(text).VerifyDiagnostics(
933
CreateCompilation
(source).VerifyDiagnostics(
957
CreateCompilation
(source).VerifyDiagnostics(
991
CreateCompilation
(source).VerifyDiagnostics(
1012
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1389
CreateCompilation
(source).VerifyDiagnostics(
1780
CreateCompilation
(source).VerifyDiagnostics(
1816
CreateCompilation
(source).VerifyDiagnostics(
1863
CreateCompilation
(source).VerifyDiagnostics(
1931
CreateCompilation
(source).VerifyDiagnostics(
1987
CreateCompilation
(source).VerifyDiagnostics(
2083
CreateCompilation
(source).VerifyDiagnostics(
2110
CreateCompilation
(source).VerifyDiagnostics(
2135
CreateCompilation
(source).VerifyDiagnostics(
2172
CreateCompilation
(source).VerifyDiagnostics(
2222
CreateCompilation
(source).VerifyDiagnostics(
2264
CreateCompilation
(source).VerifyDiagnostics(
2303
CreateCompilation
(source).VerifyDiagnostics(
2341
CreateCompilation
(source).VerifyDiagnostics(
2369
CreateCompilation
(source).VerifyDiagnostics(
2414
CreateCompilation
(source).VerifyDiagnostics(
2499
CreateCompilation
(source).VerifyDiagnostics();
2666
CreateCompilation
(source).VerifyDiagnostics(
2889
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-0788-249e00d004ea");
2934
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation1.EmitToArray()) });
2965
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation2.EmitToArray()) });
3072
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-8870-249e00ae400d");
3081
var compilation2 =
CreateCompilation
(source2, assemblyName: "d03a3229-eb22-4682-88df-77efaa348e3b", references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
3097
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
3195
CreateCompilation
(source).VerifyDiagnostics(
3228
var comp =
CreateCompilation
(source);
3258
CreateCompilation
(source).VerifyDiagnostics(
3300
CreateCompilation
(source).VerifyDiagnostics(
4333
CreateCompilation
(source).VerifyDiagnostics();
4364
CreateCompilation
(source).VerifyDiagnostics(
4383
CreateCompilation
(source).VerifyDiagnostics();
4407
CreateCompilation
(source).VerifyDiagnostics();
4423
CreateCompilation
(source).VerifyDiagnostics(
4450
CreateCompilation
(source).VerifyDiagnostics(
4480
CreateCompilation
(source).VerifyDiagnostics();
5059
CreateCompilation
(source).VerifyDiagnostics(
5181
CreateCompilation
(source).VerifyDiagnostics(
5587
var compilation =
CreateCompilation
(source);
5633
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
5657
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5809
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
5833
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5841
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
5857
var compilation =
CreateCompilation
(source);
5874
CreateCompilation
(source).VerifyDiagnostics(
5910
CreateCompilation
(source).VerifyDiagnostics();
5945
CreateCompilation
(source).VerifyDiagnostics(
5976
CreateCompilation
(source).VerifyDiagnostics(
6060
CreateCompilation
(source).VerifyDiagnostics(
6084
CreateCompilation
(source).VerifyDiagnostics(
6114
CreateCompilation
(source).VerifyDiagnostics(
6146
CreateCompilation
(source).VerifyDiagnostics(
6170
CreateCompilation
(source).VerifyDiagnostics(
6194
CreateCompilation
(source).VerifyDiagnostics();
6234
CreateCompilation
(source).VerifyDiagnostics(
6270
CreateCompilation
(source).VerifyDiagnostics(
6313
CreateCompilation
(source).VerifyDiagnostics();
6332
var comp =
CreateCompilation
(text);
6353
var comp =
CreateCompilation
(text);
6416
CreateCompilation
(source).VerifyDiagnostics(
6432
var compilation1 =
CreateCompilation
(source1, assemblyName: "e521fe98-c881-45cf-8870-249e00ae400d");
6439
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
6443
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
6475
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6477
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6498
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6500
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6525
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6540
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6714
CreateCompilation
(source).VerifyDiagnostics(
6769
CreateCompilation
(source).VerifyDiagnostics(
6804
CreateCompilation
(source).VerifyDiagnostics(
6839
var compilation1 =
CreateCompilation
(source1);
6860
var compilation2 =
CreateCompilation
(
6967
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
6974
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7005
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
7011
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7042
CreateCompilation
(source).VerifyDiagnostics(
7076
CreateCompilation
(source).VerifyDiagnostics(
7138
CreateCompilation
(source).VerifyDiagnostics(
7197
CreateCompilation
(source).VerifyDiagnostics(
7252
CreateCompilation
(source).VerifyDiagnostics(
7296
var comp =
CreateCompilation
(@"System.Console.WriteLine(typeof(C.D).FullName);",
7357
var metadataComp =
CreateCompilation
(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.NetStandard20);
7360
var comp =
CreateCompilation
(@"
7388
var comp =
CreateCompilation
(src);
7409
var comp =
CreateCompilation
(src);
Symbols\ImplicitClassTests.cs (2)
53
var c =
CreateCompilation
(@"
96
var comp =
CreateCompilation
(@"
Symbols\IndexedPropertyTests.cs (18)
588
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
861
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1147
CreateCompilation
(source).VerifyDiagnostics(
1186
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1222
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1265
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1329
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1363
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1405
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1492
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1550
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1756
var compilation4 =
CreateCompilation
(source4, new[] { reference1, reference2 });
1873
var compilation3 =
CreateCompilation
(source3, new[] { reference1 });
1908
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2057
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2110
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2149
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2188
var compilation3 =
CreateCompilation
(source3, new[] { reference1, reference2 });
Symbols\IndexerTests.cs (61)
239
CreateCompilation
(source).VerifyDiagnostics(
273
var compilation =
CreateCompilation
(source);
313
var compilation =
CreateCompilation
(text);
846
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
888
CreateCompilation
(source).VerifyDiagnostics(
913
CreateCompilation
(source).VerifyDiagnostics(
933
CreateCompilation
(source).VerifyDiagnostics(
956
CreateCompilation
(source).VerifyDiagnostics();
979
CreateCompilation
(source).VerifyDiagnostics();
1003
CreateCompilation
(source).VerifyDiagnostics(
1038
CreateCompilation
(source).VerifyDiagnostics(
1058
CreateCompilation
(source).VerifyDiagnostics(
1109
CreateCompilation
(source).VerifyDiagnostics(
1202
CreateCompilation
(source).VerifyDiagnostics();
1260
CreateCompilation
(source).VerifyDiagnostics(
1286
var comp =
CreateCompilation
(tree);
1320
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1351
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1367
var compilation =
CreateCompilation
(source,
1386
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1408
var compilation =
CreateCompilation
(source,
1432
var compilation =
CreateCompilation
(source);
1457
var compilation =
CreateCompilation
(source);
1486
CreateCompilation
(source).VerifyDiagnostics(
1512
var compilation =
CreateCompilation
(source);
1538
CreateCompilation
(source).VerifyDiagnostics();
1564
var compilation =
CreateCompilation
(source);
1593
var compilation =
CreateCompilation
(source);
1624
var compilation =
CreateCompilation
(source);
1656
var compilation =
CreateCompilation
(source);
1685
var compilation =
CreateCompilation
(source);
1714
CreateCompilation
(source).VerifyDiagnostics(
1751
CreateCompilation
(source).VerifyDiagnostics(
1788
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1837
CreateCompilation
(source).VerifyDiagnostics(
1870
CreateCompilation
(source).VerifyDiagnostics(
1903
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1955
CreateCompilation
(source).VerifyDiagnostics(
2004
CreateCompilation
(source).VerifyDiagnostics(
2047
CreateCompilation
(source).VerifyDiagnostics(
2075
CreateCompilation
(source).VerifyDiagnostics(
2101
CreateCompilation
(source).VerifyDiagnostics(
2126
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2164
var compilation =
CreateCompilation
(source);
2195
var compilation =
CreateCompilation
(source);
2231
var comp =
CreateCompilation
(tree);
2272
var comp =
CreateCompilation
(tree);
2314
var comp =
CreateCompilation
(tree);
2352
var comp =
CreateCompilation
(tree);
2385
CreateCompilation
(source).VerifyDiagnostics(
2402
var comp =
CreateCompilation
(text);
2431
CreateCompilation
(text).VerifyDiagnostics();
2558
var compilation =
CreateCompilation
(new string[] { text1, text2 });
2562
compilation =
CreateCompilation
(new string[] { text2, text1 });
2610
var comp =
CreateCompilation
(tree);
2697
var comp =
CreateCompilation
(tree);
2860
var comp =
CreateCompilation
(source);
2885
CreateCompilation
(source).VerifyDiagnostics(
2906
CreateCompilation
(source).VerifyDiagnostics(
2926
CreateCompilation
(source).VerifyDiagnostics(
2952
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Symbols\InterfaceImplementationTests.cs (42)
48
var comp =
CreateCompilation
(text);
119
var comp =
CreateCompilation
(text);
175
var comp =
CreateCompilation
(text);
233
var comp1 =
CreateCompilation
(text1);
237
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
241
var comp =
CreateCompilation
(text3, refs, assemblyName: "Test3");
305
var comp1 =
CreateCompilation
(text1);
309
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
313
var comp =
CreateCompilation
(text3, refs, assemblyName: "Test3");
371
var comp =
CreateCompilation
(text);
419
var comp1 =
CreateCompilation
(text1);
423
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
427
var comp =
CreateCompilation
(text3, refs, assemblyName: "Test3");
504
var comp =
CreateCompilation
(text);
572
var comp =
CreateCompilation
(text);
622
var comp =
CreateCompilation
(text);
673
var comp =
CreateCompilation
(text);
734
var comp =
CreateCompilation
(text);
824
var comp =
CreateCompilation
(text);
906
var comp =
CreateCompilation
(text);
967
var comp1 =
CreateCompilation
(text1,
972
var comp2 =
CreateCompilation
(text2,
1054
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
1108
var comp =
CreateCompilation
(text, new[] { ilAssemblyReference });
1126
var comp =
CreateCompilation
(text, new[] { ilAssemblyReference });
1147
var comp =
CreateCompilation
(text);
1171
CreateCompilation
(text).VerifyDiagnostics();
1214
var comp =
CreateCompilation
(csharp);
1561
CreateCompilation
(text).VerifyDiagnostics(
1587
var comp =
CreateCompilation
(text);
1628
var comp =
CreateCompilation
(text);
1688
var comp =
CreateCompilation
(text);
1854
var comp =
CreateCompilation
(source);
1892
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "asm1");
2100
CreateCompilation
(source, new[] { ilRef }).VerifyDiagnostics(
2480
var comp =
CreateCompilation
(text);
2697
var comp =
CreateCompilation
(source0);
2700
comp =
CreateCompilation
(source1, references: new[] { ref0 });
2703
comp =
CreateCompilation
(new[] { source2, source3 }, references: new[] { ref0, ref1 }, options: TestOptions.ReleaseExe);
2730
var comp1 =
CreateCompilation
(text1);
2753
var comp0 =
CreateCompilation
(text0);
2755
var comp1 =
CreateCompilation
("", references: new[] { comp0.EmitToImageReference() });
Symbols\InterfaceOverriddenOrHiddenMembersTests.cs (43)
44
CreateCompilation
(source).VerifyDiagnostics(
88
CreateCompilation
(source).VerifyDiagnostics(
129
CreateCompilation
(source).VerifyDiagnostics(
167
CreateCompilation
(source).VerifyDiagnostics(
203
CreateCompilation
(source).VerifyDiagnostics(
238
CreateCompilation
(source).VerifyDiagnostics(
292
CreateCompilation
(source).VerifyDiagnostics(
330
CreateCompilation
(source).VerifyDiagnostics(
366
CreateCompilation
(source).VerifyDiagnostics(
402
CreateCompilation
(source).VerifyDiagnostics(
459
CreateCompilation
(source).VerifyDiagnostics(
497
CreateCompilation
(source).VerifyDiagnostics(
533
CreateCompilation
(source).VerifyDiagnostics(
569
CreateCompilation
(source).VerifyDiagnostics(
626
CreateCompilation
(source).VerifyDiagnostics(
667
CreateCompilation
(source).VerifyDiagnostics(
709
CreateCompilation
(source).VerifyDiagnostics(
751
CreateCompilation
(source).VerifyDiagnostics(
784
var comp =
CreateCompilation
(source);
824
CreateCompilation
(source).VerifyDiagnostics();
841
var comp =
CreateCompilation
(code).VerifyDiagnostics(
870
var comp =
CreateCompilation
(code).VerifyDiagnostics(
899
var comp =
CreateCompilation
(code).VerifyDiagnostics(
928
var comp =
CreateCompilation
(code).VerifyDiagnostics(
957
var comp =
CreateCompilation
(code).VerifyDiagnostics(
986
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1015
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1044
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1070
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1096
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1122
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1140
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1158
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1175
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1201
var comp =
CreateCompilation
(text).VerifyDiagnostics();
1220
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1246
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1272
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1296
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1317
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1337
var comp =
CreateCompilation
(code).VerifyDiagnostics();
1354
var comp =
CreateCompilation
(code).VerifyDiagnostics(
1374
var comp =
CreateCompilation
(code).VerifyDiagnostics(
Symbols\LocalFunctionTests.cs (13)
31
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
52
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
73
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
96
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
110
CreateCompilation
("""
133
CreateCompilation
("""
171
CreateCompilation
("""
197
CreateCompilation
("""
246
CreateCompilation
("""
283
CreateCompilation
("""
332
CreateCompilation
("""
370
CreateCompilation
("""
408
CreateCompilation
("""
Symbols\LookupSymbolsInfoTests.cs (1)
91
var compilation =
CreateCompilation
(source);
Symbols\Metadata\MetadataMemberTests.cs (12)
151
var compilation =
CreateCompilation
(text);
298
var compilation =
CreateCompilation
(text);
343
var compilation =
CreateCompilation
(text);
394
var compilation =
CreateCompilation
(text);
619
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
629
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
659
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
670
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
731
var compilation0 =
CreateCompilation
(source);
734
var compilation =
CreateCompilation
("", options: options, references: new[] { compilation0.EmitToImageReference() });
794
var compilation0 =
CreateCompilation
(source);
796
var compilation =
CreateCompilation
("", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal), references: new[] { compilation0.EmitToImageReference() });
Symbols\Metadata\MetadataTypeTests.cs (2)
167
var compilation =
CreateCompilation
(text);
358
var comp =
CreateCompilation
(source: tree, references: new[] { modRef });
Symbols\Metadata\PE\BaseTypeResolution.cs (3)
337
var compilation1 =
CreateCompilation
(compilationDef1, new MetadataReference[] { crossRefLib }, TestOptions.ReleaseDll);
357
var compilation2 =
CreateCompilation
(compilationDef2, new MetadataReference[] { crossRefModule1, crossRefModule2 }, TestOptions.ReleaseDll);
369
var compilation3 =
CreateCompilation
(compilationDef2, new MetadataReference[] { crossRefModule2 }, TestOptions.ReleaseDll);
Symbols\Metadata\PE\DynamicTransformsTests.cs (1)
439
var c =
CreateCompilation
(csSource, new[] { dll });
Symbols\Metadata\PE\LoadInAttributeModifier.cs (34)
43
CreateCompilation
(@"
88
CreateCompilation
(@"
122
var c =
CreateCompilation
(@"
156
CreateCompilation
(@"
198
CreateCompilation
(@"
240
CreateCompilation
(@"
275
CreateCompilation
(@"
310
CreateCompilation
(@"
447
CreateCompilation
(@"
600
CreateCompilation
(@"
648
CreateCompilation
(@"
680
CreateCompilation
(@"
726
CreateCompilation
(@"
771
CreateCompilation
(@"
813
CreateCompilation
(@"
862
CreateCompilation
(@"
907
CreateCompilation
(@"
949
CreateCompilation
(@"
1006
CreateCompilation
(@"
1055
CreateCompilation
(@"
1101
CreateCompilation
(@"
1158
CreateCompilation
(@"
1207
CreateCompilation
(@"
1253
CreateCompilation
(@"
1522
CreateCompilation
(@"
1749
CreateCompilation
(@"
1951
CreateCompilation
(@"
2233
CreateCompilation
(@"
2460
CreateCompilation
(@"
2662
CreateCompilation
(@"
2722
CreateCompilation
(@"
2769
CreateCompilation
(@"
2808
CreateCompilation
(@"
2847
CreateCompilation
(@"
Symbols\Metadata\PE\LoadingAttributes.cs (1)
1292
var compilation =
CreateCompilation
(
Symbols\Metadata\PE\LoadingEvents.cs (4)
467
var reference =
CreateCompilation
(source).EmitToImageReference();
468
var comp =
CreateCompilation
("", new[] { reference }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
521
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
581
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Metadata\PE\LoadingFields.cs (1)
148
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Net60);
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
199
CreateCompilation
(source, new[] { mdRef }).VerifyDiagnostics(
Symbols\Metadata\PE\LoadingMetadataTokens.cs (2)
18
var compilation =
CreateCompilation
(
81
var compilation =
CreateCompilation
(
Symbols\Metadata\PE\LoadingMethods.cs (7)
772
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
785
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
829
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
1265
var c =
CreateCompilation
(source, new[] { longFormRef });
1289
var c =
CreateCompilation
(source, new[] { lib });
1309
var c =
CreateCompilation
(source, new[] { lib });
1372
var comp =
CreateCompilation
(source, references: references);
Symbols\Metadata\PE\NoPia.cs (6)
1382
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
1388
var compilationBase =
CreateCompilation
(sourceBase, new[] { referencePIASource }, TestOptions.DebugDll);
1403
var compilationDerived1 =
CreateCompilation
(sourceDerived, new[] { referencePIASource, referenceBaseSource }, TestOptions.DebugDll);
1406
var compilationDerived2 =
CreateCompilation
(sourceDerived, new[] { referencePIAImage, referenceBaseSource }, TestOptions.DebugDll);
1409
var compilationDerived3 =
CreateCompilation
(sourceDerived, new[] { referencePIASource, referenceBaseImage }, TestOptions.DebugDll);
1412
var compilationDerived4 =
CreateCompilation
(sourceDerived, new[] { referencePIAImage, referenceBaseImage }, TestOptions.DebugDll);
Symbols\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.cs (2)
554
var localType =
CreateCompilation
(assemblyName: "Dummy", source: localTypeSource,
557
var localConsumer =
CreateCompilation
(assemblyName: "Dummy", source: (string[])null,
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (6)
27
var localConsumer =
CreateCompilation
(assemblyName: "Dummy", source: (string[])null,
423
var localType1 =
CreateCompilation
(assemblyName: "Dummy1", source: localTypeSource1, references: null);
425
var localType2 =
CreateCompilation
(assemblyName: "Dummy2", source: localTypeSource2,
430
var localConsumer =
CreateCompilation
(source: "", assemblyName: "Dummy3",
468
var localType =
CreateCompilation
(assemblyName: "Dummy1", source: localTypeSource, references: null);
470
var localConsumer =
CreateCompilation
(assemblyName: "Dummy2", source: "",
Symbols\Metadata\PE\TypeForwarders.cs (47)
170
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2, ref3 });
233
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2 });
307
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2, ref3 });
406
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2, ref3, ref4 });
514
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2, ref3 });
570
var compilation =
CreateCompilation
(csharp, new[] { ref1, ref2 });
634
CreateCompilation
(csharp, new[] { ref1, ref2 }).VerifyDiagnostics();
703
CreateCompilation
(csharp, new[] { ref1, ref2 }).VerifyDiagnostics();
754
var comp3 =
CreateCompilation
(csharp, new[] { ref1, ref2 });
802
CreateCompilation
(csharp, new[] { ref1 }).VerifyDiagnostics(
858
CreateCompilation
(csharp, new[] { ref1 }).VerifyDiagnostics(
898
CreateCompilation
(csharp, new[] { ref1 }).VerifyDiagnostics(
911
CreateCompilation
(source).VerifyDiagnostics(
945
CreateCompilation
(csharp, new[] { ref1 }).VerifyDiagnostics(
981
CreateCompilation
(csharp, new[] { ref1 }).VerifyDiagnostics(
1051
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1145
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1209
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1462
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Asm1");
1466
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "Asm2");
1537
var bitsA =
CreateCompilation
(moduleA, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1541
var bitsB =
CreateCompilation
(moduleB, new[] { refA }, TestOptions.ReleaseExe, assemblyName: "test").EmitToArray();
1544
var bits0 =
CreateCompilation
(module0, options: TestOptions.ReleaseModule, assemblyName: "asm0").EmitToArray();
1548
var bits1 =
CreateCompilation
(module1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1").EmitToArray();
1552
var bits2 =
CreateCompilation
(module2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1611
var forwardedTypesCompilation =
CreateCompilation
(forwardedTypes, options: TestOptions.ReleaseDll, assemblyName: "ForwarderTargetAssembly");
1684
appCompilation =
CreateCompilation
(app, references: new MetadataReference[] { modRef2, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1715
appCompilation =
CreateCompilation
(app, references: new[] { modRef1 }, options: TestOptions.ReleaseDll);
1727
var comp0 =
CreateCompilation
(source0, options: TestOptions.ReleaseModule, assemblyName: "asm0");
1731
var comp1 =
CreateCompilation
(source1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1");
1738
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2");
1823
var cA_v1 =
CreateCompilation
(@"
1837
var cC_v1 =
CreateCompilation
(@"
1859
var cC_v2 =
CreateCompilation
(@"
1891
var context =
CreateCompilation
("", new[] { r1, r2, r3 }, options: TestOptions.ReleaseDll);
1918
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1922
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
1936
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
1945
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
1951
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
1954
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
1982
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1986
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
2000
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
2009
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
2015
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
2018
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
Symbols\MethodEqualityTests.cs (4)
33
var comp =
CreateCompilation
(text);
80
var comp =
CreateCompilation
(text);
140
var comp =
CreateCompilation
(text);
199
var comp = (Compilation)
CreateCompilation
(text);
Symbols\MissingSpecialMember.cs (4)
37
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
69
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
101
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1103
var comp =
CreateCompilation
(source);
Symbols\ModuleInitializers\AccessibilityTests.cs (5)
36
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
119
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
159
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
215
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
283
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\ModuleInitializers\GenericsTests.cs (4)
32
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
54
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
76
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
101
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (12)
39
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
62
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
830
var comp1 =
CreateCompilation
(s1, options: moduleOptions.WithModuleName("A"), parseOptions: s_parseOptions);
847
var comp2 =
CreateCompilation
(s2, options: moduleOptions.WithModuleName("B"), parseOptions: s_parseOptions, references: new[] { ref1 });
865
var comp3 =
CreateCompilation
(s3, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
881
var comp4 =
CreateCompilation
(s4, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
897
var comp5 =
CreateCompilation
(s5, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
913
var comp6 =
CreateCompilation
(s6, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
935
var comp7 =
CreateCompilation
(s7, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
959
var comp8 =
CreateCompilation
(s8, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
1098
var ref1 =
CreateCompilation
(source1).ToMetadataReference(aliases: ImmutableArray.Create("Alias1"));
1099
var ref2 =
CreateCompilation
(source1).ToMetadataReference(aliases: ImmutableArray.Create("Alias2"));
Symbols\ModuleInitializers\SignatureTests.cs (9)
33
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
56
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions, targetFramework: TargetFramework.NetCoreApp);
81
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
103
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
125
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
147
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
195
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
217
var compilation =
CreateCompilation
(source, targetFramework: StaticAbstractMembersInInterfacesTests._supportingFramework);
237
var compilation =
CreateCompilation
(source, targetFramework: StaticAbstractMembersInInterfacesTests._supportingFramework);
Symbols\ModuleInitializers\TargetsTests.cs (18)
36
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
67
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
89
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
116
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
138
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
165
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
187
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
214
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
241
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
276
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
306
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
341
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
371
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
406
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
431
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
458
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
480
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
507
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\NamespaceExtentTests.cs (2)
19
var c1 =
CreateCompilation
("");
20
var c2 =
CreateCompilation
("");
Symbols\OverriddenOrHiddenMembersTests.cs (102)
74
var comp =
CreateCompilation
(tree);
161
var comp =
CreateCompilation
(tree);
242
var comp =
CreateCompilation
(text);
333
var comp =
CreateCompilation
(text);
414
var comp =
CreateCompilation
(text);
465
var comp =
CreateCompilation
(text);
601
var comp =
CreateCompilation
(text);
663
var comp =
CreateCompilation
(text);
734
var comp1 =
CreateCompilation
(text1);
738
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
742
var comp =
CreateCompilation
(text3, refs, assemblyName: "Test3");
861
CreateCompilation
(text).VerifyDiagnostics(
897
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
1110
CreateCompilation
(text)
1135
var comp =
CreateCompilation
(text);
1153
var comp =
CreateCompilation
(text);
1182
var comp =
CreateCompilation
(
1219
var comp =
CreateCompilation
(
1255
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics();
1269
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1317
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1416
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1551
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics();
1565
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1615
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1819
CreateCompilation
(text).VerifyDiagnostics();
1861
var comp =
CreateCompilation
(text);
1887
var comp =
CreateCompilation
(text);
1912
var comp =
CreateCompilation
(text);
1940
var comp =
CreateCompilation
(text);
1968
var comp =
CreateCompilation
(text);
1996
var comp =
CreateCompilation
(text);
2025
var comp =
CreateCompilation
(text);
2092
var comp =
CreateCompilation
(text);
2113
CreateCompilation
(text).VerifyDiagnostics();
2119
CreateCompilation
(@"
2160
CreateCompilation
(text).VerifyDiagnostics(
2176
var c1 =
CreateCompilation
(@"
2190
var c2 =
CreateCompilation
(@"
2205
var c1 =
CreateCompilation
(@"
2231
var c2 =
CreateCompilation
(@"
2432
var comp =
CreateCompilation
(source);
2491
var comp =
CreateCompilation
(source);
2556
var comp =
CreateCompilation
(source);
2615
var comp =
CreateCompilation
(source);
2828
var comp =
CreateCompilation
(csharp, new[] { ref1 }, options: TestOptions.ReleaseExe);
2899
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2902
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
2905
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
2947
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2950
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
2953
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
2995
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2998
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3001
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3042
var comp1 =
CreateCompilation
(source1, assemblyName: "A");
3045
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B");
3048
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C");
3089
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3092
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3095
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3136
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3139
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3142
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3208
var comp1 =
CreateCompilation
(source1, assemblyName: "A");
3211
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B");
3216
var comp3 =
CreateCompilation
("", new[] { ref1, ref2, ilRef }, assemblyName: "Test");
3263
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3266
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3269
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3366
CreateCompilation
(source).VerifyDiagnostics(
3482
CreateCompilation
(source).VerifyDiagnostics(
3577
var comp =
CreateCompilation
(source);
3626
CreateCompilation
(source).VerifyDiagnostics();
3681
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3753
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3813
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3879
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3937
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3973
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4003
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4033
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4063
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4093
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4123
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4153
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4182
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4209
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4236
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4262
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4289
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4316
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4342
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4376
var comp =
CreateCompilation
(text).VerifyDiagnostics();
4421
var comp =
CreateCompilation
(text).VerifyDiagnostics(
4447
var comp =
CreateCompilation
(text).VerifyDiagnostics(
4473
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4497
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4518
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4538
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4555
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4578
var comp =
CreateCompilation
(code).VerifyDiagnostics(
Symbols\PartialPropertiesTests.cs (59)
178
var comp =
CreateCompilation
(source);
204
var comp =
CreateCompilation
(source);
226
var comp =
CreateCompilation
(source);
252
var comp =
CreateCompilation
(source);
276
var comp =
CreateCompilation
(source);
304
var comp =
CreateCompilation
(source);
329
var comp =
CreateCompilation
(source);
352
var comp =
CreateCompilation
(source);
389
var comp =
CreateCompilation
(source);
425
var comp =
CreateCompilation
(source);
450
var comp =
CreateCompilation
(source);
478
var comp =
CreateCompilation
(source);
497
var comp =
CreateCompilation
(source);
591
var comp =
CreateCompilation
(source);
610
var comp =
CreateCompilation
(source);
1218
var comp =
CreateCompilation
(source);
1250
var comp =
CreateCompilation
(source);
1358
var comp =
CreateCompilation
(source);
1385
var comp =
CreateCompilation
(source);
1449
var comp =
CreateCompilation
(source);
1481
var comp =
CreateCompilation
(source);
1510
var comp =
CreateCompilation
(source);
1553
var comp =
CreateCompilation
(source);
1586
var comp =
CreateCompilation
(source);
1624
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
1639
comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations));
1675
var comp =
CreateCompilation
(source);
1799
var comp =
CreateCompilation
(source);
1878
var comp =
CreateCompilation
(source);
1914
var comp =
CreateCompilation
(source);
1969
var comp =
CreateCompilation
(source);
2036
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2045
comp =
CreateCompilation
(source);
2075
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2180
var comp =
CreateCompilation
(source);
2260
var comp =
CreateCompilation
(source);
2412
var comp =
CreateCompilation
(source);
2445
var comp =
CreateCompilation
(source);
2479
var comp =
CreateCompilation
(source);
2549
var comp =
CreateCompilation
(source);
2590
var comp =
CreateCompilation
(source);
2623
var comp =
CreateCompilation
(source);
2675
var comp =
CreateCompilation
(source);
2719
var comp =
CreateCompilation
(source);
2758
var comp =
CreateCompilation
(source);
2780
var comp =
CreateCompilation
(source);
2799
var comp =
CreateCompilation
(source);
2874
var comp =
CreateCompilation
(source);
2950
var comp =
CreateCompilation
(source);
2985
var comp =
CreateCompilation
(source);
3016
var comp =
CreateCompilation
(source);
3045
var comp =
CreateCompilation
(source);
3100
var comp =
CreateCompilation
(source);
3160
var comp =
CreateCompilation
(source);
3188
var comp =
CreateCompilation
(source);
3221
var comp =
CreateCompilation
(source);
3254
var comp =
CreateCompilation
(source);
3281
var comp =
CreateCompilation
(source);
3319
var comp =
CreateCompilation
(source);
Symbols\RelaxedShiftOperatorTests.cs (10)
47
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
51
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
54
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
59
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
92
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
180
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
224
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
312
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
Symbols\RequiredMembersTests.cs (61)
23
=>
CreateCompilation
(new[] { source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute }, references, options: options, parseOptions: parseOptions, assemblyName: assemblyName, targetFramework: targetFramework);
511
comp =
CreateCompilation
(derived, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
554
var derivedComp =
CreateCompilation
(derived, references: new[] { baseReference });
557
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
599
comp =
CreateCompilation
(derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
652
var derivedComp =
CreateCompilation
(derived, new[] { baseReference });
655
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
731
comp =
CreateCompilation
(derived, new[] { baseReference }, assemblyName: "derived");
802
comp =
CreateCompilation
("#pragma warning disable CS0649 // Never assigned" + derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
1286
var comp =
CreateCompilation
(@"
1379
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1608
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1635
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1678
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1703
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1798
var comp =
CreateCompilation
(new[] { c }, references: new[] { ilRef }, targetFramework: TargetFramework.Net70);
2026
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2065
var derivedComp =
CreateCompilation
(derived, new[] { baseRef });
2068
comp =
CreateCompilation
(code, new[] { baseRef, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
2120
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2153
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2184
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2217
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2268
var derivedComp =
CreateCompilation
(derived, new[] { baseRef, originalCRef }, targetFramework: TargetFramework.Standard);
2276
var comp =
CreateCompilation
(code, new[] { baseRef, derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2312
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2352
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2387
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2426
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2458
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2540
var comp =
CreateCompilation
(code, new[] { baseRef }, targetFramework: TargetFramework.Net70);
2569
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2600
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2735
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
2766
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
2888
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3014
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3239
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3284
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3328
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3369
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3413
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3546
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3680
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3811
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
4058
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
4082
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
4125
var comp =
CreateCompilation
(new[] { code, RequiredMemberAttribute, CompilerFeatureRequiredAttribute });
4664
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4709
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4754
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4798
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4844
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5220
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5366
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5896
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
5975
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
6296
var script =
CreateCompilation
("""
6825
var comp =
CreateCompilation
(new[] { """
6898
var comp =
CreateCompilation
(new[] { """
7197
CreateCompilation
(source, targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
Symbols\Retargeting\NoPia.cs (55)
649
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
654
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
950
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1", targetFramework: TargetFramework.Standard);
953
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
958
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
1258
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1");
1283
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1308
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1313
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1335
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3");
1571
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1586
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1590
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1624
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1639
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1643
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1668
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1681
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1685
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1718
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1736
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1740
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1887
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
1934
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1937
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
2015
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2041
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2046
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2061
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2076
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2091
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2140
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2166
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2171
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2186
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2201
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2216
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2265
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2291
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2296
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2311
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2326
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2341
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2381
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2403
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
2408
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2423
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2473
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2499
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2504
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2519
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2534
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2549
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2586
var pia1 =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
2602
var multiModule =
CreateCompilation
("", options: TestOptions.ReleaseDll,
Symbols\Retargeting\RetargetCustomAttributes.cs (7)
338
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
346
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll);
347
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference() }, options: TestOptions.DebugDll);
368
var comp1_1 =
CreateCompilation
(source1_1, options: TestOptions.DebugDll, assemblyName: "Lib65048");
376
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_1.ToMetadataReference() }, options: TestOptions.DebugDll);
387
var comp1_2 =
CreateCompilation
(source1_2, options: TestOptions.DebugDll, assemblyName: "Lib65048");
389
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference(), comp1_2.ToMetadataReference() }, options: TestOptions.DebugDll);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (3)
451
var compilation1 =
CreateCompilation
(source1, references: new[] { ref1 });
459
var compilation2 =
CreateCompilation
(source2, references: new[] { compilation1.ToMetadataReference(), ref1, CreateEmptyCompilation("").ToMetadataReference() });
461
var compilation3 =
CreateCompilation
("", references: new[] { compilation1.ToMetadataReference(), compilation2.ToMetadataReference() });
Symbols\Retargeting\RetargetingTests.cs (16)
37
var compilation =
CreateCompilation
(source);
108
var compilation =
CreateCompilation
(source);
141
var compilation =
CreateCompilation
(source);
175
var compilation =
CreateCompilation
(source);
211
var compilation =
CreateCompilation
(source);
242
var compilation1_v1 =
CreateCompilation
(source1, assemblyName: "assembly1");
243
var compilation1_v2 =
CreateCompilation
(source1, assemblyName: "assembly1");
405
var comp =
CreateCompilation
(source);
462
var comp =
CreateCompilation
(source);
483
var comp =
CreateCompilation
(source);
544
var comp =
CreateCompilation
(source);
603
var comp =
CreateCompilation
(source);
666
var compilation =
CreateCompilation
(code).VerifyDiagnostics();
940
var consistent =
CreateCompilation
("public class C {}", assemblyName: "Con", targetFramework: TargetFramework.Standard);
971
var originalComp =
CreateCompilation
($@"
979
var retargetedComp =
CreateCompilation
("", references: new[] { originalComp.ToMetadataReference(), retargeted2Ref, consistentRef, ilRef },
Symbols\Source\AccessTests.cs (7)
28
var comp =
CreateCompilation
(tree);
45
var comp =
CreateCompilation
(tree);
71
var comp =
CreateCompilation
(tree);
94
var comp =
CreateCompilation
(tree);
123
var comp =
CreateCompilation
(tree);
145
var comp =
CreateCompilation
(tree);
168
var comp =
CreateCompilation
(tree);
Symbols\Source\BaseClassTests.cs (66)
77
var comp =
CreateCompilation
(text, new[] { C1, C2 });
156
var comp =
CreateCompilation
(text);
179
var comp =
CreateCompilation
(text);
203
var comp =
CreateCompilation
(text);
337
var comp =
CreateCompilation
(text);
365
var comp =
CreateCompilation
(text);
392
var comp =
CreateCompilation
(text);
433
var comp =
CreateCompilation
(text);
697
CreateCompilation
(text).VerifyDiagnostics(
710
CreateCompilation
(text).VerifyDiagnostics(
727
CreateCompilation
(text).VerifyDiagnostics(
742
CreateCompilation
(text).VerifyDiagnostics();
755
CreateCompilation
(text).VerifyDiagnostics();
771
CreateCompilation
(text).VerifyDiagnostics();
787
CreateCompilation
(text).VerifyDiagnostics(
806
CreateCompilation
(text).VerifyDiagnostics();
824
CreateCompilation
(text).VerifyDiagnostics();
839
CreateCompilation
(text).VerifyDiagnostics(
859
CreateCompilation
(text).VerifyDiagnostics();
880
CreateCompilation
(text).VerifyDiagnostics();
897
CreateCompilation
(text).VerifyDiagnostics(
916
CreateCompilation
(text).VerifyDiagnostics(
945
CreateCompilation
(text).VerifyDiagnostics(
976
CreateCompilation
(text).VerifyDiagnostics(
993
var comp =
CreateCompilation
(text, new[] { C1, C2 });
1013
var comp =
CreateCompilation
(text, new[] { ClassAv1 }, assemblyName: "ClassB");
1031
var comp2 =
CreateCompilation
(text, new MetadataReference[] { ClassAv2, new CSharpCompilationReference(comp) });
1064
var comp =
CreateCompilation
(text, new[]
1087
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1127
var comp =
CreateCompilation
(text, new[] { ClassAv2 }, assemblyName: "ClassB");
1156
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1180
var comp =
CreateCompilation
(text, new MetadataReference[]
1213
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1409
var comp =
CreateCompilation
(tree);
1425
var comp =
CreateCompilation
(tree);
1439
var comp =
CreateCompilation
(Parse(text));
1464
var comp =
CreateCompilation
(Parse(text));
1495
var comp =
CreateCompilation
(Parse(text));
1521
var comp =
CreateCompilation
(text);
1537
var comp =
CreateCompilation
(text);
1560
var comp =
CreateCompilation
(text);
1613
CSharpCompilation c1 =
CreateCompilation
(textA);
1621
c2 =
CreateCompilation
(textB, new[] { MetadataReference.CreateFromImage(metadata1) });
1648
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1840
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1872
var comp =
CreateCompilation
(Parse(text));
1894
var metadataRef =
CreateCompilation
(source).EmitToImageReference(embedInteropTypes: true);
1896
var comp =
CreateCompilation
("", new[] { metadataRef });
1915
var compilation =
CreateCompilation
(source);
1930
var compilation =
CreateCompilation
(source);
1947
var compilation =
CreateCompilation
(source);
1970
var compilation =
CreateCompilation
(source);
2006
var compilation =
CreateCompilation
(source);
2059
var comp =
CreateCompilation
(text);
2093
var comp =
CreateCompilation
(text);
2131
var comp =
CreateCompilation
(text);
2164
var comp =
CreateCompilation
(text);
2197
var comp =
CreateCompilation
(text);
2230
var comp =
CreateCompilation
(text);
2256
var comp =
CreateCompilation
(text);
2281
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
2318
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular12);
2339
comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
2369
var comp =
CreateCompilation
(source);
2387
var comp =
CreateCompilation
(source);
2404
var comp =
CreateCompilation
(source);
Symbols\Source\ClsComplianceTests.cs (139)
51
CreateCompilation
(source).VerifyDiagnostics(
124
CreateCompilation
(source).VerifyDiagnostics(
208
CreateCompilation
(source).VerifyDiagnostics(
282
CreateCompilation
(source).VerifyDiagnostics(
331
CreateCompilation
(source).VerifyDiagnostics();
363
CreateCompilation
(source).VerifyDiagnostics(
397
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
405
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
442
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
495
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", parseOptions: TestOptions.Regular11).EmitToImageReference();
496
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", parseOptions: TestOptions.Regular11).EmitToImageReference();
497
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", parseOptions: TestOptions.Regular11).EmitToImageReference();
499
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
561
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
562
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
563
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
565
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
582
lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1").EmitToImageReference();
583
lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2").EmitToImageReference();
584
lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3").EmitToImageReference();
586
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll).VerifyDiagnostics(
689
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
736
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(
762
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
810
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
840
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
849
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
879
CreateCompilation
(source).VerifyDiagnostics(
928
CreateCompilation
(source).VerifyDiagnostics(
963
CreateCompilation
(source).VerifyDiagnostics(
1024
CreateCompilation
(source).VerifyDiagnostics(
1068
CreateCompilation
(source).VerifyDiagnostics(
1122
CreateCompilation
(source).VerifyDiagnostics(
1181
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1228
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1271
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1322
CreateCompilation
(source).VerifyDiagnostics(
1364
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions)).VerifyDiagnostics(
1398
CreateCompilation
(source).VerifyDiagnostics(
1440
CreateCompilation
(source).VerifyDiagnostics(
1498
CreateCompilation
(source).VerifyDiagnostics(
1558
CreateCompilation
(source).VerifyDiagnostics(
1622
CreateCompilation
(source).VerifyDiagnostics(
1697
CreateCompilation
(source).VerifyDiagnostics(
1717
CreateCompilation
(source).VerifyDiagnostics(
1764
CreateCompilation
(source).VerifyDiagnostics(
1864
CreateCompilation
(source).VerifyDiagnostics(
1971
CreateCompilation
(source).VerifyDiagnostics(
2008
CreateCompilation
(source).VerifyDiagnostics(
2067
CreateCompilation
(source).VerifyDiagnostics(
2129
CreateCompilation
(source).VerifyDiagnostics();
2142
CreateCompilation
(source).VerifyDiagnostics(
2161
CreateCompilation
(source).VerifyDiagnostics(
2182
CreateCompilation
(source).VerifyDiagnostics(
2203
CreateCompilation
(source).VerifyDiagnostics(
2239
CreateCompilation
(source).VerifyDiagnostics(
2274
CreateCompilation
(source).VerifyDiagnostics(
2307
CreateCompilation
(source).VerifyDiagnostics();
2325
CreateCompilation
(source).VerifyDiagnostics(
2334
CreateCompilation
("[module:System.CLSCompliant(true)]").VerifyDiagnostics(
2339
CreateCompilation
("[module:System.CLSCompliant(false)]").VerifyDiagnostics(
2353
CreateCompilation
(string.Format(sourceTemplate, "true", "true")).VerifyDiagnostics();
2354
CreateCompilation
(string.Format(sourceTemplate, "false", "false")).VerifyDiagnostics();
2356
CreateCompilation
(string.Format(sourceTemplate, "true", "false")).VerifyDiagnostics(
2360
CreateCompilation
(string.Format(sourceTemplate, "false", "true")).VerifyDiagnostics(); // No warnings, since false.
2366
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2367
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2368
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2371
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2372
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2379
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2384
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2389
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2390
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2393
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2394
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2395
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2401
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2402
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2403
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2406
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2407
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2412
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2417
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2422
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2423
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2426
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2427
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2428
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2434
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2435
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2437
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2444
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2449
CreateCompilation
("", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2495
CreateCompilation
(source).VerifyDiagnostics(
2542
CreateCompilation
(source).VerifyDiagnostics(
2598
CreateCompilation
(source).VerifyDiagnostics(
2652
CreateCompilation
(source).VerifyDiagnostics(
2695
CreateCompilation
(source).VerifyDiagnostics(
2733
CreateCompilation
(source).VerifyDiagnostics(
2763
CreateCompilation
(source).VerifyDiagnostics();
2807
CreateCompilation
(source).VerifyDiagnostics(
2862
CreateCompilation
(source).VerifyDiagnostics(
2896
CreateCompilation
(source).VerifyDiagnostics();
2967
CreateCompilation
(string.Format(sourceTemplate, "")).VerifyDiagnostics(
2973
CreateCompilation
(string.Format(sourceTemplate, "void M();")).VerifyDiagnostics(
2980
CreateCompilation
(string.Format(sourceTemplate, "void m();")).VerifyDiagnostics(
2996
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3017
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3038
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3066
CreateCompilation
(source).VerifyDiagnostics();
3090
CreateCompilation
(source).VerifyDiagnostics();
3108
CreateCompilation
(source).VerifyDiagnostics();
3130
var moduleRef =
CreateCompilation
(moduleSource, assemblyName: "module").EmitToImageReference(expectedWarnings: new[]
3138
CreateCompilation
(source, new[] { moduleRef }).VerifyDiagnostics();
3218
CreateCompilation
(source).VerifyDiagnostics(
3244
CreateCompilation
(source).VerifyDiagnostics(
3270
CreateCompilation
(source).VerifyDiagnostics(
3288
var comp =
CreateCompilation
(source);
3366
CreateCompilation
(source).VerifyDiagnostics(
3420
CreateCompilation
(source).VerifyDiagnostics(
3459
var libRef =
CreateCompilation
(libSource).EmitToImageReference();
3460
var comp =
CreateCompilation
(source, new[] { libRef });
3499
var comp =
CreateCompilation
(new[] { tree1, tree2 });
3599
CreateCompilation
(source).VerifyDiagnostics(
3608
CreateCompilation
("[assembly:System.CLSCompliant(true)]" + source).VerifyDiagnostics(
3617
CreateCompilation
("[assembly:System.CLSCompliant(false)]" + source).VerifyDiagnostics();
3646
var libRef =
CreateCompilation
(libSource).EmitToImageReference();
3647
CreateCompilation
(source, new[] { libRef }).VerifyDiagnostics(
3709
CreateCompilation
(source, new[] { libRef }).VerifyDiagnostics(
3728
CreateCompilation
(source).VerifyDiagnostics(
3756
var libRef =
CreateCompilation
(libSource, assemblyName: "lib").EmitToImageReference();
3776
CreateCompilation
(source).VerifyDiagnostics(
3800
CreateCompilation
(source).VerifyDiagnostics(
3829
CreateCompilation
(source).VerifyDiagnostics(
3851
CreateCompilation
(source).VerifyDiagnostics(
3866
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseModule);
3879
var comp2 =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() }, TestOptions.ReleaseDll.WithConcurrentBuild(false));
3918
CreateCompilation
(source).VerifyDiagnostics();
Symbols\Source\CompletionTests.cs (1)
72
var comp =
CreateCompilation
(text, skipUsesIsNullable: true);
Symbols\Source\CustomModifierCopyTests.cs (15)
49
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
92
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
143
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
192
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
254
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
319
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
355
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
409
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
518
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
587
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
634
var comp =
CreateCompilation
(text);
690
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
723
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
764
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
805
var comp =
CreateCompilation
(text);
Symbols\Source\DeclaringSyntaxNodeTests.cs (13)
188
var comp = (Compilation)
CreateCompilation
(text);
232
var comp = (Compilation)
CreateCompilation
(text);
258
var comp =
CreateCompilation
(tree);
301
var comp =
CreateCompilation
(tree);
407
var comp = (Compilation)
CreateCompilation
(text);
447
var comp = (Compilation)
CreateCompilation
(text);
514
var comp = (Compilation)
CreateCompilation
(text);
603
var comp =
CreateCompilation
(tree);
638
var comp =
CreateCompilation
(tree);
663
var comp =
CreateCompilation
(tree);
689
var comp =
CreateCompilation
(tree);
718
var comp =
CreateCompilation
(tree);
736
var comp0 =
CreateCompilation
(new[] { source0, source1, source2, source3 });
Symbols\Source\DelegateTests.cs (25)
70
var comp =
CreateCompilation
(text);
87
var comp =
CreateCompilation
(text);
105
var comp =
CreateCompilation
(text);
126
var comp =
CreateCompilation
(text);
154
var comp =
CreateCompilation
(text);
201
var comp =
CreateCompilation
(text);
227
var comp =
CreateCompilation
(Parse(text));
256
CreateCompilation
(text).VerifyDiagnostics();
300
CreateCompilation
(text).VerifyDiagnostics(
321
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
325
CreateCompilation
(text).VerifyDiagnostics();
335
var comp =
CreateCompilation
(text);
379
CreateCompilation
(text).VerifyDiagnostics();
389
var comp =
CreateCompilation
(text);
420
var comp =
CreateCompilation
(text);
451
var comp =
CreateCompilation
(text);
485
var comp =
CreateCompilation
(text);
598
CreateCompilation
(text).VerifyDiagnostics(
701
CreateCompilation
(source).VerifyDiagnostics();
714
CreateCompilation
(source).VerifyDiagnostics(
732
var comp =
CreateCompilation
(source).VerifyDiagnostics();
755
var comp =
CreateCompilation
(source);
845
CreateCompilation
("partial public delegate void M();").VerifyDiagnostics(
857
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
866
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
Symbols\Source\EnumTests.cs (31)
80
var comp =
CreateCompilation
(text);
97
comp =
CreateCompilation
(text);
152
var comp =
CreateCompilation
(text);
162
var comp =
CreateCompilation
(text);
172
var comp =
CreateCompilation
(text);
184
var comp =
CreateCompilation
(text);
204
var comp =
CreateCompilation
(text);
215
var comp =
CreateCompilation
(text);
235
var comp =
CreateCompilation
(text);
270
var comp =
CreateCompilation
(text);
289
var comp1 =
CreateCompilation
(text);
327
var comp =
CreateCompilation
(text);
397
var comp =
CreateCompilation
(source);
426
comp =
CreateCompilation
(source);
469
var comp =
CreateCompilation
(text);
489
var comp =
CreateCompilation
(text);
568
var comp =
CreateCompilation
(source).VerifyDiagnostics(
601
var comp =
CreateCompilation
(source).VerifyDiagnostics(
693
var comp =
CreateCompilation
(text);
709
var comp =
CreateCompilation
(text);
722
var comp =
CreateCompilation
(text);
730
comp =
CreateCompilation
(text);
750
var comp =
CreateCompilation
(text);
781
var comp =
CreateCompilation
(text);
806
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
822
CreateCompilation
(text).VerifyDiagnostics(
857
CreateCompilation
(text).VerifyDiagnostics(
879
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
903
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
913
CreateCompilation
(text).VerifyDiagnostics(
992
var comp =
CreateCompilation
(text);
Symbols\Source\EventTests.cs (48)
40
var comp =
CreateCompilation
(text);
58
var comp =
CreateCompilation
(Parse(text));
77
var comp =
CreateCompilation
(text);
116
var comp =
CreateCompilation
(text);
154
var comp =
CreateCompilation
(text);
189
var comp =
CreateCompilation
(text);
234
CreateCompilation
(text).VerifyDiagnostics();
323
var comp =
CreateCompilation
(text);
415
var libComp =
CreateCompilation
(source: libText).VerifyDiagnostics();
460
var libComp =
CreateCompilation
(source: libText);
506
var libComp =
CreateCompilation
(libText);
535
var libComp =
CreateCompilation
(source: libText);
594
var libComp =
CreateCompilation
(source: libText);
626
var libComp =
CreateCompilation
(source: libText);
827
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
843
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
868
CreateCompilation
(text).VerifyDiagnostics(
909
CreateCompilation
(text).VerifyDiagnostics(
977
CreateCompilation
(text).VerifyDiagnostics(
1036
CreateCompilation
(text).VerifyDiagnostics(
1182
CreateCompilation
(text).VerifyDiagnostics(
1246
CreateCompilation
(text).VerifyDiagnostics(
1307
CreateCompilation
(text).VerifyDiagnostics(
1348
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1356
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1387
CreateCompilation
(source).VerifyDiagnostics(
1427
CreateCompilation
(source).VerifyDiagnostics(
1458
CreateCompilation
(text).VerifyDiagnostics(expected).VerifyEmitDiagnostics(expected);
1460
CreateCompilation
(text).VerifyEmitDiagnostics(expected);
1475
CreateCompilation
(text).VerifyDiagnostics(
1903
CreateCompilation
(cSharpSource).VerifyDiagnostics();
1928
CreateCompilation
(cSharpSource).VerifyDiagnostics();
1946
CreateCompilation
(cSharpSource).VerifyDiagnostics(
1976
CreateCompilation
(cSharpSource).VerifyDiagnostics(
2043
CreateCompilation
(cSharpSource).VerifyDiagnostics(
2066
CreateCompilation
(source).VerifyDiagnostics(
2117
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2127
CreateCompilation
("event this").VerifyDiagnostics(
2141
CreateCompilation
("event System.Action E<T>").VerifyDiagnostics(
2155
CreateCompilation
("event").VerifyDiagnostics(
2169
CreateCompilation
("event System.Action ").VerifyDiagnostics(
2183
CreateCompilation
("event System.Action System.IFormattable.").VerifyDiagnostics(
2252
var comp =
CreateCompilation
(source, new[] { CompileIL(il) });
2334
var comp =
CreateCompilation
(source, new[] { CompileIL(il) });
2377
var comp =
CreateCompilation
(source);
2411
var comp =
CreateCompilation
(source);
2457
CreateCompilation
(source).VerifyDiagnostics(
2483
CreateCompilation
(text).VerifyDiagnostics(
Symbols\Source\ExpressionBodiedMethodTests.cs (2)
59
var comp =
CreateCompilation
(@"
87
var comp =
CreateCompilation
(@"
Symbols\Source\ExpressionBodiedPropertyTests.cs (2)
22
var comp =
CreateCompilation
(@"
48
var comp =
CreateCompilation
(@"
Symbols\Source\ExternAliasTests.cs (20)
37
var comp =
CreateCompilation
(src, assemblyName: "Goo1", options: TestOptions.ReleaseDll);
62
var comp =
CreateCompilation
(src, assemblyName: "Goo2", options: TestOptions.ReleaseDll);
87
var comp =
CreateCompilation
(src);
139
var comp =
CreateCompilation
(src);
159
var comp =
CreateCompilation
(src);
187
var comp =
CreateCompilation
(src);
214
var comp =
CreateCompilation
(src, assemblyName: "Baz.dll", options: TestOptions.ReleaseDll);
229
comp =
CreateCompilation
(src, assemblyName: "Bar.dll", options: TestOptions.ReleaseDll);
243
comp =
CreateCompilation
(src);
265
var comp =
CreateCompilation
(src);
289
var comp =
CreateCompilation
(src);
316
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
330
comp =
CreateCompilation
(src);
351
var comp =
CreateCompilation
(tree);
384
var comp =
CreateCompilation
(text).AddReferences(Goo1);
395
var comp1 =
CreateCompilation
("public class C { }", assemblyName: "A1");
398
var comp2 =
CreateCompilation
("public class D { }", assemblyName: "A2");
402
var comp3 =
CreateCompilation
(Enumerable.Range(1, numFiles).Select(x => "extern alias X;").ToArray(), new[] { ref1, ref2 }, assemblyName: "A3.dll");
428
var comp3 =
CreateCompilation
(Enumerable.Range(1, numFiles).Select(x => "extern alias X;").ToArray(), assemblyName: "A3.dll");
471
var libRef = new CSharpCompilationReference(
CreateCompilation
(libSource, assemblyName: "lib"), aliases: ImmutableArray.Create("A"));
Symbols\Source\FieldTests.cs (15)
28
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
44
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
88
var comp =
CreateCompilation
(text);
175
var comp =
CreateCompilation
(text);
199
var comp =
CreateCompilation
(text);
234
var comp =
CreateCompilation
(Parse(text));
254
var comp =
CreateCompilation
(Parse(text));
407
CreateCompilation
(source).VerifyDiagnostics(
464
var compilation =
CreateCompilation
(source);
495
var comp =
CreateCompilation
(text);
515
var comp =
CreateCompilation
(text);
532
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
545
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
553
var comp =
CreateCompilation
(@"
574
var comp =
CreateCompilation
(@"
Symbols\Source\FileModifierTests.cs (146)
35
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
41
comp =
CreateCompilation
(source);
55
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
64
comp =
CreateCompilation
(source);
81
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
88
comp =
CreateCompilation
(source);
114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
126
comp =
CreateCompilation
(source);
148
var comp =
CreateCompilation
(source);
169
var comp =
CreateCompilation
(source);
189
var comp =
CreateCompilation
(source);
407
var comp =
CreateCompilation
(source);
467
var comp =
CreateCompilation
(new[] { source, source });
488
var comp =
CreateCompilation
(new[] { source, source });
509
var comp =
CreateCompilation
(new[] { source, source });
540
var comp =
CreateCompilation
(new[] { source1, source2 });
546
comp =
CreateCompilation
(new[] { source2, source1 });
564
var comp =
CreateCompilation
(new[] { source, source });
595
var comp =
CreateCompilation
(new[] { source1, source2 });
601
comp =
CreateCompilation
(new[] { source2, source1 });
619
var comp =
CreateCompilation
(new[] { source, source });
650
var comp =
CreateCompilation
(new[] { source1, source2 });
656
comp =
CreateCompilation
(new[] { source2, source1 });
674
var comp =
CreateCompilation
(new[] { source, source });
709
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
835
var comp1 =
CreateCompilation
(testSource1, options: options, assemblyName: "filetypes");
836
var comp2 =
CreateCompilation
(testSource2, options: options, assemblyName: "filetypes");
842
var comp3 =
CreateCompilation
(testSource2, options: options.WithSourceReferenceResolver(resolver), assemblyName: "filetypes");
877
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
880
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
921
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
924
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
959
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
962
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
993
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
996
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
1033
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file1.cs") });
1086
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularPreview, path: $"path/to/My{badChar}File.cs", encoding: Encoding.Default));
1113
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "\uD800.cs"));
1278
var comp =
CreateCompilation
(new[] { source1 + main, source2 });
1281
comp =
CreateCompilation
(new[] { source1, source2 + main });
1529
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1550
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1604
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1624
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1678
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1728
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1785
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") });
1791
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") });
1857
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") }, options: TestOptions.DebugExe);
1865
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") }, options: TestOptions.DebugExe);
2032
var comp =
CreateCompilation
(source);
2049
var comp =
CreateCompilation
(source);
2067
var comp =
CreateCompilation
((source, "file1.cs"));
2088
var comp =
CreateCompilation
(source);
2113
var comp =
CreateCompilation
(source);
2138
var comp =
CreateCompilation
(source);
2166
var comp =
CreateCompilation
(source);
2207
var comp =
CreateCompilation
(source);
2264
var comp =
CreateCompilation
(source);
2292
var comp =
CreateCompilation
(source);
2317
var comp =
CreateCompilation
(source);
2346
var comp =
CreateCompilation
(source);
2370
var comp =
CreateCompilation
(source);
2391
var comp =
CreateCompilation
(source);
2436
var comp =
CreateCompilation
(source);
2481
var comp =
CreateCompilation
(source);
2505
var comp =
CreateCompilation
(source);
2525
var comp =
CreateCompilation
(source);
2551
var comp =
CreateCompilation
(source);
2656
var comp =
CreateCompilation
(source);
2681
var comp =
CreateCompilation
((source, "Program.cs"));
2714
var comp =
CreateCompilation
(source);
2732
var comp =
CreateCompilation
(source);
2753
var comp =
CreateCompilation
(source);
2782
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2806
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2836
var comp =
CreateCompilation
(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70);
2866
var comp =
CreateCompilation
(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70);
2896
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2935
var comp =
CreateCompilation
(source);
2962
var comp =
CreateCompilation
(source);
2995
var comp =
CreateCompilation
(source);
3010
var comp =
CreateCompilation
(source);
3034
var comp =
CreateCompilation
(source);
3055
var comp =
CreateCompilation
(source);
3078
var comp =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") });
3110
var comp =
CreateCompilation
(source);
3130
var comp =
CreateCompilation
(source);
3189
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3219
var comp =
CreateCompilation
(source);
3257
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3325
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") }, options: TestOptions.DebugExe.WithUsings("NS"));
3354
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3393
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3428
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3602
var compilation =
CreateCompilation
(new[] { (source, "file.cs"), (main, "file2.cs") });
3637
var compilation =
CreateCompilation
(source);
3703
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3769
var compilation =
CreateCompilation
(source);
3810
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3853
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3880
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") }, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3970
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4011
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4035
var comp =
CreateCompilation
(source);
4059
var comp =
CreateCompilation
(new[]
4115
var comp =
CreateCompilation
(source1);
4137
var comp =
CreateCompilation
(source1);
4153
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4172
var comp =
CreateCompilation
(source1);
4184
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4207
var comp =
CreateCompilation
(source1);
4235
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4249
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4272
var ref1 =
CreateCompilation
(source1, assemblyName: "ref1");
4273
var ref2 =
CreateCompilation
(source1, assemblyName: "ref2");
4275
var comp =
CreateCompilation
("", references: new[]
4304
var comp =
CreateCompilation
(source1);
4330
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "path/to/SomeFile.cs"));
4355
var comp =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40);
4376
var comp2 =
CreateCompilation
(source2, references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib461);
4404
var comp =
CreateCompilation
(source);
4419
var referencingMetadataComp =
CreateCompilation
("", new[] { comp.ToMetadataReference() });
4428
var referencingImageComp =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
4449
var comp =
CreateCompilation
(source);
4472
var comp =
CreateCompilation
(source);
4502
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
4522
var comp1 =
CreateCompilation
(
4544
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
4561
var comp1 =
CreateCompilation
(
4590
var ex = Assert.Throws<ArgumentException>(() =>
CreateCompilation
(new[] { tree, tree }));
4666
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4705
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4736
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4908
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
4947
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
4998
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
5072
var comp =
CreateCompilation
(new[] { (source1, "File1.cs"), (source2, "File2.cs") });
5075
comp =
CreateCompilation
(source1 + source2);
5081
comp =
CreateCompilation
(source2 + source1);
5107
var comp1 =
CreateCompilation
(new[] { (source1, "File1.cs") });
5110
var comp2 =
CreateCompilation
(new[] { (source2, "File2.cs") }, references: new[] { useMetadataReference ? comp1.ToMetadataReference() : comp1.EmitToImageReference() });
5113
comp2 =
CreateCompilation
(new[] { (source2, "File2.cs") });
5116
comp1 =
CreateCompilation
(new[] { (source1, "File1.cs") }, references: new[] { useMetadataReference ? comp2.ToMetadataReference() : comp2.EmitToImageReference() });
5155
var comp =
CreateCompilation
(new[] { (source1, "File1.cs"), (source2, "File2.cs") });
Symbols\Source\LocalTests.cs (5)
32
var compilation =
CreateCompilation
(sourceCode);
86
var compilation =
CreateCompilation
(sourceCode);
111
var compilation =
CreateCompilation
(sourceCode);
136
var compilation =
CreateCompilation
(sourceCode);
159
var compilation =
CreateCompilation
(sourceCode);
Symbols\Source\MethodTests.cs (60)
33
var comp =
CreateCompilation
(text);
51
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
68
var comp =
CreateCompilation
(source);
113
var comp =
CreateCompilation
(text);
138
var comp =
CreateCompilation
(text);
165
var comp =
CreateCompilation
(text);
187
var comp =
CreateCompilation
(text);
209
var comp =
CreateCompilation
(text);
228
var comp =
CreateCompilation
(text);
256
var comp =
CreateCompilation
(text);
281
var comp =
CreateCompilation
(text);
302
var comp =
CreateCompilation
(text);
324
var comp =
CreateCompilation
(text);
340
var comp =
CreateCompilation
(text);
357
var comp =
CreateCompilation
(text);
425
var comp =
CreateCompilation
(text);
444
var comp =
CreateCompilation
(text);
508
var comp =
CreateCompilation
(new[] { text1, text2 });
954
var comp =
CreateCompilation
(new[] { text, text1, text2 });
1044
var comp1 =
CreateCompilation
(text);
1047
var comp2 =
CreateCompilation
(new string[] { text1 }, new List<MetadataReference>() { compRef1 }, assemblyName: "Test2");
1053
var comp =
CreateCompilation
(new string[] { text2 }, new List<MetadataReference>() { compRef1, compRef2 }, assemblyName: "Test3");
1162
var comp =
CreateCompilation
(new[] { text, text1, text2 });
1256
var comp =
CreateCompilation
(text);
1324
var comp =
CreateCompilation
(text);
1352
var comp =
CreateCompilation
(text);
1426
var comp =
CreateCompilation
(code);
1461
var comp =
CreateCompilation
(text);
1499
var comp =
CreateCompilation
(text);
1543
var comp =
CreateCompilation
(text);
1564
var comp =
CreateCompilation
(text);
1592
var comp =
CreateCompilation
(text);
1617
var comp =
CreateCompilation
(Parse(text));
1662
var comp =
CreateCompilation
(Parse(text));
1705
var comp =
CreateCompilation
(Parse(text));
1801
var comp =
CreateCompilation
(Parse(text));
1854
var comp =
CreateCompilation
(Parse(text));
1899
var comp =
CreateCompilation
(text);
1919
var comp =
CreateCompilation
(text);
1954
var comp =
CreateCompilation
(text);
1998
var comp =
CreateCompilation
(text);
2037
var comp =
CreateCompilation
(text);
2065
var comp =
CreateCompilation
(source);
2086
var comp =
CreateCompilation
(source);
2113
CreateCompilation
(source).VerifyDiagnostics(
2129
var comp =
CreateCompilation
(source);
2154
var comp =
CreateCompilation
(source);
2310
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2323
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2336
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2351
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2372
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2387
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
2405
var comp =
CreateCompilation
(source);
2421
var comp =
CreateCompilation
(source);
2440
var comp =
CreateCompilation
(source);
2459
var comp =
CreateCompilation
(source);
2484
var comp =
CreateCompilation
(source);
2534
var comp =
CreateCompilation
(source);
2565
var comp =
CreateCompilation
(source);
Symbols\Source\ModifierTests.cs (11)
47
var comp =
CreateCompilation
(text);
149
var comp =
CreateCompilation
(source);
178
CreateCompilation
(@"
188
CreateCompilation
(@"
201
CreateCompilation
(@"
214
CreateCompilation
(@"
229
CreateCompilation
(@"
241
CreateCompilation
(@"
273
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
307
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
328
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7)).VerifyDiagnostics(
Symbols\Source\NamedTypeTests.cs (14)
26
var compilation =
CreateCompilation
($"[System.CLSCompliant(false)] {type}");
35
var compilation =
CreateCompilation
($"[System.Runtime.InteropServices.TypeIdentifierAttribute] {type}");
44
var compilation =
CreateCompilation
($"[System.Runtime.InteropServices.TypeIdentifier] {type}");
53
var compilation =
CreateCompilation
(@$"
65
var compilation =
CreateCompilation
(@$"
77
var compilation =
CreateCompilation
(@$"
89
var compilation =
CreateCompilation
(@$"
101
var compilation =
CreateCompilation
(@$"
113
var compilation =
CreateCompilation
(new[]
127
var compilation =
CreateCompilation
(new[]
141
var compilation =
CreateCompilation
(new[]
155
var compilation =
CreateCompilation
(new[]
173
var compilation =
CreateCompilation
(new[]
191
var compilation =
CreateCompilation
(new[]
Symbols\Source\NullablePublicAPITests.cs (121)
42
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82
var comp =
CreateCompilation
(source, options: WithNullableEnable());
427
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
434
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
441
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
464
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
469
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
473
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
938
var comp =
CreateCompilation
(source);
995
var comp =
CreateCompilation
(source);
1035
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
1039
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
1043
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1050
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
1055
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
1059
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
1089
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1117
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1201
var comp = (Compilation)
CreateCompilation
(source, options: WithNullableEnable());
1253
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1325
var comp =
CreateCompilation
(source);
1354
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1434
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1466
var comp =
CreateCompilation
(source);
1506
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1559
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1613
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1653
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1739
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: featureFlagOff);
1750
comp =
CreateCompilation
(source, options: WithNullableEnable());
1817
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1929
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1979
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2040
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2083
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2126
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2208
var comp =
CreateCompilation
(source, options: WithNullableEnable().WithAllowUnsafe(true));
2238
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2276
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2320
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2361
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2406
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2446
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2494
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2623
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8.WithFeature("run-nullable-analysis", flagState));
2657
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2695
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2770
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2819
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2905
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2950
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3034
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3082
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3236
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3396
var comp =
CreateCompilation
(source);
3441
var comp =
CreateCompilation
(source);
3478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3530
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3677
var comp =
CreateCompilation
(@"
3712
var comp =
CreateCompilation
(@"
3759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3802
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3962
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4031
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
4104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4170
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4205
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4239
var comp =
CreateCompilation
(source);
4262
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4331
var comp =
CreateCompilation
(source);
4361
var comp =
CreateCompilation
(source);
4389
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4417
var comp =
CreateCompilation
(source);
4447
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4507
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4539
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4572
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4600
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4633
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4664
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4695
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4725
var comp =
CreateCompilation
(source);
4763
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4810
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4876
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4896
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4930
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithNullableContextOptions(NullableContextOptions.Enable));
4962
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Minimal);
4997
var comp =
CreateCompilation
(source, assemblyName: "comp", options: WithNullableEnable());
5017
var comp =
CreateCompilation
(@"
5062
var comp =
CreateCompilation
(@"string s = """" switch { _ => string.Empty };", options: WithNullableEnable(TestOptions.ReleaseExe));
5094
var comp =
CreateCompilation
(source);
5126
var comp =
CreateCompilation
(source);
5157
var comp =
CreateCompilation
(source);
5184
var comp =
CreateCompilation
(source, parseOptions: runNullableAnalysisAlways ? TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "always") : TestOptions.RegularPreview);
5222
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"));
5250
var comp =
CreateCompilation
(source);
5273
var comp =
CreateCompilation
(source);
5305
var comp =
CreateCompilation
(source);
5328
var comp =
CreateCompilation
(source);
5350
var comp =
CreateCompilation
(source);
5387
var comp =
CreateCompilation
(source);
5448
var comp =
CreateCompilation
(source);
5526
var comp =
CreateCompilation
(source);
Symbols\Source\PropertyTests.cs (40)
155
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
180
var comp =
CreateCompilation
(text);
208
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
233
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
265
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
280
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
294
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
312
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
328
var comp =
CreateCompilation
(text).VerifyDiagnostics(
357
var comp =
CreateCompilation
(text);
390
var comp =
CreateCompilation
(text);
448
var comp =
CreateCompilation
(Parse(text));
1031
CreateCompilation
(cSharpSource).VerifyDiagnostics(
1052
CreateCompilation
(cSharpSource).VerifyDiagnostics(
1596
CreateCompilation
(cSharpSource, references: new[] { ref0 }).VerifyDiagnostics(
1653
var comp =
CreateCompilation
(Parse(text));
1690
var comp =
CreateCompilation
(Parse(text));
1725
var comp =
CreateCompilation
(Parse(text));
1745
var comp =
CreateCompilation
(Parse(text));
1816
var comp =
CreateCompilation
(Parse(text));
1867
var compilation =
CreateCompilation
(
1922
var comp =
CreateCompilation
(text);
1952
var comp =
CreateCompilation
(text);
2048
var compilation3 =
CreateCompilation
(source3, new[] { reference1 });
2088
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2228
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2283
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2319
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2449
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2581
return
CreateCompilation
(source, new[] { s_propertiesDll }, options ?? TestOptions.ReleaseDll);
2822
var comp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseDll);
2828
comp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseWinMD);
2854
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics();
2855
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
2960
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular5);
2967
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
2991
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular5);
2997
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3012
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
3025
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
Symbols\Source\RecordTests.cs (4)
17
=> CSharpTestBase.
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1214
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1352
var comp2 =
CreateCompilation
(src2,
1468
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition },
Symbols\Source\SourcePlusMetadataTests.cs (10)
26
var comp =
CreateCompilation
(text);
43
var comp =
CreateCompilation
(text);
59
var comp =
CreateCompilation
(text);
80
var comp =
CreateCompilation
(text);
136
var compilation =
CreateCompilation
(new string[] { text1, text2, text3 });
230
var compilation =
CreateCompilation
(text);
249
var comp =
CreateCompilation
(text);
268
var comp1 =
CreateCompilation
(@"public class C { }",
273
var comp2 =
CreateCompilation
(@"public class B { public static C GetC() { return new C(); } }",
279
var comp3 =
CreateCompilation
(@"public class A { public static void Main() { object o = B.GetC(); } }",
Symbols\Source\TypeMapTests.cs (3)
111
var comp =
CreateCompilation
(tree);
135
var compilation =
CreateCompilation
(source);
177
var compilation =
CreateCompilation
(source);
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (1)
32
var comp =
CreateCompilation
(source, options: WithNullableEnable());
Symbols\Source\UsingAliasTests.cs (42)
32
var comp =
CreateCompilation
(tree);
89
var comp =
CreateCompilation
(tree);
149
var comp =
CreateCompilation
(tree);
204
var comp =
CreateCompilation
(tree);
269
var comp =
CreateCompilation
(tree);
296
var comp =
CreateCompilation
(tree);
342
var comp =
CreateCompilation
(tree);
383
var comp =
CreateCompilation
(tree);
404
var comp =
CreateCompilation
(tree);
423
var comp =
CreateCompilation
(tree);
442
var comp =
CreateCompilation
(tree);
461
var comp =
CreateCompilation
(tree);
480
var comp =
CreateCompilation
(tree);
501
var comp =
CreateCompilation
(tree);
522
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
543
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
563
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
582
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
602
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
626
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
649
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
666
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
687
var compilation =
CreateCompilation
(text);
731
var compilation =
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
773
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
778
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
803
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
830
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
844
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
875
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
890
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
891
CreateCompilation
(text).VerifyDiagnostics(expected);
907
CreateCompilation
(text).VerifyDiagnostics(
915
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
921
CreateCompilation
("""
945
CreateCompilation
("""
961
CreateCompilation
("""
977
CreateCompilation
("""
996
CreateCompilation
("""
1015
CreateCompilation
("""
1034
CreateCompilation
("""
1054
CreateCompilation
("""
Symbols\StaticAbstractMembersInInterfacesTests.cs (563)
68
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
309
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
507
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
588
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
708
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
814
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
899
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
972
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1012
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1049
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1105
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1126
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1143
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1180
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1217
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1258
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1319
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1370
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1425
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1483
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1610
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1668
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1995
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2106
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2358
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2474
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2809
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2922
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2992
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3075
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3178
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3292
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3530
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3635
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3722
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3800
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3917
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4013
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4058
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4103
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4205
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4268
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4331
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4451
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4496
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4541
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4637
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4700
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4763
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4865
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4907
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4940
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4973
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5009
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5047
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5067
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5109
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5151
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5184
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5226
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5298
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5334
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5370
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5385
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5411
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5426
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5488
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5556
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5595
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5639
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5700
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5777
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5826
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5870
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5909
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5951
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5978
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6023
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6068
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6092
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6116
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6162
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6207
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6228
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6260
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6335
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6384
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6415
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6467
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6485
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6523
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6598
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6614
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6641
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6716
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6750
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6782
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6857
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6879
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6911
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6986
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
7008
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
7040
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7068
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7098
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7128
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7239
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7333
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7438
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7544
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7638
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7737
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7854
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7974
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8071
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8168
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8249
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8338
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8390
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8424
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
8502
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8506
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
8517
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
8550
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8587
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8591
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
8602
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
8672
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8767
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8773
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
8906
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9116
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9127
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9180
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9184
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9209
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9272
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9314
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9335
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9397
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9401
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9412
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9450
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9454
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9465
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9525
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9605
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9680
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9802
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9806
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9817
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9864
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9868
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9879
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10077
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10291
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10411
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10534
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10540
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10645
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10882
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10989
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11063
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11202
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11267
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11367
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11478
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11704
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11710
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11834
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11997
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12068
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
12181
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12185
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12196
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12248
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12266
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12331
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12335
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12346
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12385
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12396
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12438
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12442
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12478
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12551
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12555
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12573
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12638
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12642
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12678
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12738
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12742
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12753
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12908
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13100
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13141
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13160
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13226
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13246
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13317
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13355
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13436
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13440
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13451
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13488
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13492
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13503
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13540
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13544
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13558
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13595
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13599
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13610
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13647
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13651
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13662
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13699
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13703
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13714
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13778
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13875
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13970
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14017
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14056
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14146
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14150
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14161
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14199
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14210
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14248
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14259
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14296
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14300
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14311
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14595
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14657
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14687
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14748
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14752
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14763
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14797
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14801
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14812
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14887
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14953
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
15013
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15075
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15099
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
15154
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15158
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15169
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15203
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15207
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15218
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15282
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15347
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15369
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll.WithAllowUnsafe(true),
15422
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15426
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15437
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15471
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15475
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15486
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15548
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15628
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15690
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15766
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15843
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15904
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15908
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15922
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15960
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15964
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15975
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
16007
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16011
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16022
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
16059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16121
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16177
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16194
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16472
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16658
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16675
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16746
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16761
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16836
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16839
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16855
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16918
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16921
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16937
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17000
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17003
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17019
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17070
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17073
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17090
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17145
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17148
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17164
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17232
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17235
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17251
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17322
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17325
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17348
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17428
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17431
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17454
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17606
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17749
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17885
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18028
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18137
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18284
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18437
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18623
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18771
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18775
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
18813
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
18899
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18903
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
18957
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19063
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19074
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19111
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19115
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19126
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19163
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19167
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19178
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19218
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19222
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19233
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19293
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19374
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19466
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19554
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19637
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19729
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19818
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19905
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19922
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19977
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19996
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20062
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20079
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20142
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20159
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20788
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21270
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21287
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21330
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21347
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21433
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21450
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21553
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21568
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21677
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21693
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21783
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21786
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21802
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21885
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21888
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21904
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22042
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22192
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22262
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22307
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22378
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22458
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22520
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22596
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22677
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22748
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22752
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22772
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22810
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22814
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22831
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22866
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22870
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22881
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22921
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23016
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23107
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23212
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24386
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24756
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24773
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24886
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24996
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24999
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25015
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25066
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25069
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25086
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25157
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25237
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25299
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25457
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25526
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25530
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25553
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25594
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25598
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25615
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25647
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25651
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25662
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25699
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25794
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25882
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25899
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26914
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27421
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27438
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27536
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27551
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27662
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27665
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
27681
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27732
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27735
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
27752
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27891
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28034
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28143
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28300
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28418
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28422
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28456
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28519
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28523
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28534
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28571
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28575
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28586
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28650
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28767
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28869
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28886
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29247
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29494
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29511
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29609
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29612
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
29628
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29715
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29718
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
29734
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29854
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
29921
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29986
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30140
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30146
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30212
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30325
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30398
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30516
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30520
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30531
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30574
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30578
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30589
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30631
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30635
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30660
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30717
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30721
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30732
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30783
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30869
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30987
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31038
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31082
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31196
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31287
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31341
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31390
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31463
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31521
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31574
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31615
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31699
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31711
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31771
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31784
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31834
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31869
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31903
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32085
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32136
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32180
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32214
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32309
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32344
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32385
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32427
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32473
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32515
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32551
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32593
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32615
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32655
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32693
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32725
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32763
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32795
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32833
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32865
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32903
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32935
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32973
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33005
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33043
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33065
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33096
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33132
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33163
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33199
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33230
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33266
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33297
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33325
CreateCompilation
("""
33428
CreateCompilation
("""
33443
CreateCompilation
("""
33484
CreateCompilation
("""
33530
CreateCompilation
("""
33655
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
33660
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
33665
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
33712
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
33717
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
33722
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
Symbols\SymbolDistinguisherTests.cs (48)
33
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata").EmitToImageReference();
34
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
77
var libRef = new CSharpCompilationReference(
CreateCompilation
(Parse(source, "file1.cs"), assemblyName: "Metadata"));
97
var libComp =
CreateCompilation
(tree, assemblyName: "Metadata");
99
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
117
var libRef = new CSharpCompilationReference(
CreateCompilation
(tree, assemblyName: "Metadata"));
137
var libComp =
CreateCompilation
(tree, assemblyName: "Metadata");
140
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
158
var libRef =
CreateCompilation
(source, assemblyName: "Metadata").EmitToImageReference();
159
var comp =
CreateCompilation
(source, new[] { libRef }, assemblyName: "Source");
182
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata").EmitToImageReference();
183
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
208
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata").EmitToImageReference();
209
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
233
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata", options: TestOptions.UnsafeReleaseDll).EmitToImageReference();
234
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source", options: TestOptions.UnsafeReleaseDll);
258
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata").EmitToImageReference();
259
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
280
var libRef =
CreateCompilation
(tree, assemblyName: "Metadata").EmitToImageReference();
281
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
297
var libRef =
CreateCompilation
("public class dynamic { }", assemblyName: "Metadata").EmitToImageReference();
298
var comp =
CreateCompilation
("", new[] { libRef }, assemblyName: "Source");
350
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
351
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
384
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
385
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
418
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
419
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
450
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
451
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
482
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
483
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
511
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
512
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
546
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
547
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
579
var libRef = new CSharpCompilationReference(
CreateCompilation
(Parse(libSource, "file.cs"), assemblyName: "Metadata"));
611
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
612
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
648
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
649
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
679
var libRef =
CreateCompilation
(libSource, assemblyName: "Metadata").EmitToImageReference();
680
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
697
var compilation =
CreateCompilation
(source);
718
var compilation =
CreateCompilation
(source);
738
var compilation1 =
CreateCompilation
(source1);
743
var compilation2 =
CreateCompilation
(source2, references: new[] { ref1 });
776
var comp0 =
CreateCompilation
(source0);
Symbols\SymbolEqualityTests.cs (25)
35
var comp =
CreateCompilation
(src, options: WithNullableEnable());
75
var comp =
CreateCompilation
(src, options: WithNullableEnable());
118
var comp =
CreateCompilation
(src, options: WithNullableEnable());
159
var comp =
CreateCompilation
(src, options: WithNullableEnable());
191
var comp =
CreateCompilation
(source);
222
var comp = (Compilation)
CreateCompilation
(source);
246
var comp = (Compilation)
CreateCompilation
(source);
282
var comp = (Compilation)
CreateCompilation
(source);
306
var comp = (Compilation)
CreateCompilation
(source);
329
var comp1 = (Compilation)
CreateCompilation
(source1);
373
var comp = (Compilation)
CreateCompilation
(source);
406
var comp =
CreateCompilation
(source);
444
var comp =
CreateCompilation
(source);
475
var comp =
CreateCompilation
(source);
518
var comp =
CreateCompilation
(source);
549
var comp =
CreateCompilation
(source);
585
var comp =
CreateCompilation
(source);
619
var comp =
CreateCompilation
(source);
668
var comp =
CreateCompilation
(source);
720
var comp =
CreateCompilation
(source);
770
var comp =
CreateCompilation
(source);
821
var comp =
CreateCompilation
(source);
878
var comp =
CreateCompilation
(source);
929
var comp =
CreateCompilation
(source);
958
var comp =
CreateCompilation
(source);
Symbols\SymbolErrorTests.cs (612)
100
var module1 =
CreateCompilation
(text1, options: TestOptions.ReleaseModule, assemblyName: name1);
102
var module2 =
CreateCompilation
(text2,
107
var comp =
CreateCompilation
(text,
143
var comp =
CreateCompilation
(text, references: new MetadataReference[] { ref2 }, assemblyName: "Test3");
169
CreateCompilation
(text).VerifyDiagnostics(
264
CreateCompilation
(source).VerifyDiagnostics(
350
CreateCompilation
(text).VerifyDiagnostics(
435
CreateCompilation
(text).VerifyDiagnostics(
513
var comp =
CreateCompilation
(text);
540
var comp =
CreateCompilation
(text);
576
CreateCompilation
(text).VerifyDiagnostics(
590
var comp =
CreateCompilation
(text);
741
CreateCompilation
(source).VerifyDiagnostics(
765
CreateCompilation
(source).VerifyDiagnostics(
799
CreateCompilation
(text).VerifyDiagnostics(
822
CreateCompilation
(text).VerifyDiagnostics(
839
CreateCompilation
(text, parseOptions: TestOptions.Regular,
848
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
876
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
898
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
920
CreateCompilation
(text).VerifyDiagnostics(
945
CreateCompilation
(text).VerifyDiagnostics(
967
CreateCompilation
(text).VerifyDiagnostics(
996
CreateCompilation
(text).VerifyDiagnostics(
1037
CreateCompilation
(text).VerifyDiagnostics(
1057
CreateCompilation
(text).VerifyDiagnostics(
1083
var comp =
CreateCompilation
(text);
1212
CreateCompilation
(
1228
CreateCompilation
(
1258
CreateCompilation
(
1336
CreateCompilation
(
1362
CreateCompilation
(
1383
CreateCompilation
(
1399
CreateCompilation
(
1422
CreateCompilation
(
1455
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1560
var comp =
CreateCompilation
(text);
1585
CreateCompilation
(
1625
CreateCompilation
(
1672
var comp =
CreateCompilation
(text);
1716
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1763
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1826
CreateCompilation
(text).VerifyDiagnostics(
1881
CreateCompilation
(text).VerifyDiagnostics(
1934
CreateCompilation
(text).VerifyDiagnostics(
1962
var compilation =
CreateCompilation
(
1979
var compilation =
CreateCompilation
(
2008
var compilation =
CreateCompilation
(
2044
var compilation =
CreateCompilation
(
2086
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2115
CreateCompilation
(tree).VerifyDiagnostics(
2152
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2252
CreateCompilation
(text).VerifyDiagnostics(
2319
var comp =
CreateCompilation
(text);
2388
CreateCompilation
(text).VerifyDiagnostics(
2415
CreateCompilation
(text).VerifyDiagnostics(
2491
CreateCompilation
(text).
2526
CreateCompilation
(text).
2541
var comp =
CreateCompilation
(Parse(text, options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)));
2663
var comp =
CreateCompilation
(text);
2701
CreateCompilation
(
2723
CreateCompilation
(
2738
CreateCompilation
(
2808
CreateCompilation
(text).VerifyDiagnostics(
2846
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2876
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2893
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2938
CreateCompilation
(text).VerifyDiagnostics(
2974
CreateCompilation
(text).VerifyDiagnostics(
3066
var comp =
CreateCompilation
(text);
3138
var comp =
CreateCompilation
(text).VerifyDiagnostics(
3158
var c =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithAllowUnsafe(false));
3178
CreateCompilation
(text).VerifyDiagnostics(
3238
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
3276
CreateCompilation
(text).VerifyDiagnostics(
3330
CreateCompilation
(text).VerifyDiagnostics(
3413
CreateCompilation
(text).VerifyDiagnostics(
3434
CreateCompilation
(text).VerifyDiagnostics(
3467
CreateCompilation
(text).
3481
CreateCompilation
(text).VerifyDiagnostics(
3500
CreateCompilation
(text).
3523
CreateCompilation
(text).
3548
CreateCompilation
(text).VerifyDiagnostics(
3623
var comp =
CreateCompilation
(text);
3752
var comp =
CreateCompilation
(text);
3777
var comp =
CreateCompilation
(text);
3855
CreateCompilation
(text).VerifyDiagnostics(
3915
CreateCompilation
(text).VerifyDiagnostics(
3938
var comp =
CreateCompilation
(text, new[] { ref1, ref2 });
3990
CreateCompilation
(text).VerifyDiagnostics(
4094
CreateCompilation
(text).VerifyDiagnostics(
4170
CreateCompilation
(text).VerifyDiagnostics(
4187
CreateCompilation
(text).VerifyDiagnostics(
4197
CreateCompilation
(
4221
CreateCompilation
(
4258
CreateCompilation
(text).VerifyDiagnostics(
4280
CreateCompilation
(text).VerifyDiagnostics(
4617
CreateCompilation
(text).VerifyDiagnostics(
4657
CreateCompilation
(text).VerifyDiagnostics(
4675
CreateCompilation
(text).VerifyDiagnostics(
4746
var comp =
CreateCompilation
(text);
4774
CreateCompilation
(source).VerifyDiagnostics(
4796
CreateCompilation
(source).VerifyDiagnostics(
4821
CreateCompilation
(source).VerifyDiagnostics(
4877
CreateCompilation
(text).VerifyDiagnostics(
4917
var compilation =
CreateCompilation
(text);
4987
CreateCompilation
(text).VerifyDiagnostics(
5002
CreateCompilation
(text).VerifyDiagnostics(
5025
CreateCompilation
(text).VerifyDiagnostics(
5109
CreateCompilation
(source).VerifyDiagnostics(
5169
CreateCompilation
(source).VerifyDiagnostics(
5238
CreateCompilation
(source).VerifyDiagnostics(
5276
CreateCompilation
(source).VerifyDiagnostics(
5325
CreateCompilation
(source).VerifyDiagnostics(
5368
CreateCompilation
(source).VerifyDiagnostics(
5401
var comp =
CreateCompilation
(text);
5430
CreateCompilation
(text).VerifyDiagnostics(
5451
CreateCompilation
(text).VerifyDiagnostics(
5494
var comp =
CreateCompilation
(text, new List<MetadataReference> { ref1, ref2 });
5516
comp =
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }, new List<MetadataReference> { ref1 });
5587
var comp =
CreateCompilation
(text,
5626
var comp =
CreateCompilation
(text,
5653
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5671
var comp =
CreateCompilation
(text,
5685
comp =
CreateCompilation
(text,
5714
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5733
var comp =
CreateCompilation
(text,
5746
comp =
CreateCompilation
(text,
5774
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5792
var comp =
CreateCompilation
(text,
5806
comp =
CreateCompilation
(text,
5835
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5854
var comp =
CreateCompilation
(text,
5867
comp =
CreateCompilation
(text,
5895
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5913
var comp =
CreateCompilation
(text,
5925
comp =
CreateCompilation
(text,
5952
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5970
var comp =
CreateCompilation
(text,
5983
comp =
CreateCompilation
(text,
6011
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6029
var comp =
CreateCompilation
(text,
6042
comp =
CreateCompilation
(text,
6070
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6088
var comp =
CreateCompilation
(text,
6101
comp =
CreateCompilation
(text,
6135
var comp =
CreateCompilation
(text,
6171
var comp =
CreateCompilation
(text,
6207
var comp =
CreateCompilation
(text,
6243
var comp =
CreateCompilation
(text,
6267
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6286
var comp =
CreateCompilation
(text,
6299
comp =
CreateCompilation
(text,
6327
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6346
var comp =
CreateCompilation
(text,
6360
comp =
CreateCompilation
(text,
6389
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6408
var comp =
CreateCompilation
(text,
6421
comp =
CreateCompilation
(text,
6449
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6468
var comp =
CreateCompilation
(text,
6482
comp =
CreateCompilation
(text,
6511
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6533
var comp =
CreateCompilation
(text,
6546
comp =
CreateCompilation
(text,
6574
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6596
var comp =
CreateCompilation
(text,
6609
comp =
CreateCompilation
(text,
6637
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6659
var comp =
CreateCompilation
(text,
6676
comp =
CreateCompilation
(text,
6708
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6730
var comp =
CreateCompilation
(text,
6743
comp =
CreateCompilation
(text,
6771
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6793
var comp =
CreateCompilation
(text,
6809
comp =
CreateCompilation
(text,
6840
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6862
var comp =
CreateCompilation
(text,
6879
comp =
CreateCompilation
(text,
6911
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
6927
var comp =
CreateCompilation
(text,
6944
comp =
CreateCompilation
(text,
6963
comp =
CreateCompilation
(text,
6996
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
7012
var comp =
CreateCompilation
(text,
7026
comp =
CreateCompilation
(text,
7042
comp =
CreateCompilation
(text,
7067
var ModuleA01Ref =
CreateCompilation
(ModuleA01, options: TestOptions.ReleaseModule, assemblyName: "ModuleA01").EmitToImageReference();
7075
var ModuleB01Ref =
CreateCompilation
(ModuleB01, options: TestOptions.ReleaseModule, assemblyName: "ModuleB01").EmitToImageReference();
7087
var comp =
CreateCompilation
(text,
7142
var compilation =
CreateCompilation
(source,
7229
var moduleRef2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "mod_1_2").EmitToImageReference();
7231
var compilation =
CreateCompilation
("",
7265
var forwardedTypes1 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes1");
7268
var forwardedTypes2 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes2");
7271
var forwardedTypesModRef =
CreateCompilation
(forwardedTypesSource,
7282
var module1_FT1_Ref =
CreateCompilation
(modSource,
7288
var module2_FT1_Ref =
CreateCompilation
(modSource,
7294
var module3_FT2_Ref =
CreateCompilation
(modSource,
7300
var module4_Ref =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<int>))]",
7306
var compilation =
CreateCompilation
(forwardedTypesSource,
7319
compilation =
CreateCompilation
(modSource,
7329
compilation =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<byte>))]",
7338
compilation =
CreateCompilation
(modSource,
7352
compilation =
CreateCompilation
(
7371
compilation =
CreateCompilation
("",
7385
compilation =
CreateCompilation
("",
7399
compilation =
CreateCompilation
("",
7409
compilation =
CreateCompilation
("",
7448
var comp =
CreateCompilation
(text);
7477
CreateCompilation
(source).VerifyDiagnostics(
7495
CreateCompilation
(text).VerifyDiagnostics(
7520
CreateCompilation
(source).VerifyDiagnostics(
7578
CreateCompilation
(source).VerifyDiagnostics(
7656
CreateCompilation
(source).VerifyDiagnostics(
7731
CreateCompilation
(source).VerifyDiagnostics(
7757
CreateCompilation
(source).VerifyDiagnostics(
7785
CreateCompilation
(source).VerifyDiagnostics(
7824
CreateCompilation
(source).VerifyDiagnostics(
7853
CreateCompilation
(source).VerifyDiagnostics(
7876
CreateCompilation
(source).VerifyDiagnostics(
7910
CreateCompilation
(source).VerifyDiagnostics(
7937
CreateCompilation
(source).VerifyDiagnostics(
7960
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
8020
CreateCompilation
(text).VerifyDiagnostics(
8060
var comp =
CreateCompilation
(text).VerifyDiagnostics(
8103
CreateCompilation
(text).VerifyDiagnostics(
8132
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8143
CreateCompilation
(text).VerifyDiagnostics(
8165
CreateCompilation
(source).VerifyDiagnostics(
8221
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8528
CreateCompilation
(text).VerifyDiagnostics(
8548
CreateCompilation
(source).VerifyDiagnostics(
8569
CreateCompilation
(source).VerifyDiagnostics(
8596
CreateCompilation
(source).VerifyDiagnostics(
8624
CreateCompilation
(text).VerifyDiagnostics(
8764
CreateCompilation
(text).VerifyDiagnostics(
8885
CreateCompilation
(text).VerifyDiagnostics(
8930
CreateCompilation
(text).VerifyDiagnostics(
8961
CreateCompilation
(text).VerifyDiagnostics(
8997
CreateCompilation
(text).VerifyDiagnostics(
9030
CreateCompilation
(text).VerifyDiagnostics(
9090
CreateCompilation
(text).VerifyDiagnostics(
9147
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
9180
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
9311
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9347
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9362
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9379
CreateCompilation
(text).VerifyDiagnostics(
9451
CreateCompilation
(text).VerifyDiagnostics(
9492
CreateCompilation
(text).VerifyDiagnostics(
9565
CreateCompilation
(text).VerifyDiagnostics(
9799
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9818
var comp =
CreateCompilation
(
9956
CreateCompilation
(source).VerifyDiagnostics();
9962
CreateCompilation
(
10009
CreateCompilation
(source).VerifyDiagnostics(
10048
CreateCompilation
(source).VerifyDiagnostics(
10098
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10149
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10236
var comp =
CreateCompilation
(text);
10290
var comp =
CreateCompilation
(text);
10409
CreateCompilation
(text).VerifyDiagnostics(
10503
var comp =
CreateCompilation
(text);
10533
var comp =
CreateCompilation
(text);
10556
var comp =
CreateCompilation
(text);
10581
var comp =
CreateCompilation
(text);
10605
var comp =
CreateCompilation
(text);
10636
var comp =
CreateCompilation
(text);
10661
var comp =
CreateCompilation
(text);
10680
var comp =
CreateCompilation
(text);
10698
var comp =
CreateCompilation
(text);
10717
var comp =
CreateCompilation
(text);
10764
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview);
10774
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
10790
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
10811
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
10862
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10891
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
10912
comp =
CreateCompilation
(text);
10944
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5));
10956
comp =
CreateCompilation
(text);
11012
var comp =
CreateCompilation
(text);
11052
CreateCompilation
(source).VerifyDiagnostics(
11076
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
11092
var comp =
CreateCompilation
(source);
11108
var comp =
CreateCompilation
(source);
11129
CreateCompilation
(text).VerifyDiagnostics(
11147
CreateCompilation
(text).VerifyDiagnostics(
11177
CreateCompilation
(text).VerifyDiagnostics(
11196
var comp =
CreateCompilation
(text);
11228
var compilation =
CreateCompilation
(text);
11300
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
11332
CreateCompilation
(text).VerifyDiagnostics(
11353
CreateCompilation
(text).VerifyDiagnostics(
11473
CreateCompilation
(source).VerifyDiagnostics(
11517
CreateCompilation
(text).VerifyDiagnostics(
11572
var comp =
CreateCompilation
(source);
11590
CreateCompilation
(text).VerifyDiagnostics(
11627
CreateCompilation
(text).VerifyDiagnostics(
11652
var compilation =
CreateCompilation
(text);
11709
CreateCompilation
(text).VerifyDiagnostics(
11733
CreateCompilation
(source).VerifyDiagnostics(
11788
CreateCompilation
(text).VerifyDiagnostics();
11801
CreateCompilation
(text).VerifyDiagnostics();
11975
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12022
var comp =
CreateCompilation
(text);
12068
CreateCompilation
(text).VerifyDiagnostics(
12136
CreateCompilation
(text).VerifyDiagnostics(
12215
CreateCompilation
(text).VerifyDiagnostics(
12274
CreateCompilation
(text).VerifyDiagnostics(
12297
CreateCompilation
(text).VerifyDiagnostics(
12321
var comp =
CreateCompilation
(text);
12372
CreateCompilation
(source).VerifyDiagnostics(
12410
CreateCompilation
(text).VerifyDiagnostics(
12451
CreateCompilation
(text).VerifyDiagnostics(
12481
CreateCompilation
(text).VerifyDiagnostics(
12506
var comp =
CreateCompilation
(text);
12571
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
12625
CreateCompilation
(text).VerifyDiagnostics(
12692
CreateCompilation
(source).VerifyDiagnostics(
12747
CreateCompilation
(text).VerifyDiagnostics(
12820
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12836
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12859
CreateCompilation
(source).VerifyDiagnostics(
12884
CreateCompilation
(source).VerifyDiagnostics(
12906
CreateCompilation
(source).VerifyDiagnostics(
12940
CreateCompilation
(source).VerifyDiagnostics(
12978
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
13015
var comp =
CreateCompilation
(text);
13148
CreateCompilation
(text).VerifyDiagnostics(
13178
CreateCompilation
(source).VerifyDiagnostics(
13196
CreateCompilation
(source).VerifyDiagnostics(
13227
CreateCompilation
(text).VerifyDiagnostics(
13252
CreateCompilation
(text).VerifyDiagnostics(
13283
CreateCompilation
(text).VerifyDiagnostics(
13373
var strictComp =
CreateCompilation
(text);
13378
var regularComp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13391
CreateCompilation
(source).VerifyDiagnostics(
13418
CreateCompilation
(text).VerifyDiagnostics(
13503
var comp =
CreateCompilation
(text);
13577
CreateCompilation
(source).VerifyDiagnostics(
13598
CreateCompilation
(source).VerifyDiagnostics(
13621
CreateCompilation
(source).VerifyDiagnostics(
13672
CreateCompilation
(source).VerifyDiagnostics(
13694
CreateCompilation
(source).VerifyDiagnostics(
13712
CreateCompilation
(source).VerifyDiagnostics(
13742
CreateCompilation
(source).VerifyDiagnostics(
13765
CreateCompilation
(csharp).VerifyDiagnostics(
13784
var comp =
CreateCompilation
(source);
13804
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13823
var comp1 =
CreateCompilation
(text1);
13826
var comp2 =
CreateCompilation
(text2, new MetadataReference[] { compRef1 });
13847
CreateCompilation
(csharp).VerifyDiagnostics(
13952
CreateCompilation
(csharp).VerifyDiagnostics(
13973
CreateCompilation
(csharp).VerifyDiagnostics();
14015
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
14091
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
14112
var comp =
CreateCompilation
(text);
14160
CreateCompilation
(text).VerifyDiagnostics(
14181
CreateCompilation
(text).VerifyDiagnostics(
14224
CreateCompilation
(text).VerifyDiagnostics(
14240
CreateCompilation
(text).VerifyDiagnostics(
14260
CreateCompilation
(text).VerifyDiagnostics(
14336
CreateCompilation
(source).VerifyDiagnostics(
14430
CreateCompilation
(source).VerifyDiagnostics(
14447
CreateCompilation
(text).VerifyDiagnostics(
14465
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14492
CreateCompilation
(text).VerifyDiagnostics(
14541
var comp =
CreateCompilation
(text);
14589
CreateCompilation
(text).VerifyDiagnostics(
14621
CreateCompilation
(text).VerifyDiagnostics();
14641
CreateCompilation
(text).VerifyDiagnostics(
14657
CreateCompilation
(source).VerifyDiagnostics(
14759
CreateCompilation
(text).VerifyDiagnostics(
14786
var compilation =
CreateCompilation
(text);
14798
var compilation =
CreateCompilation
(
14819
CreateCompilation
(
14845
var compilation =
CreateCompilation
(
14889
CreateCompilation
(
14910
var compilation =
CreateCompilation
(
14995
var compilation =
CreateCompilation
(source);
15033
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
15076
var comp =
CreateCompilation
(text);
15125
var comp =
CreateCompilation
(text);
15153
CreateCompilation
(text).VerifyDiagnostics(
15176
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
15428
CreateCompilation
(text).VerifyDiagnostics(
15455
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
15468
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15482
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15498
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15513
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15528
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15540
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15555
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15582
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15600
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15615
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15629
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15646
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15680
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15705
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15726
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15771
var comp =
CreateCompilation
(text).VerifyDiagnostics(
15784
CreateCompilation
(text).VerifyDiagnostics(
15888
CreateCompilation
(text).VerifyDiagnostics(
15917
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15979
CreateCompilation
(text).VerifyDiagnostics(
16009
CreateCompilation
(text).VerifyDiagnostics(
16034
var comp =
CreateCompilation
(text);
16057
CreateCompilation
(source).VerifyDiagnostics(
16079
CreateCompilation
(text).VerifyDiagnostics(
16130
var compilation =
CreateCompilation
(text);
16150
CreateCompilation
(text).VerifyDiagnostics(
16170
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
16206
var comp1 =
CreateCompilation
(textdll);
16208
CreateCompilation
(text, references: new MetadataReference[] { ref1 }).VerifyDiagnostics(
16274
var comp =
CreateCompilation
(textdll);
16302
var comp =
CreateCompilation
(textdll);
16340
var comp =
CreateCompilation
(textdll);
16440
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16543
var comp =
CreateCompilation
(textdll);
16567
var comp =
CreateCompilation
(text);
16588
CreateCompilation
(text).VerifyDiagnostics(
16608
CreateCompilation
(text).VerifyDiagnostics();
16623
CreateCompilation
(text).VerifyDiagnostics(
16642
CreateCompilation
(text).VerifyDiagnostics();
16659
CreateCompilation
(text).VerifyDiagnostics(
16677
CreateCompilation
(text).VerifyDiagnostics(
16691
CreateCompilation
(text).VerifyDiagnostics(
16704
CreateCompilation
(text).VerifyDiagnostics(
16804
CreateCompilation
(source).VerifyDiagnostics(
16868
CreateCompilation
(source).VerifyDiagnostics(
16889
CSharpCompilation comp =
CreateCompilation
(text);
16914
CSharpCompilation comp =
CreateCompilation
(text);
16949
CSharpCompilation comp =
CreateCompilation
(text);
16996
CreateCompilation
(text).VerifyDiagnostics(
17073
CreateCompilation
(source).VerifyDiagnostics(
17158
CreateCompilation
(text).VerifyDiagnostics(
17231
CreateCompilation
(text).VerifyDiagnostics(
17407
CreateCompilation
(text).VerifyDiagnostics(
17507
CreateCompilation
(text).VerifyDiagnostics(
17575
var comp =
CreateCompilation
(text);
17609
var comp =
CreateCompilation
(program);
17637
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17675
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17737
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17738
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17742
var lib =
CreateCompilation
(tree, new MetadataReference[]
17795
CreateCompilation
(sourceLib).VerifyDiagnostics(
17818
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17819
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17823
var lib =
CreateCompilation
(tree, new MetadataReference[]
17856
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17886
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17918
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17944
var compilation =
CreateCompilation
(
17984
CreateCompilation
(text).VerifyDiagnostics(
18042
CreateCompilation
(source).VerifyDiagnostics(
18070
CreateCompilation
(source).VerifyDiagnostics(
18143
CreateCompilation
(text).VerifyDiagnostics(
18165
CreateCompilation
(text).VerifyDiagnostics(
18192
CreateCompilation
(text).VerifyDiagnostics(
18226
CreateCompilation
(text).VerifyDiagnostics(
18267
CreateCompilation
(text).VerifyDiagnostics(
18314
CreateCompilation
(text).VerifyDiagnostics(
18410
CreateCompilation
(source).VerifyDiagnostics(
18431
CreateCompilation
(source).VerifyDiagnostics(
18451
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18479
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18504
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18529
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18555
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18575
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18601
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18624
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18643
var compilation =
CreateCompilation
(
18663
var compilation =
CreateCompilation
(
18690
var compilation =
CreateCompilation
(
18721
CreateCompilation
(text).VerifyDiagnostics(
18745
CreateCompilation
(text).VerifyDiagnostics(
18813
CSharpCompilation comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
18841
CreateCompilation
(text).VerifyDiagnostics(
18861
CreateCompilation
(text).VerifyDiagnostics(
18882
CreateCompilation
(text).VerifyDiagnostics(
18900
CreateCompilation
(text).VerifyDiagnostics(
18922
CreateCompilation
(text).VerifyDiagnostics(
18948
CreateCompilation
(text).VerifyDiagnostics(
18965
CreateCompilation
(text).VerifyDiagnostics(
18984
CreateCompilation
(text).VerifyDiagnostics(
19004
CreateCompilation
(text).VerifyDiagnostics(
19031
CreateCompilation
(text).VerifyDiagnostics(
19058
CreateCompilation
(text).VerifyDiagnostics(
19075
CreateCompilation
(text).VerifyDiagnostics(
19085
CreateCompilation
("[assembly: System.CLSCompliant(true)]", new[] { netModule }).VerifyDiagnostics(
19107
CreateCompilation
(text).VerifyDiagnostics(
19124
CreateCompilation
(text).VerifyDiagnostics(
19149
CreateCompilation
(text).VerifyDiagnostics(
19168
CreateCompilation
(text).VerifyDiagnostics();
19185
CreateCompilation
(text).VerifyDiagnostics(
19208
CreateCompilation
(text).VerifyDiagnostics(
19229
CreateCompilation
(text).VerifyDiagnostics(
19251
CreateCompilation
(text).VerifyDiagnostics(
19270
CreateCompilation
(text).VerifyDiagnostics(
19305
CreateCompilation
(text).VerifyDiagnostics(
19441
var comp =
CreateCompilation
(text).VerifyDiagnostics(
19461
CreateCompilation
(
19477
CreateCompilation
(
19509
CreateCompilation
(
19567
var comp =
CreateCompilation
(text);
19595
CreateCompilation
(
19609
CreateCompilation
(
19664
CreateCompilation
(
19678
CreateCompilation
(
19732
CreateCompilation
(
19824
CreateCompilation
(text).VerifyDiagnostics(
19877
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
19885
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19892
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19900
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(
19905
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
19920
CreateCompilation
(string.Format(template, "int P;")).VerifyDiagnostics(
19928
CreateCompilation
(string.Format(template, "int get_P;")).VerifyDiagnostics(
19935
CreateCompilation
(string.Format(template, "int set_P;")).VerifyDiagnostics(
19943
CreateCompilation
(string.Format(template, "int P() { return 0; }")).VerifyDiagnostics(
19948
CreateCompilation
(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics();
19951
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
19955
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19959
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19963
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics();
19964
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
20215
CreateCompilation
(text).VerifyDiagnostics(
20237
CreateCompilation
(text).VerifyDiagnostics(
20289
CreateCompilation
(text).VerifyDiagnostics(
20322
CreateCompilation
(text).VerifyDiagnostics(
20369
CreateCompilation
(text).VerifyDiagnostics();
20378
var comp1 =
CreateCompilation
(@"
20404
var comp4 =
CreateCompilation
(source3, new[] { comp2.EmitToImageReference() }, options: TestOptions.ReleaseDll);
20427
CreateCompilation
(source).VerifyDiagnostics(
20448
CreateCompilation
(source).VerifyDiagnostics();
20683
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20698
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20714
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC }, assemblyName: "A").VerifyDiagnostics(); // No Errors
20732
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }, assemblyName: "A").VerifyDiagnostics(
20747
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20762
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20800
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }).VerifyDiagnostics(
20810
var referenceD =
CreateCompilation
(codeD, assemblyName: "D").EmitToImageReference();
20848
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }, assemblyName: "Forwarder").VerifyDiagnostics(
20868
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }).VerifyDiagnostics(
20877
var dReference =
CreateCompilation
(dCode, assemblyName: "D").EmitToImageReference();
20880
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule, dReference }).VerifyDiagnostics();
20920
var userCompilation =
CreateCompilation
(
20985
var userCompilation =
CreateCompilation
(
21011
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
21026
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
21053
var referenceE =
CreateCompilation
(codeC, assemblyName: "E").EmitToImageReference();
21070
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2, referenceD, referenceE }, assemblyName: "A").VerifyDiagnostics(
21079
CreateCompilation
(@"
21092
CreateCompilation
(@"
21105
CreateCompilation
(@"
21121
CreateCompilation
(@"
21134
CreateCompilation
(@"
21147
CreateCompilation
(@"
21163
CreateCompilation
(@"
21176
CreateCompilation
(@"
21189
CreateCompilation
(@"
21205
CreateCompilation
(@"
21221
CreateCompilation
(@"
21237
CreateCompilation
(@"
21253
CreateCompilation
(@"
21333
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21336
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21339
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21394
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21397
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21400
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21439
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21442
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21461
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21484
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21502
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21529
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21562
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21574
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21578
var comp3 =
CreateCompilation
(source1_1);
21595
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21604
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21622
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21639
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21660
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21669
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21673
var comp3 =
CreateCompilation
(source1_1);
21690
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21699
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21717
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21734
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21763
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21773
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21802
var comp2 =
CreateCompilation
(new[] { source1, source2 });
21832
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21846
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21876
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21896
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21926
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21943
var comp2 =
CreateCompilation
(new[] { string.Format(source2, "TypeForwarded_2"), string.Format(source2, "TypeForwardedTo"), source3 }, references: new[] { comp1.ToMetadataReference() });
21982
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
22004
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
22118
CreateCompilation
(new[]
22168
CreateCompilation
(new[]
Symbols\SymbolExtensionTests.cs (5)
53
var compilation =
CreateCompilation
(source);
99
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
117
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
135
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
154
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
Symbols\TypedConstantTests.cs (1)
31
_compilation =
CreateCompilation
("class C {}");
Symbols\TypeTests.cs (77)
39
var compilation =
CreateCompilation
(code);
61
var compilation =
CreateCompilation
(code);
85
var comp =
CreateCompilation
(text);
124
var comp =
CreateCompilation
(new[] { text, text1, text2, text3 });
190
var comp1 =
CreateCompilation
(text);
193
var comp2 =
CreateCompilation
(new string[] { text1, text2 }, assemblyName: "Test1",
197
var comp =
CreateCompilation
(text3, assemblyName: "Test2",
271
var comp =
CreateCompilation
(text);
346
var comp =
CreateCompilation
(new[] { text, text1, text2 });
378
var comp1 =
CreateCompilation
(text);
380
var comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
397
comp1 =
CreateCompilation
(text);
399
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
416
comp1 =
CreateCompilation
(text);
418
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
439
comp1 =
CreateCompilation
(text);
441
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
465
var comp =
CreateCompilation
(text);
586
var compilation =
CreateCompilation
(text);
620
var global =
CreateCompilation
(text).GlobalNamespace;
668
var comp =
CreateCompilation
(text);
707
var compilation =
CreateCompilation
(text);
743
var refAsm =
CreateCompilation
(refSource, assemblyName: "RefAsm").ToMetadataReference();
744
var compilation =
CreateCompilation
(csharp, references: new[] { refAsm });
764
var compilation1 =
CreateCompilation
(referenceText, assemblyName: "A");
767
var compilation2 =
CreateCompilation
(referenceText, assemblyName: "B");
849
var comp =
CreateCompilation
(text);
902
var comp =
CreateCompilation
(text, references: new[] { module1Ref });
966
var comp =
CreateCompilation
(text);
1016
var comp =
CreateCompilation
(text);
1035
var comp =
CreateCompilation
(text);
1060
var comp =
CreateCompilation
(text);
1078
var comp =
CreateCompilation
(text);
1100
var comp =
CreateCompilation
(text);
1118
var comp =
CreateCompilation
(text);
1139
var comp =
CreateCompilation
(tree);
1153
var comp =
CreateCompilation
(tree);
1178
var comp =
CreateCompilation
(tree);
1197
var comp =
CreateCompilation
(tree);
1235
var comp =
CreateCompilation
(text);
1304
var comp =
CreateCompilation
(text);
1385
var comp =
CreateCompilation
(text);
1406
var comp =
CreateCompilation
(text);
1413
var compilation =
CreateCompilation
(@"
1453
var comp =
CreateCompilation
(@"public void TopLevelMethod() {}");
1476
var comp =
CreateCompilation
(text);
1503
var comp =
CreateCompilation
(text);
1610
var comp =
CreateCompilation
(text);
1676
var comp = (Compilation)
CreateCompilation
(tree);
1760
var comp = (Compilation)
CreateCompilation
(tree);
1803
var compilation =
CreateCompilation
(code);
1830
var compilation =
CreateCompilation
(code);
1850
var compilation = (Compilation)
CreateCompilation
(code);
1875
var compilation =
CreateCompilation
(code);
1880
compilation =
CreateCompilation
(code);
1897
var compilation =
CreateCompilation
(code);
1918
var compilation =
CreateCompilation
(code);
1932
compilation =
CreateCompilation
(code);
1953
var compilation =
CreateCompilation
(code);
1986
var compilation =
CreateCompilation
(code);
2007
var compilation =
CreateCompilation
(code);
2028
var compilation =
CreateCompilation
(code);
2049
var compilation =
CreateCompilation
(code);
2075
var compilation =
CreateCompilation
(code);
2099
var compilation =
CreateCompilation
(code);
2125
var compilation =
CreateCompilation
(code);
2174
var compilation =
CreateCompilation
(code);
2225
var compilation =
CreateCompilation
(code);
2246
var compilation =
CreateCompilation
(code);
2266
var compilation =
CreateCompilation
(code);
2280
var compilation =
CreateCompilation
(code);
2296
var compilation =
CreateCompilation
(code);
2314
var compilation =
CreateCompilation
(text);
2330
var compilation =
CreateCompilation
(text);
2337
var sourceComp =
CreateCompilation
(@"
2428
var comp =
CreateCompilation
(new[] { source });
2510
var comp =
CreateCompilation
(source);
Symbols\TypeUnificationTests.cs (8)
46
var comp =
CreateCompilation
(text);
130
var comp =
CreateCompilation
(text);
203
var comp =
CreateCompilation
(text);
245
var comp =
CreateCompilation
(text);
296
var comp =
CreateCompilation
(text);
333
var comp =
CreateCompilation
(text);
366
var comp =
CreateCompilation
(text);
417
var comp =
CreateCompilation
(text);
Symbols\UnsignedRightShiftTests.cs (81)
109
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
393
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
397
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
493
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
521
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
896
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
900
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
922
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
970
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1007
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1011
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1015
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1048
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1052
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1056
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1445
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1449
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1453
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1853
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1857
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1861
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1909
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1931
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1973
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
1990
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
1993
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
1999
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
2129
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2179
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2225
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
2242
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
2245
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
2251
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
2278
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2280
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { compilation0.ToMetadataReference() },
2288
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { compilation0.EmitToImageReference() },
2318
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2367
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2443
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2495
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
2538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2593
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2635
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3120
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3206
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3214
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3300
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3308
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3394
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3402
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3428
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3436
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3440
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3445
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3453
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3480
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3488
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3492
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3497
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3505
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3532
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3540
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3544
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3549
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3557
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3584
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3592
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3596
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3601
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3609
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3629
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
Symbols\UserDefinedOperatorErrorTests.cs (5)
100
var comp =
CreateCompilation
(text);
157
var comp =
CreateCompilation
(text);
196
var comp =
CreateCompilation
(text);
270
var comp =
CreateCompilation
(text);
304
var comp =
CreateCompilation
(text);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1008)
Diagnostics\DiagnosticTest.cs (162)
110
var comp =
CreateCompilation
("");
147
var comp =
CreateCompilation
(text);
205
CreateCompilation
(text).VerifyDiagnostics(
564
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
572
CreateCompilation
(text, options: option).VerifyDiagnostics();
575
CreateCompilation
(text, options: option).VerifyDiagnostics(
582
CreateCompilation
(text, options: option).VerifyDiagnostics(
605
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
616
CreateCompilation
(text, options: option).VerifyDiagnostics(
623
CreateCompilation
(text, options: option).VerifyDiagnostics(
632
CreateCompilation
(text, options: option).VerifyDiagnostics(
641
CreateCompilation
(text, options: option).VerifyDiagnostics();
644
CreateCompilation
(text, options: option).VerifyDiagnostics();
647
CreateCompilation
(text, options: option).VerifyDiagnostics();
668
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
676
CreateCompilation
(text, options: option).VerifyDiagnostics(
682
CreateCompilation
(text, options: option).VerifyDiagnostics(
688
CreateCompilation
(text, options: option).VerifyDiagnostics();
691
CreateCompilation
(text, options: option).VerifyDiagnostics();
694
CreateCompilation
(text, options: option).VerifyDiagnostics();
716
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
727
CreateCompilation
(text, options: option).VerifyDiagnostics(
736
CreateCompilation
(text, options: option).VerifyDiagnostics(
745
CreateCompilation
(text, options: option).VerifyDiagnostics();
748
CreateCompilation
(text, options: option).VerifyDiagnostics();
751
CreateCompilation
(text, options: option).VerifyDiagnostics();
772
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
783
CreateCompilation
(text, options: option).VerifyDiagnostics(
792
CreateCompilation
(text, options: option).VerifyDiagnostics(
801
CreateCompilation
(text, options: option).VerifyDiagnostics();
804
CreateCompilation
(text, options: option).VerifyDiagnostics();
807
CreateCompilation
(text, options: option).VerifyDiagnostics();
828
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
839
CreateCompilation
(text, options: option).VerifyDiagnostics(
848
CreateCompilation
(text, options: option).VerifyDiagnostics(
857
CreateCompilation
(text, options: option).VerifyDiagnostics();
860
CreateCompilation
(text, options: option).VerifyDiagnostics();
863
CreateCompilation
(text, options: option).VerifyDiagnostics();
886
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
897
CreateCompilation
(text, options: option).VerifyDiagnostics(
906
CreateCompilation
(text, options: option).VerifyDiagnostics(
915
CreateCompilation
(text, options: option).VerifyDiagnostics();
918
CreateCompilation
(text, options: option).VerifyDiagnostics();
921
CreateCompilation
(text, options: option).VerifyDiagnostics();
944
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
955
CreateCompilation
(text, options: option).VerifyDiagnostics(
964
CreateCompilation
(text, options: option).VerifyDiagnostics(
973
CreateCompilation
(text, options: option).VerifyDiagnostics();
976
CreateCompilation
(text, options: option).VerifyDiagnostics();
979
CreateCompilation
(text, options: option).VerifyDiagnostics();
1000
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1014
CreateCompilation
(text, options: option).VerifyDiagnostics(
1026
CreateCompilation
(text, options: option).VerifyDiagnostics(
1038
CreateCompilation
(text, options: option).VerifyDiagnostics();
1041
CreateCompilation
(text, options: option).VerifyDiagnostics();
1044
CreateCompilation
(text, options: option).VerifyDiagnostics();
1067
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1084
CreateCompilation
(text, options: option).VerifyDiagnostics(
1099
CreateCompilation
(text, options: option).VerifyDiagnostics(
1114
CreateCompilation
(text, options: option).VerifyDiagnostics();
1117
CreateCompilation
(text, options: option).VerifyDiagnostics();
1120
CreateCompilation
(text, options: option).VerifyDiagnostics();
1141
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1155
CreateCompilation
(text, options: option).VerifyDiagnostics(
1167
CreateCompilation
(text, options: option).VerifyDiagnostics(
1179
CreateCompilation
(text, options: option).VerifyDiagnostics();
1182
CreateCompilation
(text, options: option).VerifyDiagnostics();
1185
CreateCompilation
(text, options: option).VerifyDiagnostics();
1212
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1220
CreateCompilation
(text, options: option).VerifyDiagnostics(
1226
CreateCompilation
(text, options: option).VerifyDiagnostics(
1232
CreateCompilation
(text, options: option).VerifyDiagnostics();
1235
CreateCompilation
(text, options: option).VerifyDiagnostics();
1238
CreateCompilation
(text, options: option).VerifyDiagnostics();
1265
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1273
CreateCompilation
(text, options: option).VerifyDiagnostics(
1279
CreateCompilation
(text, options: option).VerifyDiagnostics(
1285
CreateCompilation
(text, options: option).VerifyDiagnostics();
1288
CreateCompilation
(text, options: option).VerifyDiagnostics();
1291
CreateCompilation
(text, options: option).VerifyDiagnostics();
1319
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1327
CreateCompilation
(text, options: option).VerifyDiagnostics(
1333
CreateCompilation
(text, options: option).VerifyDiagnostics(
1339
CreateCompilation
(text, options: option).VerifyDiagnostics();
1342
CreateCompilation
(text, options: option).VerifyDiagnostics();
1345
CreateCompilation
(text, options: option).VerifyDiagnostics();
1372
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1377
CreateCompilation
(text, options: option).VerifyDiagnostics();
1380
CreateCompilation
(text, options: option).VerifyDiagnostics();
1383
CreateCompilation
(text, options: option).VerifyDiagnostics();
1386
CreateCompilation
(text, options: option).VerifyDiagnostics();
1389
CreateCompilation
(text, options: option).VerifyDiagnostics();
1420
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1428
CreateCompilation
(text, options: option).VerifyDiagnostics(
1434
CreateCompilation
(text, options: option).VerifyDiagnostics(
1440
CreateCompilation
(text, options: option).VerifyDiagnostics();
1443
CreateCompilation
(text, options: option).VerifyDiagnostics();
1446
CreateCompilation
(text, options: option).VerifyDiagnostics();
1467
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1484
CreateCompilation
(text, options: option).VerifyDiagnostics(
1501
CreateCompilation
(text, options: option).VerifyDiagnostics(
1513
CreateCompilation
(text, options: option).VerifyDiagnostics(
1537
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1551
CreateCompilation
(text, options: option).VerifyDiagnostics(
1563
CreateCompilation
(text, options: option).VerifyDiagnostics();
1584
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1601
CreateCompilation
(text, options: option).VerifyDiagnostics(
1616
CreateCompilation
(text, options: option).VerifyDiagnostics(
1643
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1657
CreateCompilation
(text, options: option).VerifyDiagnostics(
1669
CreateCompilation
(text, options: option).VerifyDiagnostics();
1693
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1704
CreateCompilation
(text, options: option).VerifyDiagnostics(
1713
CreateCompilation
(text, options: option).VerifyDiagnostics();
1736
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1741
CreateCompilation
(text, options: option).VerifyDiagnostics();
1744
CreateCompilation
(text, options: option).VerifyDiagnostics();
1763
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1774
CreateCompilation
(text, options: option).VerifyDiagnostics(
1784
CreateCompilation
(text, options: option).VerifyDiagnostics(
1790
CreateCompilation
(text, options: option).VerifyDiagnostics();
1809
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1823
CreateCompilation
(text, options: option).VerifyDiagnostics(
1836
CreateCompilation
(text, options: option).VerifyDiagnostics(
1845
CreateCompilation
(text, options: option).VerifyDiagnostics(
1876
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1918
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1979
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2015
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2051
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2098
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2140
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1);
2141
CreateCompilation
(text1).VerifyDiagnostics(expected1);
2145
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics();
2146
CreateCompilation
(text1, options: options).VerifyDiagnostics();
2152
CreateCompilation
(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2153
CreateCompilation
(text2, options: options).VerifyDiagnostics(expected1);
2159
CreateCompilation
(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2160
CreateCompilation
(text3, options: options).VerifyDiagnostics(expected1);
2173
CreateCompilation
(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2174
CreateCompilation
(text4, options: options).VerifyDiagnostics(expected2);
2180
CreateCompilation
(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2181
CreateCompilation
(text5, options: options).VerifyDiagnostics(expected2);
2202
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2227
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2247
CreateCompilation
(text, options: option).VerifyDiagnostics(
2266
CreateCompilation
(text, options: option).VerifyDiagnostics(
2278
CreateCompilation
(text, options: option).VerifyDiagnostics(
2310
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2332
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2432
var compilation =
CreateCompilation
(text);
2457
var compilation =
CreateCompilation
(text);
2483
AssertEx.Equal(
CreateCompilation
(tree).GetDiagnostics(),
CreateCompilation
(tree).GetDiagnostics());
2527
CreateCompilation
(text, options: options).VerifyDiagnostics(
2573
var compilation =
CreateCompilation
(source);
2613
var compilation =
CreateCompilation
(source);
2644
var compilation =
CreateCompilation
(source);
2689
var compilation =
CreateCompilation
(source);
2723
var compilation =
CreateCompilation
(source);
2744
var compilation =
CreateCompilation
(source);
2874
var ca =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Diagnostics\LineSpanDirectiveTests.cs (4)
135
var comp =
CreateCompilation
(tree);
523
var comp =
CreateCompilation
(source);
553
var comp =
CreateCompilation
(source);
599
var comp =
CreateCompilation
(source);
IncrementalParsing\IncrementalParsingTests.cs (1)
2896
var comp = CSharpTestBase.
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(String.Empty));
LexicalAndXml\LexicalErrorTests.cs (79)
975
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
976
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
994
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
998
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1016
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1020
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1039
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1043
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1061
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1065
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1084
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1088
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1108
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1112
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1131
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1135
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1154
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1158
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1177
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1181
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1201
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1205
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1243
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1262
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1316
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1335
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1370
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1371
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1389
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1393
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1415
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1419
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1439
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1440
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1458
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1462
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1483
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1487
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1508
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1512
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1530
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1534
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1557
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1561
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1584
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1588
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1608
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1612
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1633
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1637
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1658
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1662
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1683
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1687
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1710
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1714
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1737
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1741
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1762
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1766
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1790
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1794
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1818
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1822
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1844
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1848
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1869
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1873
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1897
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1901
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1925
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1929
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1951
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1955
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1974
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1975
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1994
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1998
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2024
CreateCompilation
(test).VerifyDiagnostics(
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
233
CreateCompilation
(
LexicalAndXml\XmlDocCommentTests.cs (2)
41
var comp =
CreateCompilation
(@"
3192
var comp =
CreateCompilation
(new[] {
Parsing\AnonymousFunctionParsingTests.cs (51)
113
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
213
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
311
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
412
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
513
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
627
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
768
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
877
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
889
CreateCompilation
(testInMethod).VerifyDiagnostics(
893
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
951
CreateCompilation
(testInMethod).VerifyDiagnostics(
958
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1020
CreateCompilation
(testInMethod).VerifyDiagnostics(
1024
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1090
CreateCompilation
(testInMethod).VerifyDiagnostics(
1094
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1162
CreateCompilation
(testInMethod).VerifyDiagnostics(
1166
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1326
CreateCompilation
(testInMethod).VerifyDiagnostics(
1330
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1403
CreateCompilation
(testInMethod).VerifyDiagnostics(
1407
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1590
CreateCompilation
(testInMethod).VerifyDiagnostics(
1600
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1694
CreateCompilation
(testInMethod).VerifyDiagnostics(
1704
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1795
CreateCompilation
(testInMethod).VerifyDiagnostics(
1799
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1876
CreateCompilation
(testWithStatement).VerifyDiagnostics(
1889
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1982
CreateCompilation
(testInMethod).VerifyDiagnostics(
2007
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2105
CreateCompilation
(test).VerifyDiagnostics(
2112
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2194
CreateCompilation
(testWithStatement).VerifyDiagnostics(
2201
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2578
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2726
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2875
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2994
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3140
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3254
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3404
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3557
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3711
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3839
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3994
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4117
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4276
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4438
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4601
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
Parsing\AsyncParsingTests.cs (3)
2383
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2470
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2586
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
Parsing\CollectionExpressionParsingTests.cs (1)
18605
CreateCompilation
("""
Parsing\DeclarationParsingTests.cs (18)
1182
CreateCompilation
(text).GetDeclarationDiagnostics().Verify(
1196
CreateCompilation
(text).GetDeclarationDiagnostics().Verify(
5666
CreateCompilation
(text).VerifyDiagnostics(
5676
CreateCompilation
(text).VerifyDiagnostics(
5686
CreateCompilation
(text).VerifyDiagnostics(
5731
CreateCompilation
(text).VerifyDiagnostics(
5798
CreateCompilation
(text).VerifyDiagnostics(
5912
CreateCompilation
(text1).VerifyDiagnostics(
5916
CreateCompilation
(text2).VerifyDiagnostics(
6864
CreateCompilation
(code).VerifyDiagnostics(
6883
CreateCompilation
(code).VerifyDiagnostics(
6905
CreateCompilation
(code).VerifyDiagnostics(
6924
CreateCompilation
(code).VerifyDiagnostics(
6947
CreateCompilation
(code).VerifyDiagnostics(
6970
CreateCompilation
(code).VerifyDiagnostics(
8529
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8787
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
8916
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
Parsing\DeclarationScopeParsingTests.cs (3)
3262
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3278
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3291
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
Parsing\DeconstructionTests.cs (12)
2074
CreateCompilation
(source).VerifyDiagnostics(
2104
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
2130
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2160
CreateCompilation
(source).VerifyDiagnostics(
2193
CreateCompilation
(source).VerifyDiagnostics(
2220
CreateCompilation
(source).VerifyDiagnostics(
2247
CreateCompilation
(source).VerifyDiagnostics(
2276
CreateCompilation
(source).VerifyDiagnostics(
2305
CreateCompilation
(source).VerifyDiagnostics(
2332
CreateCompilation
(source).VerifyDiagnostics(
2359
CreateCompilation
(source).VerifyDiagnostics(
2386
CreateCompilation
(source).VerifyDiagnostics(
Parsing\ExpressionParsingTests.cs (6)
204
CreateCompilation
($@"
234
CreateCompilation
($@"
260
CreateCompilation
($@"
309
CreateCompilation
($@"
742
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5240
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
Parsing\FileModifierParsingTests.cs (1)
37
var comp =
CreateCompilation
(tree);
Parsing\FunctionPointerTests.cs (1)
510
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\ImplicitObjectCreationParsingTests.cs (3)
408
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
457
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
538
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\LocalFunctionParsingTests.cs (24)
696
CreateCompilation
(code, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
706
CreateCompilation
(code, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
788
CreateCompilation
(code, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
795
CreateCompilation
(code, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
976
CreateCompilation
(tree).VerifyDiagnostics(
1061
CreateCompilation
(tree).VerifyDiagnostics(
1199
CreateCompilation
(errorText).VerifyDiagnostics(
1304
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1720
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1727
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1731
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1805
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1824
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1837
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1939
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1973
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1995
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2127
CreateCompilation
(text).VerifyDiagnostics(
2204
CreateCompilation
(text).VerifyDiagnostics(
2288
CreateCompilation
(text).VerifyDiagnostics(
2379
CreateCompilation
(text).VerifyDiagnostics(
2474
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2496
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2515
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\MemberDeclarationParsingTests.cs (61)
1645
CreateCompilation
(classWithText, parseOptions: parseOptions).VerifyDiagnostics(
2317
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2333
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2428
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2453
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2553
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2578
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2677
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2696
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2783
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2802
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3198
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3214
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3313
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3338
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3441
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3466
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3569
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3588
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3679
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3698
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4243
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4256
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4347
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4369
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4464
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4486
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4581
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4597
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4680
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4696
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5083
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5096
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5191
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5213
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5312
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5334
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5433
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5449
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5536
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5552
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6268
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6281
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6355
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6371
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6506
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6522
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6606
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6622
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6993
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7006
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7084
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7103
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7197
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7213
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7301
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7317
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7405
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7421
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
12101
CreateCompilation
(text).VerifyDiagnostics(
12163
CreateCompilation
(text).VerifyDiagnostics(
Parsing\NameParsingTests.cs (5)
910
CreateCompilation
(source).VerifyDiagnostics(
1008
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
1139
CreateCompilation
(source).VerifyDiagnostics(
1264
CreateCompilation
(source).VerifyDiagnostics(
1428
CreateCompilation
(source).VerifyDiagnostics(
Parsing\NullableParsingTests.cs (2)
742
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
810
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\ParserErrorMessageTests.cs (120)
89
CreateCompilation
(test).VerifyDiagnostics(
117
CreateCompilation
(test).VerifyDiagnostics(
132
CreateCompilation
(test).VerifyDiagnostics(
157
CreateCompilation
(test).VerifyDiagnostics(
266
CreateCompilation
(test).VerifyDiagnostics(
587
CreateCompilation
(test).VerifyDiagnostics(
611
CreateCompilation
(test).VerifyDiagnostics(
624
CreateCompilation
(test).VerifyDiagnostics(
638
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
669
CreateCompilation
(test).VerifyDiagnostics(
699
CreateCompilation
(test).VerifyDiagnostics(
793
CreateCompilation
(test).VerifyDiagnostics(
878
CreateCompilation
(test).VerifyDiagnostics(
908
CreateCompilation
(test).VerifyDiagnostics(
938
CreateCompilation
(source).VerifyDiagnostics(
976
CreateCompilation
(test).VerifyDiagnostics(
996
CreateCompilation
(test).VerifyDiagnostics(
1018
CreateCompilation
(test).VerifyDiagnostics(
1082
CreateCompilation
(test).VerifyDiagnostics(
1103
CreateCompilation
(source).VerifyDiagnostics(
1232
CreateCompilation
(test).VerifyDiagnostics(
1257
CreateCompilation
(test).VerifyDiagnostics(
1279
CreateCompilation
(test).VerifyDiagnostics(
1311
CreateCompilation
(test).VerifyDiagnostics(
1504
CreateCompilation
(test).VerifyDiagnostics(
1673
CreateCompilation
(test).VerifyDiagnostics(
1693
CreateCompilation
(test).VerifyDiagnostics(
1710
CreateCompilation
(test).VerifyDiagnostics(
1728
CreateCompilation
(test).VerifyDiagnostics(
1746
CreateCompilation
(test).VerifyDiagnostics(
1761
CreateCompilation
(test).VerifyDiagnostics(
1776
CreateCompilation
(test).VerifyDiagnostics(
1791
CreateCompilation
(test).VerifyDiagnostics(
1806
CreateCompilation
(test).VerifyDiagnostics(
1820
CreateCompilation
(test).VerifyDiagnostics(
1834
CreateCompilation
(test).VerifyDiagnostics(
1848
CreateCompilation
(test).VerifyDiagnostics(
1862
CreateCompilation
(test).VerifyDiagnostics(
1874
CreateCompilation
(test).VerifyDiagnostics(
1906
CreateCompilation
(test).VerifyDiagnostics(
1930
CreateCompilation
(
1952
CreateCompilation
(
2174
CreateCompilation
(test).VerifyDiagnostics(
2210
CreateCompilation
(test).VerifyDiagnostics(
2251
CreateCompilation
(test).VerifyDiagnostics(
2363
CreateCompilation
(test).VerifyDiagnostics(
2421
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2456
CreateCompilation
(test).VerifyDiagnostics(
2478
CreateCompilation
(test).VerifyDiagnostics(
2500
CreateCompilation
(test).VerifyDiagnostics(
2813
CreateCompilation
(test).VerifyDiagnostics(
2885
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2982
CreateCompilation
(test).VerifyDiagnostics(
2999
CreateCompilation
(test).VerifyDiagnostics(
3010
CreateCompilation
(test).VerifyDiagnostics(
3028
CreateCompilation
(test).VerifyDiagnostics(
3043
CreateCompilation
(test).VerifyDiagnostics(
3213
CreateCompilation
(test).VerifyDiagnostics(
3230
CreateCompilation
(test).VerifyDiagnostics(
3255
CreateCompilation
(test).VerifyDiagnostics(
4045
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
4554
CreateCompilation
(test).VerifyDiagnostics(
4615
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
4671
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4697
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4717
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4737
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4780
CreateCompilation
(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
4888
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4949
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
4973
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
5225
CreateCompilation
(test).VerifyDiagnostics(
5269
CreateCompilation
(test).VerifyDiagnostics(
5300
CreateCompilation
(test).VerifyDiagnostics(
5445
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5446
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
5467
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5480
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5511
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5515
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5551
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5552
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5573
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5577
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5608
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyEmitDiagnostics(
5612
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
5642
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5646
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5676
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
5683
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5765
CreateCompilation
(test).VerifyDiagnostics(
5803
CreateCompilation
(test).VerifyDiagnostics(
5843
CreateCompilation
(test).VerifyDiagnostics(
5870
CreateCompilation
(test).GetDiagnostics().Verify(
5911
CreateCompilation
(test).VerifyDiagnostics(
5927
CreateCompilation
(test, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
5980
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5988
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6008
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6015
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6038
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6051
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6080
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6093
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6121
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6131
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6163
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6167
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6187
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6191
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6209
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics();
6210
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6231
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6235
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6259
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6263
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6383
CreateCompilation
(source, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6390
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6430
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6437
CreateCompilation
(source, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
Parsing\ParserRegressionTests.cs (1)
31
var comp =
CreateCompilation
(@"
Parsing\PatternParsingTests.cs (22)
50
CreateCompilation
(test, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
85
CreateCompilation
(test).VerifyDiagnostics();
86
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1846
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
1856
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1942
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2030
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2154
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2213
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2282
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2373
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2450
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2481
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2549
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2628
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2722
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
8254
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8316
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8378
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8430
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8484
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8647
CreateCompilation
(test, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
Parsing\PatternParsingTests2.cs (2)
31
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
38
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (30)
56
CreateCompilation
(text).VerifyDiagnostics(expected);
69
CreateCompilation
(
82
CreateCompilation
(
92
CreateCompilation
(
102
CreateCompilation
(
112
CreateCompilation
(
122
CreateCompilation
(
132
CreateCompilation
(
143
CreateCompilation
(
154
CreateCompilation
(
164
CreateCompilation
(
182
CreateCompilation
(
199
CreateCompilation
(
216
CreateCompilation
(
236
CreateCompilation
(
249
CreateCompilation
(
262
CreateCompilation
(
277
CreateCompilation
(
300
CreateCompilation
(
315
CreateCompilation
(
330
CreateCompilation
(
347
CreateCompilation
(
363
CreateCompilation
(
382
CreateCompilation
(
398
CreateCompilation
(
414
CreateCompilation
(
431
CreateCompilation
(
445
CreateCompilation
(
462
CreateCompilation
(
476
CreateCompilation
(
Parsing\RawInterpolatedStringLiteralParsingTests.cs (109)
26
CreateCompilation
(text).VerifyDiagnostics();
41
CreateCompilation
(text).VerifyDiagnostics(
59
CreateCompilation
(text).VerifyDiagnostics(
77
CreateCompilation
(text).VerifyDiagnostics();
92
CreateCompilation
(text).VerifyDiagnostics();
107
CreateCompilation
(text).VerifyDiagnostics();
122
CreateCompilation
(text).VerifyDiagnostics();
137
CreateCompilation
(text).VerifyDiagnostics();
152
CreateCompilation
(text).VerifyDiagnostics();
167
CreateCompilation
(text).VerifyDiagnostics(
185
CreateCompilation
(text).VerifyDiagnostics(
203
CreateCompilation
(text).VerifyDiagnostics(
221
CreateCompilation
(text).VerifyDiagnostics(
239
CreateCompilation
(text).VerifyDiagnostics(
257
CreateCompilation
(text).VerifyDiagnostics(
275
CreateCompilation
(text).VerifyDiagnostics();
290
CreateCompilation
(text).VerifyDiagnostics();
305
CreateCompilation
(text).VerifyDiagnostics();
320
CreateCompilation
(text).VerifyDiagnostics();
335
CreateCompilation
(text).VerifyDiagnostics();
351
CreateCompilation
(text).VerifyDiagnostics();
366
CreateCompilation
(text).VerifyDiagnostics();
381
CreateCompilation
(text).VerifyDiagnostics();
396
CreateCompilation
(text).VerifyDiagnostics();
411
CreateCompilation
(text).VerifyDiagnostics();
427
CreateCompilation
(text).VerifyDiagnostics();
444
CreateCompilation
(text).VerifyDiagnostics();
459
CreateCompilation
(text).VerifyDiagnostics();
476
CreateCompilation
(text).VerifyDiagnostics();
493
CreateCompilation
(text).VerifyDiagnostics(
511
CreateCompilation
(text).VerifyDiagnostics();
526
CreateCompilation
(text).VerifyDiagnostics();
541
CreateCompilation
(text).VerifyDiagnostics();
557
CreateCompilation
(text).VerifyDiagnostics();
574
CreateCompilation
(text).VerifyDiagnostics();
589
CreateCompilation
(text).VerifyDiagnostics();
604
CreateCompilation
(text).VerifyDiagnostics();
619
CreateCompilation
(text).VerifyDiagnostics();
634
CreateCompilation
(text).VerifyDiagnostics();
649
CreateCompilation
(text).VerifyDiagnostics();
664
CreateCompilation
(text).VerifyDiagnostics();
679
CreateCompilation
(text).VerifyDiagnostics();
694
CreateCompilation
(text).VerifyDiagnostics();
709
CreateCompilation
(text).VerifyDiagnostics();
724
CreateCompilation
(text).VerifyDiagnostics();
739
CreateCompilation
(text).VerifyDiagnostics();
754
CreateCompilation
(text).VerifyDiagnostics();
769
CreateCompilation
(text).VerifyDiagnostics();
784
CreateCompilation
(text).VerifyDiagnostics();
799
CreateCompilation
(text).VerifyDiagnostics();
814
CreateCompilation
(text).VerifyDiagnostics();
829
CreateCompilation
(text).VerifyDiagnostics();
844
CreateCompilation
(text).VerifyDiagnostics();
859
CreateCompilation
(text).VerifyDiagnostics();
874
CreateCompilation
(text).VerifyDiagnostics();
889
CreateCompilation
(text).VerifyDiagnostics();
904
CreateCompilation
(text).VerifyDiagnostics();
919
CreateCompilation
(text).VerifyDiagnostics();
934
CreateCompilation
(text).VerifyDiagnostics();
949
CreateCompilation
(text).VerifyDiagnostics();
964
CreateCompilation
(text).VerifyDiagnostics();
979
CreateCompilation
(text).VerifyDiagnostics();
994
CreateCompilation
(text).VerifyDiagnostics();
1009
CreateCompilation
(text).VerifyDiagnostics();
1024
CreateCompilation
(text).VerifyDiagnostics();
1039
CreateCompilation
(text).VerifyDiagnostics();
1054
CreateCompilation
(text).VerifyDiagnostics();
1069
CreateCompilation
(text).VerifyDiagnostics();
1084
CreateCompilation
(text).VerifyDiagnostics();
1099
CreateCompilation
(text).VerifyDiagnostics(
1120
CreateCompilation
(text).VerifyDiagnostics(
1150
CreateCompilation
(text).VerifyDiagnostics(
1168
CreateCompilation
(text).VerifyDiagnostics(
1186
CreateCompilation
(text).VerifyDiagnostics(
1207
CreateCompilation
(text).VerifyDiagnostics(
1237
CreateCompilation
(text).VerifyDiagnostics(
1255
CreateCompilation
(text).VerifyDiagnostics(
1273
CreateCompilation
(text).VerifyDiagnostics(
1291
CreateCompilation
(text).VerifyDiagnostics(
1312
CreateCompilation
(text).VerifyDiagnostics(
1330
CreateCompilation
(text).VerifyDiagnostics(
1348
CreateCompilation
(text).VerifyDiagnostics(
1366
CreateCompilation
(text).VerifyDiagnostics(
1387
CreateCompilation
(text).VerifyDiagnostics(
1405
CreateCompilation
(text).VerifyDiagnostics(
1423
CreateCompilation
(text).VerifyDiagnostics(
1441
CreateCompilation
(text).VerifyDiagnostics(
1462
CreateCompilation
(text).VerifyDiagnostics(
1480
CreateCompilation
(text).VerifyDiagnostics(
1498
CreateCompilation
(text).VerifyDiagnostics(
1516
CreateCompilation
(text).VerifyDiagnostics(
1537
CreateCompilation
(text).VerifyDiagnostics(
1555
CreateCompilation
(text).VerifyDiagnostics(
1573
CreateCompilation
(text).VerifyDiagnostics(
1591
CreateCompilation
(text).VerifyDiagnostics(
1612
CreateCompilation
(text).VerifyDiagnostics(
1630
CreateCompilation
(text).VerifyDiagnostics(
1648
CreateCompilation
(text).VerifyDiagnostics(
1666
CreateCompilation
(text).VerifyDiagnostics(
1687
CreateCompilation
(text).VerifyDiagnostics(
1705
CreateCompilation
(text).VerifyDiagnostics(
1723
CreateCompilation
(text).VerifyDiagnostics(
1744
CreateCompilation
(text).VerifyDiagnostics(
1762
CreateCompilation
(text).VerifyDiagnostics(
1780
CreateCompilation
(text).VerifyDiagnostics(
1801
CreateCompilation
(text).VerifyDiagnostics(
1819
CreateCompilation
(text).VerifyDiagnostics(
1843
CreateCompilation
(text).VerifyDiagnostics(
1863
CreateCompilation
(text).VerifyDiagnostics(
Parsing\RawStringLiteralCompilingTests.cs (32)
15
CreateCompilation
(
28
CreateCompilation
(
41
CreateCompilation
(
51
CreateCompilation
(
61
CreateCompilation
(
71
CreateCompilation
(
82
CreateCompilation
(
92
CreateCompilation
(
110
CreateCompilation
(
127
CreateCompilation
(
144
CreateCompilation
(
164
CreateCompilation
(
177
CreateCompilation
(
190
CreateCompilation
(
205
CreateCompilation
(
228
CreateCompilation
(
243
CreateCompilation
(
258
CreateCompilation
(
275
CreateCompilation
(
288
CreateCompilation
(
307
CreateCompilation
(
323
CreateCompilation
(
339
CreateCompilation
(
356
CreateCompilation
(
370
CreateCompilation
(
387
CreateCompilation
(
478
CreateCompilation
(
488
CreateCompilation
(
497
CreateCompilation
(
506
CreateCompilation
(
515
CreateCompilation
(
524
CreateCompilation
(
Parsing\RecordParsing.cs (16)
109
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
267
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
336
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1209
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2660
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2673
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2727
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2731
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2744
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2907
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2917
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2930
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3793
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3800
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3837
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3875
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\RefReadonlyTests.cs (10)
204
CreateCompilation
(@"
231
CreateCompilation
(@"
258
CreateCompilation
(@"
284
CreateCompilation
(@"
337
CreateCompilation
(@"
372
CreateCompilation
(@"
389
CreateCompilation
(@"
406
CreateCompilation
(@"
421
CreateCompilation
(@"
443
CreateCompilation
(@"
Parsing\RefStructs.cs (6)
111
var comp =
CreateCompilation
(text);
127
var comp =
CreateCompilation
(@"
139
var comp =
CreateCompilation
(@"
160
var comp =
CreateCompilation
(@"
187
var comp =
CreateCompilation
(@"
208
var comp =
CreateCompilation
(@"
Parsing\ScriptParsingTests.cs (4)
1044
CreateCompilation
(source).VerifyDiagnostics(
1073
CreateCompilation
(source).VerifyDiagnostics(
1707
CreateCompilation
(test).VerifyDiagnostics(
1980
CreateCompilation
(test).VerifyDiagnostics(
Parsing\SeparatedSyntaxListParsingTests.cs (1)
673
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
Parsing\SingleLineDeclarationParsingTests.cs (1)
193
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\StackAllocInitializerParsingTests.cs (4)
25
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
72
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
119
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
153
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Parsing\StatementAttributeParsingTests.cs (83)
79
CreateCompilation
(test).GetDiagnostics().Verify(
144
CreateCompilation
(test).GetDiagnostics().Verify(
228
CreateCompilation
(test).GetDiagnostics().Verify(
325
CreateCompilation
(test).GetDiagnostics().Verify(
410
CreateCompilation
(test).GetDiagnostics().Verify(
495
CreateCompilation
(test).GetDiagnostics().Verify(
561
CreateCompilation
(test).GetDiagnostics().Verify(
627
CreateCompilation
(test).GetDiagnostics().Verify(
701
CreateCompilation
(test).GetDiagnostics().Verify(
775
CreateCompilation
(test).GetDiagnostics().Verify(
850
CreateCompilation
(test).GetDiagnostics().Verify(
931
CreateCompilation
(test).GetDiagnostics().Verify(
1009
CreateCompilation
(test).GetDiagnostics().Verify(
1083
CreateCompilation
(test).GetDiagnostics().Verify(
1185
CreateCompilation
(test).GetDiagnostics().Verify(
1319
CreateCompilation
(test).GetDiagnostics().Verify(
1395
CreateCompilation
(test).GetDiagnostics().Verify(
1472
CreateCompilation
(test).GetDiagnostics().Verify(
1559
CreateCompilation
(test).GetDiagnostics().Verify(
1681
CreateCompilation
(test).GetDiagnostics().Verify(
1754
CreateCompilation
(test).GetDiagnostics().Verify(
1824
CreateCompilation
(test).GetDiagnostics().Verify(
1894
CreateCompilation
(test).GetDiagnostics().Verify(
1964
CreateCompilation
(test).GetDiagnostics().Verify(
2061
CreateCompilation
(test).GetDiagnostics().Verify(
2152
CreateCompilation
(test).GetDiagnostics().Verify(
2228
CreateCompilation
(test).GetDiagnostics().Verify(
2301
CreateCompilation
(test).GetDiagnostics().Verify(
2394
CreateCompilation
(test).GetDiagnostics().Verify(
2507
CreateCompilation
(test).GetDiagnostics().Verify(
2619
CreateCompilation
(test).GetDiagnostics().Verify(
2716
CreateCompilation
(test).GetDiagnostics().Verify(
2795
CreateCompilation
(test).GetDiagnostics().Verify(
2898
CreateCompilation
(test).GetDiagnostics().Verify(
2983
CreateCompilation
(test).GetDiagnostics().Verify(
3086
CreateCompilation
(test).GetDiagnostics().Verify(
3171
CreateCompilation
(test).GetDiagnostics().Verify(
3247
CreateCompilation
(test).GetDiagnostics().Verify(
3324
CreateCompilation
(test).GetDiagnostics().Verify(
3407
CreateCompilation
(test).GetDiagnostics().Verify(
3492
CreateCompilation
(test).GetDiagnostics().Verify(
3574
CreateCompilation
(test).GetDiagnostics().Verify(
3664
CreateCompilation
(test).GetDiagnostics().Verify(
3745
CreateCompilation
(test).GetDiagnostics().Verify(
3819
CreateCompilation
(test).GetDiagnostics().Verify(
3912
CreateCompilation
(test).GetDiagnostics().Verify(
3995
CreateCompilation
(test).GetDiagnostics().Verify(
4083
CreateCompilation
(test).GetDiagnostics().Verify(
4168
CreateCompilation
(test).GetDiagnostics().Verify(
4244
CreateCompilation
(test).GetDiagnostics().Verify(
4324
CreateCompilation
(test).GetDiagnostics().Verify(
4412
CreateCompilation
(test).GetDiagnostics().Verify(
4501
CreateCompilation
(test).GetDiagnostics().Verify(
4601
CreateCompilation
(test).GetDiagnostics().Verify(
4676
CreateCompilation
(test).GetDiagnostics().Verify(
4748
CreateCompilation
(test).GetDiagnostics().Verify(
4846
CreateCompilation
(test).GetDiagnostics().Verify(
4945
CreateCompilation
(test).GetDiagnostics().Verify(
5025
CreateCompilation
(test).GetDiagnostics().Verify(
5094
CreateCompilation
(test).GetDiagnostics().Verify(
5182
CreateCompilation
(test).GetDiagnostics().Verify(
5263
CreateCompilation
(test).GetDiagnostics().Verify(
5349
CreateCompilation
(test).GetDiagnostics().Verify(
5423
CreateCompilation
(test).GetDiagnostics().Verify(
5507
CreateCompilation
(test).GetDiagnostics().Verify(
5596
CreateCompilation
(test).GetDiagnostics().Verify(
5717
CreateCompilation
(test).GetDiagnostics().Verify(
5814
CreateCompilation
(test).GetDiagnostics().Verify(
5916
CreateCompilation
(test).GetDiagnostics().Verify(
6188
CreateCompilation
(test).GetDiagnostics().Verify(
6274
CreateCompilation
(test).GetDiagnostics().Verify(
6358
CreateCompilation
(test).GetDiagnostics().Verify(
6437
CreateCompilation
(test).GetDiagnostics().Verify(
6521
CreateCompilation
(test).GetDiagnostics().Verify(
6611
CreateCompilation
(test).GetDiagnostics().Verify(
6747
CreateCompilation
(test).GetDiagnostics().Verify(
6856
CreateCompilation
(tree).GetDiagnostics().Verify(
6939
CreateCompilation
(test).VerifyDiagnostics(
7025
CreateCompilation
(test).VerifyDiagnostics(
7119
CreateCompilation
(test).GetDiagnostics().Verify(
7226
CreateCompilation
(test).GetDiagnostics().Verify(
7328
CreateCompilation
(test).GetDiagnostics().Verify(
7437
CreateCompilation
(test).GetDiagnostics().Verify(
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
793
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
806
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\SwitchExpressionParsingTests.cs (2)
2569
CreateCompilation
(code).VerifyDiagnostics(
2650
CreateCompilation
(code).VerifyDiagnostics(
Parsing\TopLevelStatementsParsingTests.cs (2)
971
CreateCompilation
(test).VerifyDiagnostics(
3193
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\UsingDirectiveParsingTests.cs (66)
350
CreateCompilation
(text).VerifyDiagnostics(
605
CreateCompilation
(text).VerifyDiagnostics(
659
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
709
CreateCompilation
(text).VerifyDiagnostics(
771
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
831
CreateCompilation
(text).VerifyDiagnostics(
861
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
901
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
938
CreateCompilation
(text).VerifyDiagnostics(
975
CreateCompilation
(text).VerifyDiagnostics(
1019
CreateCompilation
(text).VerifyDiagnostics(
1064
CreateCompilation
(text).VerifyDiagnostics(
1108
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1156
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1231
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1304
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1379
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1466
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1545
CreateCompilation
(text).VerifyDiagnostics(
1605
CreateCompilation
(text).VerifyDiagnostics(
1708
CreateCompilation
(text).VerifyDiagnostics(
1807
CreateCompilation
(text).VerifyDiagnostics(
1848
CreateCompilation
(text).VerifyDiagnostics(
1898
CreateCompilation
(text).VerifyDiagnostics(
1945
CreateCompilation
(text).VerifyDiagnostics(
2023
CreateCompilation
(text).VerifyDiagnostics(
2096
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2173
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
2248
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2329
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2405
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2473
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2548
CreateCompilation
(text).VerifyDiagnostics(
2586
CreateCompilation
(text).VerifyDiagnostics();
2683
CreateCompilation
(text).VerifyDiagnostics();
2828
CreateCompilation
(text).VerifyDiagnostics();
2952
CreateCompilation
(text).VerifyDiagnostics(
3056
CreateCompilation
(text).VerifyDiagnostics();
3147
CreateCompilation
(text).VerifyDiagnostics(
3211
CreateCompilation
(text).VerifyDiagnostics(
3275
CreateCompilation
(text).VerifyDiagnostics(
3348
CreateCompilation
(text).VerifyDiagnostics(
3636
CreateCompilation
(text).VerifyDiagnostics(
3786
CreateCompilation
(text).VerifyDiagnostics(
3948
var comp =
CreateCompilation
(text);
3993
var comp =
CreateCompilation
(text);
4036
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4086
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4133
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4180
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4224
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4285
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4343
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4401
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4457
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4500
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4540
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4580
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4617
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4701
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4782
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4863
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4942
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5020
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5097
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5177
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
Parsing\ValueTupleTests.cs (1)
719
CreateCompilation
(test).VerifyDiagnostics(
Syntax\FieldAndValueKeywordTests.cs (44)
40
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
84
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
132
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
170
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
198
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
216
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
234
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
253
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
281
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
308
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
352
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
379
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
433
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
460
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
477
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
494
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
511
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
527
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
543
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
567
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
584
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
601
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
636
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
661
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
700
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
738
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
774
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
810
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
846
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
879
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
926
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
960
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
989
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1110
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1140
var comp =
CreateCompilation
(source);
1156
var comp =
CreateCompilation
(source);
1175
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1209
var comp =
CreateCompilation
(sourceA);
Syntax\SyntaxFactoryTests.cs (4)
632
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
649
CreateCompilation
(type, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
662
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
673
CreateCompilation
(type, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Syntax\SyntaxTreeTests.cs (6)
364
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
433
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
506
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
577
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
658
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
746
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (40)
CompilingTestBase.cs (1)
25
var compilation =
CreateCompilation
(program);
CSharpTestBase.cs (34)
663
CreateCompilation
(RefSafetyRulesAttributeDefinition).EmitToImageReference();
1003
var compilation =
CreateCompilation
(source, references, options, parseOptions, targetFramework, assemblyName: GetUniqueName());
1146
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1155
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1164
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1172
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib46, assemblyName, sourceFileName);
1190
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.WinRT, assemblyName, sourceFileName);
1198
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461AndCSharp, assemblyName, sourceFileName);
1206
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1214
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1222
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.StandardAndCSharp, assemblyName, sourceFileName);
1234
return
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1261
return
CreateCompilation
(source, allReferences, options, parseOptions, TargetFramework.Empty, assemblyName, sourceFileName);
1508
var c =
CreateCompilation
(cSharpSource, options: compilationOptions, targetFramework: targetFramework);
1514
var compilation =
CreateCompilation
(cSharpSource, new[] { reference }, compilationOptions, targetFramework: targetFramework);
1536
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe));
2062
var compilation =
CreateCompilation
(testSrc, targetFramework: targetFramework, options: compilationOptions ?? TestOptions.ReleaseDll, parseOptions: parseOptions);
2171
var compilation =
CreateCompilation
(
2190
var compilation =
CreateCompilation
(
2228
var compilation =
CreateCompilation
(
2259
var reference =
CreateCompilation
(
2265
var comp =
CreateCompilation
(
2308
var reference =
CreateCompilation
(TestSources.Index).VerifyDiagnostics();
2310
return
CreateCompilation
(
2319
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range }).VerifyDiagnostics();
2321
return
CreateCompilation
(
2330
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2332
return
CreateCompilation
(
2343
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2347
var reference =
CreateCompilation
(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2349
return
CreateCompilation
(
2361
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2365
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2367
return
CreateCompilation
(
DiagnosticTestUtilities.cs (1)
47
var comp = CSharpTestBase.
CreateCompilation
(srcs, parseOptions: TestOptions.RegularPreview);
SemanticModelTestBase.cs (4)
96
var compilation =
CreateCompilation
(source);
116
var compilation =
CreateCompilation
(testSrc, parseOptions: parseOptions);
137
var compilation =
CreateCompilation
(testSrc);
148
var compilation =
CreateCompilation
(testSrc);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (47)
CSharpFunctionResolverTests.cs (43)
29
var compilation =
CreateCompilation
(source);
62
var bytesA =
CreateCompilation
(sourceA).EmitToArray();
63
var bytesB =
CreateCompilation
(sourceB).EmitToArray();
235
var bytes =
CreateCompilation
(source).EmitToArray();
318
var moduleA = new Module(
CreateCompilation
(sourceA).EmitToArray(), name: "A.dll");
320
var moduleC = new Module(
CreateCompilation
(sourceC).EmitToArray(), name: "C.dll");
410
var compilationA =
CreateCompilation
(sourceA, assemblyName: nameA);
420
var compilationB =
CreateCompilation
(sourceB, assemblyName: nameB, options: TestOptions.DebugExe, references: new[] { refA });
458
var compilation =
CreateCompilation
(source);
485
var compilation =
CreateCompilation
(source);
512
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
537
var compilation =
CreateCompilation
(source);
560
var compilation =
CreateCompilation
(source);
595
var compilation =
CreateCompilation
(source);
624
var compilation =
CreateCompilation
(source);
661
var compilation =
CreateCompilation
(source);
698
var compilation =
CreateCompilation
(source);
745
var compilation =
CreateCompilation
(source);
782
var compilation =
CreateCompilation
(source);
827
var compilation =
CreateCompilation
(source);
863
var compilation =
CreateCompilation
(source);
907
var compilation =
CreateCompilation
(source);
953
var compilation =
CreateCompilation
(source);
1010
var compilation =
CreateCompilation
(source);
1066
var compilation =
CreateCompilation
(source);
1099
var compilation =
CreateCompilation
(source);
1134
var compilation =
CreateCompilation
(source);
1166
var compilation =
CreateCompilation
(source);
1201
var compilationA =
CreateCompilation
(sourceA);
1209
var compilationB =
CreateCompilation
(sourceB, references: new[] { refA });
1239
var compilation =
CreateCompilation
(source);
1260
var compilation =
CreateCompilation
(source);
1291
var compilation =
CreateCompilation
(source);
1319
var compilation =
CreateCompilation
(source);
1343
var compilation =
CreateCompilation
(source);
1370
var compilation =
CreateCompilation
(source);
1393
var compilation =
CreateCompilation
(source);
1418
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef });
1438
var compilation =
CreateCompilation
(source);
1487
var compilation =
CreateCompilation
(source);
1514
var compilation =
CreateCompilation
(source);
1545
var compilationB =
CreateCompilation
(sourceB, references: new[] { refA });
1572
var compilation =
CreateCompilation
(source);
VisualBasicFunctionResolverTests.cs (4)
32
var bytes =
CreateCompilation
(source).EmitToArray();
120
var compilation =
CreateCompilation
(source);
157
var compilation =
CreateCompilation
(source);
188
var compilation =
CreateCompilation
(source);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
279
Compilation compilation = CSharpTestBase.
CreateCompilation
(trees.ToArray(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: assemblyName);
Microsoft.CodeAnalysis.Rebuild.UnitTests (9)
CompilationOptionsReaderTests.cs (2)
44
var compilation =
CreateCompilation
(
58
var compilation =
CreateCompilation
(
CSharpDeterministicKeyBuilderTests.cs (4)
76
var compilation = CSharpTestBase.
CreateCompilation
(
156
var compilation = CSharpTestBase.
CreateCompilation
(source);
195
var compilation = CSharpTestBase.
CreateCompilation
(syntaxTree);
218
var compilation = CSharpTestBase.
CreateCompilation
(
CSharpRebuildTests.cs (1)
22
var original =
CreateCompilation
(
OptionRoundTripTests.cs (2)
39
var original =
CreateCompilation
(
78
var original =
CreateCompilation
(
SemanticSearch.BuildTask.UnitTests (3)
GenerateFilteredReferenceAssembliesTaskTests.cs (3)
95
var libSource =
CreateCompilation
("""
142
var libSource =
CreateCompilation
("""
187
var libSource =
CreateCompilation
("""