22845 references to CreateCompilation
InteractiveHost.UnitTests (6)
InteractiveHostDesktopTests.cs (6)
505
var c1 =
CreateCompilation
(source1, assemblyName: "C");
517
var c2 =
CreateCompilation
(source2, assemblyName: "C");
545
var c1 =
CreateCompilation
(source1, assemblyName: "C");
549
var c2 =
CreateCompilation
(source2, assemblyName: "C");
580
var c1 =
CreateCompilation
(source1, assemblyName: "C");
584
var c2 =
CreateCompilation
(source2, assemblyName: "C");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
698
var compilation =
CreateCompilation
(new SyntaxTree[0]);
822
var compilation =
CreateCompilation
(new SyntaxTree[0]);
11047
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
11072
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (41)
SymbolKey\SymbolKeyCompilationsTests.cs (33)
72
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
73
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
93
var comp1 =
CreateCompilation
(src1, assemblyName: "C2CErrorSymbolUnchanged01");
94
var comp2 =
CreateCompilation
(src2, assemblyName: "C2CErrorSymbolUnchanged01");
125
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
151
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
195
var compilation = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
221
var comp1 =
CreateCompilation
(src1);
222
var comp2 =
CreateCompilation
(src1);
250
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
251
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
270
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
271
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
294
var originalComp =
CreateCompilation
(new[] { SyntaxFactory.ParseSyntaxTree(src1, path: "file1.cs"), SyntaxFactory.ParseSyntaxTree(src1, path: "file2.cs") }, assemblyName: "Test");
295
var newComp =
CreateCompilation
(new[] { SyntaxFactory.ParseSyntaxTree(src1, path: "file1.cs"), SyntaxFactory.ParseSyntaxTree(src1, path: "file2.cs") }, assemblyName: "Test");
322
var originalComp =
CreateCompilation
(new[] { src1, src2 }, assemblyName: "Test");
323
var newComp =
CreateCompilation
(new[] { src1, src2 }, assemblyName: "Test");
384
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
385
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
420
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
421
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
467
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
468
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
499
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
500
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
524
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
525
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
546
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
547
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
575
var compilation1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
576
var compilation2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
619
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
620
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Assembly");
SymbolKey\SymbolKeyErrorTypeTests.cs (1)
381
var sourceCompilation = (Compilation)
CreateCompilation
(source, options: new(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true));
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (7)
60
var comp1 =
CreateCompilation
(src1);
63
var comp2 = (Compilation)
CreateCompilation
(src2, new MetadataReference[] { new CSharpCompilationReference(comp1) });
142
var comp1 =
CreateCompilation
(src1);
145
var comp2 =
CreateCompilation
(src2, new MetadataReference[] { comp1.EmitToImageReference() });
232
var comp40 = (Compilation)
CreateCompilation
(src2, new MetadataReference[] { comp20.EmitToImageReference() });
330
var comp40 =
CreateCompilation
(src2, new[] { new CSharpCompilationReference(comp20) });
412
var comp40 =
CreateCompilation
(src2, new[] { new CSharpCompilationReference(comp20) });
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2111)
BreakingChanges.cs (30)
42
var comp =
CreateCompilation
(text);
65
var comp =
CreateCompilation
(text);
82
var compilation1 =
CreateCompilation
(source1);
92
var comp =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) });
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);
1653
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncIteratorTests.cs (4)
1112
var comp1 =
CreateCompilation
(_enumerable);
1120
var comp2 =
CreateCompilation
(@"
1138
var comp3 =
CreateCompilation
(_enumerator);
6202
var comp =
CreateCompilation
(AsyncStreamsTypes, references: new[] { TestMetadata.SystemThreadingTasksExtensions.NetStandard20Lib }, targetFramework: TargetFramework.NetStandard20);
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)
3406
CreateCompilation
(@"
3821
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(
3826
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics().VerifyEmitDiagnostics(
3984
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4208
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4427
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4809
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5002
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5187
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5387
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5601
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5842
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6087
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6253
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncTests.cs (4)
5786
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5819
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5929
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseDll);
6053
var comp = CSharpTestBase.
CreateCompilation
(source);
CodeGen\CodeGenAwaitForeachTests.cs (20)
5309
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5433
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5466
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5670
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5706
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5742
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5779
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5984
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6614
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6654
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6728
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6772
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6850
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6924
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
6991
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7315
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7359
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7896
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
7950
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
8056
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
CodeGen\CodeGenAwaitUsingTests.cs (3)
1630
var comp =
CreateCompilation
(source);
2420
var comp =
CreateCompilation
(source);
2443
var comp =
CreateCompilation
(source);
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)
4207
CreateCompilation
(source).VerifyEmitDiagnostics(
CodeGen\CodeGenConditionalOperatorTests.cs (2)
131
var comp =
CreateCompilation
(source);
3342
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 (3)
7458
var lib =
CreateCompilation
(sourceLib);
7551
var lib =
CreateCompilation
(sourceLib);
13691
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
CodeGen\CodeGenExplicitImplementationTests.cs (13)
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);
996
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libComp, aliases: ImmutableArray.Create("Q")) });
1038
var libComp1 =
CreateCompilation
(libSource, assemblyName: "lib1");
1041
var libComp2 =
CreateCompilation
(libSource, assemblyName: "lib2");
1045
var comp1 =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libComp1, aliases: ImmutableArray.Create("A")), new CSharpCompilationReference(libComp1, aliases: ImmutableArray.Create("B")) });
1061
var comp2 =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libComp1, aliases: ImmutableArray.Create("A")), new CSharpCompilationReference(libComp2, aliases: ImmutableArray.Create("B")) });
CodeGen\CodeGenExprLambdaTests.cs (3)
3714
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
3764
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
3820
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenFieldInitTests.cs (9)
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");
701
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) }, assemblyName: "2110a705-cc34-430b-9450-ca37031aa828")
CodeGen\CodeGenForEachTests.cs (36)
1388
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1743
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
2406
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2430
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2456
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2479
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2625
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2657
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2799
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2834
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2869
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2904
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2941
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3068
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3405
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3436
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3471
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3507
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3584
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3710
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3749
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3788
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3858
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3901
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3975
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4045
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4136
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4170
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4202
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4234
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4411
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4453
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4878
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5016
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5069
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5170
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
CodeGen\CodeGenFunctionPointersTests.cs (83)
36
var comp =
CreateCompilation
(
48
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: targetFramework ?? TargetFramework.Net50);
56
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Empty);
2518
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2551
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2578
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2580
var intermediate =
CreateCompilation
(@"
2611
var aRef =
CreateCompilation
(@"
2616
var bRef =
CreateCompilation
(@"
2624
var cComp =
CreateCompilation
(@"
2642
var aRef =
CreateCompilation
(@"
2646
var bRef =
CreateCompilation
(@"
2654
var cComp =
CreateCompilation
(@"
7723
var reference =
CreateCompilation
(source1);
7810
var comp =
CreateCompilation
(new[] { @"
7839
var comp =
CreateCompilation
(new[] { @"
7946
var comp =
CreateCompilation
(new[] { @"
7972
var comp =
CreateCompilation
(new[] { @"
8062
var comp =
CreateCompilation
(new[] { @"
8081
var comp =
CreateCompilation
(new[] { @"
8154
var comp =
CreateCompilation
(new[] { @"
8197
var comp =
CreateCompilation
(new[] { @"
8232
var comp =
CreateCompilation
(new[] { @"
8327
var comp =
CreateCompilation
(new[] { @"
8461
var comp =
CreateCompilation
(new[] { @"
8480
var comp =
CreateCompilation
(new[] { @"
8508
var comp =
CreateCompilation
(new[] { @"
8644
var comp0 =
CreateCompilation
(new[] { @"
8823
var comp =
CreateCompilation
(new[] { @"
8858
var comp =
CreateCompilation
(new[] { @"
8948
var comp =
CreateCompilation
(new[] { @"
9083
var comp =
CreateCompilation
(new[] { @"
9168
var comp =
CreateCompilation
(new[] { @"
9230
var comp =
CreateCompilation
(new[] { @"
9329
var comp =
CreateCompilation
(new[] { @"
9360
var comp =
CreateCompilation
(new[] { @"
9391
var comp =
CreateCompilation
(new[] { @"
9423
var comp =
CreateCompilation
(new[] { @"
9463
var comp =
CreateCompilation
(new[] { @"
9490
var comp =
CreateCompilation
(new[] { @"
9521
var comp =
CreateCompilation
(new[] { @"
9567
var comp =
CreateCompilation
(new[] { @"
9604
var comp =
CreateCompilation
(new[] { @"
9637
var comp =
CreateCompilation
(new[] { @"
9673
var comp =
CreateCompilation
(new[] { @"
9692
var comp =
CreateCompilation
(new[] { @"
9718
var comp =
CreateCompilation
(new[] { @"
9737
var comp =
CreateCompilation
(new[] { @"
9773
var comp =
CreateCompilation
(new[] { @"
9803
var comp =
CreateCompilation
(new[] { @"
9827
var comp =
CreateCompilation
(new[] { @"
9856
var comp =
CreateCompilation
(new[] { @"
9879
var comp =
CreateCompilation
(@"
9905
var comp =
CreateCompilation
(@"
9931
var comp =
CreateCompilation
(new[] { @"
9950
var comp =
CreateCompilation
(new[] { @"
9971
var comp =
CreateCompilation
(new[] { @"
10100
var comp =
CreateCompilation
(@"
10171
var definitionComp =
CreateCompilation
(definition);
10225
var definitionComp =
CreateCompilation
(definition);
10278
var refComp =
CreateCompilation
(source1);
10343
var refComp =
CreateCompilation
(source1);
11465
CreateCompilation
(source).VerifyEmitDiagnostics(
11490
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11514
CreateCompilation
(source).VerifyEmitDiagnostics(
11539
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11564
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11589
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11671
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11725
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11807
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11833
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11858
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11885
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11908
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
11935
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11960
CreateCompilation
(source).VerifyEmitDiagnostics(
11986
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12041
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12067
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12092
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12119
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12232
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
CodeGen\CodeGenImplicitImplementationTests.cs (3)
821
CreateCompilation
(source)
2293
var libComp =
CreateCompilation
(libSource, options: TestOptions.ReleaseDll, assemblyName: "OtherAssembly");
2296
var exeComp =
CreateCompilation
(exeSource, options: TestOptions.ReleaseExe, references: new[] { new CSharpCompilationReference(libComp) });
CodeGen\CodeGenImplicitlyTypeArraysTests.cs (4)
127
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended);
935
var comp =
CreateCompilation
(testSrc);
960
var comp =
CreateCompilation
(testSrc);
995
CreateCompilation
(text).VerifyDiagnostics(
CodeGen\CodeGenInParametersTests.cs (24)
2743
var reference =
CreateCompilation
(@"
2774
var reference =
CreateCompilation
(@"
2805
var reference =
CreateCompilation
(@"
2836
var reference =
CreateCompilation
(@"
2866
var reference =
CreateCompilation
(@"
3743
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3794
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3852
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3916
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3978
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4057
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4113
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4171
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4234
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4307
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4364
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4752
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4762
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4773
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4798
var comp =
CreateCompilation
(src, references: new[] { libChanged.EmitToImageReference(), libUser.EmitToImageReference() });
4812
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4822
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4839
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4878
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 (1)
1971
var comp =
CreateCompilation
(parsed);
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)
1901
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1922
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1943
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1972
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2000
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2036
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 });
2721
CreateCompilation
(@"
2743
CreateCompilation
(@"
2770
var c1 =
CreateCompilation
(source);
2777
var c2 =
CreateCompilation
(source);
CodeGen\CodeGenOperators.cs (14)
1595
CreateCompilation
(source).VerifyDiagnostics(
5284
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5343
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5451
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5536
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5574
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5936
var comp =
CreateCompilation
(source);
5961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6064
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6088
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6326
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6376
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6734
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6790
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
CodeGen\CodeGenOverridingAndHiding.cs (27)
1194
var compilation =
CreateCompilation
(substitutedSource, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest);
2243
var compilation1 =
CreateCompilation
(source1);
2535
CreateCompilation
(source,
2540
CreateCompilation
(source2,
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
(
4174
var compref =
CreateCompilation
(source, assemblyName: "XNoDefaultForParams_Dev10781558_Library");
4379
var A =
CreateCompilation
(@"public class A {}", assemblyName: "A");
4380
var B =
CreateCompilation
(@"public interface B { void M(A a); }", references: new[] { new CSharpCompilationReference(A) }, assemblyName: "B");
4381
var C =
CreateCompilation
(@"public class C { public void M(A a) { } }", references: new[] { new CSharpCompilationReference(A) }, assemblyName: "C");
4383
var D =
CreateCompilation
(@"public class D : C, B { }", references: new[] { new CSharpCompilationReference(B), new CSharpCompilationReference(C) }, assemblyName: "D");
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (5)
110
var comp =
CreateCompilation
(@"
592
var comp =
CreateCompilation
(@"
2560
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2608
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2659
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
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 (2)
1266
var comp =
CreateCompilation
(code, options: options);
1353
var comp =
CreateCompilation
(code, options: options);
CodeGen\CodeGenRefLocalTests.cs (10)
515
var comp =
CreateCompilation
(@"
3227
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
3251
var comp =
CreateCompilation
(text);
3284
var comp =
CreateCompilation
(text);
3322
var comp =
CreateCompilation
(text);
3364
var c =
CreateCompilation
(source);
3465
var comp =
CreateCompilation
(code, options: options);
3599
var comp =
CreateCompilation
(code, options: options);
3651
var comp =
CreateCompilation
(code, options: options);
3707
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)
5370
var compilation =
CreateCompilation
(source);
5500
var compilation =
CreateCompilation
(source);
5629
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
5766
var compilation =
CreateCompilation
(source);
7561
var compilation =
CreateCompilation
(source);
CodeGen\CodeGenStackAllocInitializerTests.cs (2)
846
var comp =
CreateCompilation
(@"
891
var comp =
CreateCompilation
(@"
CodeGen\CodeGenStructsAndEnum.cs (1)
1596
CreateCompilation
(@"
CodeGen\CodeGenTests.cs (16)
38
var comp =
CreateCompilation
(src, parseOptions: parseOptions, options: options);
10453
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10842
CreateCompilation
(source).VerifyDiagnostics();
10846
CreateCompilation
(source).VerifyDiagnostics(
11773
var compilation1 =
CreateCompilation
(source1);
12911
CreateCompilation
(source).VerifyDiagnostics(
12933
CreateCompilation
(source).VerifyDiagnostics(
13253
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithConcurrentBuild(false));
13460
var reference =
CreateCompilation
(@"
13492
var comp =
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() });
13499
comp =
CreateCompilation
(code, references: new[] { reference.EmitToImageReference() });
13562
var comp =
CreateCompilation
(code, references: new[] { reference });
13595
var compRelease =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13596
var compDebug =
CreateCompilation
(source, options: TestOptions.DebugExe);
13639
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
14639
compilation =
CreateCompilation
(text);
CodeGen\CodeGenThrowTests.cs (2)
335
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
399
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenTryFinally.cs (2)
3085
CreateCompilation
(text).VerifyDiagnostics(
3107
CreateCompilation
(text).VerifyDiagnostics();
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);
772
var comp =
CreateCompilation
(source);
806
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
851
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
868
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
916
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
965
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1015
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1069
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1103
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1135
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1166
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1198
var comp =
CreateCompilation
(source);
1226
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1255
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1280
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1302
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1326
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1356
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1369
comp =
CreateCompilation
(source);
1397
var comp =
CreateCompilation
(source);
1458
var comp =
CreateCompilation
(source);
1510
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1571
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1608
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1633
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1670
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1683
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1762
var comp =
CreateCompilation
(source);
1784
var comp =
CreateCompilation
(source);
1827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1843
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1861
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1881
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1914
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1932
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1964
var comp =
CreateCompilation
(source);
1992
var comp =
CreateCompilation
(source);
2016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2029
comp =
CreateCompilation
(source);
2196
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2240
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2287
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2318
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2341
var comp =
CreateCompilation
(source);
2435
var comp =
CreateCompilation
(source.Replace("EXPRESSION", expression), options: TestOptions.DebugExe);
2523
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2569
var comp =
CreateCompilation
(source);
2753
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2840
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2879
var comp =
CreateCompilation
(source);
2912
var comp =
CreateCompilation
(source);
2938
var comp =
CreateCompilation
(source);
2965
var comp =
CreateCompilation
(source);
3004
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3034
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3053
var comp =
CreateCompilation
(source);
3078
var comp =
CreateCompilation
(source);
3106
var comp =
CreateCompilation
(source);
3131
var comp =
CreateCompilation
(source);
3180
var comp =
CreateCompilation
(source);
3215
var comp =
CreateCompilation
(source);
3255
var comp =
CreateCompilation
(source);
3292
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3377
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3412
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3447
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3663
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3698
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3797
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3822
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3925
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4018
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4096
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4137
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4198
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4252
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4282
var comp =
CreateCompilation
(source);
4325
var comp =
CreateCompilation
(source);
4354
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4402
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4498
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4602
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4692
var comp =
CreateCompilation
(source.Replace("REPLACE", expression), options: TestOptions.DebugExe);
4762
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
4818
var comp =
CreateCompilation
(source);
4856
var comp =
CreateCompilation
(source);
4954
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
5020
var comp =
CreateCompilation
(source);
5066
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5106
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5128
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5171
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5241
var comp =
CreateCompilation
(source);
5265
var comp =
CreateCompilation
(source);
5287
var comp =
CreateCompilation
(source);
5317
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5337
var comp =
CreateCompilation
(source);
5364
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5392
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5413
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5439
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5460
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
5523
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5579
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (342)
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);
3308
CreateCompilation
(source);
3562
CreateCompilation
(source).VerifyDiagnostics(
3760
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "UseSiteDiagnosticOnTupleField_missingComp");
3814
var comp7 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7");
3821
var comp7_1 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular7_1, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7_1");
3966
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
4072
var comp7 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
4220
var comp1 =
CreateCompilation
(source1);
4222
var comp2 =
CreateCompilation
(source2);
4267
var comp1 =
CreateCompilation
(source1);
4269
var comp2 =
CreateCompilation
(source2);
4271
var comp =
CreateCompilation
(source, references: new[] { new CSharpCompilationReference(comp1), new CSharpCompilationReference(comp2) }, options: TestOptions.ReleaseExe);
4455
var comp =
CreateCompilation
(source, assemblyName: "comp");
4657
var comp =
CreateCompilation
(source, assemblyName: "comp");
4696
var comp =
CreateCompilation
(source, assemblyName: "comp");
4825
var comp =
CreateCompilation
(source);
4941
var comp =
CreateCompilation
(source);
4971
var comp =
CreateCompilation
(source);
4998
var comp =
CreateCompilation
(source);
5025
var comp =
CreateCompilation
(source);
5061
var comp =
CreateCompilation
(source);
5105
var comp =
CreateCompilation
(source);
5143
var comp =
CreateCompilation
(source);
5187
var comp =
CreateCompilation
(source);
5258
var comp =
CreateCompilation
(source);
5403
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5413
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5465
var comp =
CreateCompilation
(new[] { tree });
5603
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
5897
var tupleComp =
CreateCompilation
(trivial2uple);
5932
var tupleComp =
CreateCompilation
(trivial2uple_withoutFields);
6043
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6178
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6356
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6375
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6535
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6594
var comp = (Compilation)
CreateCompilation
(source);
6629
var comp = (Compilation)
CreateCompilation
(source);
6671
var comp = (Compilation)
CreateCompilation
(source);
6710
var comp = (Compilation)
CreateCompilation
(source);
6751
var comp = (Compilation)
CreateCompilation
(source);
6789
var comp =
CreateCompilation
(source);
6829
var comp = (Compilation)
CreateCompilation
(source);
6859
var comp = (Compilation)
CreateCompilation
(source);
6898
var comp = (Compilation)
CreateCompilation
(source);
6956
var comp =
CreateCompilation
(source);
7039
CreateCompilation
(source).VerifyDiagnostics(
7096
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7213
CreateCompilation
(source).VerifyDiagnostics(
7269
CreateCompilation
(source).VerifyDiagnostics(
7405
CreateCompilation
(source).VerifyDiagnostics(
7455
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7497
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7530
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7567
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7624
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7723
CreateCompilation
(source).VerifyDiagnostics(
8007
CreateCompilation
(source).VerifyDiagnostics(
8052
CreateCompilation
(source).VerifyDiagnostics(
8082
CreateCompilation
(source).VerifyEmitDiagnostics(
8121
CreateCompilation
(source).VerifyEmitDiagnostics(
8160
CreateCompilation
(source).VerifyEmitDiagnostics(
8197
CreateCompilation
(source).VerifyEmitDiagnostics(
8228
CreateCompilation
(source).VerifyEmitDiagnostics(
8252
CreateCompilation
(source).VerifyEmitDiagnostics(
8273
CreateCompilation
(source).VerifyEmitDiagnostics(
8294
var comp =
CreateCompilation
(tree);
8325
var comp =
CreateCompilation
(tree);
8380
var comp =
CreateCompilation
(tree);
8409
var comp =
CreateCompilation
(tree);
8438
var comp =
CreateCompilation
(tree);
8486
var comp =
CreateCompilation
(tree);
8520
var comp =
CreateCompilation
(tree);
8553
var comp =
CreateCompilation
(tree);
8582
var comp =
CreateCompilation
(tree);
8629
var comp =
CreateCompilation
(tree);
8664
var comp =
CreateCompilation
(tree);
8693
var comp =
CreateCompilation
(tree);
8722
var comp =
CreateCompilation
(tree);
8752
var comp =
CreateCompilation
(tree);
8807
var comp =
CreateCompilation
(tree);
8837
var comp =
CreateCompilation
(tree);
8896
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
8943
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9014
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9066
var comp =
CreateCompilation
(tree,
9143
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9224
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9307
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9361
var comp =
CreateCompilation
(tree,
9814
var comp =
CreateCompilation
(source);
9851
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9906
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9948
var comp =
CreateCompilation
(source);
9994
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10033
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10060
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10133
var comp =
CreateCompilation
(source);
10240
var comp =
CreateCompilation
(source);
10272
var comp =
CreateCompilation
(source);
10763
var comp =
CreateCompilation
(source);
10920
var comp =
CreateCompilation
(source);
10947
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
12064
var comp =
CreateCompilation
(source);
12349
var comp =
CreateCompilation
(source);
12435
var comp =
CreateCompilation
(source);
12538
var comp =
CreateCompilation
(source);
13139
var comp =
CreateCompilation
(source);
13345
var comp =
CreateCompilation
(source, assemblyName: "test");
13377
var comp =
CreateCompilation
(source, assemblyName: "test");
13525
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13588
var comp =
CreateCompilation
(source);
14032
var comp =
CreateCompilation
(source);
14402
var comp = (Compilation)
CreateCompilation
(source,
16154
var comp =
CreateCompilation
(source);
16175
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16204
var comp =
CreateCompilation
(source);
16225
var comp =
CreateCompilation
(source);
16249
var comp =
CreateCompilation
(source);
16275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16306
var comp =
CreateCompilation
(source);
16332
var comp =
CreateCompilation
(source);
16355
var comp =
CreateCompilation
(source);
16430
var comp =
CreateCompilation
(source, references: new[] { SystemRef });
16521
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16536
var comp =
CreateCompilation
(source);
16733
var comp =
CreateCompilation
(source);
16770
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib");
16773
var comp1 =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() });
16776
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
17183
var comp =
CreateCompilation
(source,
17212
var comp =
CreateCompilation
(tree);
17273
var comp =
CreateCompilation
(tree);
17332
var comp =
CreateCompilation
(tree);
17371
var comp =
CreateCompilation
(tree);
17403
var comp =
CreateCompilation
(tree);
17436
var comp =
CreateCompilation
(tree);
17963
var comp =
CreateCompilation
(source,
18127
var comp =
CreateCompilation
(source);
18178
var comp =
CreateCompilation
(source);
18217
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18257
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18668
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18829
var comp =
CreateCompilation
(source);
18846
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18864
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18884
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18907
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18924
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18949
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18950
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18974
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18975
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18999
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19000
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19025
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19026
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19140
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19179
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19223
var comp =
CreateCompilation
(source);
19278
var comp =
CreateCompilation
(source);
19342
var comp =
CreateCompilation
(source);
19382
var comp =
CreateCompilation
(source);
19422
var comp =
CreateCompilation
(source);
19470
var comp =
CreateCompilation
(source);
19528
var comp =
CreateCompilation
(source);
19583
var comp =
CreateCompilation
(source);
19604
var comp =
CreateCompilation
(source);
19642
var comp =
CreateCompilation
(source);
19695
var comp =
CreateCompilation
(source);
19736
var comp =
CreateCompilation
(source);
19771
var comp1 =
CreateCompilation
(source1 + trivial2uple + source2);
19857
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
19896
var comp =
CreateCompilation
(source);
19932
var comp =
CreateCompilation
(source);
19968
var comp =
CreateCompilation
(source);
20033
var comp =
CreateCompilation
(source);
20086
var comp =
CreateCompilation
(source);
20120
var comp =
CreateCompilation
(source);
20147
var comp =
CreateCompilation
(source);
20183
var comp =
CreateCompilation
(source);
20220
var comp =
CreateCompilation
(source);
20260
var comp =
CreateCompilation
(source);
20280
var comp =
CreateCompilation
(source);
20314
var comp =
CreateCompilation
(source);
20342
var comp =
CreateCompilation
(source);
20416
var comp = (Compilation)
CreateCompilation
(source);
20545
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
20630
var comp = (Compilation)
CreateCompilation
(source);
20745
var comp = (Compilation)
CreateCompilation
(source);
20794
var comp =
CreateCompilation
(source);
20839
var comp =
CreateCompilation
(source);
20864
var comp =
CreateCompilation
(source);
20892
var comp =
CreateCompilation
(source);
20933
var comp =
CreateCompilation
(source);
20981
var comp =
CreateCompilation
(source);
21009
var comp =
CreateCompilation
(source);
21041
var comp =
CreateCompilation
(source);
21064
var comp =
CreateCompilation
(source);
21087
var comp =
CreateCompilation
(source);
21105
var comp =
CreateCompilation
(source);
21139
var comp =
CreateCompilation
(source);
21157
var comp =
CreateCompilation
(source);
21188
var comp =
CreateCompilation
(source);
21347
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
21384
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
21921
var comp =
CreateCompilation
(source,
22041
var comp =
CreateCompilation
(source,
22093
var comp =
CreateCompilation
(source,
22132
var comp =
CreateCompilation
(source,
22280
var comp =
CreateCompilation
(source);
22458
var comp =
CreateCompilation
(source);
22573
var comp =
CreateCompilation
(source);
22614
var comp =
CreateCompilation
(source, assemblyName: "comp");
22671
var comp =
CreateCompilation
(source);
22693
var comp =
CreateCompilation
(source);
22722
var comp =
CreateCompilation
(source);
22745
var comp1 =
CreateCompilation
(source);
22762
var comp1 =
CreateCompilation
(source);
22779
var comp1 =
CreateCompilation
(source);
22802
var comp =
CreateCompilation
(source, assemblyName: "comp", options: TestOptions.DebugExe);
22929
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
22998
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23042
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23076
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23118
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23157
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23429
var comp1 =
CreateCompilation
(source);
24292
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24355
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24420
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24492
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24565
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24635
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24676
var comp =
CreateCompilation
(source);
24692
var comp =
CreateCompilation
(source);
24715
var comp =
CreateCompilation
(source);
24738
var comp =
CreateCompilation
(source);
24765
var comp =
CreateCompilation
(source);
24791
var comp =
CreateCompilation
(source);
24822
var comp =
CreateCompilation
(source);
24850
var comp =
CreateCompilation
(source);
24873
var comp1 =
CreateCompilation
(source1);
24889
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
24920
var comp =
CreateCompilation
(source);
24946
var comp =
CreateCompilation
(source);
24972
var comp =
CreateCompilation
(source);
24998
var comp =
CreateCompilation
(source);
25024
var comp =
CreateCompilation
(source);
25056
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
25078
var comp =
CreateCompilation
(source);
25112
var comp =
CreateCompilation
(source);
25225
var comp =
CreateCompilation
(source);
25266
var comp =
CreateCompilation
(source);
26163
CreateCompilation
(source).VerifyDiagnostics(
26233
CreateCompilation
(source).VerifyDiagnostics(
26254
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
26300
CreateCompilation
(text).VerifyDiagnostics(
26328
var comp =
CreateCompilation
(source);
26361
var comp =
CreateCompilation
(source);
26394
var comp =
CreateCompilation
(source);
26427
var comp =
CreateCompilation
(source);
26626
var missing =
CreateCompilation
(missing_cs);
26644
var lib =
CreateCompilation
(lib_cs, references: new[] { missingRef });
26657
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
26669
var executeComp =
CreateCompilation
(executable_cs, references: new[] { comp.EmitToImageReference(), libRef, missingRef }, options: TestOptions.DebugExe);
26679
var comp =
CreateCompilation
(sourceA, assemblyName: "A");
26684
comp =
CreateCompilation
(sourceB, references: new[] { refA });
26696
comp =
CreateCompilation
(sourceC, references: new[] { refB });
27077
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27084
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27087
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27091
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27095
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27161
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27168
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27171
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27175
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27179
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27235
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27242
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27245
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27249
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27253
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27313
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27320
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27323
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27327
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27331
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27374
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27432
var comp =
CreateCompilation
(source);
27575
var comp0 =
CreateCompilation
(new[] { source0, source1 }, options: TestOptions.DebugDll);
27578
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
27581
var comp2 =
CreateCompilation
(source1, references: new[] { comp1.EmitToImageReference() }, options: TestOptions.DebugDll);
27601
var comp =
CreateCompilation
(new[] { source }, options: TestOptions.DebugDll);
27690
var comp =
CreateCompilation
(
27937
var comp =
CreateCompilation
(
27959
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45);
27987
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple");
28008
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
28015
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28063
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
28097
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
28130
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28193
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28224
var comp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28227
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28338
var comp =
CreateCompilation
(trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28341
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28426
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28430
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28521
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28569
var comp =
CreateCompilation
(source);
28587
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45);
28623
var comp =
CreateCompilation
(source);
28655
var comp =
CreateCompilation
(source);
28721
var comp =
CreateCompilation
(source);
28840
var comp =
CreateCompilation
(source + trivialRemainingTuples);
29025
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Minimal);
CodeGen\CodeGenUsingDeclarationTests.cs (1)
816
var comp =
CreateCompilation
(source);
CodeGen\CodeGenUsingStatementTests.cs (14)
1154
var comp =
CreateCompilation
(source);
1236
var comp =
CreateCompilation
(source);
1266
var comp =
CreateCompilation
(source);
1393
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoConvToIDisp, "obj").WithArguments("T"));
1428
CreateCompilation
(source).VerifyDiagnostics(
1462
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_UseDefViolationOut, "y").WithArguments("y"));
1486
CreateCompilation
(source).VerifyDiagnostics(
1513
CreateCompilation
(source).VerifyDiagnostics(
2535
CreateCompilation
(source).VerifyDiagnostics(
2571
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_FixedMustInit, "res2"));
2653
CreateCompilation
(source).VerifyDiagnostics(
2689
CreateCompilation
(source).VerifyDiagnostics();
2732
CreateCompilation
(source).VerifyDiagnostics(
2772
CreateCompilation
(source).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 (1)
483
var comp =
CreateCompilation
(@"
CodeGen\IndexAndRangeTests.cs (5)
3418
var comp =
CreateCompilation
(new[] { source, TestSources.Index });
3451
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3494
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3527
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3578
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
CodeGen\ITuplePatternTests.cs (1)
19
return
CreateCompilation
(new[] { source, _iTupleSource }, options: options ?? TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3445
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3484
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);
4338
var compilation =
CreateCompilation
(source, options: compilationOptions);
4517
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4551
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4585
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4782
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4815
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4851
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4889
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4923
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4997
var compilation =
CreateCompilation
(source);
5123
var compilation =
CreateCompilation
(source);
5272
var compilation =
CreateCompilation
(source);
5405
var compilation =
CreateCompilation
(source);
5462
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5490
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5516
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5558
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5616
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5662
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5724
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5798
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5888
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5947
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6034
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6118
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 (3)
9632
var comp =
CreateCompilation
($@"
10427
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10881
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
Emit\CompilationEmitTests.cs (114)
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);
4044
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseModule.WithModuleName(name + extension), assemblyName: null);
4074
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4105
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4136
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4167
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4205
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule, assemblyName: "ContentType");
4225
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll);
4248
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4283
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
4312
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4359
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4420
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4486
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4543
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4605
var c1 =
CreateCompilation
(p1, options: TestOptions.ReleaseDll, assemblyName: Guid.NewGuid().ToString());
4615
var comp =
CreateCompilation
(source1, options: TestOptions.ReleaseModule);
4626
var c1 =
CreateCompilation
(p1);
4654
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
5064
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5136
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5157
var compilation =
CreateCompilation
(source);
5182
var compilation =
CreateCompilation
(source);
5201
var compilation =
CreateCompilation
(source, null, TestOptions.DebugDll);
5257
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule);
5261
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule, references: new[] { ref1 });
5265
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe, references: new[] { ref1, ref2 });
5304
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule.WithModuleName("A"));
5308
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule.WithModuleName("B"), references: new[] { ref1 });
5312
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe.WithModuleName("C"), references: new[] { ref1, ref2 });
5349
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll);
5411
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll, references: new[] { CSharpRef });
5449
var compilation =
CreateCompilation
(source);
5462
var comp =
CreateCompilation
("class C {}");
5501
var compilation =
CreateCompilation
(source);
5528
var compilation =
CreateCompilation
(source);
5544
var modRef =
CreateCompilation
("public class A { }", options: TestOptions.ReleaseModule, assemblyName: "refMod").EmitToImageReference();
5545
var comp =
CreateCompilation
("public class B : A { }", references: new[] { modRef }, assemblyName: "sourceMod");
5585
var compilation =
CreateCompilation
(source, options: options);
5636
var compilation =
CreateCompilation
(source, options: options);
Emit\DesktopStrongNameProviderTests.cs (2)
49
var comp =
CreateCompilation
(src, options: options);
66
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\DynamicAnalysis\DynamicInstrumentationTests.cs (1)
3589
var compilation =
CreateCompilation
(trees.ToArray(), options: (options ?? TestOptions.ReleaseExe).WithDeterministic(true));
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\EditAndContinueClosureTests.cs (47)
44
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
99
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
160
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
232
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
290
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
342
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
402
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
456
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
511
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
567
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
622
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
689
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
768
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
842
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
909
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
968
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1056
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1145
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1229
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1320
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1402
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1479
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1578
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1669
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1776
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1974
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2186
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2648
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
2718
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
2824
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
2944
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3040
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3101
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3229
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3345
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3470
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3592
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3713
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3988
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4073
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4155
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4228
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4310
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4407
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4493
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugExe);
4552
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
4600
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
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\EditAndContinueStateMachineTests.cs (3)
46
var compilation0 =
CreateCompilation
(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll);
9767
var compilation0 =
CreateCompilation
(new[] { source0.Tree }, options: ComSafeDebugDll);
9900
var compilation0 =
CreateCompilation
(new[] { source0.Tree }, options: ComSafeDebugDll);
Emit\EditAndContinue\EditAndContinueTest.cs (1)
50
var compilation = CSharpTestBase.
CreateCompilation
(source.Tree, options: _options, targetFramework: _targetFramework);
Emit\EditAndContinue\EditAndContinueTests.cs (127)
146
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
192
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
276
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
346
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
384
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
454
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
542
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
802
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
917
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1040
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1199
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1291
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1386
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1474
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1532
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1616
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
1714
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1860
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
1967
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
2051
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
2178
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
2462
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
2605
var compilation0 =
CreateCompilation
(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
2859
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
2921
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
2986
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4224
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4728
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4782
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
4905
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
5073
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
5153
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
5238
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
5319
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5429
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5484
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5600
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
5656
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5726
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5803
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5885
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50);
6076
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6219
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6283
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6340
var compilation0 =
CreateCompilation
(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll);
6447
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6505
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6546
var compilation0 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, source:
6733
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: options, references: new[] { CSharpRef });
7115
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
7208
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
7278
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7353
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithModuleName("MODULE"));
7503
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7719
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7804
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7890
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8022
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8235
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8324
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8372
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8567
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8695
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8797
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
8902
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9012
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
9119
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
9297
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9414
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9493
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
10081
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
10151
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
10224
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
10291
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
10415
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
10472
var compilation0 =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
10538
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { CSharpRef });
10808
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
10924
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
10926
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
10977
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
10979
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
11063
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
11065
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
11151
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
11153
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
11271
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
11378
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
11450
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
11535
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
11583
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
11629
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
11694
var compilationA0 =
CreateCompilation
(sourceA0, options: TestOptions.DebugDll, assemblyName: "LibA");
11696
var compilationB0 =
CreateCompilation
(sourceB0, new[] { compilationA0.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
11697
var compilationB1 =
CreateCompilation
(sourceB1, new[] { compilationA1.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
11759
var compilationA =
CreateCompilation
(sourceA, options: TestOptions.DebugDll, assemblyName: "AssemblyA");
11762
var compilationB0 =
CreateCompilation
(sourceB0, new[] { aRef }, options: TestOptions.DebugDll, assemblyName: "AssemblyB");
11831
var compilation0 =
CreateCompilation
(source0, targetFramework: TargetFramework.StandardAndCSharp,
11879
var compilation0 =
CreateCompilation
(String.Format(source, 1), options: TestOptions.DebugDll);
11925
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly");
11972
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly");
12013
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12162
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12296
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12405
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12523
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
12714
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12843
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12991
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13187
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13296
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13406
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
13570
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
13715
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13820
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
13983
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14187
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14435
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14620
var compilation0 =
CreateCompilation
(source0.Tree, targetFramework: TargetFramework.NetStandard20, options: ComSafeDebugDll);
14694
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14801
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14838
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
14917
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
16004
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
16079
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
16167
var compilation0 =
CreateCompilation
(source0_gen0.Tree, options: ComSafeDebugDll);
16262
var compilation0 =
CreateCompilation
(new[] { source1_gen0.Tree, source2_gen0.Tree }, options: ComSafeDebugDll);
Emit\EditAndContinue\LocalSlotMappingTests.cs (44)
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);
930
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1085
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1193
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1357
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1540
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1725
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1885
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1915
var compilation0 =
CreateCompilation
(
2025
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
2071
var compilation1 =
CreateCompilation
(source1.Tree, options: TestOptions.DebugDll);
2218
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2295
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
2475
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2613
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2758
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2867
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2994
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3208
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3315
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3428
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3536
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3628
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3765
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3847
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4110
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4157
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4213
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4268
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4320
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4376
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4445
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4525
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4618
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4679
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4739
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4828
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4929
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true));
Emit\EditAndContinue\SymbolMatcherTests.cs (65)
29
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
31
return (PEAssemblySymbol)
CreateCompilation
("", new[] { reference }).GetReferencedAssemblySymbol(reference);
57
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
129
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
164
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
197
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { metadataRef });
247
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
301
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll).WithSource(source1);
335
var lib0 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
336
var lib1 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
338
var compilation0 =
CreateCompilation
(source, new[] { lib0.ToMetadataReference() }, options: TestOptions.DebugDll);
381
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
421
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
462
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
506
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
565
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
620
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
623
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
635
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
674
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
707
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
740
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
773
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
806
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
839
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
872
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
905
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
938
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
971
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1018
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1075
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1125
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1128
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1130
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1167
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1201
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1235
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1267
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1320
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1323
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1334
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1381
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1439
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1482
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1542
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1574
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1605
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1637
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1667
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1702
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1768
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1819
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1820
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1823
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1878
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1879
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1882
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1945
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1946
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1949
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
2007
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2058
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2119
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2175
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2229
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
Emit\EmitCustomModifiers.cs (1)
42
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
(@"
2209
var comp =
CreateCompilation
("class Test { static void Main() { } }");
2789
var comp =
CreateCompilation
(@"
2838
var reference =
CreateCompilation
(@"
2890
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(
2149
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2200
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2250
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2302
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2318
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2370
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2419
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2472
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2484
var reference =
CreateCompilation
(@"
2532
var reference =
CreateCompilation
(@"
2579
var reference =
CreateCompilation
(@"
2634
var reference =
CreateCompilation
(@"
2682
var reference =
CreateCompilation
(@"
2729
var reference =
CreateCompilation
(@"
2774
var reference =
CreateCompilation
(@"
2819
var reference =
CreateCompilation
(@"
2864
var reference =
CreateCompilation
(@"
2909
var reference =
CreateCompilation
(@"
2954
var reference =
CreateCompilation
(@"
2999
var reference =
CreateCompilation
(@"
3045
var reference =
CreateCompilation
(@"
3091
var reference =
CreateCompilation
(@"
3137
var reference =
CreateCompilation
(@"
3183
var reference =
CreateCompilation
(@"
3231
var reference =
CreateCompilation
(@"
3279
var reference =
CreateCompilation
(@"
3334
var reference =
CreateCompilation
(@"
3382
var reference =
CreateCompilation
(@"
3430
var reference =
CreateCompilation
(@"
3476
var reference =
CreateCompilation
(@"
3522
var reference =
CreateCompilation
(@"
3568
var reference =
CreateCompilation
(@"
3614
var reference =
CreateCompilation
(@"
3660
var reference =
CreateCompilation
("public delegate void D(in int p);");
3693
var reference =
CreateCompilation
("public delegate ref readonly int D();");
3726
var reference =
CreateCompilation
(@"
3769
var reference =
CreateCompilation
(@"
3821
var comp =
CreateCompilation
(code).VerifyDiagnostics(
3850
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4153
var testRef =
CreateCompilation
(@"
4200
var testRef =
CreateCompilation
(@"
4247
var testRef =
CreateCompilation
(@"
4296
var testRef =
CreateCompilation
(@"
4348
var testRef =
CreateCompilation
(@"
4407
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
4408
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
4416
var comp =
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
Emit\NoPiaEmbedTypes.cs (203)
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,
3071
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3091
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3094
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3136
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3156
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3159
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3201
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3224
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3227
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3354
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3374
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3377
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3418
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3439
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3442
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3483
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3496
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3499
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3530
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3543
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3546
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3582
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3607
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
3624
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3628
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3667
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3689
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3692
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3760
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3765
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
3771
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3777
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3783
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3789
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3856
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3861
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
3867
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3873
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3879
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3885
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3924
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3941
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3944
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4001
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4025
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4028
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4085
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4102
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4105
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4149
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4167
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4170
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4214
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4232
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4235
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4274
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4292
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4295
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4334
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4352
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4355
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4400
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4418
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4421
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4458
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4476
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4499
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4503
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4526
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4545
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4625
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
4645
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
4671
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4675
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4679
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4683
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4706
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4726
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4749
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4753
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4776
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
4797
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
4821
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4825
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4848
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
4865
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4895
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
4913
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4944
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4964
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4987
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4991
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4995
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4999
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5101
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
5122
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
5148
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5152
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5156
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5160
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5208
var IEvent_Compilation =
CreateCompilation
(IEvent_cs, options: TestOptions.ReleaseDll, assemblyName: "IEvent");
5314
var NetImpl_1_Compilation =
CreateCompilation
(NetImpl_cs, new[] { new CSharpCompilationReference(IEvent_Compilation, embedInteropTypes: true) }, options: TestOptions.ReleaseDll, assemblyName: "NetImpl");
5319
var NetImpl_2_Compilation =
CreateCompilation
(NetImpl_cs, new[] { IEvent_Metadata.GetReference(embedInteropTypes: true) }, options: TestOptions.ReleaseDll, assemblyName: "NetImpl");
5378
var app_compilation =
CreateCompilation
(App_cs, new[] { NetImpl_ref, IEvent_ref, CSharpRef }, options: TestOptions.ReleaseExe, assemblyName: "App");
5404
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5420
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5423
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5486
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5512
var compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef1 });
5521
compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef2 });
5541
var compilation1 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5544
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5772
var compilation =
CreateCompilation
(source,
Emit\OptionalArgumentsTests.cs (9)
144
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
173
var comp2a =
CreateCompilation
(
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
("");
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 (7)
62
var originalCompilation =
CreateCompilation
(
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)
1693
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);
2015
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 (40)
87
Compilation compilation =
CreateCompilation
("class C { }", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular);
165
var compilation =
CreateCompilation
(
209
var compilation =
CreateCompilation
(
243
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
275
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
307
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll.WithDeterministic(true));
339
var compilation =
CreateCompilation
(source0);
383
var debug =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugWinMD);
422
var release =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseWinMD);
468
var debug =
CreateCompilation
(source, options: TestOptions.DebugWinMD);
493
var release =
CreateCompilation
(source, options: TestOptions.ReleaseWinMD);
523
var comp =
CreateCompilation
(new[] { tree1, tree2 });
560
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
583
var c =
CreateCompilation
(source, options: TestOptions.DebugExe);
609
var c1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
610
var c2 =
CreateCompilation
(source2, options: TestOptions.DebugDll);
3179
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
4878
var compilation =
CreateCompilation
(new SyntaxTree[] { Parse(text1, "a.cs"), Parse(text2, "b.cs") });
4974
var compilation =
CreateCompilation
(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs"), Parse(text3, "a.cs") }, options: TestOptions.DebugDll);
5101
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6016
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6133
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6648
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6763
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6865
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
7660
var compilation =
CreateCompilation
(text1, options: TestOptions.DebugDll);
7944
var c =
CreateCompilation
(Parse(source, filename: "file.cs"));
8613
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9010
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9377
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9606
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10448
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10619
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10823
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
11238
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
12385
var c =
CreateCompilation
(
12864
var compilation =
CreateCompilation
("");
12894
var c =
CreateCompilation
(new[] { tree1, tree2 }, options: TestOptions.DebugDll);
12932
var c =
CreateCompilation
(new[] { tree }, options: TestOptions.DebugDll);
12953
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 (38)
30
return
CreateCompilation
(
571
var compilation =
CreateCompilation
(text,
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);
788
var compilation =
CreateCompilation
(src2,
807
var comp =
CreateCompilation
(sourceA, assemblyName: "A1");
818
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.DebugDll);
856
CSharpCompilation dummyCompilation1 =
CreateCompilation
(dummySource, assemblyName: "A", options: TestOptions.DebugDll);
857
CSharpCompilation dummyCompilation2 =
CreateCompilation
(dummySource, assemblyName: "B", options: TestOptions.DebugDll);
868
var compilation =
CreateCompilation
(text,
921
CSharpCompilation libComp =
CreateCompilation
(@"
941
var compilation =
CreateCompilation
(text,
1015
var compilation =
CreateCompilation
(text,
1150
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1172
var compilation2 =
CreateCompilation
(source2,
1223
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
1239
var compilation2 =
CreateCompilation
(source2,
1320
var compilation =
CreateCompilation
(
1498
var compilation =
CreateCompilation
(
2057
var libRef =
CreateCompilation
(libSource, assemblyName: "Lib").EmitToImageReference();
2118
var comp =
CreateCompilation
(source);
2151
var lib =
CreateCompilation
(libSource, assemblyName: "Lib");
2170
var comp =
CreateCompilation
(source, new[] { libRef });
2212
var comp =
CreateCompilation
(source);
2292
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "Comp1");
2309
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugExe);
2363
var compilation =
CreateCompilation
(text, options: TestOptions.DebugExe);
2388
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40);
2476
var comp =
CreateCompilation
(source);
2528
var c =
CreateCompilation
(source, assemblyName: "EmittingPdbVsNot", options: TestOptions.ReleaseDll);
2611
var libRef =
CreateCompilation
(sourceLib, assemblyName: "ImportedNoPiaTypesAssemblyName").EmitToImageReference(embedInteropTypes: true);
2612
var compilation =
CreateCompilation
(source, new[] { libRef });
2683
var libRef1 =
CreateCompilation
(sourceLib1).EmitToImageReference();
2684
var libRef2 =
CreateCompilation
(sourceLib2, new[] { libRef1 }, assemblyName: "LibRef2").EmitToImageReference();
2685
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);
PrivateProtected.cs (29)
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,
137
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
188
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
240
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)
552
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1)
582
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
616
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
628
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
661
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
684
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
698
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
707
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
725
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
733
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
751
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
760
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2536)
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
(@"
600
var comp =
CreateCompilation
(@"
632
var comp =
CreateCompilation
(@"
676
var comp =
CreateCompilation
(source);
703
var comp =
CreateCompilation
(source);
744
var comp =
CreateCompilation
(source);
808
var comp =
CreateCompilation
(source);
850
var comp =
CreateCompilation
(source);
891
var comp =
CreateCompilation
(source);
930
var comp =
CreateCompilation
(source);
990
CreateCompilation
(new[] { definitionSource, usageSource }, options: WithNullableEnable())
993
var definitionComp =
CreateCompilation
(definitionSource, options: WithNullableEnable());
995
CreateCompilation
(usageSource, references: new[] { definitionComp.ToMetadataReference() }, options: WithNullableEnable())
998
CreateCompilation
(usageSource, references: new[] { definitionComp.EmitToImageReference() }, options: WithNullableEnable())
1019
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1056
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1368
var compilation =
CreateCompilation
(@"
1439
var compilation =
CreateCompilation
(@"
1464
var compilation =
CreateCompilation
(@"
1488
var compilation =
CreateCompilation
(@"
1547
var compilation =
CreateCompilation
(@"
1580
var compilation =
CreateCompilation
(@"
1665
var compilation =
CreateCompilation
(source, references, options: opt);
1710
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
1971
var comp =
CreateCompilation
(source);
1989
var comp =
CreateCompilation
(source);
2013
var comp =
CreateCompilation
(source);
2033
var comp =
CreateCompilation
(source);
2053
var comp =
CreateCompilation
(source);
2071
var comp =
CreateCompilation
(source);
2089
var comp =
CreateCompilation
(source);
2111
var comp =
CreateCompilation
(source);
2133
var comp =
CreateCompilation
(source);
2332
var comp =
CreateCompilation
(source);
2356
var comp =
CreateCompilation
(source);
2389
var comp =
CreateCompilation
(source);
2465
var comp =
CreateCompilation
(source);
2497
var comp =
CreateCompilation
(source);
2527
var comp =
CreateCompilation
(source);
2700
CreateCompilation
(source).VerifyDiagnostics(
2769
CreateCompilation
(source).VerifyDiagnostics(
2921
CreateCompilation
(source).VerifyDiagnostics(
3055
var compilation =
CreateCompilation
(source, references, options: TestOptions.ReleaseDll);
3130
var compilation =
CreateCompilation
(source, references, options: opt);
3172
var compilation =
CreateCompilation
(source, references, options: opt);
3220
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3268
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3320
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3372
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3406
var compilation =
CreateCompilation
(source, references, options: opt);
3543
var compilation =
CreateCompilation
(source, references, options: opt);
3589
var compilation =
CreateCompilation
(source);
3635
var compilation =
CreateCompilation
(source, references, options: opt);
3742
var compilation =
CreateCompilation
(source, references, options: opt);
3816
var compilation =
CreateCompilation
(source);
3856
var compilation =
CreateCompilation
(source);
3902
var compilation =
CreateCompilation
(source);
3953
var compilation =
CreateCompilation
(source);
4090
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4133
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4177
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4222
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4266
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4468
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4524
var compilation =
CreateCompilation
(source);
4565
var compilation =
CreateCompilation
(source);
4660
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4766
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4835
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4871
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4908
var compilation =
CreateCompilation
(source);
4946
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5004
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5065
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5123
var comp =
CreateCompilation
(source);
5177
var compilation =
CreateCompilation
(source);
5410
var c1 =
CreateCompilation
(lib1);
5413
var c2 =
CreateCompilation
(lib2, references: new[] { r1 });
5416
var cm =
CreateCompilation
(main, new[] { r2 });
5617
var compilation =
CreateCompilation
(@"
5698
var compilation =
CreateCompilation
(source, references, options: opt);
5740
var compilation =
CreateCompilation
(source);
5767
var compilation =
CreateCompilation
(source);
5801
var compilation =
CreateCompilation
(source);
5850
var compilation =
CreateCompilation
(source);
5870
var compilation =
CreateCompilation
(source);
5889
var compilation =
CreateCompilation
(source);
5910
var compilation =
CreateCompilation
(source);
5939
var compilation =
CreateCompilation
(source);
5970
var compilation =
CreateCompilation
(source);
5990
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5999
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6026
var compilation =
CreateCompilation
(source);
6050
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6059
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6084
var compilation =
CreateCompilation
(new[] { source1, source2 });
6112
var compilation =
CreateCompilation
(new[] { source1, source2 });
6144
var compilation =
CreateCompilation
(source);
6173
var compilation =
CreateCompilation
(source);
6207
var compilation =
CreateCompilation
(source);
6230
CreateCompilation
(source).VerifyDiagnostics(
6246
var compilation =
CreateCompilation
(source);
6279
var compilation =
CreateCompilation
(source);
6316
var compilation =
CreateCompilation
(source);
6344
var compilation =
CreateCompilation
(source);
6401
var compilation =
CreateCompilation
(source);
6422
var compilation =
CreateCompilation
(source);
6462
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
6511
var compilation =
CreateCompilation
(source);
6554
var compilation =
CreateCompilation
(source);
6598
var compilation =
CreateCompilation
(source);
6642
var compilation =
CreateCompilation
(source);
6692
var compilation =
CreateCompilation
(source);
6735
var compilation =
CreateCompilation
(source);
6782
var compilation =
CreateCompilation
(source);
6829
var compilation =
CreateCompilation
(source);
6885
var compilation =
CreateCompilation
(source);
6936
var compilation =
CreateCompilation
(source);
6976
var compilation =
CreateCompilation
(source);
7016
var compilation =
CreateCompilation
(source);
7063
var compilation =
CreateCompilation
(source);
7083
CreateCompilation
(source).VerifyDiagnostics(
7108
CreateCompilation
(text).VerifyDiagnostics(
7129
CreateCompilation
(source).VerifyDiagnostics(
7151
CreateCompilation
(source).VerifyDiagnostics(
7178
CreateCompilation
(source).VerifyDiagnostics(
7196
var compilation =
CreateCompilation
(source, null, options: opt);
7228
var compilation =
CreateCompilation
(source);
7273
var compilation =
CreateCompilation
(source);
7314
var compilation =
CreateCompilation
(source, null, options: opt);
7357
var compilation =
CreateCompilation
(source, null, options: opt);
7415
var compilation =
CreateCompilation
(source, null, options: opt);
7467
CreateCompilation
(source).VerifyDiagnostics();
7513
var compilation =
CreateCompilation
(source, null, options: opt);
7548
CreateCompilation
(source).VerifyDiagnostics();
7568
var compilation =
CreateCompilation
(new string[] { source, source2 });
7582
var compilation =
CreateCompilation
(source);
7621
var compilation =
CreateCompilation
(source, null, options: opt, parseOptions: TestOptions.Regular10);
7659
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
7740
var comp =
CreateCompilation
(source);
7781
var comp =
CreateCompilation
(source);
7808
var comp =
CreateCompilation
(source);
7828
CreateCompilation
(source).VerifyDiagnostics(
7853
CreateCompilation
(source).VerifyDiagnostics(
7897
var comp =
CreateCompilation
(source);
7959
CreateCompilation
(source).VerifyDiagnostics(
7988
CreateCompilation
(source).VerifyDiagnostics(
8087
var compilation =
CreateCompilation
(source);
8106
CreateCompilation
(source).VerifyDiagnostics(
8258
var comp =
CreateCompilation
(source1, assemblyName: "A");
8280
comp =
CreateCompilation
(source2, references: new[] { ref1 }, assemblyName: "B");
8297
var comp =
CreateCompilation
(source1);
8310
comp =
CreateCompilation
(source2, references: new[] { ref1 });
8341
var compilation =
CreateCompilation
(source);
8381
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8423
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8466
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8513
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8554
var compilation =
CreateCompilation
("", new[] { reference1 });
8594
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8657
comp =
CreateCompilation
(source);
8711
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8732
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8828
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8843
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8874
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8901
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8925
CreateCompilation
(source).VerifyDiagnostics(
8951
CreateCompilation
(source).VerifyDiagnostics(
9099
var comp =
CreateCompilation
(source);
9178
var comp =
CreateCompilation
(source);
9266
var comp =
CreateCompilation
(source);
9343
var comp =
CreateCompilation
(source);
9415
var comp =
CreateCompilation
(source);
9496
var comp =
CreateCompilation
(source);
9566
var comp =
CreateCompilation
(source);
9610
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9620
var comp2 =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
9639
var compilation1 =
CreateCompilation
(source1, assemblyName: "Bug1020038");
9652
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) });
9671
var compilation3 =
CreateCompilation
(source3, new[] { new CSharpCompilationReference(compilation1) });
9692
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
9825
var comp =
CreateCompilation
(source);
9851
var comp =
CreateCompilation
(source);
9875
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
9913
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
9938
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
9940
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
9944
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
9961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9965
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9988
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
9990
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
9994
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10014
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10020
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10040
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10046
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10087
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10094
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10123
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10130
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10161
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10167
var comp1 =
CreateCompilation
(source1);
10168
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10171
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10232
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10238
var comp1 =
CreateCompilation
(source1);
10239
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10242
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10258
var comp =
CreateCompilation
(source);
10276
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10306
comp =
CreateCompilation
(source);
10360
var comp =
CreateCompilation
(source);
10489
var comp =
CreateCompilation
(source);
10536
var comp =
CreateCompilation
(source);
10574
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10597
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10603
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10610
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10624
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10641
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10690
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
10741
var comp =
CreateCompilation
(source);
10758
var comp =
CreateCompilation
(csSource);
10800
var comp =
CreateCompilation
(source);
10872
var comp =
CreateCompilation
(source);
10976
var comp =
CreateCompilation
(source);
11130
var comp =
CreateCompilation
(source);
11174
var comp =
CreateCompilation
(source);
11210
var comp =
CreateCompilation
(source);
11238
var comp =
CreateCompilation
(source);
11263
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_Assembly.cs (91)
30
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
40
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
51
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
69
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(now));
83
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(new DateTime(2300, 1, 1)));
98
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
105
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
117
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
130
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
143
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
153
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
163
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
173
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
192
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
205
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
226
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
235
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
244
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
253
var other =
CreateCompilation
(s);
266
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
276
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
286
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
296
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
305
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
309
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
313
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
322
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
326
comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
334
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
346
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
361
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
517
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
523
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
533
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
543
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
553
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
559
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
569
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
585
compilation =
CreateCompilation
(
614
compilation =
CreateCompilation
(
645
compilation =
CreateCompilation
(
675
compilation =
CreateCompilation
(
801
var hash_module_Comp =
CreateCompilation
(
808
compilation =
CreateCompilation
(
826
compilation =
CreateCompilation
(
839
compilation =
CreateCompilation
(
853
compilation =
CreateCompilation
(
868
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
875
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
879
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
891
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
904
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
919
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
1456
var compilation =
CreateCompilation
(source);
1829
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1835
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
1870
CreateCompilation
(source).VerifyDiagnostics();
1891
CreateCompilation
(source).VerifyDiagnostics(
1914
CreateCompilation
(source).VerifyDiagnostics(
1926
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1940
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
1952
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
1959
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
1965
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
1980
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
1990
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2005
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2012
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2018
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2033
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2043
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2058
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2065
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2071
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2084
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2094
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2110
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2111
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2113
var appCompilation =
CreateCompilation
(source,
2142
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2143
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2145
var appCompilation =
CreateCompilation
(source,
2172
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2173
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2175
var appCompilation =
CreateCompilation
(source,
2204
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2205
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2207
var appCompilation =
CreateCompilation
(source,
2231
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2232
var appCompilation =
CreateCompilation
(source,
2268
var compilation =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
Attributes\AttributeTests_CallerInfoAttributes.cs (67)
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);
3632
var compilation =
CreateCompilation
(
3678
var compilation =
CreateCompilation
(
3727
var compilation =
CreateCompilation
(
4195
var compilation =
CreateCompilation
(
5758
var comp =
CreateCompilation
(@$"
5780
var comp =
CreateCompilation
(@$"
5803
var comp =
CreateCompilation
(@"
5833
var comp =
CreateCompilation
(source);
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 (4)
66
var comp1 =
CreateCompilation
(new[] { Parse(ExperimentalAttributeSource), Parse(source1) });
89
var comp2A =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() });
104
var comp2B =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(comp1) });
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(
686
CreateCompilation
(source).VerifyDiagnostics(
731
CreateCompilation
(source).VerifyDiagnostics(
778
CreateCompilation
(source).VerifyDiagnostics(
825
CreateCompilation
(source).VerifyDiagnostics(
879
CreateCompilation
(source).VerifyDiagnostics(
929
CreateCompilation
(source).VerifyDiagnostics(
976
CreateCompilation
(source).VerifyDiagnostics(
1027
CreateCompilation
(source).VerifyDiagnostics(
1075
CreateCompilation
(source).VerifyDiagnostics(
1129
CreateCompilation
(source).VerifyDiagnostics(
1173
CreateCompilation
(source).VerifyDiagnostics(
1229
CreateCompilation
(@"class A { [@return:X] void B() { } }").VerifyDiagnostics(
1254
CreateCompilation
(source).VerifyDiagnostics(
Attributes\AttributeTests_MarshalAs.cs (11)
286
CreateCompilation
(source).VerifyDiagnostics(
412
CreateCompilation
(source).VerifyDiagnostics(
525
CreateCompilation
(source).VerifyDiagnostics(
649
CreateCompilation
(source).VerifyDiagnostics(
815
CreateCompilation
(source).VerifyDiagnostics(
897
CreateCompilation
(source).VerifyDiagnostics(
1025
CreateCompilation
(source).VerifyDiagnostics(
1355
CreateCompilation
(source).VerifyDiagnostics(
1403
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1483
var comp1 =
CreateCompilation
(text1, assemblyName: "OptionalMarshalAsLibrary");
1484
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 (172)
564
var libComp =
CreateCompilation
(source1);
567
var comp2 =
CreateCompilation
(source2, new[] { libCompRef });
576
var comp3 =
CreateCompilation
(source2, new[] { libAssemblyRef });
610
var comp =
CreateCompilation
(source);
642
var comp =
CreateCompilation
(source);
837
CreateCompilation
(source).VerifyDiagnostics(
882
var compilation =
CreateCompilation
(@"
912
var compilation =
CreateCompilation
(@"
941
var c1 =
CreateCompilation
(@"
963
var c2 =
CreateCompilation
(@"
985
var compilation =
CreateCompilation
(@"
1029
var compilation =
CreateCompilation
(@"
1278
var compilation =
CreateCompilation
(@"
1295
var compilation =
CreateCompilation
(@"
1319
var compilation =
CreateCompilation
(@"
1793
CreateCompilation
(source).VerifyDiagnostics(
1863
var comp =
CreateCompilation
(source);
2113
CreateCompilation
(@"
2124
CreateCompilation
(@"
2138
CreateCompilation
(@"
2149
CreateCompilation
(@"
2163
CreateCompilation
(@"
2174
CreateCompilation
(@"
2188
CreateCompilation
(@"
2199
CreateCompilation
(@"
2213
CreateCompilation
(@"
2362
var source =
CreateCompilation
(@"
2443
CreateCompilation
(source).VerifyDiagnostics(
2501
CreateCompilation
(source).VerifyDiagnostics(
2943
CreateCompilation
(source).VerifyDiagnostics(
3029
var compilation =
CreateCompilation
(@"
3309
CreateCompilation
(source).VerifyDiagnostics(
3418
CreateCompilation
(source).VerifyDiagnostics(
3532
CreateCompilation
(source).VerifyDiagnostics(
3907
CreateCompilation
(source).VerifyDiagnostics(
3945
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
3951
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
3985
CreateCompilation
(source).VerifyDiagnostics(
4024
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4030
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4062
CreateCompilation
(source).VerifyDiagnostics(
4102
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4115
CreateCompilation
(source2, references: new[] { assemblyRef }).VerifyDiagnostics(
4149
CreateCompilation
(source).VerifyDiagnostics(
4187
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4193
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4227
CreateCompilation
(source).VerifyDiagnostics(
4445
CreateCompilation
(source).VerifyDiagnostics(
4471
CreateCompilation
(source).VerifyDiagnostics(
4504
CreateCompilation
(source).VerifyDiagnostics(
4541
CreateCompilation
(source).VerifyDiagnostics(
4565
CreateCompilation
(source).VerifyDiagnostics(
4798
var lib_comp =
CreateCompilation
(lib_cs);
4801
var client1 =
CreateCompilation
("", references: new[] { lib_comp.ToMetadataReference() });
4804
var client2 =
CreateCompilation
("", references: new[] { lib_comp.EmitToImageReference() });
4927
var script =
CreateCompilation
("", parseOptions: TestOptions.Script);
4969
var compilation =
CreateCompilation
(source);
5054
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
5131
CreateCompilation
(source).VerifyDiagnostics(
5183
var comp1 =
CreateCompilation
(text1, options: opt);
5185
var comp2 =
CreateCompilation
(text2, references: new[] { compref1 }, options: opt, assemblyName: "Child");
5186
var comp3 =
CreateCompilation
(text3, references: new[] { compref1, new CSharpCompilationReference(comp2) }, options: opt, assemblyName: "Child2");
5190
comp3 =
CreateCompilation
(text3, references: new[] { compref1, new CSharpCompilationReference(comp2) }, options: opt, assemblyName: "Child2");
5476
CreateCompilation
(source).VerifyDiagnostics();
5487
CreateCompilation
(source).VerifyDiagnostics(
5510
CreateCompilation
(source).VerifyDiagnostics(
5780
CreateCompilation
(source).VerifyDiagnostics(
6077
CreateCompilation
(source).VerifyDiagnostics(
6141
var peReference = MetadataReference.CreateFromStream(
CreateCompilation
(peSource).EmitToStream());
6166
CreateCompilation
(source, new[] { peReference }).VerifyDiagnostics(
6313
CreateCompilation
(source).VerifyDiagnostics(
6376
CreateCompilation
(source).VerifyDiagnostics(
6465
CreateCompilation
(source).VerifyDiagnostics(
6564
CreateCompilation
(source, null, TestOptions.ReleaseDll.WithConcurrentBuild(false)).VerifyDiagnostics(
6622
CreateCompilation
(source).VerifyDiagnostics(
6648
CreateCompilation
(source).VerifyDiagnostics();
6662
var other =
CreateCompilation
(s);
6673
CreateCompilation
(s, new[] { new CSharpCompilationReference(other) }).VerifyDiagnostics(
6722
CreateCompilation
(source).VerifyDiagnostics(
6790
CreateCompilation
(source).VerifyDiagnostics(
6905
CreateCompilation
(source).VerifyDiagnostics(
6950
CreateCompilation
(source).VerifyDiagnostics(
7019
CreateCompilation
(source).VerifyDiagnostics(
7108
CreateCompilation
(source).VerifyDiagnostics(
7173
CreateCompilation
(source).VerifyDiagnostics(
7208
CreateCompilation
(source).VerifyDiagnostics(
7247
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7298
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7333
CreateCompilation
(source).VerifyDiagnostics(
7410
CreateCompilation
(source).VerifyDiagnostics(
7509
CreateCompilation
(source).VerifyDiagnostics(
7555
CreateCompilation
(source).VerifyDiagnostics(
7600
CreateCompilation
(source).VerifyDiagnostics(
7655
CreateCompilation
(source).VerifyDiagnostics(
7745
CreateCompilation
(source).VerifyDiagnostics(
7821
CreateCompilation
(source).VerifyDiagnostics(
7875
CreateCompilation
(source).VerifyDiagnostics(
7931
CreateCompilation
(source).VerifyDiagnostics(
7988
CreateCompilation
(source).VerifyDiagnostics(
8039
CreateCompilation
(source).VerifyDiagnostics(
8081
CreateCompilation
(source).VerifyDiagnostics(
8123
CreateCompilation
(source).VerifyDiagnostics(
8167
CreateCompilation
(source).VerifyDiagnostics(
8208
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8241
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8272
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8303
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8343
var comp =
CreateCompilation
(source);
8374
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8411
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8461
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8512
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8520
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8567
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8575
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8611
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8619
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8654
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8662
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8697
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8762
var comp2 =
CreateCompilation
(source2, references: new[] { reference }, options: options);
8806
var comp1 =
CreateCompilation
(source1);
8814
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8854
var comp1 =
CreateCompilation
(source1);
8862
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8933
var comp1 =
CreateCompilation
(source1);
8941
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8987
var comp1 =
CreateCompilation
(source1);
8996
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9036
var comp1 =
CreateCompilation
(source1);
9045
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9088
var comp1 =
CreateCompilation
(source1);
9096
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9237
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9375
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9417
var comp1 =
CreateCompilation
(source1);
9424
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9460
var comp =
CreateCompilation
(source);
9509
var comp =
CreateCompilation
(source);
9561
var comp1 =
CreateCompilation
(source1);
9564
var comp2 =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() });
9627
CreateCompilation
(source).VerifyDiagnostics(
9650
var comp =
CreateCompilation
(source);
10324
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: options, parseOptions: parseOptions);
10359
var comp =
CreateCompilation
(source);
10597
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
12607
var metadata_comp =
CreateCompilation
(metadata_source, options: TestOptions.DebugModule.WithAllowUnsafe(true));
12728
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true));
12782
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef1 }, options: TestOptions.UnsafeDebugDll);
12976
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: TestOptions.UnsafeReleaseDll);
13224
CreateCompilation
(source).VerifyDiagnostics(
13289
CreateCompilation
(source).VerifyDiagnostics(
13322
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13391
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13416
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13461
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13482
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics();
13499
CreateCompilation
(code).VerifyDiagnostics(
13525
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13568
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13625
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13672
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13722
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13747
var comp =
CreateCompilation
(source);
13773
var comp =
CreateCompilation
(source);
13793
var comp =
CreateCompilation
(source);
13829
var comp =
CreateCompilation
(source);
13859
var comp =
CreateCompilation
(source);
13879
var comp =
CreateCompilation
(source);
13904
var comp =
CreateCompilation
(source);
13942
var comp =
CreateCompilation
(source);
13985
var comp =
CreateCompilation
(source);
Attributes\EmitTestStrongNameProvider.cs (2)
37
var comp =
CreateCompilation
(src, options: options);
57
var comp =
CreateCompilation
(src, options: options);
Attributes\InternalsVisibleToAndStrongNameTests.cs (144)
87
var c =
CreateCompilation
(source,
102
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
134
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
163
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
198
var comp =
CreateCompilation
(
216
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
242
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
259
var comp =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(keyFileName), parseOptions: parseOptions);
283
var other =
CreateCompilation
(s,
301
var comp =
CreateCompilation
(s,
329
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile("goo"), parseOptions: parseOptions);
344
CSharpCompilation other =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCryptoKeyFile(tempFile.Path), parseOptions: parseOptions);
357
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("goo"), parseOptions: parseOptions);
376
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
388
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("RoslynTestContainer"), parseOptions: parseOptions);
400
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
411
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
424
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey), parseOptions: parseOptions);
448
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
464
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
471
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_publicKeyFile).WithPublicSign(true), parseOptions: parseOptions);
488
c =
CreateCompilation
(source1, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(snk.Path).WithPublicSign(true));
504
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
524
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
555
var comp =
CreateCompilation
("public class C{}",
577
var comp =
CreateCompilation
("public class C {}",
599
var comp =
CreateCompilation
(@"
623
var comp =
CreateCompilation
("public class C {}",
640
var comp =
CreateCompilation
("public class C {}",
664
var comp =
CreateCompilation
("public class C {}",
685
var comp =
CreateCompilation
("public class C {}",
702
var comp =
CreateCompilation
("public class C {}",
719
var c =
CreateCompilation
(source, options: TestOptions.SigningReleaseDll.
745
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, assemblyName: "Paul", parseOptions: parseOptions);
747
var c =
CreateCompilation
(
771
var c2 =
CreateCompilation
(
796
var otherStream =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToStream();
798
var c =
CreateCompilation
(
819
var c2 =
CreateCompilation
(
845
var other =
CreateCompilation
(s,
852
var requestor =
CreateCompilation
(
878
var other =
CreateCompilation
(s, assemblyName: "Paul", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
881
var requestor =
CreateCompilation
(
909
var friendClass =
CreateCompilation
(@"
935
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
959
var friendClass =
CreateCompilation
(@"
979
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1006
var requestor =
CreateCompilation
(
1037
var other =
CreateCompilation
(s,
1044
var requestor =
CreateCompilation
(
1067
var other =
CreateCompilation
(s,
1074
var requestor =
CreateCompilation
(
1096
var other =
CreateCompilation
(s,
1103
var requestor =
CreateCompilation
(
1127
var other =
CreateCompilation
(s,
1134
var requestor =
CreateCompilation
(
1162
var other =
CreateCompilation
(s,
1169
var requestor =
CreateCompilation
(
1202
var other =
CreateCompilation
(s,
1209
var requestor =
CreateCompilation
(
1233
var other =
CreateCompilation
(s,
1240
var requestor =
CreateCompilation
(
1269
var other =
CreateCompilation
(s,
1276
var requestor =
CreateCompilation
(
1311
var giver =
CreateCompilation
(s,
1318
var requestor =
CreateCompilation
(
1345
var other =
CreateCompilation
(
1362
var other =
CreateCompilation
(
1387
var comp =
CreateCompilation
($@"
1418
var comp2 =
CreateCompilation
(src,
1428
var comp3 =
CreateCompilation
(src,
1443
var other =
CreateCompilation
(
1499
var assemblyComp =
CreateCompilation
(source,
1523
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1536
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1549
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule, parseOptions: parseOptions);
1555
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll);
1572
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1579
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1590
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1609
var other =
CreateCompilation
(s, options: options);
1629
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1647
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"), parseOptions: parseOptions);
1666
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1686
var compilation =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1703
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1726
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1743
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
1757
var other =
CreateCompilation
(
1771
var assembly =
CreateCompilation
("",
1783
var other =
CreateCompilation
(@"
1794
var comp =
CreateCompilation
("",
1807
var other =
CreateCompilation
(
1826
var other =
CreateCompilation
(
1848
var other =
CreateCompilation
(
1864
var other =
CreateCompilation
(
1883
var other =
CreateCompilation
(
1918
var other =
CreateCompilation
(
1974
var comp =
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "asm2", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
2312
var comp1 =
CreateCompilation
(source1,
2322
var comp3 =
CreateCompilation
(source3,
2342
CSharpCompilation unsigned =
CreateCompilation
(
2348
CSharpCompilation other =
CreateCompilation
(
2370
CSharpCompilation unsigned =
CreateCompilation
(
2376
CSharpCompilation other =
CreateCompilation
(
2647
var ca =
CreateCompilation
(
2659
var cb =
CreateCompilation
(
2697
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2700
var cb =
CreateCompilation
(sourceB, options: TestOptions.ReleaseExe, assemblyName: "X", references: new[] { new CSharpCompilationReference(ca) }, parseOptions: parseOptions);
2725
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2728
var cb =
CreateCompilation
(sourceB, options: TestOptions.ReleaseExe, assemblyName: "X", references: new[] { new CSharpCompilationReference(ca) }, parseOptions: parseOptions);
2739
var ca =
CreateCompilation
(source, parseOptions: parseOptions);
2760
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2771
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2783
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2794
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2810
var other =
CreateCompilation
(
2842
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToImageReference();
2855
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess",
2879
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll).EmitToImageReference();
2893
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess", options: TestOptions.SigningReleaseDll);
2910
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_01_Lib");
2921
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_01");
2931
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_01");
2948
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_02_Lib");
2956
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_02");
2966
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_02");
2983
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_03_Lib");
2998
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_03");
3016
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_03");
3031
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_03");
3048
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_03");
3057
var comp3 =
CreateCompilation
(source3, new[] { compilationReference }, assemblyName: "Issue57742_03");
3071
comp3 =
CreateCompilation
(source3, new[] { imageReference }, assemblyName: "Issue57742_03");
3080
var comp4 =
CreateCompilation
(source4, new[] { compilationReference }, assemblyName: "Issue57742_03");
3094
comp4 =
CreateCompilation
(source4, new[] { imageReference }, assemblyName: "Issue57742_03");
3111
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_04_Lib");
3122
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_04");
3140
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_04");
3151
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_04");
3168
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_04");
3182
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_05_Lib");
3188
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_05");
3198
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_05");
CodeGen\CodeGenLengthBasedSwitchTests.cs (43)
77
var comp =
CreateCompilation
(source);
267
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1056
var comp =
CreateCompilation
(source);
1108
var comp =
CreateCompilation
(source);
1214
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1389
var comp =
CreateCompilation
(source);
1529
var comp =
CreateCompilation
(source);
1537
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1569
var comp =
CreateCompilation
(source);
1668
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1721
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1933
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1986
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2060
var comp =
CreateCompilation
(source);
2172
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
2376
var comp =
CreateCompilation
(source);
2606
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
2910
var comp =
CreateCompilation
(source);
4126
var comp =
CreateCompilation
(source);
6492
var comp =
CreateCompilation
(source);
7503
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
8796
var comp =
CreateCompilation
(source);
8926
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9108
var comp =
CreateCompilation
(source);
9323
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9567
var comp =
CreateCompilation
(source);
9704
var comp =
CreateCompilation
(source);
10084
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
10545
var comp =
CreateCompilation
(source);
10827
var comp =
CreateCompilation
(source);
10876
var comp =
CreateCompilation
(source);
11075
var comp =
CreateCompilation
(source);
11385
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
11732
var comp =
CreateCompilation
(source);
12076
var comp =
CreateCompilation
(source);
12389
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
12727
var comp =
CreateCompilation
(source);
12850
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13044
var comp =
CreateCompilation
(source);
13327
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13652
var comp =
CreateCompilation
(source);
13762
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (1)
6028
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.DebugExe);
Diagnostics\DiagnosticAnalyzerTests.cs (14)
1883
var metadataReference =
CreateCompilation
(source).ToMetadataReference();
1884
var compilation =
CreateCompilation
(source, new[] { metadataReference });
3139
var compilation =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3294
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3338
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3390
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3441
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3462
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3715
var compilation =
CreateCompilation
(source)
3788
var compilation =
CreateCompilation
(new[] { tree });
3946
Compilation compilation =
CreateCompilation
(new[] { tree });
4007
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition })
4023
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
4063
var compilation =
CreateCompilation
(@"
Diagnostics\DiagnosticSuppressorTests.cs (16)
57
var compilation =
CreateCompilation
(source);
82
var compilation =
CreateCompilation
(source);
104
var compilation =
CreateCompilation
(source);
125
var compilation =
CreateCompilation
(source);
142
var compilation =
CreateCompilation
(new[] { source1, source2 });
165
var compilation =
CreateCompilation
(source);
188
var compilation =
CreateCompilation
(source);
213
var compilation =
CreateCompilation
(source);
235
var compilation =
CreateCompilation
(source);
299
var compilation =
CreateCompilation
(source);
341
var compilation =
CreateCompilation
(source);
386
var compilation =
CreateCompilation
(source);
440
var compilation =
CreateCompilation
(source);
493
var compilation =
CreateCompilation
(source);
543
var compilation =
CreateCompilation
(source);
579
var compilation =
CreateCompilation
(source, options: options);
Diagnostics\GetDiagnosticsTests.cs (13)
401
var compilation =
CreateCompilation
(new[] { syntaxTree1, syntaxTree2, syntaxTree3 });
424
var compilation =
CreateCompilation
(new[] { tree1, tree2 });
452
var compilation =
CreateCompilation
(source);
486
var compilation =
CreateCompilation
(source);
523
var compilation =
CreateCompilation
(source);
598
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
651
var compilation =
CreateCompilation
(sources);
678
var compilation =
CreateCompilation
(source);
716
var compilation =
CreateCompilation
(source);
773
var compilation =
CreateCompilation
(source);
995
var compilation =
CreateCompilation
(source);
1042
var compilation =
CreateCompilation
(source);
1125
var compilation =
CreateCompilation
(new[] { source1, source2 });
Diagnostics\MethodGroupConversion.cs (1)
49
var compilation =
CreateCompilation
(source);
Emit\NumericIntPtrTests.cs (132)
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);
1362
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1398
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1422
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1457
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1486
var comp =
CreateCompilation
("", parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1591
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1612
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1704
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1723
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1831
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.Net70);
1834
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1855
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1858
comp =
CreateCompilation
(source);
1879
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1931
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2014
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2116
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2189
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2217
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2240
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2258
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2373
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2423
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2564
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2677
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2742
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2762
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2777
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2789
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2806
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2821
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2843
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2885
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2918
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2949
var comp =
CreateCompilation
(source);
3018
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3021
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3025
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3028
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3031
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3034
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3091
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3259
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
5969
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6206
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6579
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6813
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6986
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8087
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8148
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8374
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8578
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8654
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8979
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8998
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9026
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9055
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9087
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9105
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9123
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9154
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9172
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9211
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9240
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9264
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9293
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9328
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9393
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9474
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9612
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9668
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9798
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9870
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
9883
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9937
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9990
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10239
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net70);
10466
var comp =
CreateCompilation
(new[] { source }, targetFramework: TargetFramework.Net70);
10542
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10553
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10674
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10687
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10690
var comp2 =
CreateCompilation
(source, references: new[] { image }, targetFramework: TargetFramework.Net70);
10724
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10792
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10860
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10887
var comp =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() }, targetFramework: TargetFramework.Net70);
10909
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib", targetFramework: TargetFramework.Net70);
10951
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11013
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11017
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11134
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11157
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11185
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11210
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11235
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11255
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11595
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11653
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11670
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11711
var comp =
CreateCompilation
(new[] { SpanSource, source }, options: TestOptions.UnsafeReleaseExe);
11714
comp =
CreateCompilation
(new[] { source }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
Emit\UnmanagedTypeModifierTests.cs (13)
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(
341
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1044
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
1045
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
1052
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
1145
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1201
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1259
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1319
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1374
var c =
CreateCompilation
(code, references: new[] { reference });
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);
875
var comp =
CreateCompilation
(program);
903
var comp =
CreateCompilation
(program);
926
CreateCompilation
(program, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
968
CreateCompilation
(program)
1007
CreateCompilation
(program)
1043
CreateCompilation
(program)
1076
CreateCompilation
(program)
1101
CreateCompilation
(program)
1124
CreateCompilation
(program)
1156
CreateCompilation
(program)
1181
CreateCompilation
(program)
1195
CreateCompilation
(program)
1209
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1252
CreateCompilation
(program).VerifyDiagnostics(
1273
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1304
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1313
comp =
CreateCompilation
(text);
1332
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1338
comp =
CreateCompilation
(text);
1374
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1392
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1431
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1449
comp =
CreateCompilation
(text, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11);
1467
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1509
var comp =
CreateCompilation
(text);
1561
var comp =
CreateCompilation
(text);
1614
var comp =
CreateCompilation
(text);
1656
var comp =
CreateCompilation
(text);
1692
var comp =
CreateCompilation
(text);
1739
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1770
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1806
CreateCompilation
(program)
1833
CreateCompilation
(program)
1851
var comp =
CreateCompilation
(@"
1889
CreateCompilation
(program)
1922
CreateCompilation
(program)
1946
CreateCompilation
(source).VerifyDiagnostics();
1966
CreateCompilation
(program).VerifyDiagnostics();
1984
var c =
CreateCompilation
(program, new[] { TestReferences.SymbolsTests.CycledStructs });
2010
CreateCompilation
(source).VerifyDiagnostics();
2048
CreateCompilation
(program).VerifyDiagnostics(
2130
CreateCompilation
(text).VerifyDiagnostics(
2153
CreateCompilation
(text).VerifyDiagnostics();
2170
CreateCompilation
(program).VerifyDiagnostics();
2197
CreateCompilation
(source).VerifyDiagnostics();
2262
CreateCompilation
(source).VerifyDiagnostics();
2594
CSharpCompilation comp =
CreateCompilation
(source);
2619
CSharpCompilation comp =
CreateCompilation
(source);
2645
CSharpCompilation comp =
CreateCompilation
(source);
2684
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2693
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2714
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2726
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2756
CreateCompilation
(program).VerifyDiagnostics(
FlowAnalysis\FlowTestBase.cs (6)
109
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
130
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
151
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
172
var comp =
CreateCompilation
(program);
245
var comp =
CreateCompilation
(program);
256
var comp =
CreateCompilation
(program);
FlowAnalysis\FlowTests.cs (114)
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();
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);
735
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
745
var comp =
CreateCompilation
(@"
815
var comp =
CreateCompilation
(@"
908
var comp =
CreateCompilation
(@"
933
var comp =
CreateCompilation
(@"
1005
var comp =
CreateCompilation
(@"
1030
var comp =
CreateCompilation
(@"
1068
var comp =
CreateCompilation
(@"
1117
var comp =
CreateCompilation
(@"
1144
var comp =
CreateCompilation
(@"
1174
var comp =
CreateCompilation
(@"
1212
var comp =
CreateCompilation
(@"
1249
var comp =
CreateCompilation
(@"
1285
var comp =
CreateCompilation
(@"
1315
var comp =
CreateCompilation
(@"
1341
var comp =
CreateCompilation
(@"
1365
var comp =
CreateCompilation
(@"
1391
var comp =
CreateCompilation
(@"
1447
var comp =
CreateCompilation
(@"
1496
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1503
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
1514
var comp =
CreateCompilation
(@"
1542
var comp =
CreateCompilation
(@"
1575
CreateCompilation
(@"
1598
CreateCompilation
(@"
1618
CreateCompilation
(@"
FlowAnalysis\RegionAnalysisTests.cs (17)
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
(@"
FlowAnalysis\StructTests.cs (32)
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.Mscorlib45).VerifyDiagnostics(
225
var comp1 =
CreateCompilation
(
249
CreateCompilation
(source2,
259
CreateCompilation
(source2,
269
CreateCompilation
(source2,
276
CreateCompilation
(source2,
288
var comp1 =
CreateCompilation
(
306
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }).VerifyDiagnostics(
311
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }).VerifyDiagnostics(
321
var comp1 =
CreateCompilation
(
339
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
341
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
343
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
348
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
358
var comp1 =
CreateCompilation
(
384
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
386
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
388
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
393
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
416
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
428
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
433
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }).VerifyDiagnostics(
459
var comp1 =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugModule));
471
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable()).VerifyDiagnostics(
476
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable().WithWarningLevel(5)).VerifyDiagnostics(
492
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
504
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
506
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
Semantics\PatternMatchingTestBase.cs (1)
424
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(
4817
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
4846
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
4862
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
5053
CreateCompilation
(program).GetDiagnostics();
5098
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe).VerifyDiagnostics(
5141
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5167
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5219
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
5248
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
5256
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
5295
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5315
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5594
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5675
var compilation =
CreateCompilation
(source);
5713
var compilation =
CreateCompilation
(source);
5775
var compilation =
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }, options: TestOptions.ReleaseExe);
5808
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5817
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5851
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5860
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5894
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5903
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5940
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5949
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5986
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5995
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
6023
var compilation =
CreateCompilation
(source);
6070
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6103
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6126
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
6131
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1);
6157
var compilation =
CreateCompilation
(program, options: TestOptions.DebugDll.WithAllowUnsafe(true));
6222
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe.WithAllowUnsafe(true));
6275
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6277
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6296
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6319
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6345
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6366
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6387
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6412
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6436
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6475
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6519
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6545
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6657
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6709
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7312
var comp =
CreateCompilation
(source);
7329
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7364
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
8555
var comp =
CreateCompilation
(sourceA);
8570
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10158
var comp =
CreateCompilation
(sourceA);
10173
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10962
var comp =
CreateCompilation
(sourceA);
11004
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11320
var comp =
CreateCompilation
(sourceA);
11339
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11519
var comp =
CreateCompilation
(source);
11585
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11854
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11894
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11937
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12199
CreateCompilation
(@"
12258
CreateCompilation
(@"
Semantics\PatternMatchingTests_ListPatterns.cs (103)
971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithListPatterns);
1651
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1798
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1828
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
2600
var compilation =
CreateCompilation
(new[] { source, TestSources.Index }, options: TestOptions.ReleaseExe);
2644
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2742
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2885
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3001
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3061
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3258
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3269
var lib2Ref =
CreateCompilation
(lib2_cs, references: new[] { missingRef })
3284
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range },
3353
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3367
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
3380
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
3430
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3433
var rangeComp =
CreateCompilation
(new[] { range_cs, TestSources.Index }, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "range");
3437
var libComp =
CreateCompilation
(lib_cs, references: new[] { rangeRef }, assemblyName: "lib");
3452
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference(), rangeRef });
3481
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3551
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3554
var libComp =
CreateCompilation
(lib_cs, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "lib");
3557
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range }, references: new[] { libComp.EmitToImageReference() });
3617
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3674
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3710
var compilation =
CreateCompilation
(source);
3832
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3865
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3895
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3926
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3962
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3998
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4055
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4142
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4225
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4287
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4339
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4469
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4529
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4595
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4628
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5030
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
5124
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5165
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5260
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5310
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5331
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5350
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
5362
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
5377
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
5415
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5454
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5495
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5539
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5628
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5691
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5740
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
5803
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5816
comp =
CreateCompilation
(src);
5890
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5939
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5966
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5990
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6029
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6059
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6083
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6104
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
6127
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6151
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6181
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6619
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
7088
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe);
7156
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7458
var comp =
CreateCompilation
(src);
7493
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7532
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7557
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7583
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7609
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7616
comp =
CreateCompilation
(src);
7871
var compilation =
CreateCompilation
(source);
7901
compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7961
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7987
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8022
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8067
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8138
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8182
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8203
var comp =
CreateCompilation
(source);
8229
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8244
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8260
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8282
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8304
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8326
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8341
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8363
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseExe);
8456
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
8479
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseDll);
8523
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8559
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8581
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.ITuple });
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);
12555
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12739
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12885
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12974
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13136
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13296
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13383
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13461
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13549
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13626
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13690
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13728
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13758
var comp =
CreateCompilation
(source);
13865
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests2.cs (35)
488
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
496
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
781
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
1199
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1202
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1449
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
1974
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1995
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2019
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2060
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2097
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2149
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2186
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2208
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2251
var compilation =
CreateCompilation
(source);
2295
var compilation =
CreateCompilation
(source);
2331
var compilation =
CreateCompilation
(source);
2403
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2404
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2438
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2439
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2465
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2523
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2564
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2602
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2640
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2670
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2705
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2750
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
3002
CreateCompilation
(source).VerifyDiagnostics(
3020
CreateCompilation
(source).VerifyDiagnostics(
3042
CreateCompilation
(source).VerifyDiagnostics(
3287
var comp =
CreateCompilation
(source);
3672
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 (24)
23
var comp =
CreateCompilation
(@"
45
var comp =
CreateCompilation
(@"
90
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
105
comp =
CreateCompilation
(source);
131
var comp =
CreateCompilation
(@"
3078
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3108
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3780
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
3808
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3829
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3851
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3873
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3897
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3924
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3962
var comp =
CreateCompilation
(source);
4024
var comp =
CreateCompilation
(source);
4176
var comp =
CreateCompilation
(source);
4220
var comp =
CreateCompilation
(source);
4266
var comp =
CreateCompilation
(source);
4348
var comp =
CreateCompilation
(source);
4430
var comp =
CreateCompilation
(source);
4512
var comp =
CreateCompilation
(source);
4594
var comp =
CreateCompilation
(source);
4678
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests5.cs (55)
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));
Semantics\PatternSwitchTests.cs (77)
38
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
67
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
95
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
124
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
160
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
188
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
272
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
299
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
326
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
347
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
425
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
451
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
477
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
530
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
556
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
579
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
602
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
625
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
648
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
668
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
690
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
840
var compilation =
CreateCompilation
(new[] { source, _iTupleSource }, options: TestOptions.DebugExe);
899
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
927
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
953
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
977
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
982
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1015
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1031
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1077
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1124
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1215
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1346
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1418
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1476
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1510
var compilation =
CreateCompilation
(source);
1556
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1586
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1621
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1686
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
1860
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1883
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1918
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1964
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2004
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2047
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2078
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2107
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2154
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2216
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2272
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2330
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2379
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2704
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2746
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2776
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2807
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2835
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2863
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2892
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2923
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2954
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2985
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3051
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3098
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3136
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3227
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3274
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3316
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3378
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3437
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3462
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3489
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3519
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3531
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (4)
EndToEndTests.cs (4)
146
var compilation =
CreateCompilation
(source, options: options);
221
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
270
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
310
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (423)
AccessibilityTests.cs (1)
141
var compilation0 =
CreateCompilation
(
CompileExpressionsTests.cs (21)
34
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
62
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
99
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
149
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
185
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
225
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
265
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
305
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
345
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
376
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
411
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
728
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular11, path: "path/to/MyFile.cs", Encoding.Default), options: TestOptions.DebugDll);
784
var comp =
CreateCompilation
(
852
var comp =
CreateCompilation
(
909
var comp =
CreateCompilation
(
948
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular11, path: "path/to/MyFile.cs", Encoding.Default), options: TestOptions.DebugDll);
994
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular11, path: "path/to/MyFile.cs", Encoding.Default), options: TestOptions.DebugDll);
1066
var comp =
CreateCompilation
(
1154
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.Regular11, path: "path/to/\uD800.cs", Encoding.Default), options: TestOptions.DebugDll);
1203
var comp =
CreateCompilation
(
1386
var comp =
CreateCompilation
(
DebuggerDisplayAttributeTests.cs (11)
36
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
93
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
123
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
159
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
191
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
244
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
296
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
333
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
356
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
387
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
428
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
DeclarationTests.cs (42)
38
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
249
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
305
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
373
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
430
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
490
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
561
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
601
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
666
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
714
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
761
var compilation0 =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
809
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
833
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
858
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
883
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
908
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
970
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1055
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1080
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1106
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1131
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1155
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1180
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1234
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1280
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1327
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1381
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1433
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1463
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1509
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1555
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1598
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1645
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1690
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1772
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1840
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1907
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1970
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2029
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2099
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2168
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2195
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
DynamicTests.cs (20)
46
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
87
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
128
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
169
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
209
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
254
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
303
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
371
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
437
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
535
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
603
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
645
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
684
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
723
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
771
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
858
var comp =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
937
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
974
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
1263
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
1374
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.DebugDll);
ExpressionCompilerTestBase.cs (1)
350
var compilation =
CreateCompilation
(
ExpressionCompilerTests.cs (86)
46
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
96
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
124
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
165
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
261
var compilation0 = CSharpTestBase.
CreateCompilation
(
325
var compilationA =
CreateCompilation
(sourceA, options: TestOptions.DebugDll);
328
var compilationB =
CreateCompilation
(
453
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
496
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
588
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
633
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
707
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1251
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1295
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1350
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1440
var compilation0 =
CreateCompilation
(
1496
var compilation0 =
CreateCompilation
(
1548
var compilation0 =
CreateCompilation
(
1596
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1739
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll);
1790
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1820
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1884
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1994
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2056
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2142
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2199
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2240
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2269
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2294
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2516
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2584
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2623
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3009
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3104
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3166
var compilation0 =
CreateCompilation
(source, options: options);
3254
var compilation0 =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugDll));
3528
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll.WithModuleName("MODULE"));
3816
var netModuleRef =
CreateCompilation
(sourceNetModule, options: TestOptions.DebugModule).EmitToImageReference();
3817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { netModuleRef });
3882
var compilationN0 =
CreateCompilation
(
3887
var compilationN1 =
CreateCompilation
(
3892
var compilationN2 =
CreateCompilation
(
3897
var compilationD0 =
CreateCompilation
(
3903
var compilationD1 =
CreateCompilation
(
3909
var compilation =
CreateCompilation
(
4223
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll);
4483
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
4530
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
4603
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4704
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4740
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4836
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4958
var comp =
CreateCompilation
(source, new[] { SystemXmlLinqRef.WithAliases(ImmutableArray.Create("X")) });
5024
var comp =
CreateCompilation
(source, new[] { SystemXmlLinqRef.WithAliases(ImmutableArray.Create("global", "X")) });
5067
var comp =
CreateCompilation
(source);
5096
var comp =
CreateCompilation
(
5150
var comp =
CreateCompilation
(source);
5396
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5434
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5466
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5499
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5534
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5570
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5601
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5645
var libRef =
CreateCompilation
(libSource, assemblyName: "Lib").EmitToImageReference();
5646
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.DebugDll);
5700
var libBv1Ref =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: signedDllOptions).EmitToImageReference();
5701
var libBv2Ref =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: signedDllOptions).EmitToImageReference();
5711
var libAv1Ref =
CreateCompilation
(libASource, new[] { libBv1Ref }, assemblyName: "A", options: signedDllOptions).EmitToImageReference();
5723
var comp =
CreateCompilation
(source, new[] { libAv1Ref, libBv2Ref }, TestOptions.DebugDll);
5769
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5829
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5851
var comp =
CreateCompilation
(source);
5883
var comp =
CreateCompilation
(source);
6012
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
6013
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugDll);
6264
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6466
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular);
6553
var reference =
CreateCompilation
(@"
6562
var comp =
CreateCompilation
(@"
6590
var reference =
CreateCompilation
(@"
6599
var comp =
CreateCompilation
(@"
6636
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6685
var comp =
CreateCompilation
(source);
6732
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
HoistedStateMachineLocalTests.cs (2)
112
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1342
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
HoistedThisTests.cs (10)
849
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
852
var dummyComp =
CreateCompilation
("", new[] { comp.EmitToImageReference() }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
912
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: ExpressionCompilerUtilities.GenerateUniqueName());
915
var dummyComp =
CreateCompilation
("", new[] { comp.EmitToImageReference() }, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1045
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1116
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1152
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1235
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1429
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1431
var comp2 =
CreateCompilation
("", new[] { ref1 }, options: TestOptions.DebugDll);
LocalFunctionTests.cs (8)
35
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
66
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
116
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
178
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
239
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
292
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
319
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
362
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
LocalsTests.cs (132)
40
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
73
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
157
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
311
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
707
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
768
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
874
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
913
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
959
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1023
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1097
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugExe);
1153
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugExe);
1226
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1323
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1385
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1420
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1464
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1527
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1698
var compilation0 =
CreateCompilation
(source, options: options);
1743
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1875
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1928
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1977
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2410
var compilation0 =
CreateCompilation
(
2415
var compilation1 =
CreateCompilation
(
2453
var compilation0 =
CreateCompilation
(
2458
var compilation1 =
CreateCompilation
(
2499
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2555
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2588
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2624
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2666
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2816
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
2981
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3067
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3403
var libRef =
CreateCompilation
(libSource).EmitToImageReference();
3404
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
3559
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
3658
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
3729
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
3762
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3879
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3921
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3982
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4113
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4192
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4329
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4384
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4466
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4526
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4584
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4645
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4714
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4787
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4867
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4926
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4990
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5129
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
5211
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5321
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5407
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5511
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5593
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5695
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5810
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5895
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5981
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6060
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6141
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6223
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6300
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6387
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6453
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6504
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6556
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6610
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6662
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6715
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6755
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6809
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6864
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6920
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
6973
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7025
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7077
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7129
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7169
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7221
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7273
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7325
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7379
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7433
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7487
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7538
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7589
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7640
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7692
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7746
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7800
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7853
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7895
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7937
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
7969
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8017
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8066
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8117
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8153
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8189
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8224
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8274
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8326
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8378
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8425
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8458
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8505
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8552
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8602
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8651
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8697
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8735
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8783
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8833
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8882
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8927
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8960
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
8989
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9031
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9063
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9108
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9141
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9176
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9211
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
ManagedAddressOfTests.cs (7)
28
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
62
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
98
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
144
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
194
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
214
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
248
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
MissingAssemblyTests.cs (12)
89
var libRef =
CreateCompilation
(libSource, assemblyName: "Lib").EmitToImageReference();
90
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.DebugDll);
129
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
170
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
235
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
315
var comp =
CreateCompilation
(csharp, new[] { ilRef });
376
var comp =
CreateCompilation
("public class C { }");
399
var comp1 =
CreateCompilation
("public class C { }", assemblyName: GetUniqueName());
400
var comp2 =
CreateCompilation
("public class D { }", assemblyName: GetUniqueName());
521
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
640
var comp =
CreateCompilation
(source);
682
var comp =
CreateCompilation
(source);
NoPIATests.cs (6)
46
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugExe);
86
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
89
var compilation0 =
CreateCompilation
(source, new[] { referencePIA }, TestOptions.DebugDll);
141
var modulePIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll).ToModuleInstance();
144
var moduleA =
CreateCompilation
(
150
var moduleB =
CreateCompilation
(
PseudoVariableTests.cs (22)
35
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
76
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
113
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
156
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
228
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
265
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
287
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
339
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
386
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
448
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
502
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
550
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
592
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
627
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
673
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
695
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
821
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
869
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1029
var compilationA =
CreateCompilation
(sourceA, options: TestOptions.DebugDll, assemblyName: assemblyNameA);
1033
var compilationB =
CreateCompilation
(sourceB, options: TestOptions.DebugExe, references: new[] { moduleA.GetReference() }, assemblyName: assemblyNameB);
1106
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
1146
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll, assemblyName: GetUniqueName());
ReferencedModulesTests.cs (6)
1074
var systemConsoleComp =
CreateCompilation
(sourceConsole, options: TestOptions.DebugDll, assemblyName: "System.Console");
1076
var systemObjectModelComp =
CreateCompilation
(sourceObjectModel, options: TestOptions.DebugDll, assemblyName: "System.ObjectModel");
1261
var compLib =
CreateCompilation
(sourceLib, assemblyName: "System.Private.Library", parseOptions: parseOptions);
1376
var compLib =
CreateCompilation
(sourceLib, assemblyName: "System.Private.Library");
1454
var compLib =
CreateCompilation
(sourceLib, assemblyName: CorLibAssemblyName);
1465
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
ResultPropertiesTests.cs (10)
39
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
74
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
152
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
183
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
221
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
250
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
284
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
307
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
341
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
384
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
UsingDebugInfoTests.cs (26)
47
var comp =
CreateCompilation
(source);
76
var comp =
CreateCompilation
(source);
110
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
157
var comp =
CreateCompilation
(source);
190
var comp =
CreateCompilation
(source);
235
var comp =
CreateCompilation
(source, new[] { aliasedRef }, parseOptions: parseOptions);
284
var aliasedRef =
CreateCompilation
(libSource, assemblyName: "Lib", parseOptions: parseOptions).EmitToImageReference(aliases: ImmutableArray.Create("A"));
285
var comp =
CreateCompilation
(source, new[] { aliasedRef }, parseOptions: parseOptions);
337
var comp =
CreateCompilation
(source, new[] { aliasedRef }, parseOptions: parseOptions);
451
var comp =
CreateCompilation
(source);
482
var comp =
CreateCompilation
(source);
513
var comp =
CreateCompilation
(source);
553
var comp =
CreateCompilation
(source);
593
var comp =
CreateCompilation
(source);
637
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
672
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
717
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
755
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
796
var comp =
CreateCompilation
(source);
828
var comp =
CreateCompilation
(source);
884
var comp =
CreateCompilation
(source);
935
var comp =
CreateCompilation
(source);
976
var comp =
CreateCompilation
(source, new[] { SystemXmlLinqRef.WithAliases(ImmutableArray.Create("X")) });
1020
var comp =
CreateCompilation
(source, new[] { SystemXmlLinqRef.WithAliases(ImmutableArray.Create("X")) });
1068
var comp =
CreateCompilation
(source, new[] { SystemXmlLinqRef.WithAliases(ImmutableArray.Create("global", "X")) });
1110
var comp =
CreateCompilation
(source);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider.UnitTests (7)
AccessibilityTests.cs (4)
87
var compilationA = CSharpTestBase.
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll);
91
var compilationB = CSharpTestBase.
CreateCompilation
(sourceB, options: TestOptions.DebugDll, references: new MetadataReference[] { referenceA });
248
var compilationA = CSharpTestBase.
CreateCompilation
(sourceA, options: TestOptions.DebugDll);
252
var compilationB = CSharpTestBase.
CreateCompilation
(sourceB, options: TestOptions.ReleaseDll, references: new MetadataReference[] { referenceA });
ExpansionTests.cs (2)
2264
var compilationA = CSharpTestBase.
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll);
2268
var compilationB = CSharpTestBase.
CreateCompilation
(sourceB, options: TestOptions.DebugDll, references: new MetadataReference[] { referenceA });
ResultsViewTests.cs (1)
1267
var compilation0 = CSharpTestBase.
CreateCompilation
(source0, assemblyName: "system.core");
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (287)
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() });
2846
var comp =
CreateCompilation
(source);
2892
var comp =
CreateCompilation
(source);
2941
var comp =
CreateCompilation
(source);
3059
var compilation =
CreateCompilation
(source);
4001
var comp =
CreateCompilation
(source);
4039
var comp =
CreateCompilation
(source);
4080
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);
1443
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IConstructorBodyOperation.cs (17)
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);
IOperation\IOperationTests_IConversionExpression.cs (1)
5209
var compilation =
CreateCompilation
(source);
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_IForEachLoopStatement.cs (12)
2783
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
2915
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
3007
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
5872
var compilation =
CreateCompilation
(@"
5996
var compilation =
CreateCompilation
(@"
6120
var compilation =
CreateCompilation
(@"
6242
var compilation =
CreateCompilation
(@"
6505
var compilation =
CreateCompilation
(@"
6781
var comp =
CreateCompilation
(@"
6923
var comp =
CreateCompilation
(@"
7017
var comp =
CreateCompilation
(@"
7349
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IInterpolatedStringOperation.cs (1)
4846
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 (14)
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
(@"
2233
var comp =
CreateCompilation
(@"
2352
var comp =
CreateCompilation
(@"
15045
var comp =
CreateCompilation
(source);
15140
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)
8165
var comp =
CreateCompilation
(@"
8351
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 (10981)
Semantics\AccessCheckTests.cs (50)
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
(@"
669
CSharpCompilation c =
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);
1378
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1399
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)
3956
var comp =
CreateCompilation
(src);
4058
var comp =
CreateCompilation
(src);
4117
var comp =
CreateCompilation
(src);
Semantics\BindingTests.cs (84)
35
CreateCompilation
(text).VerifyDiagnostics();
57
CreateCompilation
(source).VerifyDiagnostics();
80
CreateCompilation
(source).VerifyDiagnostics();
100
CreateCompilation
(source).VerifyDiagnostics();
125
CreateCompilation
(source).VerifyDiagnostics(
166
CreateCompilation
(source).VerifyDiagnostics(
200
CreateCompilation
(source).VerifyDiagnostics(
245
CreateCompilation
(source).VerifyDiagnostics(
317
CreateCompilation
(source).VerifyDiagnostics(
356
CreateCompilation
(source).VerifyDiagnostics(
383
CreateCompilation
(source).VerifyDiagnostics();
399
CreateCompilation
(source).VerifyDiagnostics(
431
CreateCompilation
(source).VerifyDiagnostics(
521
CreateCompilation
(source).VerifyDiagnostics();
545
CreateCompilation
(source).VerifyDiagnostics();
566
CreateCompilation
(source).VerifyDiagnostics( // (11,13): error CS0103: The name 'x' does not exist in the current context
610
CreateCompilation
(source).VerifyDiagnostics(
632
CreateCompilation
(source).VerifyDiagnostics(
657
CreateCompilation
(source).VerifyDiagnostics(
672
CreateCompilation
(source).VerifyDiagnostics(
707
CreateCompilation
(source).VerifyDiagnostics(
730
var baseAssembly =
CreateCompilation
(
738
var derivedAssembly =
CreateCompilation
(
747
var testAssembly =
CreateCompilation
(
769
var baseAssembly =
CreateCompilation
(
777
var derivedAssembly =
CreateCompilation
(
786
var testAssembly =
CreateCompilation
(
808
var baseAssembly =
CreateCompilation
(
816
var derivedAssembly =
CreateCompilation
(
825
var testAssembly =
CreateCompilation
(
860
var testAssembly =
CreateCompilation
(scenarioCode);
885
var testAssembly =
CreateCompilation
(scenarioCode);
911
var testAssembly =
CreateCompilation
(scenarioCode);
943
var testAssembly =
CreateCompilation
(scenarioCode);
975
var testAssembly =
CreateCompilation
(scenarioCode);
1005
var testAssembly =
CreateCompilation
(scenarioCode);
1033
var testAssembly =
CreateCompilation
(scenarioCode);
1064
var testAssembly =
CreateCompilation
(scenarioCode);
1092
var testAssembly =
CreateCompilation
(scenarioCode);
1120
var testAssembly =
CreateCompilation
(scenarioCode);
1149
var testAssembly =
CreateCompilation
(scenarioCode);
1187
var testAssembly =
CreateCompilation
(scenarioCode);
1228
var testAssembly =
CreateCompilation
(scenarioCode);
1278
var testAssembly =
CreateCompilation
(scenarioCode);
1323
var testAssembly =
CreateCompilation
(scenarioCode);
1366
var testAssembly =
CreateCompilation
(scenarioCode);
1408
var testAssembly =
CreateCompilation
(scenarioCode);
1422
var testAssembly =
CreateCompilation
(
1454
var testAssembly =
CreateCompilation
(
1480
var testAssembly =
CreateCompilation
(
1513
var testAssembly =
CreateCompilation
(
1767
CreateCompilation
(source).VerifyDiagnostics();
1796
CreateCompilation
(source).VerifyDiagnostics(
1820
CreateCompilation
(source).VerifyDiagnostics();
1836
CreateCompilation
(source).VerifyDiagnostics(
1856
CreateCompilation
(source).VerifyDiagnostics();
1877
CreateCompilation
(source).VerifyDiagnostics(
1907
CreateCompilation
(source).VerifyDiagnostics(
1975
CreateCompilation
(source).VerifyDiagnostics(
2005
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2031
var compilation =
CreateCompilation
(sourceCode);
2082
CreateCompilation
(source).VerifyDiagnostics(
2101
CreateCompilation
(source).VerifyDiagnostics(
2142
CreateCompilation
(source).VerifyDiagnostics(
2155
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2164
CreateCompilation
(source).VerifyDiagnostics(
2180
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2218
CreateCompilation
(source).VerifyDiagnostics();
2238
CreateCompilation
(source).VerifyDiagnostics();
2256
CreateCompilation
(source).VerifyDiagnostics(
2328
var comp =
CreateCompilation
(source);
2347
var comp =
CreateCompilation
(source);
2499
CreateCompilation
(source).VerifyDiagnostics(
2521
CreateCompilation
(source).VerifyDiagnostics();
2563
var comp =
CreateCompilation
(source);
2594
var comp =
CreateCompilation
(source);
2623
var comp =
CreateCompilation
(source);
2682
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2738
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2874
var comp =
CreateCompilation
(source);
2919
var comp =
CreateCompilation
(source);
3146
var comp =
CreateCompilation
(source);
3455
var comp =
CreateCompilation
(source);
3660
var compilation =
CreateCompilation
(@"
Semantics\ColorColorTests.cs (26)
164
var comp =
CreateCompilation
(text);
588
var comp =
CreateCompilation
(tree);
628
var comp =
CreateCompilation
(tree);
975
CreateCompilation
(text).VerifyDiagnostics(
1005
CreateCompilation
(text).VerifyDiagnostics();
1031
CreateCompilation
(text).VerifyDiagnostics();
1058
var comp =
CreateCompilation
(tree);
1104
var comp =
CreateCompilation
(tree);
1150
var comp =
CreateCompilation
(tree);
1195
var comp =
CreateCompilation
(tree);
1236
var comp =
CreateCompilation
(tree);
1273
var comp =
CreateCompilation
(tree);
1463
CreateCompilation
(text).VerifyDiagnostics();
1487
CreateCompilation
(text).VerifyDiagnostics();
1579
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1620
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1658
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1699
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1877
var compilation =
CreateCompilation
(source);
1934
var compilation =
CreateCompilation
(source);
1991
var compilation =
CreateCompilation
(source);
2041
var compilation =
CreateCompilation
(source);
2178
var compilation =
CreateCompilation
(source, assemblyName: "Main");
2209
var compilation =
CreateCompilation
(source);
2270
var compilation =
CreateCompilation
(source);
2304
var compilation =
CreateCompilation
(source);
Semantics\ConditionalOperatorTests.cs (8)
1205
CreateCompilation
(source).VerifyDiagnostics(
1258
var comp =
CreateCompilation
(tree);
1309
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1364
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1411
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1473
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe,
1493
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1509
var comp =
CreateCompilation
(source);
Semantics\ConstantTests.cs (46)
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(
3329
CreateCompilation
(source).VerifyDiagnostics(
3343
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3393
CreateCompilation
(source).VerifyDiagnostics(
3497
var comp =
CreateCompilation
(source.ToString(), options: TestOptions.ReleaseExe);
3607
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3648
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3669
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3705
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3787
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3815
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3884
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3890
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
Semantics\DeconstructionTests.cs (77)
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);
4148
var comp =
CreateCompilation
(source);
4200
var comp1 =
CreateCompilation
(source1);
4231
var comp2 =
CreateCompilation
(source2);
4335
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4366
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4472
var comp1 =
CreateCompilation
(source1);
4500
var comp2 =
CreateCompilation
(source2);
4600
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4622
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4642
var comp1 =
CreateCompilation
(source1);
4658
var comp2 =
CreateCompilation
(source2);
4721
var comp1 =
CreateCompilation
(source1);
4742
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4752
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4814
var comp1 =
CreateCompilation
(source1);
4830
var comp2 =
CreateCompilation
(source2);
4889
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4899
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4919
var comp1 =
CreateCompilation
(source1);
4935
var comp2 =
CreateCompilation
(source2);
4971
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4981
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5023
var comp1 =
CreateCompilation
(source1);
5039
var comp2 =
CreateCompilation
(source2);
5078
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5088
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5107
var comp1 =
CreateCompilation
(source1);
5149
var comp1 =
CreateCompilation
(source1);
5180
var comp2 =
CreateCompilation
(source2);
5293
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5324
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5443
var comp1 =
CreateCompilation
(source1);
5471
var comp2 =
CreateCompilation
(source2);
5580
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5602
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5620
var comp1 =
CreateCompilation
(source1);
5648
var comp2 =
CreateCompilation
(source2);
5730
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5758
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5846
var comp1 =
CreateCompilation
(source1);
5871
var comp2 =
CreateCompilation
(source2);
5946
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5965
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5980
var comp =
CreateCompilation
(source);
6020
var comp =
CreateCompilation
(source);
6063
var comp =
CreateCompilation
(source);
6103
var comp =
CreateCompilation
(source);
6145
var comp =
CreateCompilation
(source);
6282
CreateCompilation
(text).VerifyEmitDiagnostics(
6320
CreateCompilation
(text).VerifyEmitDiagnostics(
6346
CreateCompilation
(text).VerifyEmitDiagnostics(
6381
CreateCompilation
(text).VerifyEmitDiagnostics(
6409
CreateCompilation
(source).VerifyEmitDiagnostics(
6443
CreateCompilation
(source).VerifyEmitDiagnostics(
6552
var comp =
CreateCompilation
(code);
Semantics\DelegateTypeTests.cs (396)
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);
1207
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1301
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1396
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1452
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1455
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1458
comp =
CreateCompilation
(source);
1483
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1514
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1517
comp =
CreateCompilation
(source);
1535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1560
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1563
comp =
CreateCompilation
(source);
1581
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1603
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1606
comp =
CreateCompilation
(source);
1707
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1758
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1791
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1817
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1866
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1894
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1920
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1952
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2069
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
2072
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2096
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
2099
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2131
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
2165
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
2197
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
2231
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
3074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3129
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3161
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3170
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3285
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3310
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3313
comp =
CreateCompilation
(source);
3510
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3512
comp =
CreateCompilation
(source);
3537
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3539
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3541
comp =
CreateCompilation
(source);
3569
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3571
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3573
comp =
CreateCompilation
(source);
3603
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3605
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3607
comp =
CreateCompilation
(source);
3638
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3640
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3642
comp =
CreateCompilation
(source);
3907
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3925
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3927
comp =
CreateCompilation
(source);
4003
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4078
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4112
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4179
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4194
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4196
comp =
CreateCompilation
(source);
4217
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4229
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4231
comp =
CreateCompilation
(source);
4251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4280
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4298
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4300
comp =
CreateCompilation
(source);
4381
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4383
comp =
CreateCompilation
(source);
4493
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4495
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4497
comp =
CreateCompilation
(source);
4517
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4596
CreateCompilation
(source).VerifyDiagnostics(
4617
CreateCompilation
(source).VerifyDiagnostics(
4641
CreateCompilation
(source).VerifyDiagnostics(
4793
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4826
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4870
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4873
comp =
CreateCompilation
(source);
4896
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4927
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4936
comp =
CreateCompilation
(source);
4965
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5009
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5015
comp =
CreateCompilation
(source);
5047
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5050
comp =
CreateCompilation
(source);
5074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5118
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5145
comp =
CreateCompilation
(source);
5201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5230
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5268
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5271
comp =
CreateCompilation
(source);
5308
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
5331
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
5407
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5435
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5463
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5494
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5601
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5634
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5672
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5714
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5800
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5803
comp =
CreateCompilation
(source);
5823
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5832
comp =
CreateCompilation
(source);
5901
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5904
comp =
CreateCompilation
(source);
5937
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5940
comp =
CreateCompilation
(source);
6003
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6006
comp =
CreateCompilation
(source);
6039
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6042
comp =
CreateCompilation
(source);
6070
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6097
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6112
comp =
CreateCompilation
(source);
6143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6174
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6180
comp =
CreateCompilation
(source);
6204
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6211
comp =
CreateCompilation
(source);
6233
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6239
comp =
CreateCompilation
(source);
6262
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6268
comp =
CreateCompilation
(source);
6292
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6307
comp =
CreateCompilation
(source);
6336
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6346
comp =
CreateCompilation
(source);
6370
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6377
comp =
CreateCompilation
(source);
6398
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6405
comp =
CreateCompilation
(source);
6437
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6458
comp =
CreateCompilation
(source);
6484
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6519
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6555
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6580
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6583
comp =
CreateCompilation
(source);
6607
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6650
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6675
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6678
comp =
CreateCompilation
(source);
6713
var comp =
CreateCompilation
(source);
6748
var comp =
CreateCompilation
(source);
6798
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6841
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6844
comp =
CreateCompilation
(source);
6869
var comp =
CreateCompilation
(source);
6916
var comp =
CreateCompilation
(source);
6969
var comp =
CreateCompilation
(source);
7012
var comp =
CreateCompilation
(source);
7074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7076
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7078
comp =
CreateCompilation
(source);
7177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7179
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7181
comp =
CreateCompilation
(source);
7231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7233
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7235
comp =
CreateCompilation
(source);
7413
var comp =
CreateCompilation
(source);
7437
var comp =
CreateCompilation
(source);
7463
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7475
comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe);
7536
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithKind(SourceCodeKind.Script));
7548
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10.WithKind(SourceCodeKind.Script));
7565
var comp =
CreateCompilation
(source);
7600
var comp =
CreateCompilation
(source);
7626
var comp =
CreateCompilation
(source);
7657
var comp =
CreateCompilation
(source);
7699
var comp =
CreateCompilation
(source);
7718
var comp =
CreateCompilation
(source);
7751
var comp =
CreateCompilation
(source);
7774
var comp =
CreateCompilation
(source);
7798
var comp =
CreateCompilation
(source);
7821
var comp =
CreateCompilation
(source);
7862
var comp =
CreateCompilation
(source);
7902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7904
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7906
comp =
CreateCompilation
(source);
7949
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7984
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8002
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8004
comp =
CreateCompilation
(source);
8026
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8077
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8079
comp =
CreateCompilation
(source);
8101
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8160
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8172
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8174
comp =
CreateCompilation
(source);
8232
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8255
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8293
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8424
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8479
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8553
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8619
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
8670
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8696
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8761
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8840
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
8899
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8936
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
8971
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9004
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9070
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
9110
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
9155
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9188
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9219
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9258
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9289
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
9330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
9366
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9520
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
10368
CreateCompilation
(source).VerifyDiagnostics(
10422
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
10478
CreateCompilation
(source).VerifyDiagnostics(
10920
var comp =
CreateCompilation
(UnscopedRefAttributeDefinition, targetFramework: TargetFramework.Net60, assemblyName: attributeAssemblyName);
10931
comp =
CreateCompilation
(sourceA, references: new[] { refAttribute }, targetFramework: TargetFramework.Net60);
10946
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net60);
10952
comp =
CreateCompilation
(sourceB, references: new[] { refA, refAttribute }, targetFramework: TargetFramework.Net60);
10995
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
11009
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
11033
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11130
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11161
var comp =
CreateCompilation
(source);
11202
var comp =
CreateCompilation
(source);
11271
var comp =
CreateCompilation
(source);
11335
var comp =
CreateCompilation
(source);
11389
var comp =
CreateCompilation
(source);
11434
var comp =
CreateCompilation
(source);
11514
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11517
comp =
CreateCompilation
(source);
11562
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11565
comp =
CreateCompilation
(source);
11632
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11635
comp =
CreateCompilation
(source);
11721
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11724
comp =
CreateCompilation
(source);
11781
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11784
comp =
CreateCompilation
(source);
11858
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11861
comp =
CreateCompilation
(source);
11946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11949
comp =
CreateCompilation
(source);
12011
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
12014
comp =
CreateCompilation
(source);
12055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
12058
comp =
CreateCompilation
(source);
12108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
12111
comp =
CreateCompilation
(source);
12143
var comp =
CreateCompilation
(source);
12173
var comp =
CreateCompilation
(source);
12203
var comp =
CreateCompilation
(source);
12226
var comp =
CreateCompilation
(source);
12250
var comp =
CreateCompilation
(source);
12671
CreateCompilation
(source).VerifyDiagnostics(
12733
CreateCompilation
(source).VerifyDiagnostics(
12758
CreateCompilation
(source).VerifyDiagnostics(
12779
CreateCompilation
(source).VerifyDiagnostics(
12798
CreateCompilation
(source).VerifyDiagnostics();
12817
CreateCompilation
(source).VerifyDiagnostics(
12840
CreateCompilation
(source).VerifyDiagnostics(
12861
CreateCompilation
(source).VerifyDiagnostics(
12886
CreateCompilation
(source).VerifyDiagnostics(
12914
CreateCompilation
(source).VerifyDiagnostics(
13051
CreateCompilation
(source).VerifyDiagnostics(
13072
CreateCompilation
(source).VerifyDiagnostics(
13198
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
13250
CreateCompilation
(source).VerifyDiagnostics(
13503
CreateCompilation
(source).VerifyDiagnostics();
13577
CreateCompilation
(source).VerifyDiagnostics(
13697
CreateCompilation
(source).VerifyDiagnostics(
13719
CreateCompilation
(source).VerifyDiagnostics(
13744
CreateCompilation
(source).VerifyDiagnostics(
13769
CreateCompilation
(source).VerifyDiagnostics(
13787
CreateCompilation
(source).VerifyDiagnostics();
13807
CreateCompilation
(source).VerifyDiagnostics(
13830
CreateCompilation
(source).VerifyDiagnostics(
13934
CreateCompilation
(source).VerifyDiagnostics();
13943
CreateCompilation
(source).VerifyDiagnostics(
13956
CreateCompilation
(source).VerifyDiagnostics();
13980
CreateCompilation
(new[] { source, handler }).VerifyDiagnostics(
13992
CreateCompilation
(source).VerifyDiagnostics(
14013
CreateCompilation
(source).VerifyDiagnostics(
14033
CreateCompilation
(source).VerifyDiagnostics(
14045
CreateCompilation
(source).VerifyDiagnostics(
14061
var comp1 =
CreateCompilation
(source1);
14067
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
14084
var comp1 =
CreateCompilation
(source1);
14090
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
14171
CreateCompilation
(source).VerifyDiagnostics(
14465
CreateCompilation
(source).VerifyDiagnostics();
15081
CreateCompilation
(source).VerifyDiagnostics(
15177
var comp =
CreateCompilation
(source);
15181
comp =
CreateCompilation
(source);
15185
comp =
CreateCompilation
(source);
15200
var comp =
CreateCompilation
(source);
15218
var comp =
CreateCompilation
(source);
15236
var comp =
CreateCompilation
(source);
15260
var comp =
CreateCompilation
(source);
15280
var comp =
CreateCompilation
(source);
15297
var comp =
CreateCompilation
(source);
15318
var comp =
CreateCompilation
(source);
15334
var comp =
CreateCompilation
(source);
15354
var comp =
CreateCompilation
(source);
15372
var comp =
CreateCompilation
(source);
15399
var comp =
CreateCompilation
(source);
15425
var comp =
CreateCompilation
(source);
15445
var comp =
CreateCompilation
(source);
15470
var comp =
CreateCompilation
(source);
15486
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15491
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15512
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15517
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15531
var comp =
CreateCompilation
(source);
15549
var comp =
CreateCompilation
(source);
15557
CreateCompilation
(source2, new[] { comp.EmitToImageReference() }).VerifyEmitDiagnostics(
15573
var comp =
CreateCompilation
(source);
15590
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15603
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15607
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15611
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15615
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15633
var comp =
CreateCompilation
(source);
15654
var comp =
CreateCompilation
(source);
15680
var comp =
CreateCompilation
(source);
15684
comp =
CreateCompilation
(source);
15703
var comp =
CreateCompilation
(source);
15723
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15728
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15753
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15758
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15779
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15796
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15800
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15804
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15814
var comp =
CreateCompilation
(source);
15828
var comp =
CreateCompilation
(source);
15846
var comp =
CreateCompilation
(source);
15863
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
15868
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
15885
var comp =
CreateCompilation
(source);
15902
var comp =
CreateCompilation
(source);
16132
CreateCompilation
(source).VerifyDiagnostics(
16152
CreateCompilation
(source).VerifyDiagnostics(
16174
CreateCompilation
(source).VerifyDiagnostics(
16193
CreateCompilation
(source).VerifyDiagnostics();
16215
CreateCompilation
(source).VerifyDiagnostics(
16236
CreateCompilation
(source).VerifyDiagnostics(
16280
CreateCompilation
(source).VerifyDiagnostics(
16321
CreateCompilation
(source).VerifyDiagnostics(
16362
CreateCompilation
(source).VerifyDiagnostics(
16399
CreateCompilation
(source).VerifyDiagnostics(
16420
CreateCompilation
(source).VerifyDiagnostics(
Semantics\DynamicTests.cs (13)
47
var c =
CreateCompilation
("", new[] { CSharpRef });
242
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics();
265
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics(
595
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3437
var comp =
CreateCompilation
(source);
3661
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics(
3734
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
3757
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
3784
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
3961
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
3984
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4085
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4101
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
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 (56)
40
CreateCompilation
(text).VerifyDiagnostics(
59
CreateCompilation
(text).VerifyDiagnostics(
79
CreateCompilation
(text).VerifyDiagnostics(
101
CreateCompilation
(text).VerifyDiagnostics(
120
CreateCompilation
(text).VerifyDiagnostics(
139
CreateCompilation
(text).VerifyDiagnostics(
158
CreateCompilation
(text).VerifyDiagnostics(
189
CreateCompilation
(text).VerifyDiagnostics(
220
CreateCompilation
(text).VerifyDiagnostics(
251
CreateCompilation
(text).VerifyDiagnostics(
284
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
289
CreateCompilation
(text).VerifyDiagnostics(
323
CreateCompilation
(text).VerifyDiagnostics(
356
CreateCompilation
(text).VerifyDiagnostics(
389
CreateCompilation
(text).VerifyDiagnostics(
422
CreateCompilation
(text).VerifyDiagnostics(
453
CreateCompilation
(text).VerifyDiagnostics(
484
CreateCompilation
(text).VerifyDiagnostics(
520
CreateCompilation
(text).VerifyDiagnostics(
553
CreateCompilation
(text).VerifyDiagnostics(
586
CreateCompilation
(text).VerifyDiagnostics(
619
CreateCompilation
(text).VerifyDiagnostics(
650
CreateCompilation
(text).VerifyDiagnostics(
686
CreateCompilation
(text).VerifyDiagnostics(
717
CreateCompilation
(text).VerifyDiagnostics(
748
CreateCompilation
(text).VerifyDiagnostics(
778
CreateCompilation
(text).VerifyDiagnostics(
808
CreateCompilation
(text).VerifyDiagnostics(
855
CreateCompilation
(text).VerifyDiagnostics(
904
CreateCompilation
(text).VerifyDiagnostics(
940
CreateCompilation
(text).VerifyDiagnostics(
958
CreateCompilation
(text).VerifyDiagnostics(
976
CreateCompilation
(text).VerifyDiagnostics(
995
CreateCompilation
(text).VerifyDiagnostics(
1038
CreateCompilation
(text).VerifyDiagnostics(
1057
CreateCompilation
(text).VerifyDiagnostics(
1090
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
1109
CreateCompilation
(source).VerifyDiagnostics(
1131
CreateCompilation
(source).VerifyDiagnostics(
1159
CreateCompilation
(source).VerifyDiagnostics(
1184
CreateCompilation
(source).VerifyDiagnostics(
1791
var compilation =
CreateCompilation
(text);
2051
CreateCompilation
(source, parseOptions: options).VerifyDiagnostics(
2061
CreateCompilation
(condDefSource).VerifyDiagnostics(
2105
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
2172
var comp =
CreateCompilation
(source);
2855
CreateCompilation
(source).VerifyDiagnostics(
2920
CreateCompilation
(source).VerifyDiagnostics(
2961
CreateCompilation
(source).VerifyDiagnostics(
2986
CreateCompilation
(source).VerifyDiagnostics(
3359
var compilation =
CreateCompilation
(source);
3452
CreateCompilation
(@"
3486
CreateCompilation
(@"
3520
CreateCompilation
(@"
3552
CreateCompilation
(@"
3608
CreateCompilation
(@"
Semantics\ForLoopErrorTests.cs (7)
30
CreateCompilation
(text).
58
CreateCompilation
(text).
79
CreateCompilation
(text).
97
CreateCompilation
(text).
113
CreateCompilation
(text).
144
CreateCompilation
(text).
197
var comp =
CreateCompilation
(text);
Semantics\FunctionPointerTests.cs (2)
21
return
CreateCompilation
(source, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: parseOptions ?? TestOptions.Regular9, targetFramework: targetFramework ?? TargetFramework.Standard);
2085
var cComp =
CreateCompilation
(cDefinition, assemblyName: "cLib");
Semantics\GenericConstraintsTests.cs (159)
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);
3796
var compilation =
CreateCompilation
(code);
3818
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3825
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3848
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3857
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3874
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3881
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3898
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3904
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3921
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3927
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3944
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3951
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3971
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3978
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4001
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4011
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4038
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4048
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4101
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4158
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4169
var comp =
CreateCompilation
(@"
4233
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)
24
var compilation =
CreateCompilation
(@"
65
var comp =
CreateCompilation
(tree);
91
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 (14)
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);
4400
var libAv1 =
CreateCompilation
(
4418
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) },
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)
490
var comp =
CreateCompilation
(src);
532
var comp =
CreateCompilation
(src);
712
var comp =
CreateCompilation
(source + @"
725
comp =
CreateCompilation
(source + @"
802
var compilation =
CreateCompilation
(@"
821
var compilation =
CreateCompilation
(@"
876
var compilation =
CreateCompilation
(@"
1056
var compilation =
CreateCompilation
(@"
1751
var comp =
CreateCompilation
(@"
1782
var comp =
CreateCompilation
(@"
Semantics\InheritanceBindingTests.cs (185)
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);
6217
CreateCompilation
(text2, new[] { new CSharpCompilationReference(comp1) }).VerifyDiagnostics(
6240
var compilation1 =
CreateCompilation
(source1);
6255
var comp =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) });
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)
38
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
63
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
75
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
101
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
112
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
134
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
146
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
171
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
184
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
206
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
214
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
225
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
250
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
277
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
298
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8, assemblyName: "lib");
310
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, references: new[] { lib.ToMetadataReference() }, assemblyName: "comp");
332
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
344
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
365
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
387
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
451
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
492
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
544
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
573
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
602
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
633
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
686
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
743
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
769
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
868
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
943
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
969
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1001
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1043
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1044
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1048
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1049
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1079
var libComp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1080
var comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1127
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1128
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1132
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1133
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1147
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1210
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1249
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1279
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1306
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1333
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1360
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1387
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1407
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1436
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
1518
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1612
var comp =
CreateCompilation
(source,
1682
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1710
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1759
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1783
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1808
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
1861
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1901
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1944
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1990
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2029
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2060
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2081
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2099
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2120
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2152
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2187
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2208
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2277
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2370
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2413
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2443
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2463
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2485
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2509
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2531
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2606
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2675
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2732
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2781
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
2818
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2871
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2952
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3004
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
3031
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3053
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3079
var comp =
CreateCompilation
(source,
3104
var compilation =
CreateCompilation
(@"
3167
var comp =
CreateCompilation
(new[] { @"
3252
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3343
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3461
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3557
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3618
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3677
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3727
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3795
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3873
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3961
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4044
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4091
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
4114
var comp =
CreateCompilation
(new[] { @"
4182
var comp1 =
CreateCompilation
(new[] { source0, source1, IsExternalInitTypeDefinition },
4189
var comp7 =
CreateCompilation
(source2, references: comp1Ref,
4356
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4379
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4472
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4501
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source });
4525
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4551
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\InterpolationTests.cs (243)
939
CreateCompilation
(source).VerifyDiagnostics(
968
CreateCompilation
(source).VerifyDiagnostics(
989
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1001
CreateCompilation
(source).VerifyDiagnostics(
1172
var comp =
CreateCompilation
(text, targetFramework: framework,
1275
var comp =
CreateCompilation
(text, targetFramework: framework,
1376
var comp =
CreateCompilation
(text, targetFramework: framework,
1428
var comp =
CreateCompilation
(text, targetFramework: framework,
1467
CreateCompilation
(text).VerifyDiagnostics(
1509
CreateCompilation
(text).VerifyDiagnostics(
1817
var comp1 =
CreateCompilation
(interpolatedStringBuilder);
1821
var comp2 =
CreateCompilation
(source, new[] { reference });
2195
var comp =
CreateCompilation
(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
2233
var comp1 =
CreateCompilation
(interpolatedStringBuilder, targetFramework: TargetFramework.Net50);
2237
var comp2 =
CreateCompilation
(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.Regular10);
3255
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3285
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3315
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3346
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3375
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3403
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3431
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3633
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
3715
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, parseOptions: TestOptions.Regular9);
4026
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder },
4079
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp);
4181
var comp =
CreateCompilation
(source);
4206
var comp =
CreateCompilation
(new[] { code, handler });
4247
var comp =
CreateCompilation
(new[] { code, handler });
4289
var comp =
CreateCompilation
(new[] { code, handler });
4350
var comp =
CreateCompilation
(source);
4376
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
4397
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4401
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4414
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4427
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4459
var comp =
CreateCompilation
(source);
4497
var comp =
CreateCompilation
(source);
4613
var comp =
CreateCompilation
(new[] { code, builder });
4751
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
4794
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
4862
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
4899
comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular9);
4952
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
4982
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5010
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5034
var comp =
CreateCompilation
(new[]
5065
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5119
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5170
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5193
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
5219
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5247
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5305
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5352
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5407
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5466
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5531
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
5541
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
5589
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5656
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5726
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5789
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5823
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5843
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5904
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5975
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6001
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6061
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6088
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6145
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6172
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6251
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6315
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6380
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6407
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6463
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6507
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6528
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6571
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6617
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6663
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6710
var comp =
CreateCompilation
(new[]
6787
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
6817
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
6845
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6877
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6911
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
6952
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6986
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7027
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7064
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7105
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7139
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7180
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7213
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7247
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7287
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7327
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7367
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7408
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7444
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7485
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7521
var comp =
CreateCompilation
(@"_ = new C($"""");", references: new[] { vbComp.EmitToImageReference() });
7562
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7602
var comp =
CreateCompilation
(@"C<CustomHandler>.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7655
var comp =
CreateCompilation
(new[] { code, goodCode, InterpolatedStringHandlerArgumentAttribute, handler });
7672
comp =
CreateCompilation
(new[] { code, badCode, InterpolatedStringHandlerArgumentAttribute, handler });
7774
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
7812
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7850
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7878
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7881
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
7927
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
7934
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7939
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
7949
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
7985
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8146
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8150
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8155
comp =
CreateCompilation
(executableCode, new[] { d });
8200
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8208
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8319
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8330
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8462
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8619
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8752
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8889
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8990
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9053
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9057
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
9118
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9234
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9351
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9474
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9548
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9592
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9819
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9866
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
9919
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10022
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe);
10168
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10267
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10365
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10419
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10518
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10617
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10715
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10759
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10814
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10899
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11011
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11263
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11448
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11548
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11603
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11665
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11799
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11896
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12188
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12452
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12709
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12778
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12833
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13062
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13114
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
13148
var comp =
CreateCompilation
(new[] { code, handler });
13165
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13224
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13284
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13346
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13408
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13500
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13619
var comp =
CreateCompilation
(code);
13641
var comp =
CreateCompilation
(code);
13674
var comp =
CreateCompilation
(new[] { code, customHandler });
13719
var comp =
CreateCompilation
(new[] { code, customHandler });
13755
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
13783
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
13815
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
13860
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
13905
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
13948
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
13997
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
14053
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
14146
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
14256
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14259
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14288
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14325
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14328
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14365
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14368
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14405
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14414
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14463
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14466
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14497
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14500
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14531
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14534
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
14568
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
14606
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14616
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
14661
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14664
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
14709
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
14750
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14786
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
14837
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14883
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
14923
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14951
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
14984
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15020
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15068
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15090
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
15136
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
15191
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
15253
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
15287
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
15346
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
15370
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
15445
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
15961
var comp =
CreateCompilation
(code);
16120
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16184
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16348
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16412
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16485
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16517
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
16785
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16819
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
16988
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
17022
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
17045
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
17097
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
17152
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
17228
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
17247
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
17261
var comp =
CreateCompilation
(text).VerifyDiagnostics(
Semantics\IteratorTests.cs (7)
35
var comp =
CreateCompilation
(text);
60
var comp =
CreateCompilation
(text);
78
var comp =
CreateCompilation
(text);
101
var comp =
CreateCompilation
(text);
139
var comp =
CreateCompilation
(text);
380
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll);
439
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 (248)
29
var comp =
CreateCompilation
(@"
261
var compilation =
CreateCompilation
(code);
284
CreateCompilation
(source).VerifyDiagnostics(
308
CreateCompilation
(source).VerifyDiagnostics(
337
var comp =
CreateCompilation
(Parse(text));
415
var comp1 =
CreateCompilation
(
430
var comp2 =
CreateCompilation
(
441
var comp3 =
CreateCompilation
(
471
var comp =
CreateCompilation
(Parse(text1));
525
var csProject =
CreateCompilation
(
572
var csProject =
CreateCompilation
(Parse(csSource), new[] { MetadataReference.CreateFromImage(vbMetadata) });
593
var comp =
CreateCompilation
(source);
612
var comp =
CreateCompilation
(source);
633
var comp =
CreateCompilation
(source);
657
var csProject =
CreateCompilation
(csSource);
684
CreateCompilation
(csSource).VerifyDiagnostics(
721
CreateCompilation
(csSource).VerifyDiagnostics(
749
CreateCompilation
(csSource).VerifyDiagnostics(
773
CreateCompilation
(csSource).VerifyDiagnostics(
792
CreateCompilation
(csSource).VerifyDiagnostics(
809
CreateCompilation
(source).VerifyDiagnostics(
834
var comp =
CreateCompilation
(tree);
881
CreateCompilation
(csSource).VerifyDiagnostics(
933
var compilation =
CreateCompilation
(source);
1166
var comp =
CreateCompilation
(tree);
1199
var comp =
CreateCompilation
(tree);
1231
var comp =
CreateCompilation
(tree);
1424
var comp =
CreateCompilation
(@"
1447
var comp =
CreateCompilation
(@"
1466
var comp =
CreateCompilation
(@"
1498
var compilation =
CreateCompilation
(src);
1533
var compilation =
CreateCompilation
(src);
1570
var compilation =
CreateCompilation
(src);
1602
var compilation =
CreateCompilation
(src);
1881
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1919
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1938
CreateCompilation
(source).VerifyDiagnostics(
2707
var comp =
CreateCompilation
(source);
2809
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll);
2833
var comp =
CreateCompilation
(src);
2859
var comp =
CreateCompilation
(src);
2888
var comp =
CreateCompilation
(src);
2914
var comp =
CreateCompilation
(src);
2991
var comp =
CreateCompilation
(tree);
3033
var comp =
CreateCompilation
(tree);
3074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3092
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3095
comp =
CreateCompilation
(source);
3118
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3133
comp =
CreateCompilation
(source);
3156
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3174
comp =
CreateCompilation
(source);
3197
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3212
comp =
CreateCompilation
(source);
3235
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3250
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3253
comp =
CreateCompilation
(source);
3275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3287
comp =
CreateCompilation
(source);
3309
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3324
comp =
CreateCompilation
(source);
3351
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3366
comp =
CreateCompilation
(source);
3384
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3390
comp =
CreateCompilation
(source);
3408
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3414
comp =
CreateCompilation
(source);
3432
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3441
comp =
CreateCompilation
(source);
3459
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3471
comp =
CreateCompilation
(source);
3497
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3506
comp =
CreateCompilation
(source);
3536
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3551
comp =
CreateCompilation
(source);
3605
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
3673
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3691
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3727
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3730
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3757
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
3774
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3809
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3857
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3913
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3956
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4007
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4072
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4098
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4133
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
4189
var comp =
CreateCompilation
(
4222
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4269
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4343
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4390
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4470
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4517
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4566
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition, NotNullWhenAttributeDefinition, MaybeNullAttributeDefinition });
4623
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition, NotNullAttributeDefinition });
4670
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4709
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4737
var comp =
CreateCompilation
(source);
4762
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4798
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4828
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4848
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4879
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4906
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4932
var comp =
CreateCompilation
(
4973
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
5005
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5017
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5038
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5065
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5093
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5119
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5241
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5282
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5318
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5350
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5376
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5395
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5420
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5448
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5472
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5499
var comp =
CreateCompilation
(source);
5530
var comp =
CreateCompilation
(source);
5561
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5594
var comp =
CreateCompilation
(source);
5674
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5708
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5730
var comp =
CreateCompilation
(source);
5764
var comp =
CreateCompilation
(source);
5796
var comp =
CreateCompilation
(source);
5829
var comp =
CreateCompilation
(source);
5856
var comp =
CreateCompilation
(source);
5879
var comp =
CreateCompilation
(source);
5901
var comp =
CreateCompilation
(source);
5926
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5954
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5998
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6001
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6026
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6060
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6087
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6133
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6154
var comp =
CreateCompilation
(source);
6177
var comp =
CreateCompilation
(source);
6202
var comp =
CreateCompilation
(source);
6224
var comp =
CreateCompilation
(source);
6245
var comp =
CreateCompilation
(source);
6267
var comp =
CreateCompilation
(source);
6288
var comp =
CreateCompilation
(source);
6309
var comp =
CreateCompilation
(source);
6331
var comp =
CreateCompilation
(source);
6352
var comp =
CreateCompilation
(source);
6373
var comp =
CreateCompilation
(source);
6394
var comp =
CreateCompilation
(source);
6415
var comp =
CreateCompilation
(source);
6435
var comp =
CreateCompilation
(source);
6455
var comp =
CreateCompilation
(source);
6487
var comp =
CreateCompilation
(@"
6523
var comp =
CreateCompilation
(@"
6558
var comp =
CreateCompilation
(@"
6592
var comp =
CreateCompilation
(@"
6628
var comp =
CreateCompilation
(@"
6660
var comp =
CreateCompilation
(@"
6683
var comp =
CreateCompilation
(@"
6716
var comp =
CreateCompilation
(@"
6740
var comp =
CreateCompilation
(@"
6764
var comp =
CreateCompilation
(@"
6793
var comp =
CreateCompilation
(@"
6834
var comp =
CreateCompilation
(source);
6873
CreateCompilation
("""
6893
CreateCompilation
("""
6928
CreateCompilation
("""
6974
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7000
var comp =
CreateCompilation
(source);
7029
var comp =
CreateCompilation
(source);
7060
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7100
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7105
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
7124
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
7143
var comp =
CreateCompilation
(source);
7165
var comp =
CreateCompilation
(source);
7191
var comp =
CreateCompilation
(source);
7211
var comp =
CreateCompilation
(source);
7233
var comp =
CreateCompilation
(source);
7252
var comp =
CreateCompilation
(source);
7274
var comp =
CreateCompilation
(source);
7293
var comp =
CreateCompilation
(source);
7325
var comp =
CreateCompilation
(source);
7354
var comp =
CreateCompilation
(source);
7378
var comp =
CreateCompilation
(source);
7398
var comp =
CreateCompilation
(source);
7427
var comp =
CreateCompilation
(source);
7450
var comp =
CreateCompilation
(source);
7471
var comp =
CreateCompilation
(source);
7489
var comp =
CreateCompilation
(source);
7509
var comp =
CreateCompilation
(source);
7525
var comp =
CreateCompilation
(source);
7541
var comp =
CreateCompilation
(source);
7557
var comp =
CreateCompilation
(source);
7576
var comp =
CreateCompilation
(source);
7594
var comp =
CreateCompilation
(source);
7632
var comp =
CreateCompilation
(source);
7654
var comp =
CreateCompilation
(source);
7676
var comp =
CreateCompilation
(source);
7695
var comp =
CreateCompilation
(source);
7714
var comp =
CreateCompilation
(source);
7737
var comp =
CreateCompilation
(source);
7754
var comp =
CreateCompilation
(source);
7778
var comp =
CreateCompilation
(source);
7802
var comp =
CreateCompilation
(source);
7826
var comp =
CreateCompilation
(source);
7852
CreateCompilation
(source).VerifyDiagnostics(
7878
CreateCompilation
(source).VerifyDiagnostics(
7896
CreateCompilation
(source).VerifyDiagnostics(
7910
CreateCompilation
(source).VerifyDiagnostics(
7922
CreateCompilation
(source).VerifyDiagnostics(
7940
CreateCompilation
(source).VerifyDiagnostics();
7956
CreateCompilation
(source).VerifyDiagnostics(
7972
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8020
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8045
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8077
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8117
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8168
CreateCompilation
(source).VerifyDiagnostics(
8194
var comp =
CreateCompilation
(tree);
8219
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8224
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
8236
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
8270
CreateCompilation
(source).VerifyDiagnostics(
8282
CreateCompilation
(source).VerifyDiagnostics(
8296
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8321
var comp =
CreateCompilation
(source);
8377
CreateCompilation
(source).VerifyDiagnostics(
8389
CreateCompilation
(source).VerifyDiagnostics(
8401
CreateCompilation
(source).VerifyDiagnostics(
8413
CreateCompilation
(source).VerifyDiagnostics(
8425
CreateCompilation
(source).VerifyDiagnostics();
8437
CreateCompilation
(source).VerifyDiagnostics(
8449
CreateCompilation
(source).VerifyDiagnostics(
8461
CreateCompilation
(source).VerifyDiagnostics(
Semantics\LocalFunctionTests.cs (227)
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.RegularNext.WithFeature("run-nullable-analysis", "never"));
2418
var comp =
CreateCompilation
(@"
2517
var comp =
CreateCompilation
(@"
2566
var comp =
CreateCompilation
(source);
2950
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
2956
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2974
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
2983
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3123
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true));
3572
var comp =
CreateCompilation
(source);
3593
var comp =
CreateCompilation
(source);
3651
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3655
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3658
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3930
CreateCompilation
(source, options: option, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
4668
CreateCompilation
(source).VerifyDiagnostics();
5019
var comp =
CreateCompilation
(src);
5172
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5175
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5178
comp =
CreateCompilation
(source);
5221
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5239
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5242
comp =
CreateCompilation
(source);
5265
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5283
comp =
CreateCompilation
(source);
5306
var comp =
CreateCompilation
(source);
5328
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5345
comp =
CreateCompilation
(source);
5367
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5385
comp =
CreateCompilation
(source);
5411
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5429
comp =
CreateCompilation
(source);
5459
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5462
comp =
CreateCompilation
(source);
5498
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5516
comp =
CreateCompilation
(source);
5538
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5550
comp =
CreateCompilation
(source);
5581
var comp =
CreateCompilation
(source);
5611
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5620
comp =
CreateCompilation
(source);
5645
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5653
comp =
CreateCompilation
(source);
5673
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5678
comp =
CreateCompilation
(source);
5699
var comp =
CreateCompilation
(source);
5730
var comp =
CreateCompilation
(source);
5760
var comp =
CreateCompilation
(source);
5785
var comp =
CreateCompilation
(source);
5864
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithPreprocessorSymbols("MyDefine"));
5867
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular);
5905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5945
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5976
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6012
var comp =
CreateCompilation
(new[] { NotNullIfNotNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6043
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6081
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6111
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6140
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6181
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6208
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6237
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6255
var comp =
CreateCompilation
(source);
6274
var comp =
CreateCompilation
(source);
6295
var comp =
CreateCompilation
(source);
6323
var comp =
CreateCompilation
(source);
6356
var comp =
CreateCompilation
(source);
6400
var comp =
CreateCompilation
(source);
6447
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
6518
var comp =
CreateCompilation
(source);
6541
var comp =
CreateCompilation
(source);
6570
var comp =
CreateCompilation
(source);
6596
var comp =
CreateCompilation
(source);
6625
var comp =
CreateCompilation
(source);
6657
var comp =
CreateCompilation
(source);
6712
var comp =
CreateCompilation
(source);
6742
var comp =
CreateCompilation
(source);
6786
var comp =
CreateCompilation
(source);
6945
var comp =
CreateCompilation
(source);
6999
var comp =
CreateCompilation
(source);
7058
var comp =
CreateCompilation
(source);
7107
var comp =
CreateCompilation
(source);
7170
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7200
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7228
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7258
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7332
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7403
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7427
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7477
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7536
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7600
var comp =
CreateCompilation
(@"
7636
var comp =
CreateCompilation
(@"
7671
var comp =
CreateCompilation
(@"
7708
var comp =
CreateCompilation
(@"
7744
var comp =
CreateCompilation
(@"
7780
var comp =
CreateCompilation
(@"
7815
var comp =
CreateCompilation
(@"
7842
var comp =
CreateCompilation
(@"
7876
var comp =
CreateCompilation
(@"
7910
var comp =
CreateCompilation
(@"
7937
var comp =
CreateCompilation
(@"
7966
var comp =
CreateCompilation
(@"
7985
var comp =
CreateCompilation
(@"
8004
var comp =
CreateCompilation
(@"
8031
var comp =
CreateCompilation
(@"
8067
var comp =
CreateCompilation
(@"
8103
var comp =
CreateCompilation
(@"
8130
var comp =
CreateCompilation
(@"
8157
var comp =
CreateCompilation
(@"
8191
var comp =
CreateCompilation
(@"
8218
var comp =
CreateCompilation
(@"
8254
var comp =
CreateCompilation
(@"
8289
var comp =
CreateCompilation
(@"
8316
var comp =
CreateCompilation
(@"
8351
var comp =
CreateCompilation
(@"
8370
var comp =
CreateCompilation
(@"
8399
var comp =
CreateCompilation
(@"
8430
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8434
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8450
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
8454
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
8476
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8497
var comp =
CreateCompilation
(source);
8509
var comp =
CreateCompilation
(source);
8530
var comp =
CreateCompilation
(source);
8556
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8588
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8646
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8685
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8726
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8768
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8802
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8833
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
8901
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8922
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8946
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8970
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8994
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9017
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9040
var comp =
CreateCompilation
(source);
9071
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9088
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9108
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9117
var comp =
CreateCompilation
(@"
9153
var comp =
CreateCompilation
(@"
9188
var comp =
CreateCompilation
(@"
9225
var comp =
CreateCompilation
(@"
9277
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9305
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9341
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9384
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9404
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9431
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9462
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9496
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9513
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9533
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9553
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9576
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9599
var comp =
CreateCompilation
(source);
9630
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9659
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9699
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9708
var comp =
CreateCompilation
(@"
9742
var comp =
CreateCompilation
(@"
9768
var comp =
CreateCompilation
(@"
9794
var comp =
CreateCompilation
(@"
9835
var comp =
CreateCompilation
(@"
9875
var comp =
CreateCompilation
(@"
9909
var comp =
CreateCompilation
(@"
9940
var comp =
CreateCompilation
(@"
9964
var comp =
CreateCompilation
(@"
9995
var comp =
CreateCompilation
(@"
10019
var comp =
CreateCompilation
(@"
10052
var comp =
CreateCompilation
(@"
10090
var comp =
CreateCompilation
(text);
10133
CreateCompilation
(text).VerifyDiagnostics(
10170
CreateCompilation
(text).VerifyDiagnostics();
10205
CreateCompilation
(text).VerifyDiagnostics(
10242
CreateCompilation
(text).VerifyDiagnostics(
10279
CreateCompilation
(text).VerifyDiagnostics(
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(
473
var compilation =
CreateCompilation
(
497
var compilation =
CreateCompilation
(
516
var compilation =
CreateCompilation
(
535
var compilation =
CreateCompilation
(
583
var compilation =
CreateCompilation
(
611
var compilation =
CreateCompilation
(
635
var compilation =
CreateCompilation
(
654
var compilation =
CreateCompilation
(
673
var compilation =
CreateCompilation
(
733
CreateCompilation
(source).VerifyDiagnostics(
773
var regularCompilation =
CreateCompilation
(source);
774
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)
489
CreateCompilation
(source).VerifyDiagnostics(
573
CreateCompilation
(source).VerifyDiagnostics();
632
CreateCompilation
(source).VerifyDiagnostics(
695
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
750
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
796
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
886
CreateCompilation
(source).VerifyDiagnostics(
912
CreateCompilation
(source).VerifyDiagnostics(
992
CreateCompilation
(source).VerifyDiagnostics();
1013
CreateCompilation
(source).VerifyDiagnostics(
1040
var comp =
CreateCompilation
(source);
1070
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 (24)
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");
1679
var exeComp =
CreateCompilation
(main, new[] { new CSharpCompilationReference(libComp) }, options: TestOptions.ReleaseExe, assemblyName: "Main");
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 (13)
519
var comp =
CreateCompilation
(@"
596
var compilation =
CreateCompilation
(
620
var compilation =
CreateCompilation
(
639
var compilation =
CreateCompilation
(
661
var compilation =
CreateCompilation
(
687
var compilation =
CreateCompilation
(source);
713
var compilation =
CreateCompilation
(source);
1404
CreateCompilation
(source, options: option).VerifyDiagnostics(
1421
CreateCompilation
(source, options: option).VerifyDiagnostics();
1434
CreateCompilation
(source, options: option).VerifyDiagnostics();
1449
CreateCompilation
(source, options: option).VerifyDiagnostics();
1463
CreateCompilation
(source, options: option).VerifyDiagnostics(
1488
CreateCompilation
(source, options: option).VerifyDiagnostics();
Semantics\NativeIntegerTests.cs (237)
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.Mscorlib45);
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);
4372
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
4393
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
4429
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4465
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.StandardAndCSharp);
4521
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4664
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4732
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4736
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4858
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
4861
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
4864
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
4970
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
4973
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5037
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5118
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5121
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5180
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5200
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5221
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8);
5312
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5331
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5421
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5461
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5477
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5480
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5509
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5524
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5527
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5553
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5580
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5583
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5645
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5658
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5661
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5687
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5708
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5711
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5756
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5797
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5800
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5818
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5842
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5845
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5863
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5975
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5978
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5993
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
6007
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
6010
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
6031
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6079
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6160
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6260
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6334
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6361
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6384
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6401
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6519
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6566
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6705
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6814
var comp =
CreateCompilation
(source);
6869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6890
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6915
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6927
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
6944
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6958
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
6977
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6996
comp =
CreateCompilation
(source1, references: new[] { ref0 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7016
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7056
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7090
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7120
var comp =
CreateCompilation
(source);
7188
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7191
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
7195
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7198
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7201
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7204
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7261
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7428
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
9464
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
9699
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10073
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10300
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10467
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
12350
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
12411
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12636
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12839
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12914
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13238
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
13256
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13282
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13310
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13340
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13357
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13375
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13405
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13422
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13461
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13490
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13514
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13543
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13579
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13638
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13701
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13846
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
13984
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
14192
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14220
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14344
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
14393
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14415
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14448
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14484
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14572
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14601
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14649
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14678
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14703
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14738
var comp =
CreateCompilation
(source);
14789
var comp =
CreateCompilation
(source);
15038
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15094
var comp =
CreateCompilation
(source);
15136
var comp =
CreateCompilation
(source);
15203
var comp =
CreateCompilation
(source);
15271
var comp =
CreateCompilation
(source);
15286
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15307
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15330
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15358
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15381
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15407
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15806
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
15830
var comp =
CreateCompilation
(source);
15851
var comp =
CreateCompilation
(source);
Semantics\NonTrailingNamedArgumentsTests.cs (31)
88
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
196
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
263
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
299
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
333
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular7);
357
var comp =
CreateCompilation
(source);
413
var comp =
CreateCompilation
(source);
445
var comp =
CreateCompilation
(source);
474
var comp =
CreateCompilation
(source);
524
var comp =
CreateCompilation
(source);
557
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
588
var comp =
CreateCompilation
(source);
617
var comp =
CreateCompilation
(source);
639
var comp =
CreateCompilation
(source);
672
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
700
var comp =
CreateCompilation
(source);
814
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
821
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
842
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
873
var comp =
CreateCompilation
(source);
891
var comp =
CreateCompilation
(source);
937
var comp =
CreateCompilation
(source);
975
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1010
var comp =
CreateCompilation
(source);
1038
var comp =
CreateCompilation
(source);
1056
var comp =
CreateCompilation
(source);
1109
var comp =
CreateCompilation
(source);
1125
var comp =
CreateCompilation
(source);
1143
var comp =
CreateCompilation
(source);
1163
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 (3660)
99
return
CreateCompilation
(source, options: WithNullableEnable(), references: references, parseOptions: parseOptions);
165
var comp =
CreateCompilation
(@"
219
var comp =
CreateCompilation
(@"
261
var comp =
CreateCompilation
(@"
303
var comp =
CreateCompilation
(@"
345
var comp =
CreateCompilation
(@"
369
var comp =
CreateCompilation
(@"
412
var comp =
CreateCompilation
(@"
429
var comp =
CreateCompilation
(@"
456
var comp =
CreateCompilation
(@"
501
var comp =
CreateCompilation
(@"
521
var comp =
CreateCompilation
(@"
545
var comp =
CreateCompilation
(@"
567
var comp =
CreateCompilation
(@"
590
var comp =
CreateCompilation
(@"
617
var comp =
CreateCompilation
(@"
640
var comp =
CreateCompilation
(@"
665
var comp =
CreateCompilation
(@"
695
var comp =
CreateCompilation
(@"
728
var comp =
CreateCompilation
(@"
758
var comp =
CreateCompilation
(@"
788
var comp =
CreateCompilation
(@"
822
var comp =
CreateCompilation
(@"
851
var comp =
CreateCompilation
(@"
883
var comp =
CreateCompilation
(@"
922
var comp =
CreateCompilation
(@"
955
var comp =
CreateCompilation
(@"
986
var comp =
CreateCompilation
(@"
1019
var comp =
CreateCompilation
(@"
1049
var comp =
CreateCompilation
(@"
1089
var comp =
CreateCompilation
(@"
1113
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1138
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1177
var compilation =
CreateCompilation
(source);
1231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
1290
var comp =
CreateCompilation
(@"
1320
var comp =
CreateCompilation
(@"
1334
var comp =
CreateCompilation
(@"
1384
var comp =
CreateCompilation
(@"
1421
var comp =
CreateCompilation
(@"
1461
var comp =
CreateCompilation
(source);
1497
var comp =
CreateCompilation
(source);
1504
var comp =
CreateCompilation
(@"
1545
CreateCompilation
(text).VerifyDiagnostics(
1597
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1629
var comp =
CreateCompilation
(@"
1735
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1769
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1822
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1850
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1875
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1906
CSharpCompilation c =
CreateCompilation
(new[] { @"
1940
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1989
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2075
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
2092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2122
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2225
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2247
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2286
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2325
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2358
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2443
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2504
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2552
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2570
CreateCompilation
(source).VerifyDiagnostics(
2656
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2682
var comp =
CreateCompilation
(source, options: WithNullable(TestOptions.UnsafeReleaseDll, NullableContextOptions.Enable));
2723
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2752
var comp =
CreateCompilation
(@"
2771
var comp =
CreateCompilation
(@"
2804
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2810
comp =
CreateCompilation
(source, options: WithNullableEnable());
2831
comp =
CreateCompilation
(source, options: WithNullableEnable());
2848
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2886
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2903
var comp =
CreateCompilation
(@"
2987
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3029
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3088
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3201
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3243
var comp =
CreateCompilation
(source.Replace("FIELDTYPE", fieldType), options: WithNullableEnable());
3277
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3345
var comp =
CreateCompilation
(source);
3365
var comp =
CreateCompilation
(source);
3422
var comp =
CreateCompilation
(src);
3462
var comp =
CreateCompilation
(src);
3484
CreateCompilation
(text).VerifyDiagnostics(
3588
CreateCompilation
(source).VerifyDiagnostics(
3620
var comp =
CreateCompilation
(source);
3666
var comp =
CreateCompilation
(source);
3714
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3729
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3744
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3804
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3933
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4008
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4092
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4126
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
4136
var c2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4387
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4422
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4445
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4469
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4485
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4542
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4574
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4603
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4627
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4662
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4731
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4917
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4961
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5006
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5056
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5092
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5133
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5177
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll);
5273
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5319
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5381
var comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll);
5394
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5407
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5448
var comp =
CreateCompilation
(source);
5474
var comp =
CreateCompilation
(source);
5499
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5524
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5544
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5564
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5586
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5604
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5626
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5655
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5689
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5724
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5801
var comp =
CreateCompilation
(new[] { source1, source2, source3, source4 },
5844
var comp =
CreateCompilation
(source);
5870
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5890
var comp =
CreateCompilation
(source);
5908
var comp =
CreateCompilation
(source);
5926
var comp =
CreateCompilation
(source);
5942
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Annotations));
5960
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5978
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6003
var comp =
CreateCompilation
(source);
6023
var comp =
CreateCompilation
(source);
6043
var comp =
CreateCompilation
(source);
6062
var comp =
CreateCompilation
(source);
6081
var comp =
CreateCompilation
(source);
6100
var comp =
CreateCompilation
(source);
6123
var comp =
CreateCompilation
(source);
6147
var comp =
CreateCompilation
(source);
6166
var comp =
CreateCompilation
(source);
6189
var comp =
CreateCompilation
(source);
6210
var comp =
CreateCompilation
(source);
6234
var comp =
CreateCompilation
(source);
6258
var comp =
CreateCompilation
(source);
6280
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Warnings));
6304
var comp =
CreateCompilation
(source, options: WithNullableDisable());
6328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6345
var comp1 =
CreateCompilation
(source);
6352
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress));
6369
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6386
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6406
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6430
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6453
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6475
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6497
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6520
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6542
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6564
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6589
var comp =
CreateCompilation
(source);
6611
var comp =
CreateCompilation
(source);
6631
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6655
var comp =
CreateCompilation
(source);
6692
var comp =
CreateCompilation
(source);
6723
var comp =
CreateCompilation
(source);
6777
var comp =
CreateCompilation
(source);
6839
var comp =
CreateCompilation
(source);
6870
var comp =
CreateCompilation
(source);
6892
var comp =
CreateCompilation
(source);
6910
var comp =
CreateCompilation
(source);
6935
var comp =
CreateCompilation
(source);
6953
var comp =
CreateCompilation
(source);
6975
var comp =
CreateCompilation
(source);
7002
var comp =
CreateCompilation
(source);
7033
var comp =
CreateCompilation
(source);
7055
var comp =
CreateCompilation
(source);
7082
var comp =
CreateCompilation
(source);
7112
var comp =
CreateCompilation
(source);
7141
var comp =
CreateCompilation
(source);
7168
var comp =
CreateCompilation
(source);
7197
var comp =
CreateCompilation
(source);
7226
var comp =
CreateCompilation
(source);
7247
var comp =
CreateCompilation
(source);
7268
var comp =
CreateCompilation
(source);
7299
var comp =
CreateCompilation
(source);
7340
var comp =
CreateCompilation
(source);
7412
var comp =
CreateCompilation
(source);
7516
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7565
comp =
CreateCompilation
(source, options: WithNullableEnable());
7608
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7632
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7660
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7690
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7712
var c =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
7736
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7784
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7799
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7841
var c =
CreateCompilation
(new[] { source });
7844
c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7854
var c2 =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
7875
var c =
CreateCompilation
(new[] { source });
7894
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7928
var c =
CreateCompilation
(new[] { source });
7931
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7949
var c =
CreateCompilation
(new[] { source });
7952
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7973
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7995
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8036
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8095
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8117
var c =
CreateCompilation
(source);
8131
CSharpCompilation c =
CreateCompilation
(new[] { @"
8154
CSharpCompilation c =
CreateCompilation
(new[] { @"
8171
CSharpCompilation c =
CreateCompilation
(new[] { @"
8193
CSharpCompilation c =
CreateCompilation
(new[] { @"
8215
CSharpCompilation c =
CreateCompilation
(new[] { @"
8240
CSharpCompilation c =
CreateCompilation
(new[] { @"
8412
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8415
var c2 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
8449
var c3 =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
8474
CSharpCompilation c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8505
var comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8512
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8515
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.EmitToImageReference() });
8522
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8548
var comp =
CreateCompilation
(source);
8560
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8570
var comp =
CreateCompilation
("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7);
8577
var comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8583
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8589
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8592
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8595
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8598
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8601
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8604
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8607
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8610
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8613
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8616
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8667
CSharpCompilation c =
CreateCompilation
(new[] { @"
8799
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8806
var comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8809
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8814
comp1 =
CreateCompilation
(source1, references: compRefs0);
8817
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8822
comp0 =
CreateCompilation
(source0);
8829
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8832
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8837
comp1 =
CreateCompilation
(source1, references: compRefs0);
8840
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8844
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8847
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8852
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
8859
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8862
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8867
comp1 =
CreateCompilation
(source1, references: compRefs0);
8870
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8874
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8880
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8916
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8933
var comp1A =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
8936
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
8963
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8983
var comp1A =
CreateCompilation
(source1, references: new[] { new CSharpCompilationReference(comp0) });
8986
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9005
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9031
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9069
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9071
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9143
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9146
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9162
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9230
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9234
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9238
var comp2A =
CreateCompilation
(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7);
9241
var comp2B =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9244
var comp2C =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9265
var comp2D =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 });
9313
var comp0 =
CreateCompilation
(source0);
9324
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9328
var comp2 =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9356
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9360
comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9364
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9412
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9415
var comp1 =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
9418
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9436
var comp =
CreateCompilation
(new[] { source });
9455
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9466
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9480
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9488
var lib =
CreateCompilation
(lib_cs, assemblyName: "lib");
9491
var lib2 =
CreateCompilation
(lib2_cs, references: new[] { lib.EmitToImageReference() }, assemblyName: "lib2");
9497
var comp =
CreateCompilation
(source_cs, references: new[] { lib2.EmitToImageReference() });
9522
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9536
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9554
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9641
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9686
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9705
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9723
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9792
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9842
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9851
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9911
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9944
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9955
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10020
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10071
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10083
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10149
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10191
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10201
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10266
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10300
var obliviousComp =
CreateCompilation
(new[] { obliviousLib });
10303
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
10318
var comp =
CreateCompilation
(new[] { source });
10337
var comp =
CreateCompilation
(new[] { source });
10367
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10370
comp =
CreateCompilation
(new[] { source });
10373
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10392
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10395
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
10401
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10415
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10429
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10499
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10599
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10672
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10758
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10833
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10921
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10964
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11015
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11066
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11111
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
11158
var comp =
CreateCompilation
(new[] { source });
11233
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
11318
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11349
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11373
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11394
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11417
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11438
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11476
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11551
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11610
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11677
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11716
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11744
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11804
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
11869
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11907
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11983
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12065
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12160
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12231
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12292
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12382
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12438
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
12472
var comp =
CreateCompilation
(new[] { source });
12499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12525
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12547
var comp =
CreateCompilation
(new[] { source });
12591
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12649
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12748
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12854
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12936
var compilation =
CreateCompilation
(new[] { source });
13002
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13093
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13172
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13234
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13296
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13364
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13437
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13495
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13542
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13575
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13613
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13650
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13712
var compilation =
CreateCompilation
(new[] { source });
13837
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource, prependDefaultHeader: false) },
13880
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13950
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14001
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14058
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14114
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14158
var compilation =
CreateCompilation
(new[] { source });
14211
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14267
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14321
var compilation1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
14326
var compilation2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(),
14373
var compilation1 =
CreateCompilation
(new[] { source1 }, options: options1);
14380
var compilation2 =
CreateCompilation
(new[] { source2 }, options: options2,
14387
var compilation3 =
CreateCompilation
(new[] { source1, source2 }, options: options1);
14391
var compilation4 =
CreateCompilation
(new[] { source2, source1 }, options: options1);
14423
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14473
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14549
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14651
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14678
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14751
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14851
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14882
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14912
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14928
var comp =
CreateCompilation
(@"
14972
var comp =
CreateCompilation
(@"
15034
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15088
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15153
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15195
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15228
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15253
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15295
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15316
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15337
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15358
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15379
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15412
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15445
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15471
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15513
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15534
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15555
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15576
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15597
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15645
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15702
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15770
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15829
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15875
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15903
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15924
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15958
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16014
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16035
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16063
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16110
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16154
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16205
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16233
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16271
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16315
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16369
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16411
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16462
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16518
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16590
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16672
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16754
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16824
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16957
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17032
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17130
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
17146
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: WithNullableEnable());
17190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17306
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17366
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17434
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17515
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17599
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17683
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17744
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17794
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
17825
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17849
compilation =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
17870
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17943
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17995
var compilation =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
18064
CreateCompilation
(new[] { source }, options: WithNullableEnable()).
18090
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18097
CSharpCompilation c =
CreateCompilation
(
18596
CSharpCompilation c =
CreateCompilation
(new[] { @"
18744
CSharpCompilation c =
CreateCompilation
(new[] { @"
18776
CSharpCompilation c =
CreateCompilation
(new[] { @"
18838
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18902
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18924
var c2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable());
18935
CSharpCompilation c =
CreateCompilation
(new[] { @"
18980
CSharpCompilation c =
CreateCompilation
(new[] { @"
19025
CSharpCompilation c =
CreateCompilation
(new[] { @"
19057
CSharpCompilation c =
CreateCompilation
(new[] { @"
19092
CSharpCompilation c =
CreateCompilation
(new[] { @"
19155
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19209
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19233
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19269
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19313
CSharpCompilation c =
CreateCompilation
(new[] { @"
19378
CSharpCompilation c =
CreateCompilation
(new[] { @"
19455
CSharpCompilation c =
CreateCompilation
(new[] { @"
19498
CSharpCompilation c =
CreateCompilation
(new[] { @"
19562
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19591
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19610
CSharpCompilation c0 =
CreateCompilation
(@"
19632
CSharpCompilation c =
CreateCompilation
(new[] { @"
19761
CSharpCompilation c0 =
CreateCompilation
(@"
19768
CSharpCompilation c =
CreateCompilation
(new[] { @"
19829
CSharpCompilation c0 =
CreateCompilation
(@"
19836
CSharpCompilation c =
CreateCompilation
(new[] { @"
19874
CSharpCompilation c0 =
CreateCompilation
(@"
19881
CSharpCompilation c =
CreateCompilation
(new[] { @"
19945
CSharpCompilation c0 =
CreateCompilation
(@"
19952
CSharpCompilation c =
CreateCompilation
(new[] { @"
19995
CSharpCompilation c0 =
CreateCompilation
(@"
20002
CSharpCompilation c =
CreateCompilation
(new[] { @"
20075
CSharpCompilation c0 =
CreateCompilation
(@"
20082
CSharpCompilation c =
CreateCompilation
(new[] { @"
20130
CSharpCompilation c0 =
CreateCompilation
(@"
20150
CSharpCompilation c =
CreateCompilation
(new[] { @"
20257
CSharpCompilation c =
CreateCompilation
(new[] { @"
20295
CSharpCompilation c =
CreateCompilation
(new[] { @"
20331
CSharpCompilation c =
CreateCompilation
(new[] { @"
20364
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20398
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20418
CSharpCompilation c =
CreateCompilation
(new[] { @"
20476
CSharpCompilation c =
CreateCompilation
(new[] { @"
20520
CSharpCompilation c =
CreateCompilation
(new[] { @"
20564
CSharpCompilation c =
CreateCompilation
(new[] { @"
20599
CSharpCompilation c =
CreateCompilation
(new[] { @"
20645
CSharpCompilation c =
CreateCompilation
(new[] { @"
20691
CSharpCompilation c =
CreateCompilation
(new[] { @"
20732
CSharpCompilation c =
CreateCompilation
(new[] { @"
20774
CSharpCompilation c =
CreateCompilation
(new[] { @"
21892
var c =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8);
21911
var c2 =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9);
25069
var c =
CreateCompilation
(@"
25100
var c =
CreateCompilation
(new[] { @"
25133
var c =
CreateCompilation
(new[] { @"
25172
var c =
CreateCompilation
(new[] { @"
25211
var c =
CreateCompilation
(new[] { @"
25247
var c =
CreateCompilation
(new[] { @"
25281
var c =
CreateCompilation
(new[] { @"
25313
var c =
CreateCompilation
(new[] { @"
25344
var c =
CreateCompilation
(new[] { @"
25373
var c =
CreateCompilation
(new[] { @"
25454
var comp =
CreateCompilation
(src);
25492
var comp =
CreateCompilation
(src);
25517
var comp =
CreateCompilation
(src);
25559
var comp =
CreateCompilation
(src);
25597
var comp =
CreateCompilation
(src);
25659
var comp =
CreateCompilation
(src);
25682
var c =
CreateCompilation
(new[] { @"
25713
var c =
CreateCompilation
(new[] { @"
25744
var c =
CreateCompilation
(new[] { @"
25780
var c =
CreateCompilation
(new[] { @"
25819
var c =
CreateCompilation
(new[] { @"
25856
var c =
CreateCompilation
(new[] { @"
25889
var c =
CreateCompilation
(new[] { @"
25922
var c =
CreateCompilation
(new[] { @"
25955
var c =
CreateCompilation
(new[] { @"
25993
var c =
CreateCompilation
(new[] { @"
26024
var c =
CreateCompilation
(new[] { @"
26059
var c =
CreateCompilation
(new[] { @"
26097
var c =
CreateCompilation
(new[] { @"
26126
var c =
CreateCompilation
(new[] { @"
26161
var c =
CreateCompilation
(new[] { @"
26202
var c =
CreateCompilation
(new[] { @"
26232
var c =
CreateCompilation
(new[] { @"
26266
var c =
CreateCompilation
(new[] { @"
26300
var c =
CreateCompilation
(new[] { @"
26334
var c =
CreateCompilation
(new[] { @"
26368
var c =
CreateCompilation
(new[] { @"
26402
var c =
CreateCompilation
(new[] { @"
26435
var c =
CreateCompilation
(new[] { @"
26462
var c =
CreateCompilation
(new[] { @"
26489
var c =
CreateCompilation
(new[] { @"
26516
var c =
CreateCompilation
(new[] { @"
26539
var c =
CreateCompilation
(new[] { @"
26566
var c =
CreateCompilation
(new[] { @"
26683
var c =
CreateCompilation
(new[] { @"
26714
var c =
CreateCompilation
(new[] { @"
27697
var c =
CreateCompilation
(new[] { @"
27860
var c =
CreateCompilation
(new[] { @"
27955
var c =
CreateCompilation
(new[] { @"
27986
var c =
CreateCompilation
(new[] { @"
28014
var c =
CreateCompilation
(new[] { @"
28044
var c =
CreateCompilation
(new[] { @"
28080
var c =
CreateCompilation
(new[] { @"
28109
var c =
CreateCompilation
(new[] { @"
29001
var c =
CreateCompilation
(new[] { @"
29029
var c =
CreateCompilation
(new[] { @"
29426
var c =
CreateCompilation
(new[] { @"
29458
var c =
CreateCompilation
(new[] { @"
29824
CSharpCompilation c =
CreateCompilation
(new[] { @"
29855
CSharpCompilation c =
CreateCompilation
(new[] { @"
29884
CSharpCompilation c =
CreateCompilation
(new[] { @"
29912
CSharpCompilation c =
CreateCompilation
(new[] { @"
29950
CSharpCompilation c =
CreateCompilation
(new[] { @"
29982
CSharpCompilation c =
CreateCompilation
(new[] { @"
30013
CSharpCompilation c =
CreateCompilation
(new[] { @"
30029
CSharpCompilation c =
CreateCompilation
(new[] { @"
30131
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition },
31997
CSharpCompilation c =
CreateCompilation
(new[] { @"
32778
CSharpCompilation c =
CreateCompilation
(new[] { @"
32815
CSharpCompilation c =
CreateCompilation
(new[] { @"
32855
CSharpCompilation c =
CreateCompilation
(new[] { @"
32873
CSharpCompilation c =
CreateCompilation
(new[] { @"
32891
CSharpCompilation c =
CreateCompilation
(new[] { @"
32910
CSharpCompilation c =
CreateCompilation
(new[] { @"
32932
CSharpCompilation c =
CreateCompilation
(new[] { @"
32951
CSharpCompilation c =
CreateCompilation
(new[] { @"
32976
CSharpCompilation c =
CreateCompilation
(new[] { @"
33002
CSharpCompilation c =
CreateCompilation
(new[] { @"
33082
CSharpCompilation c =
CreateCompilation
(new[] { @"
33106
CSharpCompilation c =
CreateCompilation
(new[] { @"
33126
CSharpCompilation c =
CreateCompilation
(new[] { @"
33161
var comp =
CreateCompilation
(source);
33168
CSharpCompilation c =
CreateCompilation
(new[] { @"
33193
CSharpCompilation c =
CreateCompilation
(new[] { @"
33215
CSharpCompilation c =
CreateCompilation
(new[] { @"
33239
CSharpCompilation c =
CreateCompilation
(new[] { @"
33266
CSharpCompilation c =
CreateCompilation
(new[] { @"
33291
CSharpCompilation c =
CreateCompilation
(new[] { @"
33315
CSharpCompilation c =
CreateCompilation
(new[] { @"
33342
CSharpCompilation c =
CreateCompilation
(new[] { @"
33363
var c =
CreateCompilation
(@"
33387
var c =
CreateCompilation
(@"
33412
var c =
CreateCompilation
(@"
33440
var c =
CreateCompilation
(@"
33469
var c =
CreateCompilation
(@"
33513
var c =
CreateCompilation
(@"
33548
var c =
CreateCompilation
(@"
33572
var c =
CreateCompilation
(@"
33596
var c =
CreateCompilation
(@"
33642
var c =
CreateCompilation
(@"
33679
var c =
CreateCompilation
(@"
33795
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition });
33827
var comp =
CreateCompilation
(source);
33851
var comp =
CreateCompilation
(source);
33886
var comp =
CreateCompilation
(source);
33921
var comp =
CreateCompilation
(source);
34016
var c =
CreateCompilation
(@"
34036
var c =
CreateCompilation
(@"
34061
var c =
CreateCompilation
(@"
34109
var c =
CreateCompilation
(@"
34136
var c =
CreateCompilation
(@"
34161
var c =
CreateCompilation
(@"
34195
var c =
CreateCompilation
(@"
34227
var c =
CreateCompilation
(@"
34251
var c =
CreateCompilation
(@"
34275
var c =
CreateCompilation
(@"
34295
var c =
CreateCompilation
(@"
34321
var c =
CreateCompilation
(@"
34365
CSharpCompilation c =
CreateCompilation
(new[] { @"
34386
CSharpCompilation c =
CreateCompilation
(new[] { @"
34407
CSharpCompilation c =
CreateCompilation
(new[] { @"
34432
CSharpCompilation c =
CreateCompilation
(new[] { @"
34459
CSharpCompilation c =
CreateCompilation
(new[] { @"
34480
CSharpCompilation c =
CreateCompilation
(new[] { @"
34507
CSharpCompilation c =
CreateCompilation
(new[] { @"
34531
CSharpCompilation c =
CreateCompilation
(new[] { @"
34555
CSharpCompilation c =
CreateCompilation
(new[] { @"
34575
CSharpCompilation c =
CreateCompilation
(new[] { @"
34599
CSharpCompilation c =
CreateCompilation
(new[] { @"
34620
CSharpCompilation c =
CreateCompilation
(new[] { @"
34647
CSharpCompilation c =
CreateCompilation
(new[] { @"
34673
CSharpCompilation c =
CreateCompilation
(@"
34693
CSharpCompilation c =
CreateCompilation
(new[] { @"
34715
CSharpCompilation c =
CreateCompilation
(new[] { @"
34735
var libComp =
CreateCompilation
(@"
34742
var comp =
CreateCompilation
(new[] { @"
34764
var comp =
CreateCompilation
(new[] { @"
34791
var obliviousComp =
CreateCompilation
(@"
34798
var comp =
CreateCompilation
(new[] { @"
34856
CSharpCompilation c =
CreateCompilation
(new[] { @"
34880
CSharpCompilation c =
CreateCompilation
(new[] { @"
34904
CSharpCompilation c =
CreateCompilation
(new[] { @"
34938
CSharpCompilation c =
CreateCompilation
(new[] { @"
34968
CSharpCompilation c =
CreateCompilation
(new[] { @"
34997
CSharpCompilation c =
CreateCompilation
(new[] { @"
35078
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
35350
CSharpCompilation c =
CreateCompilation
(new[] { @"
35396
CSharpCompilation c =
CreateCompilation
(new[] { @"
35417
CSharpCompilation c =
CreateCompilation
(new[] { @"
35441
CSharpCompilation c =
CreateCompilation
(new[] { @"
35463
CSharpCompilation c =
CreateCompilation
(new[] { @"
35488
CSharpCompilation c =
CreateCompilation
(new[] { @"
35515
CSharpCompilation c =
CreateCompilation
(new[] { @"
35556
CSharpCompilation c =
CreateCompilation
(new[] { @"
35582
CSharpCompilation c =
CreateCompilation
(new[] { @"
35601
CSharpCompilation c =
CreateCompilation
(new[] { @"
35624
CSharpCompilation c =
CreateCompilation
(new[] { @"
35647
CSharpCompilation c =
CreateCompilation
(new[] { @"
35674
CSharpCompilation c =
CreateCompilation
(new[] { @"
35702
CSharpCompilation c =
CreateCompilation
(new[] { @"
35722
CSharpCompilation c =
CreateCompilation
(new[] { @"
35748
CSharpCompilation c =
CreateCompilation
(new[] { $@"
35845
var comp =
CreateCompilation
(source);
35871
CSharpCompilation c =
CreateCompilation
(new[] { @"
35905
CSharpCompilation c =
CreateCompilation
(new[] { @"
35921
CSharpCompilation c =
CreateCompilation
(new[] { @"
35960
CSharpCompilation c =
CreateCompilation
(new[] { @"
35999
CSharpCompilation c =
CreateCompilation
(new[] { @"
36030
CSharpCompilation c =
CreateCompilation
(new[] { @"
36059
CSharpCompilation c =
CreateCompilation
(new[] { @"
36088
CSharpCompilation c =
CreateCompilation
(new[] { @"
36139
var compilation2 =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() });
36146
CSharpCompilation c =
CreateCompilation
(new[] { @"
36189
CSharpCompilation c =
CreateCompilation
(new[] { @"
36220
CSharpCompilation c =
CreateCompilation
(new[] { @"
36238
CSharpCompilation c =
CreateCompilation
(new[] { @"
36269
CSharpCompilation c =
CreateCompilation
(new[] { @"
36303
CSharpCompilation c =
CreateCompilation
(new[] { @"
36326
CSharpCompilation c =
CreateCompilation
(new[] { @"
36352
CSharpCompilation c =
CreateCompilation
(new[] { @"
36381
CSharpCompilation c =
CreateCompilation
(new[] { @"
36496
CSharpCompilation c =
CreateCompilation
(new[] { @"
36519
CSharpCompilation c =
CreateCompilation
(new[] { @"
36548
CSharpCompilation c =
CreateCompilation
(new[] { @"
36577
CSharpCompilation c =
CreateCompilation
(new[] { @"
36598
CSharpCompilation c =
CreateCompilation
(new[] { @"
36617
CSharpCompilation c =
CreateCompilation
(new[] { @"
36690
CSharpCompilation c =
CreateCompilation
(new[] { @"
36714
CSharpCompilation c =
CreateCompilation
(new[] { @"
36738
CSharpCompilation c =
CreateCompilation
(new[] { @"
36761
CSharpCompilation c =
CreateCompilation
(new[] { @"
36780
CSharpCompilation c =
CreateCompilation
(@"
36799
CSharpCompilation c =
CreateCompilation
(new[] { @"
36818
CSharpCompilation c =
CreateCompilation
(new[] { @"
36842
CSharpCompilation c =
CreateCompilation
(new[] { @"
36881
CSharpCompilation c =
CreateCompilation
(new[] { @"
36913
CSharpCompilation c =
CreateCompilation
(new[] { @"
36932
CSharpCompilation c =
CreateCompilation
(new[] { @"
37113
CSharpCompilation c =
CreateCompilation
(new[] { @"
37140
CSharpCompilation c =
CreateCompilation
(@"
37158
CSharpCompilation c =
CreateCompilation
(new[] { @"
37185
CSharpCompilation c =
CreateCompilation
(new[] { @"
37209
CSharpCompilation c =
CreateCompilation
(new[] { @"
37234
CSharpCompilation c =
CreateCompilation
(new[] { @"
37260
CSharpCompilation c =
CreateCompilation
(new[] { @"
37284
CSharpCompilation c =
CreateCompilation
(new[] { @"
37303
CSharpCompilation c =
CreateCompilation
(new[] { @"
37326
CSharpCompilation c =
CreateCompilation
(new[] { @"
37365
CSharpCompilation c =
CreateCompilation
(new[] { @"
37390
CSharpCompilation c =
CreateCompilation
(new[] { @"
37410
CSharpCompilation c =
CreateCompilation
(new[] { @"
37435
CSharpCompilation c =
CreateCompilation
(new[] { @"
37454
CSharpCompilation c =
CreateCompilation
(new[] { @"
37518
var comp =
CreateCompilation
(
37589
var comp =
CreateCompilation
(
37647
var comp =
CreateCompilation
(
37714
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
37791
var comp =
CreateCompilation
(
37829
var comp =
CreateCompilation
(
37875
var comp =
CreateCompilation
(
37927
var comp =
CreateCompilation
(
38003
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
38121
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
38155
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
38225
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
38239
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source0 }, options: WithNullableEnable());
38257
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
39190
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
39235
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
39659
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
40103
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
40155
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
40993
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
41077
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
41393
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
41422
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
41821
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
42010
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, AllowNullAttributeDefinition, source }, options: WithNullableEnable());
42102
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
42162
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
42202
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
42221
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source0 }, options: WithNullableEnable());
43726
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
43846
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
43972
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable());
44070
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
44096
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
44114
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
44131
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
44164
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
44181
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
44224
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
44252
var c =
CreateCompilation
(new[] { @"
45093
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source });
45122
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, MaybeNullWhenAttributeDefinition, source });
45177
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
45253
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
45299
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
45318
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
45332
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source0 }, options: WithNullableEnable());
45349
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
45512
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
46679
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
46722
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
46741
CSharpCompilation c =
CreateCompilation
(new[] { @"
46844
CSharpCompilation c =
CreateCompilation
(new[] { @"
46947
CSharpCompilation c =
CreateCompilation
(new[] { @"
47022
CSharpCompilation c =
CreateCompilation
(new[] { @"
47085
CSharpCompilation c =
CreateCompilation
(new[] { @"
47139
CSharpCompilation c =
CreateCompilation
(new[] { @"
47212
CSharpCompilation c =
CreateCompilation
(new[] { @"
47286
CSharpCompilation c =
CreateCompilation
(@"
47316
CSharpCompilation c =
CreateCompilation
(new[] { @"
47342
CSharpCompilation c =
CreateCompilation
(new[] { @"
47369
CSharpCompilation c =
CreateCompilation
(new[] { @"
47392
CSharpCompilation c =
CreateCompilation
(new[] { @"
47428
CSharpCompilation c =
CreateCompilation
(new[] { @"
47464
var compilation =
CreateCompilation
(new[] { @"
47605
var compilation =
CreateCompilation
(new[] { @"
47638
var compilation =
CreateCompilation
(new[] { @"
47664
var compilation =
CreateCompilation
(new[] { @"
47691
var compilation =
CreateCompilation
(new[] { @"
47716
CSharpCompilation c =
CreateCompilation
(@"
47749
CSharpCompilation c =
CreateCompilation
(@"
49115
CreateCompilation
(source).VerifyDiagnostics(
49825
CreateCompilation
(source).VerifyDiagnostics(
50092
CreateCompilation
(source).VerifyDiagnostics(
50120
CreateCompilation
(source).VerifyDiagnostics(
50165
CreateCompilation
(source).VerifyDiagnostics(
52193
CSharpCompilation c =
CreateCompilation
(new[] { @"
52220
CSharpCompilation c =
CreateCompilation
(new[] { @"
52248
CSharpCompilation c =
CreateCompilation
(new[] { @"
52275
CSharpCompilation c =
CreateCompilation
(new[] { @"
52302
CSharpCompilation c =
CreateCompilation
(new[] { @"
52329
CSharpCompilation c =
CreateCompilation
(new[] { @"
52347
CSharpCompilation c =
CreateCompilation
(new[] { @"
52380
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52431
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52458
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52497
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52616
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52669
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52707
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52729
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52745
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52826
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
52917
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53013
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53052
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53073
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53133
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53230
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53255
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53279
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53299
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53332
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53357
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53414
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53470
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53526
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53561
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53601
var comp =
CreateCompilation
(@"
53622
var comp =
CreateCompilation
(@"
53647
var comp =
CreateCompilation
(@"
53672
var comp =
CreateCompilation
(@"
53691
var comp =
CreateCompilation
(@"
53709
var comp =
CreateCompilation
(@"
53730
var comp =
CreateCompilation
(@"
53758
var comp =
CreateCompilation
(@"
53783
var comp =
CreateCompilation
(@"
53802
var comp =
CreateCompilation
(@"
53817
var comp =
CreateCompilation
(@"
53832
var comp =
CreateCompilation
(@"
53893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53923
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53956
var comp =
CreateCompilation
(source, options: WithNullableEnable());
53993
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54028
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54062
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54093
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54121
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54160
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54194
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54225
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54325
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54366
var comp =
CreateCompilation
(source);
54404
var comp =
CreateCompilation
(source);
54436
var comp =
CreateCompilation
(source, options: WithNullableEnable());
54465
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54482
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54504
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
54531
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54581
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
54606
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54642
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
54670
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54696
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
54717
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54737
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
54763
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54810
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
54878
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
54882
var comp =
CreateCompilation
(@"
54970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55030
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55062
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55108
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55124
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
55139
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
55183
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
55259
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55355
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55383
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55411
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55439
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55467
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55484
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55501
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55518
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55535
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
55568
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable(TestOptions.ReleaseExe));
55621
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55761
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55813
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55910
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56007
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56022
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
56102
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
56148
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56209
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56259
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56285
CSharpCompilation c =
CreateCompilation
(new[] { @"
56351
CSharpCompilation c =
CreateCompilation
(new[] { @"
56400
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56435
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
56459
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56493
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
56506
CSharpCompilation c =
CreateCompilation
(new[] { @"
56553
var comp =
CreateCompilation
(
56590
var comp =
CreateCompilation
(
56617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56645
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56776
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56810
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56838
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56863
var comp =
CreateCompilation
(
56895
var comp =
CreateCompilation
(
56935
var comp =
CreateCompilation
(
56962
var comp =
CreateCompilation
(
56974
CSharpCompilation c =
CreateCompilation
(new[] { @"
57046
CSharpCompilation c =
CreateCompilation
(new[] { @"
57105
CSharpCompilation c =
CreateCompilation
(new[] { @"
57138
CSharpCompilation c =
CreateCompilation
(new[] { @"
57238
CSharpCompilation c =
CreateCompilation
(new[] { @"
57310
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
57317
CSharpCompilation c =
CreateCompilation
(new[] { @"
57459
CSharpCompilation c =
CreateCompilation
(new[] { @"
57564
CSharpCompilation c =
CreateCompilation
(new[] { @"
57627
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57666
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57701
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57768
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57790
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57813
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57845
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57887
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57911
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
57950
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57994
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58018
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58042
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58064
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58080
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58101
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58135
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58185
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58213
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58267
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58302
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58367
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58407
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58440
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58466
var comp =
CreateCompilation
(source);
58573
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58620
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58694
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58727
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
58797
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58845
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58874
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58932
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58961
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58968
CSharpCompilation c =
CreateCompilation
(
59025
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59052
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59198
var comp =
CreateCompilation
(src);
59238
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59266
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59279
CSharpCompilation c =
CreateCompilation
(new[] { @"
59360
CSharpCompilation c =
CreateCompilation
(new[] { @"
59537
CSharpCompilation c =
CreateCompilation
(new[] { @"
59599
CSharpCompilation c =
CreateCompilation
(new[] { @"
59635
CSharpCompilation c =
CreateCompilation
(new[] { @"
59808
CSharpCompilation c =
CreateCompilation
(new[] { @"
59857
CSharpCompilation c =
CreateCompilation
(new[] { @"
59886
CSharpCompilation c =
CreateCompilation
(new[] { @"
59957
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60018
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60041
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60077
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60110
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60146
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60177
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60214
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60246
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60317
var comp =
CreateCompilation
(source, options: WithNullableEnable());
60338
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60359
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60382
var comp =
CreateCompilation
(source).VerifyDiagnostics(
60406
CSharpCompilation c =
CreateCompilation
(new[] { @"
60431
CSharpCompilation c =
CreateCompilation
(new[] { @"
60517
CSharpCompilation c =
CreateCompilation
(new[] { @"
60604
CSharpCompilation c =
CreateCompilation
(new[] { @"
60659
CSharpCompilation c =
CreateCompilation
(new[] { @"
60702
CSharpCompilation c =
CreateCompilation
(new[] { @"
60735
CSharpCompilation c =
CreateCompilation
(new[] { @"
60790
CSharpCompilation c =
CreateCompilation
(new[] { @"
60829
CSharpCompilation c =
CreateCompilation
(new[] { @"
60890
CSharpCompilation c =
CreateCompilation
(new[] { @"
60939
CSharpCompilation c =
CreateCompilation
(new[] { @"
60999
CSharpCompilation c =
CreateCompilation
(new[] { @"
61047
CSharpCompilation c =
CreateCompilation
(new[] { @"
61105
CSharpCompilation c =
CreateCompilation
(new[] { @"
61157
CSharpCompilation c =
CreateCompilation
(new[] { @"
61212
CSharpCompilation c =
CreateCompilation
(new[] { @"
61279
CSharpCompilation c =
CreateCompilation
(new[] { @"
61334
CSharpCompilation c =
CreateCompilation
(new[] { @"
61377
CSharpCompilation notAnnotated =
CreateCompilation
(@"
61394
CSharpCompilation c =
CreateCompilation
(new[] { @"
61437
CSharpCompilation c =
CreateCompilation
(new[] { @"
61472
CSharpCompilation c =
CreateCompilation
(new[] { @"
61523
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61597
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61626
var comp =
CreateCompilation
(source);
61666
var comp =
CreateCompilation
(@"
61690
var comp =
CreateCompilation
(@"
61736
var comp =
CreateCompilation
(source, options: WithNullableEnable());
61941
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61969
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62005
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62034
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62061
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62106
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62126
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
62151
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
62184
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
62233
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
62257
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
62295
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
62342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62385
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62424
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62449
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62851
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62880
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62983
var comp =
CreateCompilation
(
63017
var comp =
CreateCompilation
(source, options: WithNullableEnable());
63039
var comp =
CreateCompilation
(
63084
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63104
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63169
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63215
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63250
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63281
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63388
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63421
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
63486
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
63563
CSharpCompilation c =
CreateCompilation
(new[] { @"
63604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
63633
var comp =
CreateCompilation
(source, options: WithNullableEnable());
63680
var comp =
CreateCompilation
(source, options: WithNullableEnable());
63727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
63774
var comp =
CreateCompilation
(source, options: WithNullableEnable());
63799
CSharpCompilation c =
CreateCompilation
(new[] { @"
63874
CSharpCompilation c =
CreateCompilation
(new[] { @"
63913
CSharpCompilation c =
CreateCompilation
(new[] { @"
63952
CSharpCompilation c =
CreateCompilation
(new[] { @"
63991
CSharpCompilation c =
CreateCompilation
(new[] { @"
64030
CSharpCompilation c =
CreateCompilation
(new[] { @"
64070
CSharpCompilation c =
CreateCompilation
(new[] { @"
64110
CSharpCompilation c =
CreateCompilation
(new[] { @"
64135
CSharpCompilation c =
CreateCompilation
(new[] { @"
64177
CSharpCompilation c =
CreateCompilation
(new[] { @"
64230
CSharpCompilation c =
CreateCompilation
(new[] { @"
64276
CSharpCompilation c =
CreateCompilation
(new[] { @"
64314
CSharpCompilation c =
CreateCompilation
(new[] { @"
64351
CSharpCompilation c =
CreateCompilation
(new[] { @"
64388
CSharpCompilation c =
CreateCompilation
(new[] { @"
64425
CSharpCompilation c =
CreateCompilation
(new[] { @"
64463
CSharpCompilation c =
CreateCompilation
(new[] { @"
64501
CSharpCompilation c =
CreateCompilation
(new[] { @"
64526
CSharpCompilation c =
CreateCompilation
(new[] { @"
64565
CSharpCompilation c =
CreateCompilation
(new[] { @"
64609
CSharpCompilation c =
CreateCompilation
(new[] { @"
64661
CSharpCompilation c =
CreateCompilation
(new[] { @"
64721
CSharpCompilation c =
CreateCompilation
(new[] { @"
64748
CSharpCompilation c =
CreateCompilation
(new[] { @"
64773
CSharpCompilation c =
CreateCompilation
(new[] { @"
64799
CSharpCompilation c =
CreateCompilation
(new[] { @"
64826
CSharpCompilation c =
CreateCompilation
(new[] { @"
64862
CSharpCompilation c =
CreateCompilation
(new[] { @"
64892
CSharpCompilation c =
CreateCompilation
(new[] { @"
64928
CSharpCompilation c =
CreateCompilation
(new[] { @"
64975
CSharpCompilation c =
CreateCompilation
(new[] { @"
65049
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65082
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65116
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65146
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65172
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65209
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
65236
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
65270
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65306
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65339
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65373
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65407
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
65438
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
65472
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
65503
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
65531
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
65559
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
65587
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
65615
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
65638
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
65673
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
65684
CSharpCompilation c =
CreateCompilation
(new[] { @"
65710
CSharpCompilation c =
CreateCompilation
(new[] { @"
65778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65812
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65837
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65861
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65882
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65900
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65921
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65955
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65998
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66041
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66094
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66137
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66233
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66286
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
66380
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67422
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67464
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67509
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67540
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67584
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67627
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67658
CSharpCompilation c =
CreateCompilation
(new[] { @"
67691
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
67712
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
67726
CSharpCompilation c =
CreateCompilation
(new[] { @"
67753
CSharpCompilation c =
CreateCompilation
(new[] { @"
67789
CSharpCompilation c =
CreateCompilation
(new[] { @"
67825
var comp =
CreateCompilation
(
67862
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67895
var comp =
CreateCompilation
(
67936
var comp =
CreateCompilation
(
67973
var comp =
CreateCompilation
(
68010
var comp =
CreateCompilation
(
68043
var comp =
CreateCompilation
(
68075
var comp =
CreateCompilation
(
68126
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68161
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68188
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68214
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68243
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68269
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68301
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68329
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68358
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
68582
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68613
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
68621
CSharpCompilation c =
CreateCompilation
(new[] { @"
68647
CSharpCompilation c =
CreateCompilation
(new[] { @"
68673
CSharpCompilation c =
CreateCompilation
(new[] { @"
68867
CSharpCompilation c =
CreateCompilation
(new[] { @"
68919
CSharpCompilation c =
CreateCompilation
(new[] { @"
68964
CSharpCompilation c =
CreateCompilation
(new[] { @"
69003
CSharpCompilation c =
CreateCompilation
(new[] { @"
69045
CSharpCompilation c =
CreateCompilation
(new[] { @"
69084
CSharpCompilation c =
CreateCompilation
(new[] { @"
69134
CSharpCompilation c =
CreateCompilation
(new[] { @"
69183
CSharpCompilation c =
CreateCompilation
(new[] { @"
69245
CSharpCompilation c =
CreateCompilation
(new[] { @"
69297
CSharpCompilation c =
CreateCompilation
(new[] { @"
69361
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
69381
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
69403
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable());
69443
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
69450
CSharpCompilation c =
CreateCompilation
(new[] { @"
69484
CSharpCompilation c =
CreateCompilation
(new[] { @"
69535
CSharpCompilation c =
CreateCompilation
(new[] { @"
69570
CSharpCompilation c =
CreateCompilation
(new[] { @"
69621
CSharpCompilation c =
CreateCompilation
(new[] { @"
69687
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
69703
CSharpCompilation c =
CreateCompilation
(new[] { @"
69785
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
69792
CSharpCompilation c =
CreateCompilation
(new[] { @"
69945
CSharpCompilation c =
CreateCompilation
(new[] { @"
70001
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70057
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70101
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70124
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70148
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70226
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70260
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70288
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70314
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70331
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70365
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70420
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70460
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70494
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70529
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70569
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70684
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70734
CSharpCompilation c =
CreateCompilation
(new[] { @"
70836
CSharpCompilation c =
CreateCompilation
(
70923
CSharpCompilation c =
CreateCompilation
(new[] { @"
71030
CSharpCompilation c =
CreateCompilation
(new[] { @"
71079
CSharpCompilation c =
CreateCompilation
(new[] { @"
71127
CSharpCompilation c =
CreateCompilation
(new[] { @"
71174
CSharpCompilation c =
CreateCompilation
(new[] { @"
71222
CSharpCompilation c =
CreateCompilation
(new[] { @"
71264
CSharpCompilation c =
CreateCompilation
(new[] { @"
71309
CSharpCompilation c =
CreateCompilation
(new[] { @"
71389
CSharpCompilation c =
CreateCompilation
(new[] { @"
71490
CSharpCompilation c =
CreateCompilation
(new[] { @"
71528
CSharpCompilation c =
CreateCompilation
(
71581
CSharpCompilation c =
CreateCompilation
(new[] { @"
71676
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71702
CSharpCompilation c =
CreateCompilation
(new[] { @"
71787
CSharpCompilation c =
CreateCompilation
(new[] { @"
71832
CSharpCompilation c =
CreateCompilation
(new[] { @"
71864
CSharpCompilation c =
CreateCompilation
(new[] { @"
71913
CSharpCompilation c =
CreateCompilation
(new[] { @"
71992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
72056
var comp =
CreateCompilation
(source, options: WithNullableEnable());
72208
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72234
CSharpCompilation c =
CreateCompilation
(new[] { @"
72317
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72336
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
72358
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72378
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
72406
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72440
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72464
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72486
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72513
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72536
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72565
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
72583
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
72598
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
72789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
72809
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72829
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72854
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72870
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72891
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72964
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73015
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73090
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73122
var comp =
CreateCompilation
(source.Replace("OPERATOR", op), options: WithNullableEnable());
73159
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73195
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73220
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73311
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73375
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73412
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
73449
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
73454
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
73463
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
73490
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
73495
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
73524
var compilation =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, options: WithNullableEnable());
73660
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
73691
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
73718
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
73724
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
73825
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
73841
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
73853
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
73859
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
73886
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
73892
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
73993
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
74012
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
74025
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
74031
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
74134
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
74153
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
74166
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
74172
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
74280
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
74311
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
74327
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
74343
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
74372
var comp =
CreateCompilation
(
74396
var comp =
CreateCompilation
(
74432
var comp =
CreateCompilation
(
74468
var comp =
CreateCompilation
(
74527
CSharpCompilation c =
CreateCompilation
(new[] { source },
74573
var comp =
CreateCompilation
(source);
74621
var comp =
CreateCompilation
(source);
74647
var comp =
CreateCompilation
(source);
74668
var comp =
CreateCompilation
(source);
74700
var comp =
CreateCompilation
(source);
75168
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
75195
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75216
var compA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular7);
75227
var compB =
CreateCompilation
(
75255
var comp =
CreateCompilation
(
75291
var comp =
CreateCompilation
(
75421
var comp =
CreateCompilation
(
75485
var comp =
CreateCompilation
(
75541
var comp =
CreateCompilation
(
75567
comp =
CreateCompilation
(
75591
var comp =
CreateCompilation
(
75645
var comp =
CreateCompilation
(
75671
var comp =
CreateCompilation
(
75760
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
75784
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
75826
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
75852
var comp =
CreateCompilation
(source);
75880
var comp =
CreateCompilation
(
75914
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75980
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76017
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76043
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76072
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76101
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76141
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76178
var comp =
CreateCompilation
(
76209
var comp =
CreateCompilation
(
76277
var comp =
CreateCompilation
(
76308
var comp =
CreateCompilation
(
76338
var comp =
CreateCompilation
(
76371
var comp =
CreateCompilation
(
76424
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76491
var comp =
CreateCompilation
(
76535
var comp =
CreateCompilation
(
76599
var comp =
CreateCompilation
(src, options: WithNullableEnable(TestOptions.DebugDll));
76626
var comp =
CreateCompilation
(
76671
var comp =
CreateCompilation
(
76697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76737
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76864
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76935
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76965
var comp =
CreateCompilation
(
76971
comp =
CreateCompilation
(
76977
comp =
CreateCompilation
(
77003
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77023
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77042
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77062
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
77066
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
77070
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
77111
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77183
var comp =
CreateCompilation
(
77206
var comp =
CreateCompilation
(
77229
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
77238
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77260
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
77266
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77308
var comp =
CreateCompilation
(
77343
var comp =
CreateCompilation
(
77368
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77391
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77420
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77447
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77472
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
77481
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77504
var comp =
CreateCompilation
(
77515
comp =
CreateCompilation
(
77526
comp =
CreateCompilation
(
77560
var comp =
CreateCompilation
(
77569
comp =
CreateCompilation
(
77596
var comp =
CreateCompilation
(
77634
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77678
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77704
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77747
var comp0 =
CreateCompilation
(
77766
var comp1 =
CreateCompilation
(
77786
var comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
77822
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78025
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78120
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
78160
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
78207
var libComp =
CreateCompilation
(new[] { libSource });
78227
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3);
78234
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
78259
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78304
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
78332
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78370
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable());
78414
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: WithNullableEnable());
78462
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
78507
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78549
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78582
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78617
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78647
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable()).VerifyDiagnostics(
78676
var comp =
CreateCompilation
(
78694
var comp =
CreateCompilation
(
78749
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78796
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78824
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78849
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78896
var comp =
CreateCompilation
(source, options: WithNullableEnable());
78914
var comp =
CreateCompilation
(
78945
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78967
var comp =
CreateCompilation
(
78988
var comp =
CreateCompilation
(
79003
var comp =
CreateCompilation
(
79034
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79061
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79091
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79126
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79170
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79205
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79251
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79274
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79345
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79365
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79432
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeReleaseDll));
79566
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79613
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
79652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79678
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79742
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79767
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79786
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79802
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79835
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79893
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79958
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79996
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80045
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80076
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80159
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80274
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80352
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80427
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80514
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80677
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80737
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80794
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80826
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80848
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80876
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80907
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80942
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81017
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81070
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81099
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81128
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81158
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81181
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81225
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81276
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81310
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81350
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81387
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81428
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81472
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81534
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81585
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81713
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81792
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81924
var comp =
CreateCompilation
(source, options: WithNullableEnable());
81969
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82000
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82037
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82063
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82089
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82118
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82152
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82176
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82220
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82255
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82303
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82366
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82394
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82420
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82476
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82510
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82546
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82626
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82652
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82707
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82736
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82754
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82776
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82809
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82835
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82865
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82890
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82945
var comp =
CreateCompilation
(source);
82992
var comp =
CreateCompilation
(source);
83060
var comp =
CreateCompilation
(source);
83128
var comp =
CreateCompilation
(source);
83166
var comp =
CreateCompilation
(source);
83194
var comp =
CreateCompilation
(source);
83227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
83248
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83304
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83327
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83355
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83409
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83455
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83485
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83512
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83571
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83597
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83620
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83647
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83681
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83718
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83775
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83802
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83836
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83872
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83907
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83968
var comp =
CreateCompilation
(source, options: WithNullableEnable());
83998
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84034
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84080
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
84105
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84145
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84189
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84224
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84306
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84347
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84382
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84418
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84442
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84472
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
84499
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
84532
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
84561
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
84585
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84605
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84631
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84660
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84691
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84721
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84754
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84779
var comp =
CreateCompilation
(source);
84802
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84846
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84895
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84947
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84976
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85007
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85029
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85072
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
85131
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
85236
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
85242
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85268
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85296
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
85299
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85323
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85348
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85368
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85385
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85396
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
85398
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85409
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
85411
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85423
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85450
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85495
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85536
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85567
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
85589
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
85665
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85764
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85893
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
85970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86035
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86121
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86178
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86222
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86254
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86293
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86325
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86472
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86501
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86564
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86627
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86671
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86722
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86801
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86867
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
86994
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
87050
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
87104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87135
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87215
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
87285
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87413
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87451
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87493
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
87612
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87790
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
87817
var comp =
CreateCompilation
(src);
87853
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87932
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87959
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
87987
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
88011
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88038
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88067
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88105
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88137
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88166
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88196
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88223
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88253
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88283
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88310
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88342
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88369
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88403
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88433
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88457
var comp =
CreateCompilation
(source);
88484
var comp =
CreateCompilation
(source);
88964
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
88989
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
89007
var comp =
CreateCompilation
(
89033
var comp =
CreateCompilation
(
89068
var comp =
CreateCompilation
(
89092
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89114
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89136
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89150
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89172
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89192
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89240
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89263
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89307
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89358
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89380
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89402
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89424
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89464
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89525
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89545
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89566
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89591
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89613
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89648
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89679
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89748
var comp =
CreateCompilation
(
89781
var comp =
CreateCompilation
(
89808
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89833
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89864
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89923
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89937
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89959
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
89980
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90010
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeDebugDll));
90065
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
90090
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
90103
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
90157
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
90189
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
90218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
90282
var comp =
CreateCompilation
(
90353
var comp =
CreateCompilation
(
90401
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
90415
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
90460
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
90511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90545
var comp =
CreateCompilation
(source);
90574
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90598
var comp =
CreateCompilation
(
90622
var comp =
CreateCompilation
(
90646
var comp =
CreateCompilation
(
90670
var comp =
CreateCompilation
(
90693
var comp =
CreateCompilation
(
90714
var comp =
CreateCompilation
(
90743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90771
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90801
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90820
var comp =
CreateCompilation
(
90839
var comp =
CreateCompilation
(
90860
var comp =
CreateCompilation
(
90892
var comp =
CreateCompilation
(
90930
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90958
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90993
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91025
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91061
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91089
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91134
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91204
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91277
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91343
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91378
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91420
var comp0 =
CreateCompilation
(source0);
91436
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
91459
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91487
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91558
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91688
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91758
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91802
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91836
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91901
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91935
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91971
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91999
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92022
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92086
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92116
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92143
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92175
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92213
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92255
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92290
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92321
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92350
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92412
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92456
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92498
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92532
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92572
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92606
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92685
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92739
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92804
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92856
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92907
var comp =
CreateCompilation
(source, options: WithNullableEnable());
92949
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93001
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93037
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93064
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93091
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93123
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93164
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93214
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93267
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93308
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93338
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93367
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93388
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93410
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93432
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93455
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93483
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93577
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93627
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
93659
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93722
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93749
var comp =
CreateCompilation
(source, options: WithNullableEnable());
93791
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93816
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93862
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
93903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93963
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94020
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94061
var comp =
CreateCompilation
(source);
94106
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
94120
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
94128
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, skipUsesIsNullable: true);
94131
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9, skipUsesIsNullable: true);
94154
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94187
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94217
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94257
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94285
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94319
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94359
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94390
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94415
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94449
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94483
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
94513
var comp =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, parseOptions: TestOptions.Regular9);
94554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94580
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
94596
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() })
94622
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
94638
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
94665
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
94681
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
94748
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94854
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
94917
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
94921
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
94943
var comp4 =
CreateCompilation
(new[] { source1 });
94945
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
94978
var comp =
CreateCompilation
(new[] { source },
95030
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
95045
var comp2 =
CreateCompilation
(new[] { source2 },
95099
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
95101
var comp2 =
CreateCompilation
(NullableContextAttributeDefinition);
95116
var comp3 =
CreateCompilation
(new[] { source3 },
95171
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
95187
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
95248
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95276
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95309
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95349
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95384
var comp =
CreateCompilation
(source);
95400
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95403
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
95406
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
95429
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95454
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95542
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
95605
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
95609
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
95631
var comp4 =
CreateCompilation
(new[] { source1 });
95633
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
95709
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
95711
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
95725
var comp3 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
95728
var comp4 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() });
95731
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() });
95734
var comp6 =
CreateCompilation
(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
95744
var comp7 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp6.ToMetadataReference() });
95747
var comp9 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() });
95814
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95891
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
95974
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
96057
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96134
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96208
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96264
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
96346
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
96382
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
96386
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
96417
var comp4 =
CreateCompilation
(new[] { source1 });
96419
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
96431
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
96479
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
96501
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
96505
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
96528
var comp4 =
CreateCompilation
(new[] { source1 });
96530
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
96536
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
96554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96592
var comp =
CreateCompilation
(new[] { source });
96635
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
96679
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3);
96700
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
96732
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
96755
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96799
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96841
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
96882
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
96924
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97019
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97108
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97207
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97233
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97256
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97294
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97377
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97493
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97557
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
97561
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { reference });
97638
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
97642
var comp2 =
CreateCompilation
(source2, options: WithNullable(NullableContextOptions.Warnings), references: new[] { reference });
97678
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97704
var compilation =
CreateCompilation
(source);
97738
var compilation =
CreateCompilation
(source);
97805
var compilation =
CreateCompilation
(source);
97871
var compilation =
CreateCompilation
(source);
97904
var compilation =
CreateCompilation
(source);
97927
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
97955
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
97984
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib46);
98017
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
98063
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
98113
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
98133
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
98190
var comp1 =
CreateCompilation
(source1);
98213
var comp2 =
CreateCompilation
(source2);
98242
var comp1 =
CreateCompilation
(source1);
98269
var comp1 =
CreateCompilation
(source1);
98296
var comp1 =
CreateCompilation
(source1);
98323
var comp1 =
CreateCompilation
(source1);
98350
var comp1 =
CreateCompilation
(source1);
98377
var comp1 =
CreateCompilation
(source1);
98419
var comp1 =
CreateCompilation
(source1);
98450
var comp1 =
CreateCompilation
(source1);
98484
var comp2 =
CreateCompilation
(source2);
98524
var comp1 =
CreateCompilation
(source1);
98562
var comp1 =
CreateCompilation
(source1);
98600
var comp1 =
CreateCompilation
(source1);
98628
var comp1 =
CreateCompilation
(source1);
98656
var comp1 =
CreateCompilation
(source1);
98684
var comp1 =
CreateCompilation
(source1);
98723
var comp1 =
CreateCompilation
(source1);
98750
var comp1 =
CreateCompilation
(source1);
98772
var comp2 =
CreateCompilation
(source2);
98800
var comp1 =
CreateCompilation
(source1);
98826
var comp1 =
CreateCompilation
(source1);
98852
var comp1 =
CreateCompilation
(source1);
98878
var comp1 =
CreateCompilation
(source1);
98904
var comp1 =
CreateCompilation
(source1);
98930
var comp1 =
CreateCompilation
(source1);
98971
var comp1 =
CreateCompilation
(source1);
99001
var comp1 =
CreateCompilation
(source1);
99034
var comp2 =
CreateCompilation
(source2);
99073
var comp1 =
CreateCompilation
(source1);
99110
var comp1 =
CreateCompilation
(source1);
99147
var comp1 =
CreateCompilation
(source1);
99174
var comp1 =
CreateCompilation
(source1);
99201
var comp1 =
CreateCompilation
(source1);
99228
var comp1 =
CreateCompilation
(source1);
99265
var comp1 =
CreateCompilation
(source1);
99297
var comp1 =
CreateCompilation
(source1);
99328
var comp1 =
CreateCompilation
(source1);
99371
var comp1 =
CreateCompilation
(source1);
99415
var comp1 =
CreateCompilation
(source1);
99456
var comp1 =
CreateCompilation
(source1);
99476
var comp2 =
CreateCompilation
(source2);
99501
var comp3 =
CreateCompilation
(source3);
99530
var comp1 =
CreateCompilation
(source1);
99550
var comp2 =
CreateCompilation
(source2);
99581
var comp1 =
CreateCompilation
(source1);
99601
var comp2 =
CreateCompilation
(source2);
99628
var comp3 =
CreateCompilation
(source3);
99659
var comp1 =
CreateCompilation
(source1);
99680
var comp2 =
CreateCompilation
(source2);
99708
var comp1 =
CreateCompilation
(source1);
99734
var comp2 =
CreateCompilation
(source2);
99761
var comp3 =
CreateCompilation
(source3);
99795
var comp1 =
CreateCompilation
(source1);
99818
var comp2 =
CreateCompilation
(source2);
99842
var comp3 =
CreateCompilation
(source3);
99875
var comp1 =
CreateCompilation
(source1);
99899
var comp2 =
CreateCompilation
(source2);
99924
var comp3 =
CreateCompilation
(source3);
99957
var comp1 =
CreateCompilation
(source1);
99984
var comp2 =
CreateCompilation
(source2);
100012
var comp3 =
CreateCompilation
(source3);
100046
var comp1 =
CreateCompilation
(source1);
100072
var comp2 =
CreateCompilation
(source2);
100099
var comp3 =
CreateCompilation
(source3);
100133
var comp1 =
CreateCompilation
(source1);
100156
var comp2 =
CreateCompilation
(source2);
100180
var comp3 =
CreateCompilation
(source3);
100213
var comp1 =
CreateCompilation
(source1);
100240
var comp2 =
CreateCompilation
(source2);
100268
var comp3 =
CreateCompilation
(source3);
100305
var comp1 =
CreateCompilation
(source1);
100330
var comp2 =
CreateCompilation
(source2);
100356
var comp3 =
CreateCompilation
(source3);
100389
var comp1 =
CreateCompilation
(source1);
100409
var comp1 =
CreateCompilation
(source1);
100431
var comp1 =
CreateCompilation
(source1);
100453
var comp2 =
CreateCompilation
(source2);
100479
var comp1 =
CreateCompilation
(source1);
100500
var comp2 =
CreateCompilation
(source2);
100525
var comp1 =
CreateCompilation
(source1);
100546
var comp1 =
CreateCompilation
(source1);
100576
var comp1 =
CreateCompilation
(source1);
100602
var comp1 =
CreateCompilation
(source1);
100631
var comp1 =
CreateCompilation
(source1);
100663
var comp1 =
CreateCompilation
(source1);
100689
var comp1 =
CreateCompilation
(source1);
100718
var comp1 =
CreateCompilation
(source1);
100746
var comp1 =
CreateCompilation
(source1);
100766
var comp1 =
CreateCompilation
(source1);
100788
var comp1 =
CreateCompilation
(source1);
100815
var comp1 =
CreateCompilation
(source1);
100840
var comp1 =
CreateCompilation
(source1);
100861
var comp1 =
CreateCompilation
(source1);
100891
var comp1 =
CreateCompilation
(source1);
100918
var comp1 =
CreateCompilation
(source1);
100947
var comp1 =
CreateCompilation
(source1);
100978
var comp1 =
CreateCompilation
(source1);
101004
var comp1 =
CreateCompilation
(source1);
101033
var comp1 =
CreateCompilation
(source1);
101072
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101152
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
101168
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
101225
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
101227
var comp2 =
CreateCompilation
(NullableAttributeDefinition);
101243
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
101300
var comp =
CreateCompilation
(new[] { source });
101346
var comp1 =
CreateCompilation
(new[] { source1 });
101397
var comp1 =
CreateCompilation
(new[] { source1 });
101439
var comp1 =
CreateCompilation
(new[] { source1 });
101482
var comp1 =
CreateCompilation
(new[] { source1 });
101521
var comp1 =
CreateCompilation
(new[] { source1 });
101561
var comp1 =
CreateCompilation
(new[] { source1 });
101601
var comp1 =
CreateCompilation
(new[] { source1 });
101647
var comp1 =
CreateCompilation
(new[] { source1 });
101684
var comp1 =
CreateCompilation
(new[] { source1 });
101714
var comp1 =
CreateCompilation
(new[] { source1 });
101800
var comp1 =
CreateCompilation
(new[] { source1 });
101872
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
101908
var comp1 =
CreateCompilation
(new[] { source1 });
101941
var comp1 =
CreateCompilation
(new[] { source1 });
101974
var comp1 =
CreateCompilation
(new[] { source1 });
102004
var comp1 =
CreateCompilation
(new[] { source1 });
102034
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
102061
var comp1 =
CreateCompilation
(new[] { source1 });
102082
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
102111
var comp =
CreateCompilation
(source);
102136
var comp1 =
CreateCompilation
(new[] { source }, options: options);
102165
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
102176
var comp2 =
CreateCompilation
(new[] { source }, options: WithNullableDisable());
102240
var comp1 =
CreateCompilation
(new[] { source1 });
102381
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { reference }, parseOptions: TestOptions.Regular8);
102423
var comp1 =
CreateCompilation
(new[] { source1 });
102454
var comp1 =
CreateCompilation
(new[] { source1 });
102485
var comp1 =
CreateCompilation
(new[] { source1 });
102517
var comp1 =
CreateCompilation
(new[] { source1 });
102550
var comp1 =
CreateCompilation
(new[] { source1 });
102583
var comp1 =
CreateCompilation
(new[] { source1 });
102615
var comp1 =
CreateCompilation
(new[] { source1 });
102647
var comp1 =
CreateCompilation
(new[] { source1 });
102680
var comp1 =
CreateCompilation
(new[] { source1 });
102710
var comp1 =
CreateCompilation
(new[] { source1 });
102741
var comp1 =
CreateCompilation
(new[] { source1 });
102772
var comp1 =
CreateCompilation
(new[] { source1 });
102804
var comp1 =
CreateCompilation
(new[] { source1 });
102836
var comp1 =
CreateCompilation
(new[] { source1 });
102869
var comp1 =
CreateCompilation
(new[] { source1 });
102900
var comp1 =
CreateCompilation
(new[] { source1 });
102932
var comp1 =
CreateCompilation
(new[] { source1 });
102963
var comp1 =
CreateCompilation
(new[] { source1 });
102995
var comp1 =
CreateCompilation
(new[] { source1 });
103025
var comp1 =
CreateCompilation
(new[] { source1 });
103055
var comp1 =
CreateCompilation
(new[] { source1 });
103085
var comp1 =
CreateCompilation
(new[] { source1 });
103115
var comp1 =
CreateCompilation
(new[] { source1 });
103442
var comp1 =
CreateCompilation
(new[] { source1 });
103479
var comp1 =
CreateCompilation
(new[] { source1 });
103515
var comp1 =
CreateCompilation
(new[] { source1 });
103552
var comp1 =
CreateCompilation
(new[] { source1 });
103588
var comp1 =
CreateCompilation
(new[] { source1 });
103626
var comp1 =
CreateCompilation
(new[] { source1 });
103670
var comp1 =
CreateCompilation
(new[] { source1 });
103673
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
103711
var comp1 =
CreateCompilation
(new[] { source1 });
103752
var comp1 =
CreateCompilation
(new[] { source1 });
103788
var comp1 =
CreateCompilation
(new[] { source1 });
103825
var comp1 =
CreateCompilation
(new[] { source1 });
103861
var comp1 =
CreateCompilation
(new[] { source1 });
103897
var comp1 =
CreateCompilation
(new[] { source1 });
103933
var comp1 =
CreateCompilation
(new[] { source1 });
103969
var comp1 =
CreateCompilation
(new[] { source1 });
103994
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
104050
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104125
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104186
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104229
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104280
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104350
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104407
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104452
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104497
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104541
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104599
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104664
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104716
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104770
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104811
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104884
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104973
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105043
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105102
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105155
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105187
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105219
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105257
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105295
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105345
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105403
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105464
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105521
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
105525
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { reference });
105580
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105619
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105680
var comp1 =
CreateCompilation
(source);
105731
var comp1 =
CreateCompilation
(source);
105803
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105919
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105974
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106008
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106035
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106103
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106152
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106179
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106243
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106284
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106359
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106436
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106466
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106500
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106559
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106687
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106713
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106809
var comp =
CreateCompilation
(source1, new[] { ref0 });
106889
var comp =
CreateCompilation
(source1, new[] { ref0 });
106904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106952
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
106989
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107053
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107097
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107144
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107178
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107225
var comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
107258
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
107271
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
107274
comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
107277
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
107304
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107327
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107380
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
107382
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107393
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107409
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107447
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107479
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107572
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107594
var comp0 =
CreateCompilation
(source0);
107601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107613
var comp0 =
CreateCompilation
(source0);
107624
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107642
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
107660
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107678
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
107696
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107711
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
107729
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107747
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
107765
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107780
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
107795
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107814
var comp0 =
CreateCompilation
(new[] { source0 });
107836
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
107866
var comp0 =
CreateCompilation
(new[] { source0 }, parseOptions: TestOptions.Regular8);
107922
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
107930
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
107940
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
107951
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
108017
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
108071
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
108118
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108136
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
108160
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108170
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
108180
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108222
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
108254
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108296
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
108342
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
108354
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
108397
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108453
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
108482
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108523
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
108550
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
108571
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
108613
var comp =
CreateCompilation
(source, options: WithNullableEnable());
108651
var comp =
CreateCompilation
(source, options: WithNullableEnable());
108690
var comp =
CreateCompilation
(source, options: WithNullableEnable());
108732
var comp =
CreateCompilation
(source, options: WithNullableEnable());
108760
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108804
var comp0 =
CreateCompilation
(source0);
108806
var comp =
CreateCompilation
(source, references: new[] { ref0 });
108827
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable());
108829
comp =
CreateCompilation
(source, references: new[] { ref0 });
108839
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
108842
comp =
CreateCompilation
(source, references: new[] { ref0 });
108858
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
108902
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
108913
var comp =
CreateCompilation
(source, references: new[] { ref0 });
108922
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
108932
comp =
CreateCompilation
(source, references: new[] { ref0 });
108941
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
108944
comp =
CreateCompilation
(source, references: new[] { ref0 });
108952
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
108987
var comp =
CreateCompilation
(source);
108989
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109052
var comp =
CreateCompilation
(new[] { source });
109142
var comp =
CreateCompilation
(new[] { source });
109179
var comp =
CreateCompilation
(new[] { source });
109199
var comp =
CreateCompilation
(new[] { source });
109259
var comp =
CreateCompilation
(new[] { source });
109341
var comp =
CreateCompilation
(new[] { source });
109377
var comp =
CreateCompilation
(new[] { source });
109448
var comp1 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "") });
109451
var comp2 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "annotations") });
109503
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109532
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109569
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109600
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109641
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109663
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109693
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109748
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109773
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109803
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109828
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109861
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109892
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109919
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109938
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109962
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
109984
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110017
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110038
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110070
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
110295
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
110519
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110544
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110577
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110638
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110666
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110696
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110732
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110769
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110805
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110835
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110867
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
110898
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
110929
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
110959
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
110990
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
111020
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
111049
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
111133
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111136
comp =
CreateCompilation
(new[] { source });
111183
var comp =
CreateCompilation
(new[] { source });
111223
var comp =
CreateCompilation
(new[] { source });
111248
var comp =
CreateCompilation
(new[] { source });
111271
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111346
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111422
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111471
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111500
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111527
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111556
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111597
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111635
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111669
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111707
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111752
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111792
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111823
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111858
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111877
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111913
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112225
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
112253
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
112285
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
112317
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
112362
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics(
112401
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
112420
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112431
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112434
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112457
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112469
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112472
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112495
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112506
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112509
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112532
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112543
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112546
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112569
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112585
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112588
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112611
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112627
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112630
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112650
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112668
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112671
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112691
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112712
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112715
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112738
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112753
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112756
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112779
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
112796
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
112799
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
112816
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll)).VerifyEmitDiagnostics();
112817
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
113067
var comp =
CreateCompilation
(source2, new[] { ref1.WithEmbedInteropTypes(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
113085
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113106
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113131
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113148
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113166
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113184
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113215
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113262
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113291
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113313
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113347
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
113369
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113401
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113429
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113462
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113490
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113523
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113546
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113573
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113600
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113627
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113651
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113789
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113878
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113929
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
113959
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
113987
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114023
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114049
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114066
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114087
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114110
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114133
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114154
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114178
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114204
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114227
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114248
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114271
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114294
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114311
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114332
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114352
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114380
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114407
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114435
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114459
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114479
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114503
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
114523
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114548
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114571
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114594
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114619
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114644
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114666
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114686
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114709
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114732
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114758
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114778
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114799
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114817
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
114843
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114876
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114908
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114933
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114957
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
114982
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115007
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115036
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115067
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115094
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115120
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115142
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115160
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115178
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115201
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115228
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115254
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115286
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115311
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115333
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115360
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115397
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115434
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115463
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115500
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115527
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115556
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115578
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115601
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115622
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115646
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115666
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115693
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
115717
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115744
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115768
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115792
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115821
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115842
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115865
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115895
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115932
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
115966
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116003
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116036
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116052
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116075
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
116102
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116131
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116153
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116176
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116205
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116234
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116263
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116292
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116317
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116343
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116369
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116394
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116427
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116460
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116490
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116526
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116562
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116593
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116619
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116645
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116669
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116693
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
116716
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116744
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116775
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116802
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116825
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116851
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116871
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116887
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116927
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116944
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116965
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116986
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117013
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117040
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117063
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117085
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117107
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117134
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117158
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
117175
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117196
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117216
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117239
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117269
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117297
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117326
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117352
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117379
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117399
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117419
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117463
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117494
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117524
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117550
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117577
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117604
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117628
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117656
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117681
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117708
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117737
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117768
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117798
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117827
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117854
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117882
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117909
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117937
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117964
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117989
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118013
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118036
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118061
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118086
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118110
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118135
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118159
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118187
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118212
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118238
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118260
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118286
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118307
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118328
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118350
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118371
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118392
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118414
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118457
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118476
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118501
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118527
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118552
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118577
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118603
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118628
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118654
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118678
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118700
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118721
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118743
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118768
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118794
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118819
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118844
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118869
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118887
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118908
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118927
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118953
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118978
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119005
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119032
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119052
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119075
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119096
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119124
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119151
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119176
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119198
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119216
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119235
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119257
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119275
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119293
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119312
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119334
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119352
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119371
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119397
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119422
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119446
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119468
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119490
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119514
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119536
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119558
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119584
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119614
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119633
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119653
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119677
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119706
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119736
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119762
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119781
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119818
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119852
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
119887
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
119924
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
119954
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
119993
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120024
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120079
var comp =
CreateCompilation
(new[] { source });
120082
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Warnings));
120085
comp =
CreateCompilation
(new[] { @"#nullable enable warnings
120089
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120092
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations));
120095
comp =
CreateCompilation
(new[] { @"#nullable enable annotations
120403
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource) });
120494
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120529
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120648
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120741
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120783
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120825
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
121105
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
121152
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
121190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
121243
var comp =
CreateCompilation
(source, options: WithNullableEnable());
121295
var comp =
CreateCompilation
(source, options: WithNullableEnable());
121322
var comp =
CreateCompilation
(source, options: WithNullableEnable());
121346
var comp =
CreateCompilation
(source, options: WithNullableEnable());
121379
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
121384
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
121387
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
121398
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
121407
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
121416
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
121425
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121436
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
121445
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121456
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121466
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121471
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121477
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121482
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
121491
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121502
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121512
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121562
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
121567
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option));
121570
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
121583
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
121586
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Default));
121589
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
121592
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121597
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Error));
121600
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121605
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121609
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121613
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121618
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121622
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Hidden));
121625
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121630
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121634
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
121733
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
121742
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
121751
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
121760
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121771
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
121780
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121791
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121801
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121806
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121812
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121817
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
121826
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121837
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
121847
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122153
var comp =
CreateCompilation
(source);
122272
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
122276
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
122280
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
122284
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122290
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
122294
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122300
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122305
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122310
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122316
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122321
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
122325
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122331
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122336
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
122347
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
122352
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
122355
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
122418
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
122422
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
122426
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
122430
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122436
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
122440
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122446
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122451
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122456
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122462
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122467
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
122471
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122477
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122482
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
122952
var comp =
CreateCompilation
(source, options: WithNullableEnable());
122986
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123023
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123063
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123095
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123395
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
123415
var comp =
CreateCompilation
(source);
123431
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123451
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123466
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123491
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123514
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123534
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123560
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123575
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123600
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123630
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123662
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123694
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123803
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123845
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123896
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123932
var comp =
CreateCompilation
(source, options: WithNullableEnable());
123961
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124024
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124118
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124200
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124261
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124446
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124503
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124598
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124646
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124718
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124823
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124876
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124939
var comp =
CreateCompilation
(source, options: WithNullableEnable());
124989
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125055
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125178
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125222
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125281
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125330
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125384
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125435
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125482
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125530
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125571
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125631
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125671
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125694
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125746
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125799
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125911
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125969
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126010
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126059
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126107
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126147
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126178
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126225
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126258
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126292
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126334
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126366
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126427
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126458
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126495
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126581
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126625
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126726
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126801
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126883
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126962
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127019
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127055
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127087
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127110
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127145
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127184
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127208
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127232
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127259
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, options: WithNullableEnable());
127330
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
127365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127400
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127439
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127561
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127618
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127644
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127670
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127688
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127706
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127725
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127744
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127800
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127835
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127873
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127895
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127917
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127963
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128030
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128063
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128088
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128121
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128156
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128191
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
128226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128377
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128420
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128473
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128492
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128543
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128561
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128609
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
128635
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128661
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128689
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128715
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128749
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128773
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128799
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
128825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128851
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128880
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128907
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128933
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128958
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128982
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129007
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129031
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129055
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129079
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129129
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129160
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129187
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129217
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129278
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129310
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129343
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129378
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129426
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129452
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129480
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129624
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129678
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129704
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129740
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129804
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129840
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129907
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129942
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129989
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130024
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130051
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130079
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130110
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130139
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130172
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130208
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130245
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130276
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130465
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130668
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130739
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130820
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130848
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130883
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130909
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130941
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130977
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130995
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131023
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131061
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131093
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131126
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131160
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131189
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131206
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131224
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131246
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131298
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131322
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131408
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131440
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131460
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131484
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131516
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131563
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131617
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131636
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131673
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131739
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131817
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131867
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131910
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131941
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131965
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131987
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132008
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132029
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132052
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132115
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132182
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132249
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132304
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132353
var comp =
CreateCompilation
(source);
132393
var comp =
CreateCompilation
(source);
132427
var comp =
CreateCompilation
(source);
132448
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132463
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132511
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132545
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132788
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132831
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132873
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
132914
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
132921
CreateCompilation
(new[] { source }, options: WithNullableEnable())
132944
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
132950
CreateCompilation
(new[] { source }, options: WithNullableEnable())
132996
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133023
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133052
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133077
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133102
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133134
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133161
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133188
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133210
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
133229
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
133248
var comp =
CreateCompilation
(new[] { source1, source2 });
133252
comp =
CreateCompilation
(new[] { source2, source1 });
133280
var comp =
CreateCompilation
(new[] { source1, source2 });
133284
comp =
CreateCompilation
(new[] { source2, source1 });
133314
var comp =
CreateCompilation
(new[] { source1, source2 });
133347
var comp =
CreateCompilation
(new[] { source1, source2 });
133351
comp =
CreateCompilation
(new[] { source2, source1 });
133376
var comp =
CreateCompilation
(new[] { source1, source2 });
133380
comp =
CreateCompilation
(new[] { source2, source1 });
133406
var comp =
CreateCompilation
(new[] { source1 });
133428
var comp =
CreateCompilation
(new[] { source1 });
133450
var comp =
CreateCompilation
(new[] { source1 });
133472
var comp =
CreateCompilation
(new[] { source1 });
133498
var comp =
CreateCompilation
(new[] { source1 });
133525
var comp =
CreateCompilation
(new[] { source1 });
133550
var comp =
CreateCompilation
(new[] { source1 });
133577
var comp =
CreateCompilation
(new[] { source1, source2 });
133581
comp =
CreateCompilation
(new[] { source2, source1 });
133634
var comp1 =
CreateCompilation
(new[] { source0, source1 });
133640
var comp2 =
CreateCompilation
(new[] { source0, source2 });
133646
var comp3 =
CreateCompilation
(new[] { source0, source3 });
133652
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
133656
comp =
CreateCompilation
(new[] { source0, source1, source3, source2 });
133660
comp =
CreateCompilation
(new[] { source0, source2, source1, source3 });
133664
comp =
CreateCompilation
(new[] { source0, source2, source3, source1 });
133668
comp =
CreateCompilation
(new[] { source0, source3, source1, source2 });
133672
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
133712
var comp1 =
CreateCompilation
(new[] { source });
133753
var comp1 =
CreateCompilation
(new[] { source });
133792
var comp1 =
CreateCompilation
(new[] { source });
133831
var comp1 =
CreateCompilation
(new[] { source });
133880
var comp1 =
CreateCompilation
(new[] { source });
133916
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
133919
comp =
CreateCompilation
(new[] { source0, source2, source1 });
133956
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
133959
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134000
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134003
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134043
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134046
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134085
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134088
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134121
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134124
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134164
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
134167
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
134215
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134218
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134260
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134263
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134313
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134316
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134366
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134411
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134414
comp =
CreateCompilation
(new[] { source0, source2, source1 });
134466
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
134505
var comp =
CreateCompilation
(new[] { source1, source2 });
134529
var comp =
CreateCompilation
(new[] { source1, source2 });
134567
var comp =
CreateCompilation
(new[] { source1 });
134605
var comp =
CreateCompilation
(new[] { source1 });
134630
CreateCompilation
(text).VerifyDiagnostics(
134656
CreateCompilation
(text).VerifyDiagnostics(
134682
CreateCompilation
(text).VerifyDiagnostics(
134713
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134746
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134779
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134811
var comp =
CreateCompilation
(source).VerifyDiagnostics();
134837
var comp =
CreateCompilation
(source).VerifyDiagnostics();
134864
var comp =
CreateCompilation
(source).VerifyDiagnostics();
134891
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134932
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134964
var comp =
CreateCompilation
(source).VerifyDiagnostics(
134988
var comp =
CreateCompilation
(source).VerifyDiagnostics(
135012
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135033
var comp =
CreateCompilation
(source).VerifyDiagnostics(
135057
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135077
var comp =
CreateCompilation
(source).VerifyDiagnostics(
135101
var comp =
CreateCompilation
(source).VerifyDiagnostics(
135131
var comp =
CreateCompilation
(source).VerifyDiagnostics(
135159
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135187
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135215
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135243
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135275
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135303
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135331
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135358
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135381
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135404
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135431
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135454
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135477
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135506
var comp =
CreateCompilation
(source).VerifyDiagnostics();
135561
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
135628
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
135672
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
135711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
135752
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
135799
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
135934
var comp =
CreateCompilation
(source);
135959
var comp =
CreateCompilation
(source);
135988
var comp =
CreateCompilation
(source);
136025
var comp =
CreateCompilation
(source);
136055
var comp =
CreateCompilation
(source);
136088
var comp =
CreateCompilation
(source);
136121
var comp =
CreateCompilation
(source);
136161
var comp =
CreateCompilation
(source);
136208
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable());
136237
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
136259
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136357
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136430
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136459
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136527
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136560
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136595
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136634
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136679
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136721
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136763
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136805
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136847
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136978
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137013
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137054
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137095
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137138
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137183
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137220
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137251
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137279
var comp =
CreateCompilation
(source, options: WithNullableEnable());
137338
var comp =
CreateCompilation
(source);
137403
var comp =
CreateCompilation
(source);
137471
var comp =
CreateCompilation
(source);
137526
var comp =
CreateCompilation
(source);
137580
var comp =
CreateCompilation
(source);
137639
var comp =
CreateCompilation
(source);
137676
var comp =
CreateCompilation
(source);
137706
var comp =
CreateCompilation
(source);
137741
var comp =
CreateCompilation
(source);
137805
var comp =
CreateCompilation
(source);
137827
var comp =
CreateCompilation
(source);
137865
var comp =
CreateCompilation
(source);
137913
var comp =
CreateCompilation
(source);
137931
var comp =
CreateCompilation
(source);
137974
var comp =
CreateCompilation
(source);
138034
var comp =
CreateCompilation
(source);
138070
var comp =
CreateCompilation
(source);
138118
var comp =
CreateCompilation
(source);
138182
var comp =
CreateCompilation
(source);
138228
var comp =
CreateCompilation
(source);
138274
var comp =
CreateCompilation
(source);
138312
var comp =
CreateCompilation
(source);
138357
var comp =
CreateCompilation
(source);
138392
var comp =
CreateCompilation
(source);
138418
var comp =
CreateCompilation
(source);
138453
var comp =
CreateCompilation
(source);
138457
comp =
CreateCompilation
(source);
138495
var comp =
CreateCompilation
(source);
138534
var comp =
CreateCompilation
(source);
138565
var comp =
CreateCompilation
(source);
138593
var comp =
CreateCompilation
(source);
138621
var comp =
CreateCompilation
(source);
138651
var comp =
CreateCompilation
(source);
138684
var comp =
CreateCompilation
(source);
138710
var comp =
CreateCompilation
(source);
138743
var comp =
CreateCompilation
(source);
138774
var comp =
CreateCompilation
(source);
138804
var comp =
CreateCompilation
(source);
138836
var comp =
CreateCompilation
(source);
138867
var comp =
CreateCompilation
(source);
138941
var comp =
CreateCompilation
(source);
138992
var comp =
CreateCompilation
(source);
139018
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
139047
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
139077
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
139121
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
139155
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
139189
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
139225
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
139267
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
139301
var comp =
CreateCompilation
(source);
139332
var comp =
CreateCompilation
(source);
139358
var comp =
CreateCompilation
(source);
139384
var comp =
CreateCompilation
(source);
139413
var comp =
CreateCompilation
(source);
139445
var comp =
CreateCompilation
(source);
139481
var comp =
CreateCompilation
(source);
139519
var comp =
CreateCompilation
(source);
139557
var comp =
CreateCompilation
(source);
139586
var comp =
CreateCompilation
(source);
139615
var comp =
CreateCompilation
(source);
139651
var comp =
CreateCompilation
(source);
139684
var comp =
CreateCompilation
(source);
139714
var comp =
CreateCompilation
(source);
139743
var comp =
CreateCompilation
(source);
139770
var comp =
CreateCompilation
(source);
139802
var comp =
CreateCompilation
(source);
139837
var comp =
CreateCompilation
(source);
139867
var comp =
CreateCompilation
(source);
139942
var comp =
CreateCompilation
(source, options: WithNullableEnable());
139967
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140017
var comp =
CreateCompilation
(source, options: WithNullableDisable());
140040
var comp =
CreateCompilation
(source, options: WithNullableDisable());
140106
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
140128
var comp =
CreateCompilation
(source, options: WithNullableDisable());
140184
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
140216
comp =
CreateCompilation
(source, options: WithNullableEnable());
140241
comp =
CreateCompilation
(source, options: WithNullableEnable());
140277
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140313
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140347
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140376
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140415
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
140447
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140485
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140527
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
140557
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140600
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140631
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140672
var spanRef =
CreateCompilation
(SpanSource, options: TestOptions.UnsafeReleaseDll)
140674
var comp =
CreateCompilation
(def + @"
140710
var defComp =
CreateCompilation
(def,
140714
var useComp =
CreateCompilation
(@"
140794
var comp =
CreateCompilation
(@"
140825
var comp =
CreateCompilation
(@"
140869
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140899
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140965
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141023
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
141059
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
141085
var comp =
CreateCompilation
(source);
141122
var comp =
CreateCompilation
(source);
141162
var comp =
CreateCompilation
(source);
141199
var comp =
CreateCompilation
(source);
141238
var comp =
CreateCompilation
(source);
141280
var comp =
CreateCompilation
(source);
141313
var comp =
CreateCompilation
(source);
141345
var comp =
CreateCompilation
(source);
141380
var comp =
CreateCompilation
(source);
141419
var comp =
CreateCompilation
(source);
141450
var comp =
CreateCompilation
(source);
141477
var comp =
CreateCompilation
(source);
141499
var comp =
CreateCompilation
(source);
141513
var comp =
CreateCompilation
(source);
141542
var comp =
CreateCompilation
(source);
141571
var comp =
CreateCompilation
(source);
141600
var comp =
CreateCompilation
(source);
141627
var comp =
CreateCompilation
(source);
141660
var comp =
CreateCompilation
(source);
141691
var comp =
CreateCompilation
(source);
141720
var comp =
CreateCompilation
(source);
141753
var comp =
CreateCompilation
(source);
141778
var comp =
CreateCompilation
(source);
141802
var comp =
CreateCompilation
(source);
141823
var comp =
CreateCompilation
(source);
141849
var comp =
CreateCompilation
(source);
141872
var comp =
CreateCompilation
(source);
141897
var comp =
CreateCompilation
(source);
141921
var comp =
CreateCompilation
(source);
141945
var comp =
CreateCompilation
(source);
141969
var comp =
CreateCompilation
(source);
142004
var comp =
CreateCompilation
(text);
142043
var comp =
CreateCompilation
(text);
142083
var comp =
CreateCompilation
(text);
142122
var comp =
CreateCompilation
(text);
142208
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
142241
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
142270
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
142310
var comp =
CreateCompilation
(source);
142348
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
142388
var comp =
CreateCompilation
(source);
142437
var comp =
CreateCompilation
(source, options: WithNullableEnable());
142488
var comp =
CreateCompilation
(source);
142564
var comp =
CreateCompilation
(source);
142629
var comp =
CreateCompilation
(source);
142729
var comp =
CreateCompilation
(source, options: WithNullableEnable());
142816
var comp =
CreateCompilation
(source);
142859
var comp =
CreateCompilation
(source);
142888
var comp =
CreateCompilation
(source);
142911
var comp =
CreateCompilation
(source);
142939
var comp =
CreateCompilation
(source);
143152
var comp =
CreateCompilation
(source);
143177
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
143259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
143350
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
143472
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
143532
var comp =
CreateCompilation
(source);
143651
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
143666
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
143718
var comp =
CreateCompilation
(source);
143759
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
143822
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
143923
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
143941
comp =
CreateCompilation
(source);
143994
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
144006
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144040
var comp =
CreateCompilation
(source);
144078
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
144093
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
144146
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144173
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
144197
comp =
CreateCompilation
(source);
144246
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
144252
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144283
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144332
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144364
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
144398
var comp =
CreateCompilation
(source);
144424
var comp =
CreateCompilation
(source);
144446
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144467
var comp =
CreateCompilation
(source);
144488
var comp =
CreateCompilation
(source);
144512
var comp =
CreateCompilation
(source);
144550
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144597
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144637
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144681
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144705
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144740
var comp =
CreateCompilation
(source);
144764
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
144796
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
144820
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144850
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144886
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144943
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
144974
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
144997
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
145019
var comp =
CreateCompilation
(source);
145058
var comp =
CreateCompilation
(source);
145097
var comp =
CreateCompilation
(source);
145137
var comp =
CreateCompilation
(source);
145180
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
145209
var comp =
CreateCompilation
(source);
145250
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
145290
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
145355
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
145403
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
145440
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
145485
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
145527
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
145549
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
145558
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
145572
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
145578
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
145588
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
145598
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
145627
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
145708
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
145793
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
145851
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
145868
comp =
CreateCompilation
(sourceB0, references: new[] { refA }, parseOptions: TestOptions.Regular9);
145884
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
145936
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
145970
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146010
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146087
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
146117
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
146140
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146183
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
146240
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
146276
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular);
146324
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146404
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146484
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146564
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146647
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146727
comp =
CreateCompilation
(sourceB6, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146819
comp =
CreateCompilation
(sourceB7, references: new[] { refA }, parseOptions: TestOptions.Regular9);
146882
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
146918
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular8);
147020
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147100
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147192
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147257
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
147282
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147342
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
147390
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147450
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
147495
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147543
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
147591
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
147633
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
147658
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147718
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
147766
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147826
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
147871
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
147919
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
147967
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
148006
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
148027
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148077
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
148118
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148168
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
148200
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148241
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
148282
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
148312
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148337
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148397
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
148451
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148511
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
148556
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148603
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
148629
comp =
CreateCompilation
(new[] { sourceB1, AllowNullAttributeDefinition }, references: new[] { refA });
148690
comp =
CreateCompilation
(new[] { sourceB3, AllowNullAttributeDefinition }, references: new[] { refA });
148751
comp =
CreateCompilation
(new[] { sourceB5, AllowNullAttributeDefinition }, references: new[] { refA });
148800
comp =
CreateCompilation
(new[] { sourceB6, AllowNullAttributeDefinition }, references: new[] { refA });
148854
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148878
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
148919
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
149032
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
149061
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
149085
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
149127
comp =
CreateCompilation
(new[] { sourceB2, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, references: new[] { refA });
149167
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149195
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
149219
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
149231
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
149255
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
149293
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149348
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149395
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149432
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149471
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149515
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149580
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149619
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
149644
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
149669
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
149694
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
149720
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
149746
comp =
CreateCompilation
(source6, parseOptions: TestOptions.Regular9);
149773
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
149793
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
149811
comp =
CreateCompilation
(source2);
149826
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
149844
comp =
CreateCompilation
(source4);
149859
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
149883
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
149913
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
149935
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
149960
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
149983
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
150006
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
150044
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150094
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150141
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150169
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150219
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150323
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150352
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150419
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150555
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150600
var comp =
CreateCompilation
(new[] { sourceA, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
150624
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150653
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150700
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150725
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
150761
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150786
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
150831
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150863
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150887
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150924
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
150944
comp =
CreateCompilation
(sourceB, references: new[] { refA });
150973
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150997
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
151017
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
151029
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
151040
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
151051
comp =
CreateCompilation
(sourceB3, references: new[] { refA });
151062
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
151087
var comp =
CreateCompilation
(source);
151113
var comp =
CreateCompilation
(source);
151140
var comp =
CreateCompilation
(source);
151173
var comp =
CreateCompilation
(source);
151209
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
151221
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
151268
var comp =
CreateCompilation
(source);
151333
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition });
151370
var comp =
CreateCompilation
(source);
151431
var comp =
CreateCompilation
(source);
151451
var nullableAttrComp =
CreateCompilation
(NullableAttributeDefinition);
151470
var lib =
CreateCompilation
(lib_cs, references: new[] { nullableAttrRef });
151483
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
151495
var executeComp =
CreateCompilation
(executable_cs,
151579
var comp =
CreateCompilation
(source);
151608
var comp =
CreateCompilation
(source);
151636
var comp =
CreateCompilation
(source);
151669
var comp =
CreateCompilation
(source);
151698
var comp =
CreateCompilation
(
151739
var comp =
CreateCompilation
(source);
151779
var comp =
CreateCompilation
(source);
151813
var comp =
CreateCompilation
(source);
151847
var comp =
CreateCompilation
(source);
151858
var comp =
CreateCompilation
(@"
152043
var comp =
CreateCompilation
(source);
152061
var comp =
CreateCompilation
(source);
152079
var comp =
CreateCompilation
(source);
152098
var comp =
CreateCompilation
(source);
152117
var comp =
CreateCompilation
(source);
152138
var comp =
CreateCompilation
(source0);
152168
var comp =
CreateCompilation
(source);
152186
var comp =
CreateCompilation
(source0);
152233
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
152266
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
152302
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
152334
var comp =
CreateCompilation
(source);
152376
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
152398
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
152445
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152472
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152514
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152550
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152584
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152600
var comp =
CreateCompilation
(source0);
152614
comp =
CreateCompilation
(source1, references: new[] { ref0 });
152636
var comp =
CreateCompilation
(source0);
152650
comp =
CreateCompilation
(source1, references: new[] { ref0 });
152683
var comp =
CreateCompilation
(source0);
152760
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
152791
var comp =
CreateCompilation
(sourceA);
152920
comp =
CreateCompilation
(new[] { sourceB2 }, references: new[] { refA });
153012
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
153038
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
153074
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
153105
var comp =
CreateCompilation
(src);
153126
var comp =
CreateCompilation
(src);
153144
var comp =
CreateCompilation
(src);
153168
var comp =
CreateCompilation
(src);
153216
var comp =
CreateCompilation
(src);
153267
var comp =
CreateCompilation
(src);
153290
var comp =
CreateCompilation
(src);
153313
var comp =
CreateCompilation
(src);
153336
var comp =
CreateCompilation
(src);
153359
var comp =
CreateCompilation
(src);
153382
var comp =
CreateCompilation
(src);
153405
var comp =
CreateCompilation
(src);
153428
var comp =
CreateCompilation
(src);
153463
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
153501
var comp =
CreateCompilation
(src);
153538
var comp =
CreateCompilation
(src);
153576
var comp =
CreateCompilation
(src);
153610
var comp =
CreateCompilation
(src);
153643
var comp =
CreateCompilation
(src);
153684
var comp =
CreateCompilation
(src);
153719
var comp =
CreateCompilation
(src);
153752
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
153779
var comp =
CreateCompilation
(src);
153812
var comp =
CreateCompilation
(src);
153853
var comp =
CreateCompilation
(src);
153893
var comp =
CreateCompilation
(src);
153932
var comp =
CreateCompilation
(src);
153969
var comp =
CreateCompilation
(src);
154004
var comp =
CreateCompilation
(src);
154037
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
154064
var comp =
CreateCompilation
(src);
154103
var comp =
CreateCompilation
(src);
154145
var comp =
CreateCompilation
(src);
154187
var comp =
CreateCompilation
(src);
154226
var comp =
CreateCompilation
(src);
154262
var comp =
CreateCompilation
(src);
154292
var comp =
CreateCompilation
(src);
154328
var comp =
CreateCompilation
(src);
154363
var comp =
CreateCompilation
(src);
154402
var comp =
CreateCompilation
(src);
154435
var comp =
CreateCompilation
(src);
154470
CreateCompilation
(source).VerifyDiagnostics();
154498
CreateCompilation
(source).VerifyDiagnostics();
154524
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
154543
var comp =
CreateCompilation
(source);
154569
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
154596
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
154634
var comp =
CreateCompilation
(source);
154656
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
154694
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
154735
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
154770
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
154796
var comp =
CreateCompilation
(source);
154803
var comp =
CreateCompilation
(@"
154856
var comp =
CreateCompilation
(@"
154899
var comp =
CreateCompilation
(@"
154985
var comp =
CreateCompilation
(@"
155026
var comp =
CreateCompilation
(@"
155084
var comp =
CreateCompilation
(@"
155142
var comp =
CreateCompilation
(@"
155195
var comp =
CreateCompilation
(@"
155238
var comp =
CreateCompilation
(@"
155324
var comp =
CreateCompilation
(@"
155365
var comp =
CreateCompilation
(@"
155423
var comp =
CreateCompilation
(@"
155481
var comp =
CreateCompilation
(@"
155522
var comp =
CreateCompilation
(@"
155571
var comp =
CreateCompilation
(@"
155613
var comp =
CreateCompilation
(@"
155698
var comp =
CreateCompilation
(@"
155739
var comp =
CreateCompilation
(@"
155797
var comp =
CreateCompilation
(@"
155855
var comp =
CreateCompilation
(@"
156072
CSharpCompilation c =
CreateCompilation
(new[] { @"
156140
var comp =
CreateCompilation
(source, options: WithNullableEnable());
156195
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
156245
var comp =
CreateCompilation
(source);
156265
var comp =
CreateCompilation
(@"
156286
var comp =
CreateCompilation
(@"
156317
var comp =
CreateCompilation
(@"
156346
var comp =
CreateCompilation
(@"
156398
var comp =
CreateCompilation
($$"""
156460
var comp =
CreateCompilation
($$"""
156509
var comp =
CreateCompilation
(@"
156534
var comp =
CreateCompilation
(@"
156561
var comp =
CreateCompilation
(@"
156606
var comp =
CreateCompilation
("""
156648
CreateCompilation
(source).VerifyDiagnostics(
156681
CreateCompilation
(source).VerifyDiagnostics();
156714
CreateCompilation
(source).VerifyDiagnostics();
156788
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
156822
var comp =
CreateCompilation
(source).VerifyDiagnostics(
156868
var comp =
CreateCompilation
(source).VerifyDiagnostics(
Semantics\NullableReferenceTypesVsPatterns.cs (37)
19
return
CreateCompilation
(new[] { source }, options: WithNullableEnable());
518
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
1022
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2214
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
2285
var comp =
CreateCompilation
(source);
2314
var comp =
CreateCompilation
(source);
2339
var comp =
CreateCompilation
(source);
2368
var comp =
CreateCompilation
(source);
2375
var comp =
CreateCompilation
(@"
2399
var comp =
CreateCompilation
(@"
2424
var comp =
CreateCompilation
(@"
2449
var comp =
CreateCompilation
(@"
2467
var comp =
CreateCompilation
(@"
2500
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2512
comp =
CreateCompilation
(source);
2522
var comp =
CreateCompilation
(@"
2554
var comp =
CreateCompilation
(@"
2579
var comp =
CreateCompilation
(@"
2598
var comp =
CreateCompilation
(@"
2613
var comp =
CreateCompilation
(@"
2632
var comp =
CreateCompilation
(@"
2770
var comp =
CreateCompilation
(source);
2809
var comp =
CreateCompilation
(source);
2846
var comp =
CreateCompilation
(source);
2888
var comp =
CreateCompilation
(source);
2924
var comp =
CreateCompilation
(source);
2954
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2983
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3019
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3053
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3099
var comp =
CreateCompilation
(source);
3130
var comp =
CreateCompilation
(source);
3164
var comp =
CreateCompilation
(source);
3199
var comp =
CreateCompilation
(source);
3226
var comp =
CreateCompilation
(source);
3253
var comp =
CreateCompilation
(source);
3284
var comp =
CreateCompilation
(source);
Semantics\NullableTests.cs (14)
37
var comp =
CreateCompilation
(src);
70
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
72
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
96
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
141
var comp =
CreateCompilation
(source1);
1797
var complib =
CreateCompilation
(
1802
var comp =
CreateCompilation
(
1836
CreateCompilation
(source).VerifyDiagnostics();
1890
CreateCompilation
(source).VerifyDiagnostics(
2098
CreateCompilation
(source).VerifyDiagnostics(
2126
CreateCompilation
(source).VerifyEmitDiagnostics(
2151
CreateCompilation
(source).VerifyDiagnostics(
2179
CreateCompilation
(source).VerifyDiagnostics(
2201
CreateCompilation
(source).VerifyDiagnostics(
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 (16)
254
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }).VerifyDiagnostics();
3202
CreateCompilation
(source).VerifyDiagnostics(
3447
var compilation =
CreateCompilation
(source);
3495
var compilation =
CreateCompilation
(source);
3540
var compilation =
CreateCompilation
(source);
3588
var compilation =
CreateCompilation
(source);
3625
var compilation =
CreateCompilation
(source);
3666
var compilation =
CreateCompilation
(source);
3716
var compilation =
CreateCompilation
(source);
3760
var compilation =
CreateCompilation
(source);
3798
CreateCompilation
(source).VerifyDiagnostics(
3819
CreateCompilation
(source).VerifyDiagnostics(
3840
var compilation =
CreateCompilation
(source);
3922
var compilation =
CreateCompilation
(source);
3957
var compilation =
CreateCompilation
(source);
4032
var compilation =
CreateCompilation
(source);
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);
4754
CreateCompilation
(@"
4827
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
4839
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef });
4907
var compilation =
CreateCompilation
(source);
4944
var compilation =
CreateCompilation
(source);
4982
var compilation =
CreateCompilation
(source);
5027
CreateCompilation
(source).VerifyDiagnostics(
5047
CreateCompilation
(source).VerifyDiagnostics(
5103
CreateCompilation
(source).VerifyDiagnostics(
5140
CreateCompilation
(source).VerifyDiagnostics(
5174
CreateCompilation
(source).VerifyDiagnostics(
5430
var comp =
CreateCompilation
(source);
5457
var comp =
CreateCompilation
(source);
5499
var comp =
CreateCompilation
(source);
5533
var comp =
CreateCompilation
(source);
5589
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5644
CreateCompilation
(source).VerifyDiagnostics(
5681
CreateCompilation
(source).VerifyDiagnostics(
5712
CreateCompilation
(source).VerifyDiagnostics(
5763
CreateCompilation
(source).VerifyDiagnostics(
5933
var comp =
CreateCompilation
(source);
5981
CreateCompilation
(text).VerifyDiagnostics(
6006
CreateCompilation
(text).VerifyDiagnostics(
6032
CreateCompilation
(text).VerifyDiagnostics(
6164
CreateCompilation
(source2).VerifyDiagnostics(
6190
CreateCompilation
(text).VerifyDiagnostics();
6214
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoImplicitConvCast, "b++").WithArguments("A", "B"));
6232
CreateCompilation
(text).VerifyDiagnostics();
6250
CreateCompilation
(text).VerifyDiagnostics(
6271
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify(
6292
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify();
6361
CreateCompilation
(source).VerifyDiagnostics(
6406
CreateCompilation
(source).VerifyDiagnostics(
6505
CreateCompilation
(source).VerifyDiagnostics();
6562
CreateCompilation
(source).VerifyDiagnostics();
6579
CreateCompilation
(source).VerifyDiagnostics();
6596
CreateCompilation
(source).VerifyDiagnostics();
6613
CreateCompilation
(source).VerifyDiagnostics(
6633
CreateCompilation
(source).VerifyDiagnostics(
6653
CreateCompilation
(source).VerifyDiagnostics();
6670
CreateCompilation
(source).VerifyDiagnostics();
6687
CreateCompilation
(source).VerifyDiagnostics(
6762
CreateCompilation
(source).VerifyDiagnostics(
6828
CreateCompilation
(source).VerifyDiagnostics(
6929
var comp =
CreateCompilation
(source);
6979
CreateCompilation
(source).VerifyDiagnostics(
7014
CreateCompilation
(source).VerifyDiagnostics(
7049
var comp =
CreateCompilation
(source);
7091
CreateCompilation
(source).VerifyDiagnostics(
7129
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7176
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7204
var comp =
CreateCompilation
(source);
7241
CreateCompilation
(source).VerifyDiagnostics(
7274
CreateCompilation
(source).VerifyDiagnostics();
7324
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7482
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
7698
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
7851
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8011
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8548
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8583
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8627
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8677
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8742
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8807
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8846
CreateCompilation
(source1, options: TestOptions.ReleaseDll).VerifyDiagnostics(
8848
CreateCompilation
(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8961
var compilation =
CreateCompilation
(source);
9715
CreateCompilation
(source).VerifyDiagnostics(
10222
CreateCompilation
(source).VerifyDiagnostics(
11218
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
11279
var compilation =
CreateCompilation
(source)
11328
var compilation =
CreateCompilation
(source);
11403
var comp =
CreateCompilation
(source);
11453
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
11475
var comp =
CreateCompilation
(code);
11496
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
11519
var comp =
CreateCompilation
(code);
11542
var comp =
CreateCompilation
(code);
11566
var comp =
CreateCompilation
(code);
Semantics\OutVarTests.cs (151)
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,
19624
var compilation =
CreateCompilation
(text,
19671
var compilation =
CreateCompilation
(text,
19714
var compilation =
CreateCompilation
(text,
19753
var compilation =
CreateCompilation
(text,
19794
var compilation =
CreateCompilation
(source,
19823
var compilation =
CreateCompilation
(text,
19856
var compilation =
CreateCompilation
(text,
19889
var compilation =
CreateCompilation
(text,
19924
var compilation =
CreateCompilation
(text,
19959
var compilation =
CreateCompilation
(text,
19990
var compilation =
CreateCompilation
(text,
20028
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20168
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, references: new[] { CSharpRef });
20188
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
20208
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20236
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20344
var compilation =
CreateCompilation
(source2, references: new[] { reference1 });
20528
var compilation =
CreateCompilation
(source2, references: new[] { reference1 }, options: TestOptions.DebugExe);
20599
var compilation =
CreateCompilation
(text,
20644
var compilation =
CreateCompilation
(text);
20759
var compilation =
CreateCompilation
(text,
20812
var compilation =
CreateCompilation
(text,
23018
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
32454
var compilation =
CreateCompilation
(new[] { tree });
32997
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33057
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33111
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33169
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33246
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33269
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33313
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33336
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33363
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33385
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33443
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
34178
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34284
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
34393
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34498
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.DebugExe);
34594
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35115
var compilation =
CreateCompilation
(source);
35154
var compilation =
CreateCompilation
(source);
35198
var compilation =
CreateCompilation
(source);
35229
var compilation =
CreateCompilation
(source);
35268
var compilation =
CreateCompilation
(source);
35300
var compilation =
CreateCompilation
(source);
35336
var compilation =
CreateCompilation
(source);
35375
var compilation =
CreateCompilation
(source);
35405
var compilation =
CreateCompilation
(source);
35442
var compilation =
CreateCompilation
(source);
35477
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
35600
var comp =
CreateCompilation
(source);
35633
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
35674
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35701
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35737
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35778
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35824
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35918
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36058
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36166
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36259
var compilation =
CreateCompilation
(text);
36290
var comp =
CreateCompilation
(source);
36337
var comp =
CreateCompilation
(source);
36377
var comp =
CreateCompilation
(source);
36419
var comp =
CreateCompilation
(source);
36459
var comp =
CreateCompilation
(source).VerifyDiagnostics(
36497
var comp =
CreateCompilation
(source).VerifyDiagnostics(
Semantics\OverloadResolutionPerfTests.cs (16)
234
var comp =
CreateCompilation
(source);
286
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
310
var comp =
CreateCompilation
(source);
342
var comp =
CreateCompilation
(source);
381
var comp =
CreateCompilation
(source);
408
var comp =
CreateCompilation
(source);
429
var comp =
CreateCompilation
(source);
459
var comp =
CreateCompilation
(source);
489
var comp =
CreateCompilation
(source);
520
var comp =
CreateCompilation
(source);
547
var comp =
CreateCompilation
(source);
583
var comp =
CreateCompilation
(source);
613
var comp =
CreateCompilation
(source);
649
var comp =
CreateCompilation
(source);
692
var comp =
CreateCompilation
(sourceBuilder.ToString());
783
var comp =
CreateCompilation
(source);
Semantics\OverloadResolutionTests.cs (117)
157
CreateCompilation
(source2).VerifyDiagnostics(
305
CreateCompilation
(source2).VerifyDiagnostics(
338
CreateCompilation
(source2).VerifyDiagnostics(
388
var comp =
CreateCompilation
(source2);
437
CreateCompilation
(source1).VerifyDiagnostics(
477
CreateCompilation
(source2).VerifyDiagnostics(
1167
CreateCompilation
(source2).VerifyDiagnostics(
1248
CreateCompilation
(source).VerifyDiagnostics(
1305
CreateCompilation
(source).VerifyDiagnostics(
1377
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1469
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
1492
CreateCompilation
(source).VerifyDiagnostics(
1526
CreateCompilation
(source).VerifyDiagnostics(
1545
CreateCompilation
(source).VerifyDiagnostics(
1788
CreateCompilation
(source).VerifyDiagnostics(
1822
CreateCompilation
(source).VerifyDiagnostics(
1854
CreateCompilation
(source).VerifyDiagnostics(
2005
CreateCompilation
(source).VerifyDiagnostics(
2034
CreateCompilation
(source).VerifyDiagnostics(
2079
CreateCompilation
(source).VerifyDiagnostics(
2218
CreateCompilation
(source).VerifyDiagnostics(
2301
var cCommon =
CreateCompilation
(@"
2306
var cCS =
CreateCompilation
(@"
2312
var cFinal =
CreateCompilation
(@"
2677
CreateCompilation
(source).VerifyDiagnostics();
2781
CreateCompilation
(source).VerifyDiagnostics(
2817
CreateCompilation
(source).VerifyDiagnostics(
2853
CreateCompilation
(source).VerifyDiagnostics(
2893
CreateCompilation
(source).VerifyDiagnostics(
2976
CreateCompilation
(source).VerifyDiagnostics(
3059
CreateCompilation
(source).VerifyDiagnostics(
3131
CreateCompilation
(source).VerifyDiagnostics(
3164
CreateCompilation
(source).VerifyDiagnostics(
3199
CreateCompilation
(source).VerifyDiagnostics();
3235
CreateCompilation
(source).VerifyDiagnostics(
3714
CreateCompilation
(source).VerifyDiagnostics(
5908
CreateCompilation
(source).VerifyDiagnostics(
6284
CreateCompilation
(source).VerifyDiagnostics(
6374
CreateCompilation
(source).VerifyDiagnostics(
6430
CreateCompilation
(source).VerifyDiagnostics(
6488
CreateCompilation
(source).VerifyDiagnostics(
6566
CreateCompilation
(source).VerifyDiagnostics(
6885
CreateCompilation
(source).VerifyDiagnostics(
6916
CreateCompilation
(source).VerifyDiagnostics(
7023
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7145
var comp =
CreateCompilation
(source);
7255
var comp =
CreateCompilation
(source);
7429
var comp =
CreateCompilation
(source);
7470
var comp =
CreateCompilation
(source);
7555
var comp =
CreateCompilation
(source);
7578
var comp =
CreateCompilation
(source);
7879
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7917
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7922
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
7959
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7997
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8002
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8039
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8044
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8081
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8086
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8121
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8126
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8162
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8270
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8316
var comp =
CreateCompilation
(source);
8378
var comp =
CreateCompilation
(source);
8412
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8498
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8546
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8593
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8632
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8667
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8693
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8723
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8843
var compilation =
CreateCompilation
(source1);
8928
var compilation =
CreateCompilation
(source);
9066
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9105
CreateCompilation
(source).VerifyDiagnostics(
9129
CreateCompilation
(source).VerifyDiagnostics(
9153
CreateCompilation
(source).VerifyDiagnostics(
9474
CreateCompilation
(code).VerifyDiagnostics(
9497
CreateCompilation
(code).VerifyDiagnostics(
9541
CreateCompilation
(code).VerifyDiagnostics(
9566
CreateCompilation
(code).VerifyDiagnostics(
10034
CreateCompilation
(code).VerifyDiagnostics(
10068
CreateCompilation
(code).VerifyDiagnostics(
10102
CreateCompilation
(code).VerifyDiagnostics(
10136
CreateCompilation
(code).VerifyDiagnostics(
10148
CreateCompilation
(@"
10173
CreateCompilation
(@"
10326
CreateCompilation
(code).VerifyDiagnostics(
10391
CreateCompilation
(code).VerifyDiagnostics(
10488
CreateCompilation
(code).VerifyDiagnostics(
10783
CreateCompilation
(@"
10872
CreateCompilation
(code).VerifyDiagnostics(
11020
var comp =
CreateCompilation
(code);
11047
CreateCompilation
(code).VerifyDiagnostics(
11096
CreateCompilation
(code, references: new[] { libComp.EmitToImageReference() }).VerifyDiagnostics(
11105
CreateCompilation
(code, references: new[] { libComp.ToMetadataReference() }).VerifyDiagnostics(
11136
CreateCompilation
(code).VerifyDiagnostics(
11228
CreateCompilation
(code).VerifyDiagnostics
11260
CreateCompilation
(code).VerifyDiagnostics
11324
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11328
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11329
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11330
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11373
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11377
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11378
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11379
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11423
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11427
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11428
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11429
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11464
var comp =
CreateCompilation
(source);
11492
var comp =
CreateCompilation
(source);
Semantics\PrimaryConstructorTests.cs (316)
59
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
66
comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, 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.RegularNext, options: TestOptions.ReleaseDll);
357
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
365
var comp =
CreateCompilation
(keyword + @" C(int x, string y);");
433
var comp =
CreateCompilation
(@"
469
var comp =
CreateCompilation
(src + src2);
472
comp =
CreateCompilation
(src);
473
var comp2 =
CreateCompilation
(src2, references: new[] { comp.EmitToImageReference() });
481
var comp =
CreateCompilation
(@"
507
var comp =
CreateCompilation
(@"
530
var comp =
CreateCompilation
(@"
572
var comp =
CreateCompilation
(@"
606
var comp =
CreateCompilation
(@"
662
var comp =
CreateCompilation
(@"
705
var comp =
CreateCompilation
(@"
746
var comp =
CreateCompilation
(src);
782
var comp =
CreateCompilation
(src);
818
var comp =
CreateCompilation
(src);
848
var comp =
CreateCompilation
(src);
877
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
959
var comp =
CreateCompilation
(src);
1181
var comp =
CreateCompilation
(src);
1247
var comp =
CreateCompilation
(src);
1293
var comp =
CreateCompilation
(src);
1346
var comp =
CreateCompilation
(src);
1408
var comp =
CreateCompilation
(src);
1497
var comp =
CreateCompilation
(src);
1582
var comp =
CreateCompilation
(src);
1609
var comp =
CreateCompilation
(src);
1635
var comp =
CreateCompilation
(src);
1667
var comp =
CreateCompilation
(src);
1693
var comp =
CreateCompilation
(src);
1735
var comp =
CreateCompilation
(src);
1775
var comp =
CreateCompilation
(src);
1924
var comp =
CreateCompilation
(src);
1958
var comp =
CreateCompilation
(src);
1992
var comp =
CreateCompilation
(src);
2174
var comp =
CreateCompilation
(src);
2304
var comp =
CreateCompilation
(src);
2343
var comp =
CreateCompilation
(src);
2395
var comp =
CreateCompilation
(src);
2414
var comp =
CreateCompilation
(src);
2436
var comp =
CreateCompilation
(src);
2455
var comp =
CreateCompilation
(src);
2471
var comp =
CreateCompilation
(src);
2498
var comp =
CreateCompilation
(src);
2528
var comp =
CreateCompilation
(src);
2561
var comp =
CreateCompilation
(src);
2595
var comp =
CreateCompilation
(src);
2639
var comp =
CreateCompilation
(src);
2729
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2751
var comp =
CreateCompilation
(src);
2781
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2806
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2832
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2845
var comp =
CreateCompilation
(src);
2874
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2898
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2978
var comp =
CreateCompilation
(source);
3027
var comp =
CreateCompilation
(source);
3093
var comp =
CreateCompilation
(text1);
3469
var comp =
CreateCompilation
(text1);
3547
var comp =
CreateCompilation
(text1);
3682
var comp =
CreateCompilation
(text1);
3898
var comp =
CreateCompilation
(text1);
4004
var comp =
CreateCompilation
(text1);
4212
var comp =
CreateCompilation
(text1);
4317
var comp =
CreateCompilation
(text1);
4531
var comp =
CreateCompilation
(text1);
4634
var comp =
CreateCompilation
(text1);
4873
var comp =
CreateCompilation
(text1);
4952
var comp =
CreateCompilation
(text1);
5077
var comp =
CreateCompilation
(text1);
5180
var comp =
CreateCompilation
(text1);
5236
var comp =
CreateCompilation
(text1);
5308
var comp =
CreateCompilation
(text1);
5466
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5512
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5549
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5571
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5592
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5615
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5642
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5667
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5705
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5735
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5769
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5803
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5838
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5873
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5913
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5953
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
5996
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6037
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6082
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6124
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6170
var compilation1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net60);
6190
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
6212
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6238
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6264
var comp =
CreateCompilation
(source);
6289
var comp =
CreateCompilation
(src);
6317
var comp =
CreateCompilation
(src);
6345
var comp =
CreateCompilation
(src);
6373
var comp =
CreateCompilation
(src);
6492
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
7175
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
7742
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8148
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8327
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8350
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8405
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8442
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8464
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8506
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8528
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
8559
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8864
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8894
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8924
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8977
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9000
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9022
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9132
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9171
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9206
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9249
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9291
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9322
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9362
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9394
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9430
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9469
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9508
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9544
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9580
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9619
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9658
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9701
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9733
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9769
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9805
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9856
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9900
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9944
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9987
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10030
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10072
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10117
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10152
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10179
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10217
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10244
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10282
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10317
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10349
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10380
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10423
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10466
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10498
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10541
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10584
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10764
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10815
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10928
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
10975
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11016
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe);
11042
var comp2 =
CreateCompilation
(source2);
11096
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11136
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11179
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11229
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11302
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11379
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11431
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11468
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11500
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11523
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11547
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11579
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11602
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11647
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11670
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11699
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11722
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11761
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11812
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11853
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11868
CreateCompilation
(@"
11904
CreateCompilation
(@"
11932
CreateCompilation
(@"
11958
CreateCompilation
(@"
11997
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12022
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
12041
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12068
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12100
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12132
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12166
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12204
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12248
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12281
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12318
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12379
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
12409
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12472
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
12503
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12545
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12598
CreateCompilation
(text).VerifyEmitDiagnostics();
12644
CreateCompilation
(text).VerifyEmitDiagnostics(
12713
CreateCompilation
(text).VerifyEmitDiagnostics(
12759
CreateCompilation
(text).VerifyEmitDiagnostics();
12774
CreateCompilation
(text).VerifyEmitDiagnostics(
12798
CreateCompilation
(text).VerifyEmitDiagnostics(
12844
CreateCompilation
(text).VerifyEmitDiagnostics();
12858
CreateCompilation
(text).VerifyEmitDiagnostics();
12879
CreateCompilation
(new[] { text1, text2 }).VerifyEmitDiagnostics(
12885
CreateCompilation
(new[] { text2, text1 }).VerifyEmitDiagnostics(
12920
var comp =
CreateCompilation
(source);
12957
var comp =
CreateCompilation
(source);
12990
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13031
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13180
CreateCompilation
(text).VerifyEmitDiagnostics(
13263
CreateCompilation
(text).VerifyEmitDiagnostics(
13352
var comp =
CreateCompilation
(source);
13395
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13432
var comp =
CreateCompilation
(source);
13456
var comp =
CreateCompilation
(source);
13477
var comp =
CreateCompilation
(source);
13503
var comp =
CreateCompilation
(source1 + source2);
13511
comp =
CreateCompilation
(source2 + source1);
13529
var comp =
CreateCompilation
(source);
13543
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
13573
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
13577
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
13594
var comp =
CreateCompilation
(source);
13641
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
13667
var comp =
CreateCompilation
(source);
13696
var comp =
CreateCompilation
(source);
13725
var comp =
CreateCompilation
(source);
13754
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
13781
var comp =
CreateCompilation
(source);
13818
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
13835
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
13857
var comp =
CreateCompilation
(source);
13877
var comp =
CreateCompilation
(source);
13919
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
13958
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13991
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14043
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
14074
var comp =
CreateCompilation
(source);
14108
var comp =
CreateCompilation
(source);
14142
var comp =
CreateCompilation
(source);
14176
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14208
var comp =
CreateCompilation
(source);
14250
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14272
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14299
var comp =
CreateCompilation
(source);
14324
var comp =
CreateCompilation
(source);
14371
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14415
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14431
var comp =
CreateCompilation
(source);
14457
var comp =
CreateCompilation
(source);
14479
var comp =
CreateCompilation
(source);
14498
var comp =
CreateCompilation
(source);
14525
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
14557
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
14579
var comp =
CreateCompilation
(source);
14598
var comp =
CreateCompilation
(source);
14631
var comp =
CreateCompilation
(source);
14672
var comp =
CreateCompilation
(source);
14693
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
14715
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
14736
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
14757
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
14815
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15042
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15072
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15097
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15118
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15141
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
15318
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
15353
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15396
var comp =
CreateCompilation
(src);
15426
var comp =
CreateCompilation
(source);
Semantics\QueryTests.cs (8)
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
(@"
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);
2608
var comp =
CreateCompilation
(source);
2641
var comp =
CreateCompilation
(source);
2680
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
2700
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2704
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2716
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2729
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2761
var comp =
CreateCompilation
(source);
2812
var comp =
CreateCompilation
(source);
2940
var comp =
CreateCompilation
(new[] { code, builder });
3078
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3121
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
3188
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3218
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3245
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3275
var comp =
CreateCompilation
(new[]
3305
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3359
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3410
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3432
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.RegularPreview);
3457
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3484
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3542
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3589
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3644
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3705
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3772
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
3800
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp);
3848
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3915
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
3985
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4048
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4075
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4095
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4125
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4186
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4257
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4282
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4342
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4368
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4425
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4451
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4530
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4594
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4659
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4685
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4741
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4785
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4805
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4848
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4894
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4940
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4987
var comp =
CreateCompilation
(new[]
5070
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
5099
var comp =
CreateCompilation
(@"C.M(1, $""""""
5135
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5172
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5205
var comp =
CreateCompilation
(@"C.M($""""""
5259
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5292
var comp =
CreateCompilation
(@"C.M(1, $""""""
5346
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5382
var comp =
CreateCompilation
(@"C.M(1, $""""""
5436
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5469
var comp =
CreateCompilation
(@"C.M($""""""
5523
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5556
var comp =
CreateCompilation
(@"C.M(1, $""""""
5603
var comp =
CreateCompilation
(@"C.M(1, $""""""
5650
var comp =
CreateCompilation
(@"C.M(1, $""""""
5704
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5739
var comp =
CreateCompilation
(@"C.M($""""""
5793
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5828
var comp =
CreateCompilation
(@"_ = new C($""""""
5882
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
5921
var comp =
CreateCompilation
(@"C<CustomHandler>.M($""""""
5968
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
6012
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6054
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6087
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6090
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
6141
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6147
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6152
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
6161
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
6196
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 });
6743
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6902
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7037
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7176
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7281
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7348
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7352
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
7415
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7533
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7653
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7778
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7855
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7903
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8141
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8231
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8277
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8345
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8484
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8582
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8875
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9140
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9399
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9470
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9524
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9755
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9809
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
9849
var comp =
CreateCompilation
(new[] { code, handler });
9865
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9924
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9984
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10046
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10108
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10205
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10324
var comp =
CreateCompilation
(code);
10345
var comp =
CreateCompilation
(code);
10377
var comp =
CreateCompilation
(new[] { code, customHandler });
10425
var comp =
CreateCompilation
(new[] { code, customHandler });
10466
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10499
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10536
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10587
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10638
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10683
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10734
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10790
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10883
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib45AndCSharp);
10988
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11023
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11058
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11100
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11145
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11178
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11211
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11245
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11283
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11321
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11337
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11383
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11437
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11475
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11513
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11552
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11614
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11650
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11708
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
11731
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11806
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12322
var comp =
CreateCompilation
(code);
12485
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12552
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12718
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12787
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12862
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12897
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
13176
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
13211
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13389
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13424
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13448
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
13503
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13557
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.Mscorlib45).EmitToImageReference();
1612
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1616
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib45).EmitToImageReference();
1617
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1639
var moduleMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib45).EmitToImageReference();
1640
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1644
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib45).EmitToImageReference();
1645
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1667
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib45);
1673
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib45);
1689
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib45);
1695
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib45);
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 (91)
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);
1503
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.UnsafeDebugDll);
1558
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.UnsafeDebugDll);
1610
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, 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);
3246
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3291
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3339
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3965
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3975
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
4023
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4062
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4108
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
5088
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5089
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
6868
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
7494
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
7662
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
7819
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
8218
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
8225
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
8401
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8576
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8747
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8944
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9113
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9299
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9493
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9606
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9753
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9879
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10025
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10151
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
10184
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10343
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10446
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10461
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10541
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10550
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10597
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
11197
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11209
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
11239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11246
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11253
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11265
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11272
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11279
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11291
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11298
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11305
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11317
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11324
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11331
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11353
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11360
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11375
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11382
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11389
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11404
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11411
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11418
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11436
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Semantics\RecordTests.cs (260)
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);
1247
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1302
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1354
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1416
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugExe);
1453
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll);
1719
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
2473
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2488
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2816
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2823
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3160
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4216
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4241
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_12", parseOptions: TestOptions.Regular9).EmitToImageReference();
4247
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4261
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4276
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4282
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_13", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4288
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4300
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4316
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4346
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4371
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_15", parseOptions: TestOptions.Regular9).EmitToImageReference();
4377
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4391
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4433
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4439
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_16", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4445
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4457
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4482
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4921
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
4996
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5073
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5240
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5272
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5307
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5332
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5352
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5379
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5458
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5513
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5552
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5593
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5659
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5722
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5771
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5793
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5888
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9, options: TestOptions.DebugExe);
5919
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5942
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5968
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6011
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6052
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6093
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6133
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6157
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6181
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7192
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
7305
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7325
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
7492
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7592
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7617
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
8818
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9812
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
9930
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10590
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
10721
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
10801
var comp =
CreateCompilation
(new[] { sourceA, sourceB, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
10831
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
10879
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
10963
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11034
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11124
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11336
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11550
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11786
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12075
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12201
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12286
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12365
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12470
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12527
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12582
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12600
var compA =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? sourceA : new[] { sourceA, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
12639
var compB =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? sourceB : new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest);
12691
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12725
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12908
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
12951
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13009
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13064
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13186
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13226
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13310
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13323
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13342
var compA =
CreateCompilation
(new[] { sourceA, IsExternalInitTypeDefinition }, assemblyName: "AssemblyA", parseOptions: TestOptions.Regular9);
13348
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13357
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13360
var compB2 =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB2");
13502
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
13982
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14008
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14041
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14074
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
14451
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14464
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
15724
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
15798
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
18040
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18079
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18149
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18191
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18261
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18303
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18365
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18392
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18418
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18456
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18485
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18582
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18615
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18654
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18690
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18792
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18823
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18863
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18907
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18951
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18974
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19022
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19095
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19146
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19163
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19193
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19230
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19306
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19507
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
20042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20073
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20142
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20294
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21003
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? src : new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
22535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22704
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22817
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22923
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23030
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23377
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23544
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23578
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23618
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetLatest);
23725
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23765
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23816
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
23842
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23904
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
23920
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
23940
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
24009
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24069
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24127
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24190
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24626
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24880
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24925
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24952
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24972
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25009
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25043
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25574
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.Regular9);
25622
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25664
CSharpCompilation c =
CreateCompilation
(@"
25990
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
27708
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
27913
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
27914
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
27936
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
27937
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
28126
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
28149
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test");
28263
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28314
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28349
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28379
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28408
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28439
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28472
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28518
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28556
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28603
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28650
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28698
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28746
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28798
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28851
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28908
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28958
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29016
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29073
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29194
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29220
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29227
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
29259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29294
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29319
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29347
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29385
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29423
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29454
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29464
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29527
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29558
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29579
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29592
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29627
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29656
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29659
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29677
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29704
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29742
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29765
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29802
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29860
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29913
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
29937
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
30172
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions("CS1701", ReportDiagnostic.Suppress), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
30286
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
30345
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30369
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30420
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetCoreApp);
30423
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.DesktopLatestExtended);
Semantics\RefEscapingTests.cs (53)
1354
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1485
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1519
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
4259
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
4294
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
4912
CreateCompilation
(@"
4941
CreateCompilation
(@"
4967
CreateCompilation
(@"
5009
CreateCompilation
(@"
5036
CreateCompilation
(@"
5063
CreateCompilation
(@"
5116
CreateCompilation
(@"
5146
CreateCompilation
(@"
5173
CreateCompilation
(@"
5211
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
5229
CreateCompilation
(@"
5311
var compilation =
CreateCompilation
(
5371
var compilation =
CreateCompilation
(
5484
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5551
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5600
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5645
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5699
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5744
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5791
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5845
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5889
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5930
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5979
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6016
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6060
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6136
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6186
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6239
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6311
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6373
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6429
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6502
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6575
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6632
var comp =
CreateCompilation
(source);
6685
var comp =
CreateCompilation
(source);
6721
var comp =
CreateCompilation
(source);
6765
var comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular11);
6768
comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular10);
6772
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10);
6775
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular11);
6778
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular11);
6782
comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular11);
6785
comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular10);
6788
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
6885
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
6912
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
6975
var comp =
CreateCompilation
(source);
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 (711)
84
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
96
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
125
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
149
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
166
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
174
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
196
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
210
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
235
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
243
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
270
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
284
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
311
var comp =
CreateCompilation
(sourceB, new[] { refA });
328
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
337
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib45);
369
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
393
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
424
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
505
var comp =
CreateCompilation
(sourceB, targetFramework: TargetFramework.Mscorlib40, references: new[] { refA });
540
var comp =
CreateCompilation
(sourceB, references: new[] { refA, CSharpRef });
543
comp =
CreateCompilation
("", new[] { refB });
563
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
601
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
631
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
655
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
725
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
771
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
820
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
903
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1001
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1094
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1159
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1235
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1278
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1315
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1349
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1394
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1439
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1486
var spanReference =
CreateCompilation
(SpanSource, options: TestOptions.UnsafeReleaseDll);
1487
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1542
var spanReference =
CreateCompilation
(SpanSource, options: TestOptions.UnsafeReleaseDll);
1543
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1594
var spanReference =
CreateCompilation
(SpanSource, options: TestOptions.UnsafeReleaseDll);
1595
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1650
var spanReference =
CreateCompilation
(SpanSource, options: TestOptions.UnsafeReleaseDll);
1651
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1688
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1726
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
1762
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1798
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1841
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1885
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1917
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1957
var comp =
CreateCompilation
(sourceC, new[] { refB }, targetFramework: TargetFramework.Net70);
1987
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2005
var comp =
CreateCompilation
("", references: new[] { refA, refB });
2055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2064
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2097
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
2226
var compA =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2245
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2288
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net70);
2336
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2362
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2438
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
2476
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2502
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2511
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2533
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
2584
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2600
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2639
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2695
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2731
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2781
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2826
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2829
comp =
CreateCompilation
(source);
2846
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2894
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2897
comp =
CreateCompilation
(source);
3032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3035
comp =
CreateCompilation
(source);
3138
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3141
comp =
CreateCompilation
(source);
3399
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3402
comp =
CreateCompilation
(source);
3453
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3456
comp =
CreateCompilation
(source);
3499
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3502
comp =
CreateCompilation
(source);
3617
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3620
comp =
CreateCompilation
(source);
3732
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3735
comp =
CreateCompilation
(source);
3817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3820
comp =
CreateCompilation
(source);
4003
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4006
comp =
CreateCompilation
(source);
4032
var comp =
CreateCompilation
(source);
4076
var comp =
CreateCompilation
(source);
4125
var comp =
CreateCompilation
(source);
4164
var comp =
CreateCompilation
(source);
4195
var comp =
CreateCompilation
(source);
4235
var comp =
CreateCompilation
(source);
4290
var comp =
CreateCompilation
(source);
4309
var comp =
CreateCompilation
(source);
4330
var comp =
CreateCompilation
(source);
4352
var comp =
CreateCompilation
(source);
4390
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4420
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4455
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4458
comp =
CreateCompilation
(source);
4500
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4503
comp =
CreateCompilation
(source);
4543
var comp =
CreateCompilation
(source);
4569
var comp =
CreateCompilation
(source);
4595
var comp =
CreateCompilation
(source);
4641
var comp =
CreateCompilation
(new[] { source });
4692
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4762
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4814
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4853
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4898
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5036
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5039
comp =
CreateCompilation
(source);
5071
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
5122
var comp =
CreateCompilation
(source);
5178
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5194
var comp =
CreateCompilation
(source);
5213
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5264
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5339
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
5377
var comp =
CreateCompilation
(source);
5430
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5460
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5499
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5567
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5599
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5652
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5684
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5736
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5782
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5822
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5868
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5989
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6234
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6394
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6639
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6723
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6796
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6846
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6921
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6982
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7066
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7153
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7191
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7272
var comp =
CreateCompilation
(source);
7312
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7337
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7377
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7402
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7461
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7505
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7567
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7611
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7673
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7717
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7785
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7829
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7888
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("peverify-compat"), targetFramework: TargetFramework.Net70);
7922
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7968
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8040
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
8068
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8125
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8194
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8231
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8268
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8313
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8363
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8432
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8503
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8566
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8640
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8703
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
8955
var comp =
CreateCompilation
(source);
9028
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9258
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9305
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9347
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9369
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
9417
var comp =
CreateCompilation
(source);
9488
var comp =
CreateCompilation
(source);
9567
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9614
var comp =
CreateCompilation
(source);
9647
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9707
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseDll);
9725
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9751
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
9790
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
9830
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
9966
var comp =
CreateCompilation
(source,
10020
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
10085
var comp =
CreateCompilation
(source);
10115
var comp =
CreateCompilation
(source,
10147
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10150
comp =
CreateCompilation
(source);
10169
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10183
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10200
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10214
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10234
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10251
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10293
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10310
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10349
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
10362
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB), options: TestOptions.UnsafeReleaseDll);
10391
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10404
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10424
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10);
10441
comp =
CreateCompilation
(sourceA);
10455
comp =
CreateCompilation
(sourceB, references: new[] { refA });
10499
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10512
comp =
CreateCompilation
(source);
10542
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10567
comp =
CreateCompilation
(source);
10613
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular10);
10641
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
10692
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10702
comp =
CreateCompilation
(source);
10730
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseExe);
10753
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
10793
var comp =
CreateCompilation
(source);
10816
var comp =
CreateCompilation
(source);
10903
var comp =
CreateCompilation
(source);
10932
var comp =
CreateCompilation
(source);
10985
var comp =
CreateCompilation
(source1, references: new[] { ref0 });
11002
var comp =
CreateCompilation
(sourceA);
11018
comp =
CreateCompilation
(sourceB, references: new[] { refA });
11056
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11097
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
11137
var comp =
CreateCompilation
(source);
11168
var comp =
CreateCompilation
(source);
11195
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11220
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11262
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11292
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11342
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11354
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11376
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11388
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11412
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11453
var comp =
CreateCompilation
(source);
11471
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
11482
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib45);
11537
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11560
comp =
CreateCompilation
(source);
11616
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
11684
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11697
comp =
CreateCompilation
(source);
11769
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11835
comp =
CreateCompilation
(source);
11986
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12165
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12240
comp =
CreateCompilation
(source);
12396
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12556
var comp =
CreateCompilation
(source);
12594
var comp =
CreateCompilation
(source);
12629
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12646
comp =
CreateCompilation
(source);
12684
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12701
comp =
CreateCompilation
(source);
12746
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12760
comp =
CreateCompilation
(source);
12796
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12807
comp =
CreateCompilation
(source);
12836
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
12860
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
12884
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
12906
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
12930
var comp =
CreateCompilation
(source);
12939
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
12994
var comp =
CreateCompilation
(source);
13003
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13070
var comp =
CreateCompilation
(source);
13079
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13141
var comp =
CreateCompilation
(source);
13150
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13206
var comp =
CreateCompilation
(source);
13245
var comp =
CreateCompilation
(source);
13279
var comp =
CreateCompilation
(source);
13307
var comp =
CreateCompilation
(source);
13321
var comp =
CreateCompilation
(source);
13335
var comp =
CreateCompilation
(source);
13353
var comp =
CreateCompilation
(source);
13370
var comp =
CreateCompilation
(source);
13388
var comp =
CreateCompilation
(source);
13411
var comp =
CreateCompilation
(source);
13433
var comp =
CreateCompilation
(source);
13467
var comp =
CreateCompilation
(source);
13507
var comp =
CreateCompilation
(source);
13546
var comp =
CreateCompilation
(source);
13587
var comp =
CreateCompilation
(source);
13629
var comp =
CreateCompilation
(source);
13670
var comp =
CreateCompilation
(source);
13731
var comp =
CreateCompilation
(source);
13809
var comp =
CreateCompilation
(source);
13845
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13854
comp =
CreateCompilation
(source);
13887
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13896
comp =
CreateCompilation
(source);
13932
var comp =
CreateCompilation
(source);
13962
var comp =
CreateCompilation
(source);
13991
var comp =
CreateCompilation
(source);
14024
var comp =
CreateCompilation
(source);
14082
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14097
comp =
CreateCompilation
(source);
14182
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
14234
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14299
comp =
CreateCompilation
(source);
14472
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
14536
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14550
comp =
CreateCompilation
(source);
14579
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
14627
var comp =
CreateCompilation
(source);
14632
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
14694
var comp =
CreateCompilation
(source);
14723
var comp =
CreateCompilation
(source);
14752
var comp =
CreateCompilation
(source);
14784
var comp =
CreateCompilation
(source);
14844
var comp =
CreateCompilation
(source);
14903
var comp =
CreateCompilation
(source);
14966
var comp =
CreateCompilation
(source);
15018
var comp =
CreateCompilation
(source);
15067
var comp =
CreateCompilation
(source);
15122
var comp =
CreateCompilation
(source);
15168
var comp =
CreateCompilation
(source);
15208
var comp =
CreateCompilation
(source);
15249
var comp =
CreateCompilation
(sourceA);
15286
var comp =
CreateCompilation
(source);
15329
var comp =
CreateCompilation
(source);
15388
var comp =
CreateCompilation
(source);
15436
var comp =
CreateCompilation
(source);
15477
var comp =
CreateCompilation
(source);
15529
var comp =
CreateCompilation
(source);
15578
var comp =
CreateCompilation
(source);
15709
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
15764
var comp =
CreateCompilation
(source);
15799
var comp =
CreateCompilation
(source);
15835
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
15878
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
15949
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
15978
var comp =
CreateCompilation
(source);
16002
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16039
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16086
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16129
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16165
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16193
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16228
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16323
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
16382
var comp =
CreateCompilation
(source);
16454
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
16486
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
16504
var comp =
CreateCompilation
(source);
16535
var comp =
CreateCompilation
(source);
16594
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
16619
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
16622
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
16659
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
16678
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
16681
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
16713
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, UnscopedRefAttributeDefinition });
16716
comp =
CreateCompilation
(new[] { sourceA, sourceB2, UnscopedRefAttributeDefinition });
16719
comp =
CreateCompilation
(new[] { sourceB2, sourceA, UnscopedRefAttributeDefinition });
16737
var comp =
CreateCompilation
(sourceA);
16758
comp =
CreateCompilation
(sourceB, references: new[] { refA });
16792
var comp =
CreateCompilation
(sourceA);
16815
comp =
CreateCompilation
(sourceB, references: new[] { refA });
16842
var comp =
CreateCompilation
(sourceA);
16865
comp =
CreateCompilation
(sourceB, references: new[] { refA });
16892
var comp =
CreateCompilation
(sourceA);
16919
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
16957
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
16987
var comp =
CreateCompilation
(sourceA);
17010
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
17038
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
17061
var comp =
CreateCompilation
(sourceA);
17075
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17093
var comp =
CreateCompilation
(source);
17116
var comp =
CreateCompilation
(source);
17140
var comp =
CreateCompilation
(source);
17179
var comp =
CreateCompilation
(source);
17228
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17264
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17290
var comp =
CreateCompilation
(source);
17310
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
17329
var comp =
CreateCompilation
(source);
17354
var comp =
CreateCompilation
(source);
17386
var comp =
CreateCompilation
(source);
17430
var comp =
CreateCompilation
(source);
17455
var comp =
CreateCompilation
(source);
17474
var comp =
CreateCompilation
(source);
17504
var comp =
CreateCompilation
(source);
17526
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
17550
var comp =
CreateCompilation
(source);
17569
var comp =
CreateCompilation
(source);
17626
var comp =
CreateCompilation
(source);
17657
var comp =
CreateCompilation
(source);
17700
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
17750
var comp =
CreateCompilation
(source);
17769
var comp =
CreateCompilation
(source);
17810
var comp =
CreateCompilation
(source);
17845
var comp =
CreateCompilation
(source);
17889
var comp =
CreateCompilation
(source);
17933
var comp =
CreateCompilation
(source);
17977
var comp =
CreateCompilation
(source);
18012
var comp =
CreateCompilation
(source);
18048
var comp =
CreateCompilation
(source);
18083
var comp =
CreateCompilation
(source);
18113
var comp =
CreateCompilation
(source);
18134
var comp =
CreateCompilation
(source);
18155
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18170
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18193
var comp =
CreateCompilation
(source);
18212
var comp =
CreateCompilation
(source);
18248
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
18277
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
18300
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
18355
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18381
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18411
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18446
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18472
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18515
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18543
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18581
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18625
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18678
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18725
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18773
var comp =
CreateCompilation
(source);
18864
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19027
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19122
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19203
var comp =
CreateCompilation
(source);
19245
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19301
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19343
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19372
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19393
var comp =
CreateCompilation
(source);
19432
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19489
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19554
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19580
var comp =
CreateCompilation
(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
19611
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
19614
comp =
CreateCompilation
(source);
19649
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
19652
comp =
CreateCompilation
(source);
19680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
19702
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
19749
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19777
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
19784
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
19805
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
19807
var comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
19820
comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
19866
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
19912
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19937
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19967
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19991
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20013
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20036
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20056
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20080
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20111
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20138
var comp =
CreateCompilation
(source);
20165
var comp =
CreateCompilation
(source);
20192
var comp =
CreateCompilation
(source);
20219
var comp =
CreateCompilation
(source);
20249
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20276
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20297
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20326
var comp =
CreateCompilation
(source);
20350
var comp =
CreateCompilation
(source);
20382
var comp =
CreateCompilation
(source);
20408
var comp =
CreateCompilation
(source);
20434
var comp =
CreateCompilation
(source);
20468
var comp =
CreateCompilation
(source);
20502
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
20528
var comp =
CreateCompilation
(source);
20551
var comp =
CreateCompilation
(source);
20583
var comp =
CreateCompilation
(source);
20616
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20668
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20701
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20736
var comp =
CreateCompilation
(source);
20759
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20791
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
20913
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
20915
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20955
var comp =
CreateCompilation
(source);
20987
var comp =
CreateCompilation
(source);
21014
var comp =
CreateCompilation
(source);
21072
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21134
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21205
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21245
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21321
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21346
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21373
comp =
CreateCompilation
(source);
21414
comp =
CreateCompilation
(source);
21437
comp =
CreateCompilation
(source);
21460
comp =
CreateCompilation
(source);
21486
comp =
CreateCompilation
(source);
21504
comp =
CreateCompilation
(source);
21534
comp =
CreateCompilation
(source);
21561
comp =
CreateCompilation
(source);
21590
comp =
CreateCompilation
(source);
21615
comp =
CreateCompilation
(source);
21655
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
21662
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
21676
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
21679
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
21711
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
21724
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
21744
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
21754
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
21771
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
21778
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
21799
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
21826
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
21845
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
21863
comp =
CreateCompilation
(sourceB, references: new[] { refA });
21905
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
21944
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
21963
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
21981
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22009
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition });
22040
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22073
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22109
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22144
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
22189
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22229
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22259
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22280
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22324
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
22348
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib45);
22399
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22412
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
22437
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22455
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22485
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22512
var comp =
CreateCompilation
(source);
22545
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
22565
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.Net70);
22612
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net70);
22655
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
22748
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
22768
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
22799
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22832
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22855
comp =
CreateCompilation
(sourceB, references: new[] { refA });
22905
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22971
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23058
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23108
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23141
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23169
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23200
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23238
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23279
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23323
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23353
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23389
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23426
var comp =
CreateCompilation
(source);
23478
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23542
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23603
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23641
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
23674
var comp =
CreateCompilation
(source);
23717
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
23758
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
23847
var comp =
CreateCompilation
(sourceB, new[] { refA });
23949
var comp =
CreateCompilation
(sourceB, new[] { refA });
24057
var comp =
CreateCompilation
(sourceB, new[] { refA });
24095
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseDll);
24123
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24160
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24166
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24196
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24244
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
24250
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24286
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
24343
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24356
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24394
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24415
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24453
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24464
comp =
CreateCompilation
(sourceB, references: new[] { refA });
24483
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24500
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24521
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24542
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24580
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
24598
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular10);
24625
comp =
CreateCompilation
(new[] { sourceB2, UnscopedRefAttributeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular);
24658
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
24676
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24729
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
24756
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
24845
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular);
24871
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24892
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24917
comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
24989
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25066
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25140
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25184
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25211
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25249
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25321
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
25376
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25427
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
25460
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
25504
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25566
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25611
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
25661
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
25707
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
25746
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
25777
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: targetFramework);
26026
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26078
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26130
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
26220
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26257
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26277
comp =
CreateCompilation
(source);
26347
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26367
comp =
CreateCompilation
(source);
26431
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26469
comp =
CreateCompilation
(source);
26532
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26570
comp =
CreateCompilation
(source);
26636
var comp =
CreateCompilation
(source);
26641
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
26696
var comp =
CreateCompilation
(source);
26701
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
26750
var comp =
CreateCompilation
(source);
26769
var comp =
CreateCompilation
(source);
26790
var comp =
CreateCompilation
(source);
26809
var comp =
CreateCompilation
(source);
26844
var comp =
CreateCompilation
(source);
26891
var comp =
CreateCompilation
(source);
26921
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26930
comp =
CreateCompilation
(source);
26969
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
26978
comp =
CreateCompilation
(source);
27023
var comp =
CreateCompilation
(source);
27062
var comp =
CreateCompilation
(source);
27149
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27228
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27344
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
27424
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27493
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
27537
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27562
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeReleaseExe);
27596
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27625
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27654
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27686
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27721
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27753
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
27795
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
27827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27868
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
27915
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27944
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27978
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28006
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28028
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28072
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
28211
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28243
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28272
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28312
var comp =
CreateCompilation
(source);
28369
var comp =
CreateCompilation
(source);
28431
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28508
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28578
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28638
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28673
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28711
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28741
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28786
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29039
var comp =
CreateCompilation
(source);
29145
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29182
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29220
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29242
var comp =
CreateCompilation
(source);
29269
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
29297
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
29339
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
29495
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
29546
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
Semantics\RefLocalsAndReturnsTests.cs (101)
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
(@"
1034
CreateCompilation
(@"
1056
var comp =
CreateCompilation
(tree);
1066
var comp =
CreateCompilation
(@"
1084
var comp =
CreateCompilation
(@"
1102
var comp =
CreateCompilation
(@"
1119
var comp =
CreateCompilation
(@"
1141
var comp =
CreateCompilation
(@"
1160
var comp =
CreateCompilation
(@"
1182
var comp =
CreateCompilation
(@"
1221
var comp =
CreateCompilation
(@"
1241
var comp =
CreateCompilation
(@"
1272
var comp =
CreateCompilation
(@"
1303
var comp =
CreateCompilation
(@"
1327
var comp =
CreateCompilation
(@"
1351
var comp =
CreateCompilation
(@"
1375
var comp =
CreateCompilation
(@"
1410
var comp =
CreateCompilation
(@"
1428
var comp =
CreateCompilation
(@"
1464
var comp =
CreateCompilation
(@"
1504
var comp =
CreateCompilation
(@"
1544
var comp =
CreateCompilation
(text);
1568
var comp =
CreateCompilation
(text);
1589
var comp =
CreateCompilation
(text);
1633
var comp =
CreateCompilation
(text);
1674
var comp =
CreateCompilation
(text);
1747
var comp =
CreateCompilation
(text);
1801
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
1855
var comp =
CreateCompilation
(text);
1897
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef, SystemCoreRef });
1948
var comp =
CreateCompilation
(text);
2065
var comp =
CreateCompilation
(text);
2164
var comp =
CreateCompilation
(text);
2272
var comp =
CreateCompilation
(text);
2345
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2428
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2522
var comp =
CreateCompilation
(text);
2855
CreateCompilation
(code).VerifyDiagnostics(
2890
CreateCompilation
(code).VerifyDiagnostics(
3050
CreateCompilation
(code).VerifyDiagnostics(
3091
CreateCompilation
(code).VerifyDiagnostics(
4153
CreateCompilation
(@"
4170
CreateCompilation
(@"
4189
CreateCompilation
(@"
4222
CreateCompilation
(@"
4255
CreateCompilation
(@"
4278
CreateCompilation
(@"
4308
CreateCompilation
(@"
4325
CreateCompilation
(@"
4342
var compilation =
CreateCompilation
(@"
4370
var compilation =
CreateCompilation
(@"
4398
var compilation =
CreateCompilation
(@"
4426
var compilation =
CreateCompilation
(@"
4454
var compilation =
CreateCompilation
(@"
4482
var compilation =
CreateCompilation
(@"
4510
var compilation =
CreateCompilation
(@"
4747
CreateCompilation
(code).VerifyEmitDiagnostics(
4772
CreateCompilation
(code).VerifyEmitDiagnostics(
4798
var comp =
CreateCompilation
(code).VerifyEmitDiagnostics(
4844
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
4883
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 (536)
102
CreateCompilation
(text).
149
CreateCompilation
(text).VerifyDiagnostics(
189
CreateCompilation
(text).VerifyDiagnostics(
213
CreateCompilation
(text).VerifyDiagnostics(
246
CreateCompilation
(text).VerifyDiagnostics(
284
CreateCompilation
(text).VerifyDiagnostics(
339
CreateCompilation
(text).VerifyDiagnostics(
387
CreateCompilation
(text).VerifyDiagnostics(
446
CreateCompilation
(text).VerifyDiagnostics(
472
CreateCompilation
(text).VerifyDiagnostics(
498
CreateCompilation
(text).VerifyDiagnostics(
562
CreateCompilation
(text).VerifyDiagnostics(
637
CreateCompilation
(text).VerifyDiagnostics(
806
CreateCompilation
(text).VerifyDiagnostics(
874
CreateCompilation
(text).VerifyDiagnostics(
941
CreateCompilation
(text).VerifyDiagnostics(
986
CreateCompilation
(text).VerifyDiagnostics(
1005
CreateCompilation
(text).VerifyDiagnostics(
1025
CreateCompilation
(text).VerifyDiagnostics(
1043
CreateCompilation
(text).VerifyDiagnostics(
1074
CreateCompilation
(text).VerifyDiagnostics(
1120
CreateCompilation
(text).VerifyDiagnostics(
1154
CreateCompilation
(text).VerifyDiagnostics(
1173
CreateCompilation
(text).VerifyDiagnostics(
1190
CreateCompilation
(text).VerifyDiagnostics(
1208
CreateCompilation
(text).VerifyDiagnostics(
1227
CreateCompilation
(text).VerifyDiagnostics(
1271
CreateCompilation
(text).VerifyDiagnostics(
1299
CreateCompilation
(text).VerifyDiagnostics(
1349
CreateCompilation
(text).VerifyDiagnostics(
1449
CreateCompilation
(source).VerifyDiagnostics(
1474
CreateCompilation
(source).VerifyDiagnostics(
1494
CreateCompilation
(text).VerifyDiagnostics(
1514
CreateCompilation
(text).VerifyDiagnostics(
1534
CreateCompilation
(text).VerifyDiagnostics(
1554
CreateCompilation
(text).VerifyDiagnostics(
1575
CreateCompilation
(text).VerifyDiagnostics(
1595
CreateCompilation
(text).VerifyDiagnostics(
1615
CreateCompilation
(text).VerifyDiagnostics(
1635
CreateCompilation
(text).VerifyDiagnostics(
1655
CreateCompilation
(text).VerifyDiagnostics(
1675
CreateCompilation
(text).VerifyDiagnostics(
1695
var diagnostics =
CreateCompilation
(text).GetDiagnostics();
1731
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoExplicitConv, "foreach").WithArguments("int[]", "int"));
1743
CreateCompilation
(text).VerifyDiagnostics(
1775
CreateCompilation
(text).VerifyDiagnostics(
1878
CreateCompilation
(text3).VerifyDiagnostics();
1939
CreateCompilation
(text).VerifyDiagnostics(
1977
CreateCompilation
(text).VerifyDiagnostics(
2007
CreateCompilation
(source).VerifyDiagnostics(
2051
CreateCompilation
(source).VerifyDiagnostics(
2088
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_ValueCantBeNull, "(MyEnum)null").WithArguments("Program.MyEnum").WithLocation(12, 20));
2117
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(new Dictionary<string, ReportDiagnostic>()
2155
CreateCompilation
(text).VerifyDiagnostics(
2176
CreateCompilation
(text).VerifyDiagnostics(
2201
CreateCompilation
(text).VerifyDiagnostics(
2217
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2360
CreateCompilation
(text).VerifyDiagnostics(
2394
CreateCompilation
(text).VerifyDiagnostics(
2414
CreateCompilation
(text).VerifyDiagnostics(
2427
CreateCompilation
(
2447
CreateCompilation
(@"
2489
CreateCompilation
(source).VerifyDiagnostics(
2504
CreateCompilation
(
2539
CreateCompilation
(source).VerifyDiagnostics(
2565
CreateCompilation
(source).VerifyDiagnostics(
2585
CreateCompilation
(
2614
CreateCompilation
(source).VerifyDiagnostics(
2627
CreateCompilation
(source).VerifyDiagnostics(
2643
CreateCompilation
(source).VerifyDiagnostics(
2655
CreateCompilation
(source).VerifyDiagnostics(
2667
CreateCompilation
(source).VerifyDiagnostics(
2683
CreateCompilation
(source).VerifyDiagnostics(
2700
CreateCompilation
(source).VerifyDiagnostics(
2719
CreateCompilation
(source).VerifyDiagnostics(
2731
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2795
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2815
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2831
CreateCompilation
(
2851
CreateCompilation
(
2890
CreateCompilation
(
2931
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
2939
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
2953
CreateCompilation
(
2977
CreateCompilation
(
3042
CreateCompilation
(
3081
CreateCompilation
(
3174
CreateCompilation
(text).VerifyDiagnostics(
3198
CreateCompilation
(text).VerifyDiagnostics(
3225
CreateCompilation
(text).VerifyDiagnostics(
3253
var comp =
CreateCompilation
(text);
3291
CreateCompilation
(text).VerifyDiagnostics(
3325
var compilation =
CreateCompilation
(tree);
3385
CreateCompilation
(text).VerifyDiagnostics(
3406
CreateCompilation
(text).VerifyDiagnostics(
3449
CreateCompilation
(text).VerifyDiagnostics(
3480
CreateCompilation
(text).VerifyDiagnostics(
3532
CreateCompilation
(text).VerifyDiagnostics(
3560
CreateCompilation
(source).VerifyDiagnostics(
3631
CreateCompilation
(source).VerifyDiagnostics(
3654
CreateCompilation
(source).VerifyDiagnostics(
3676
CreateCompilation
(text).VerifyDiagnostics(
3697
CreateCompilation
(text).
3711
CreateCompilation
(
3753
CreateCompilation
(source).VerifyDiagnostics(
3805
CreateCompilation
(source).VerifyDiagnostics(
3843
CreateCompilation
(source).VerifyDiagnostics(
3871
CreateCompilation
(source).VerifyDiagnostics(
3896
CreateCompilation
(source).VerifyDiagnostics(
4004
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3);
4019
comp =
CreateCompilation
(text);
4037
CreateCompilation
(
4072
CreateCompilation
(
4141
var comp =
CreateCompilation
(text);
4177
var comp =
CreateCompilation
(text);
4205
var comp =
CreateCompilation
(text);
4263
CreateCompilation
(test).VerifyDiagnostics(
4295
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
4332
CreateCompilation
(text).VerifyDiagnostics(
4351
var comp =
CreateCompilation
(text);
4377
var comp =
CreateCompilation
(text);
4387
CreateCompilation
(
4436
CreateCompilation
(source).VerifyDiagnostics(
4461
CreateCompilation
(source).VerifyDiagnostics(
4477
CreateCompilation
(source).VerifyDiagnostics(
4486
CreateCompilation
(
4517
CreateCompilation
(
4555
var compilation1 =
CreateCompilation
(source1);
4568
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
4597
CreateCompilation
(text).VerifyDiagnostics(
4626
CreateCompilation
(text).VerifyDiagnostics(
4655
CreateCompilation
(text).VerifyDiagnostics(
4683
CreateCompilation
(text).VerifyDiagnostics(
4729
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4735
CreateCompilation
(text).VerifyDiagnostics(
4757
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4760
CreateCompilation
(text).VerifyDiagnostics(); // dynamic conversion to Exception
4786
CreateCompilation
(text).VerifyDiagnostics(
4901
CreateCompilation
(text).VerifyDiagnostics(
4994
CreateCompilation
(text).VerifyDiagnostics(
5076
CreateCompilation
(text).VerifyDiagnostics(
5122
CreateCompilation
(text).
5146
CreateCompilation
(text).
5202
CreateCompilation
(text).
5251
CreateCompilation
(text).VerifyDiagnostics(
5278
CreateCompilation
(text).
5301
CreateCompilation
(text).
5328
CreateCompilation
(text).
5350
CreateCompilation
(text).
5399
CreateCompilation
(text).
5431
CreateCompilation
(text).
5467
CreateCompilation
(text).
5505
CreateCompilation
(text).VerifyDiagnostics(
5534
CreateCompilation
(text).VerifyDiagnostics(
5562
CreateCompilation
(text).VerifyDiagnostics(
5595
CreateCompilation
(text).VerifyDiagnostics(
5622
CreateCompilation
(text).VerifyDiagnostics(
5648
CreateCompilation
(text).VerifyDiagnostics(
5670
CreateCompilation
(text).VerifyDiagnostics(
5692
CreateCompilation
(text).VerifyDiagnostics(
5716
CreateCompilation
(text).VerifyDiagnostics(
5740
CreateCompilation
(text).VerifyDiagnostics(
5765
CreateCompilation
(text).VerifyDiagnostics(
5792
CreateCompilation
(text).VerifyDiagnostics(
5825
CreateCompilation
(text).VerifyDiagnostics(
5858
CreateCompilation
(text).VerifyDiagnostics(
5894
CreateCompilation
(source).VerifyDiagnostics(
5926
CreateCompilation
(source).VerifyDiagnostics(
6162
CreateCompilation
(
6203
CreateCompilation
(
6306
CreateCompilation
(
6340
CreateCompilation
(
6359
CreateCompilation
(
6379
CreateCompilation
(
6465
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
6513
var comp =
CreateCompilation
(text);
6544
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
6575
CreateCompilation
(text).VerifyDiagnostics(
6594
CreateCompilation
(text).
6614
CreateCompilation
(text).VerifyDiagnostics(
6641
CreateCompilation
(text).VerifyDiagnostics(
6683
CreateCompilation
(text).VerifyDiagnostics(
6706
CreateCompilation
(text).VerifyDiagnostics(
6728
CreateCompilation
(source).VerifyDiagnostics(
6752
CreateCompilation
(source).VerifyDiagnostics(
6784
CreateCompilation
(source).VerifyDiagnostics(
6812
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45).VerifyDiagnostics(
6836
CreateCompilation
(source).VerifyDiagnostics(
6866
CreateCompilation
(text).VerifyDiagnostics(
6888
CreateCompilation
(text).VerifyDiagnostics(
6949
CreateCompilation
(text).
6981
CreateCompilation
(text, parseOptions: TestOptions.Regular10).
7235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45);
7336
CreateCompilation
(source).Emit(new System.IO.MemoryStream()).Diagnostics
7383
CreateCompilation
(source).VerifyDiagnostics(
7478
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7567
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
7572
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
7639
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics();
7691
CreateCompilation
(source).VerifyDiagnostics(
7721
CreateCompilation
(source).VerifyDiagnostics(
7742
CreateCompilation
(source).VerifyDiagnostics(
7757
CreateCompilation
(source).VerifyDiagnostics(
7765
CreateCompilation
(
7797
var compilation1 =
CreateCompilation
(source1);
7810
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
7836
CreateCompilation
(text).VerifyDiagnostics(
7855
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithTuplesFeature()).VerifyDiagnostics(
7888
var comp =
CreateCompilation
(new[] { Parse(test, options: TestOptions.Regular6) }, new MetadataReference[] { });
8032
CreateCompilation
(text).VerifyDiagnostics(
8061
CreateCompilation
(text).VerifyDiagnostics(
8091
CreateCompilation
(text).VerifyDiagnostics(
8140
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8233
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8269
CreateCompilation
(text).VerifyDiagnostics(
8304
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8329
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8358
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8397
var comp =
CreateCompilation
(text);
8421
CreateCompilation
(text).VerifyDiagnostics(
8440
CreateCompilation
(text).VerifyDiagnostics(
8462
CreateCompilation
(text).VerifyDiagnostics(
8502
CreateCompilation
(text).VerifyDiagnostics(
8584
CreateCompilation
(text).VerifyDiagnostics(
8665
var comp =
CreateCompilation
(text);
8754
CreateCompilation
(
8778
CreateCompilation
(
8809
CreateCompilation
(
8850
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8886
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8916
CreateCompilation
(text).VerifyDiagnostics(
8925
CreateCompilation
(@"
8949
CreateCompilation
(@"
8975
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8997
CreateCompilation
(text).VerifyDiagnostics(
9039
CreateCompilation
(text).VerifyDiagnostics(
9075
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9099
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9123
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9158
CreateCompilation
(source).VerifyDiagnostics(
9176
CreateCompilation
(source).VerifyDiagnostics(
9201
CreateCompilation
(source).VerifyDiagnostics(
9226
CreateCompilation
(source).VerifyDiagnostics(
9242
CreateCompilation
(source).VerifyDiagnostics(
9253
CreateCompilation
(source).VerifyDiagnostics();
9264
CreateCompilation
(source).VerifyDiagnostics();
9281
CreateCompilation
(source).VerifyDiagnostics(
9307
CreateCompilation
(source).VerifyDiagnostics(
9325
CreateCompilation
(text).
9347
CreateCompilation
(text).VerifyDiagnostics(
9373
CreateCompilation
(text).
9399
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
9417
CreateCompilation
(source).VerifyDiagnostics(
9478
CreateCompilation
(source).VerifyDiagnostics(
9508
CreateCompilation
(source).VerifyDiagnostics(
9534
CreateCompilation
(source).VerifyDiagnostics(
9570
CreateCompilation
(source).VerifyDiagnostics(
9582
CreateCompilation
(
9639
CreateCompilation
(source).VerifyDiagnostics(
9675
CreateCompilation
(source).VerifyDiagnostics(
9683
CreateCompilation
(
9731
CreateCompilation
(source).VerifyDiagnostics(
9769
CreateCompilation
(source).VerifyDiagnostics(
9801
CreateCompilation
(source).VerifyDiagnostics(
9820
CreateCompilation
(text).VerifyDiagnostics(
9864
CreateCompilation
(text).VerifyDiagnostics(
10105
CreateCompilation
(text).VerifyDiagnostics(
10170
CreateCompilation
(text).VerifyDiagnostics(
10193
CreateCompilation
(source).VerifyDiagnostics(
10208
CreateCompilation
(source).VerifyDiagnostics(
10218
CreateCompilation
(source).VerifyDiagnostics(
10235
CreateCompilation
(source).VerifyDiagnostics(
10268
CreateCompilation
(source).VerifyDiagnostics(
10291
CreateCompilation
(source).VerifyDiagnostics(
10316
CreateCompilation
(source).VerifyDiagnostics(
10338
CreateCompilation
(source).VerifyDiagnostics(
10353
CreateCompilation
(source).VerifyDiagnostics(
10364
CreateCompilation
(source).VerifyDiagnostics(
10387
CreateCompilation
(source).VerifyDiagnostics(
10418
CreateCompilation
(text).VerifyDiagnostics(
10459
CreateCompilation
(source).VerifyDiagnostics(
10531
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10536
CreateCompilation
(text).VerifyDiagnostics(
10561
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10569
CreateCompilation
(text).VerifyDiagnostics(
10609
CreateCompilation
(text).VerifyDiagnostics(
10650
CreateCompilation
(text).VerifyDiagnostics(
10712
CreateCompilation
(source).VerifyDiagnostics(
10742
CreateCompilation
(source).VerifyDiagnostics(
10765
CreateCompilation
(source).VerifyDiagnostics(
10822
CreateCompilation
(text).VerifyDiagnostics(
10893
CreateCompilation
(code).VerifyDiagnostics(
10928
CreateCompilation
(text).VerifyDiagnostics(
10957
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
10995
CreateCompilation
(text).VerifyDiagnostics(
11036
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(noWarns)).VerifyDiagnostics(
11066
CreateCompilation
(text).VerifyDiagnostics(
11081
CreateCompilation
(text).VerifyDiagnostics(
11106
CreateCompilation
(text).VerifyDiagnostics(
11158
CreateCompilation
(text).VerifyDiagnostics(
11180
CreateCompilation
(source).VerifyDiagnostics(
11200
CreateCompilation
(source).VerifyDiagnostics(
11225
CreateCompilation
(source).VerifyDiagnostics(
11265
CreateCompilation
(source).VerifyDiagnostics(
11314
CreateCompilation
(source).VerifyDiagnostics(
11358
CreateCompilation
(source).VerifyDiagnostics(
11403
CreateCompilation
(source).VerifyDiagnostics();
11409
var compilation =
CreateCompilation
(
11445
CreateCompilation
(source).VerifyDiagnostics(
11507
CreateCompilation
(test).VerifyDiagnostics(
11524
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib45);
11549
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib45);
11585
CreateCompilation
(text).VerifyDiagnostics(
11625
var compilation =
CreateCompilation
(
11663
var compilation =
CreateCompilation
(text);
11682
CreateCompilation
(@"
11722
CreateCompilation
(text).VerifyDiagnostics(
11752
CreateCompilation
(text).VerifyDiagnostics(
11840
CreateCompilation
(code).VerifyDiagnostics(
11848
CreateCompilation
(
11913
CreateCompilation
(text).VerifyDiagnostics(
11961
CreateCompilation
(text).VerifyDiagnostics(
11984
CreateCompilation
(text).VerifyDiagnostics(
12062
CreateCompilation
(@"
12228
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12252
var comp =
CreateCompilation
(text);
12737
CreateCompilation
(text).VerifyDiagnostics(
12760
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
12788
CreateCompilation
(
12811
CreateCompilation
(
12835
CreateCompilation
(
12926
CreateCompilation
(text, parseOptions: TestOptions.Regular10)
12960
var comp =
CreateCompilation
(text);
13026
CreateCompilation
(text).VerifyDiagnostics(
13182
CreateCompilation
(text).VerifyDiagnostics(
13269
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13321
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13404
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13455
CreateCompilation
(text).VerifyDiagnostics(
13504
CreateCompilation
(text).VerifyDiagnostics(
13559
CreateCompilation
(source).VerifyDiagnostics(
13568
CreateCompilation
(
13597
CreateCompilation
(
13800
CreateCompilation
(source, references: new[] { Net40.SystemCore }).VerifyDiagnostics(
13896
CreateCompilation
(text).VerifyDiagnostics(
13921
CreateCompilation
(source).VerifyDiagnostics(
13948
CreateCompilation
(source).VerifyDiagnostics(
13980
CreateCompilation
(source).VerifyDiagnostics(
14047
CreateCompilation
(text).VerifyDiagnostics(
14073
CreateCompilation
(text).VerifyDiagnostics(
14101
CreateCompilation
(text).VerifyDiagnostics(
14129
CreateCompilation
(text).VerifyDiagnostics(
14159
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
14220
CreateCompilation
(text).VerifyDiagnostics(
14281
CreateCompilation
(
14301
CreateCompilation
(
14317
CreateCompilation
(
14344
CreateCompilation
(
14395
CreateCompilation
(
14511
CreateCompilation
(text).VerifyDiagnostics(
14625
CreateCompilation
(text).
14703
CreateCompilation
(text).VerifyDiagnostics(
14725
CreateCompilation
(text).
14778
CreateCompilation
(text).VerifyDiagnostics(
14798
CreateCompilation
(text).
14848
CreateCompilation
(text).VerifyDiagnostics(
14874
CreateCompilation
(text).VerifyDiagnostics(
14952
CreateCompilation
(source).VerifyDiagnostics(
14998
CreateCompilation
(text).VerifyDiagnostics(
15027
CreateCompilation
(text).VerifyDiagnostics(
15077
var comp =
CreateCompilation
(text);
15105
var comp =
CreateCompilation
(text);
15141
var comp =
CreateCompilation
(text);
15197
var comp =
CreateCompilation
(text);
15232
var comp =
CreateCompilation
(text);
15283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15327
var comp =
CreateCompilation
(text);
15356
var comp =
CreateCompilation
(text);
15382
var comp =
CreateCompilation
(text);
15403
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15491
CreateCompilation
(text).
15515
CreateCompilation
(text).VerifyDiagnostics(
15536
CreateCompilation
(text).
15604
CreateCompilation
(text).VerifyDiagnostics(
15633
CreateCompilation
(text).VerifyDiagnostics(
15664
CreateCompilation
(text).VerifyDiagnostics(
15705
CreateCompilation
(text).VerifyDiagnostics(
15735
CreateCompilation
(text).VerifyDiagnostics(
15770
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15788
CreateCompilation
(text).VerifyDiagnostics(
15813
CreateCompilation
(text).
15836
CreateCompilation
(text).VerifyDiagnostics(
15895
CreateCompilation
(text).VerifyDiagnostics(
15948
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
15988
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
16087
CreateCompilation
(source).VerifyDiagnostics(
16108
CreateCompilation
(source).VerifyDiagnostics(
16227
CreateCompilation
(text).VerifyDiagnostics(
16249
var compilation =
CreateCompilation
(text);
16277
var compilation =
CreateCompilation
(text);
16335
CreateCompilation
(text).VerifyDiagnostics(
16364
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16394
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16423
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16448
CreateCompilation
(text).VerifyDiagnostics(
16495
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16529
var comp =
CreateCompilation
(text);
16572
var compilation =
CreateCompilation
(text);
16668
var comp =
CreateCompilation
(text);
16687
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
16746
var compilation = CSharpTestBase.
CreateCompilation
(text);
16898
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
17190
var comp =
CreateCompilation
(program);
17263
CreateCompilation
(text).VerifyDiagnostics(
17491
CreateCompilation
(program).VerifyDiagnostics(
17677
var comp =
CreateCompilation
(text);
17758
CreateCompilation
(text).VerifyDiagnostics(
17890
CreateCompilation
(text).VerifyDiagnostics(
18047
CreateCompilation
(text).VerifyDiagnostics(
18147
CreateCompilation
(text).VerifyDiagnostics(
18215
CreateCompilation
(text).VerifyDiagnostics(
18284
CreateCompilation
(text).VerifyDiagnostics(
18315
CreateCompilation
(text).VerifyDiagnostics(
18338
CreateCompilation
(source).VerifyDiagnostics();
18340
CreateCompilation
(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics();
18696
CreateCompilation
(text).VerifyDiagnostics(
18719
CreateCompilation
(text).VerifyDiagnostics(
18739
CreateCompilation
(text).VerifyDiagnostics(
18770
CreateCompilation
(text).VerifyDiagnostics();
18785
CreateCompilation
(text).VerifyDiagnostics(
18812
CreateCompilation
(text).VerifyDiagnostics(
18839
CreateCompilation
(text).VerifyDiagnostics(
18876
CreateCompilation
(text).VerifyDiagnostics(
18906
CreateCompilation
(text).VerifyDiagnostics(
18939
CreateCompilation
(text).VerifyDiagnostics(
18984
CreateCompilation
(text).VerifyDiagnostics(
19010
CreateCompilation
(text).
19027
CreateCompilation
(text).
19045
CreateCompilation
(text).VerifyDiagnostics(
19068
CreateCompilation
(text).VerifyDiagnostics(
19088
CreateCompilation
(text).VerifyDiagnostics(
19105
var comp =
CreateCompilation
(text);
19134
var comp =
CreateCompilation
(text);
19167
var comp =
CreateCompilation
(text);
19250
CreateCompilation
(text).VerifyDiagnostics(
19299
CreateCompilation
(text).VerifyDiagnostics(
19344
CreateCompilation
(text).VerifyDiagnostics(
19363
CreateCompilation
(text).VerifyDiagnostics(
19381
CreateCompilation
(text).VerifyDiagnostics(
19397
CreateCompilation
(text).VerifyDiagnostics(
19415
CreateCompilation
(text).VerifyDiagnostics(
19439
CreateCompilation
(text).VerifyDiagnostics(
19460
CreateCompilation
(text).VerifyDiagnostics(
19482
CreateCompilation
(text).VerifyDiagnostics();
19502
CreateCompilation
(text).VerifyDiagnostics(
19526
CreateCompilation
(text).VerifyDiagnostics(
19586
CreateCompilation
(text).VerifyDiagnostics();
19633
CreateCompilation
(text).VerifyDiagnostics(
19667
CreateCompilation
(text).VerifyDiagnostics(
19691
CreateCompilation
(text).VerifyDiagnostics();
19709
CreateCompilation
(text).VerifyDiagnostics(
19772
CreateCompilation
(text).VerifyDiagnostics(
19807
CreateCompilation
(text).VerifyDiagnostics(
19845
CreateCompilation
(text).VerifyDiagnostics(
19867
var comp =
CreateCompilation
(text);
19883
var comp =
CreateCompilation
(text);
19948
CreateCompilation
(text).VerifyDiagnostics(
20008
CreateCompilation
(text).VerifyDiagnostics(
20038
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
20072
CreateCompilation
(text).VerifyDiagnostics();
20099
CreateCompilation
(text).VerifyDiagnostics();
20166
var comp =
CreateCompilation
(text);
20377
CreateCompilation
(text).VerifyDiagnostics(
20703
CreateCompilation
(text).VerifyDiagnostics(
20941
CreateCompilation
(text).VerifyDiagnostics(
20971
CreateCompilation
(text).
20993
CreateCompilation
(text).
21020
var comp =
CreateCompilation
(text);
21043
CreateCompilation
(text).VerifyDiagnostics(
21070
CreateCompilation
(text).VerifyDiagnostics(
21095
CreateCompilation
(text).VerifyDiagnostics();
21118
CreateCompilation
(text).VerifyDiagnostics(
21137
CreateCompilation
(text).VerifyDiagnostics(
21160
CreateCompilation
(text).VerifyDiagnostics(
21219
CreateCompilation
(text).VerifyDiagnostics(
21290
var comp =
CreateCompilation
(text);
21328
CreateCompilation
(@"
21356
CreateCompilation
(
21409
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib45, options: TestOptions.DebugExe);
21440
CreateCompilation
(text).VerifyDiagnostics(
21729
var c =
CreateCompilation
(
21907
CreateCompilation
(text).VerifyDiagnostics(
21966
CreateCompilation
(text).VerifyDiagnostics(
22001
CreateCompilation
(text).
22110
CreateCompilation
(text).VerifyDiagnostics();
22135
CreateCompilation
(text).VerifyDiagnostics(
22180
CreateCompilation
(text).VerifyDiagnostics(
22333
CreateCompilation
(text).VerifyDiagnostics(
22470
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
22493
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
22611
CreateCompilation
(text).VerifyDiagnostics(
22646
CreateCompilation
(text).VerifyDiagnostics(
22688
CreateCompilation
(text).VerifyDiagnostics(
22733
CreateCompilation
(text).VerifyDiagnostics(
22767
CreateCompilation
(text).VerifyEmitDiagnostics(
22814
var comp =
CreateCompilation
(text);
22867
CreateCompilation
(source).VerifyDiagnostics(
22891
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
22956
CreateCompilation
(source).VerifyDiagnostics(
22970
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23015
CreateCompilation
(source).VerifyDiagnostics(
23131
CreateCompilation
(text).VerifyDiagnostics(
23275
CreateCompilation
(text).VerifyDiagnostics(
23320
CreateCompilation
(text).VerifyDiagnostics(
23339
CreateCompilation
(text).VerifyDiagnostics(
23356
CreateCompilation
(text).VerifyDiagnostics(
23376
CreateCompilation
(text).VerifyDiagnostics(
23393
CreateCompilation
(text).VerifyDiagnostics(
23418
CreateCompilation
(builder.ToString(), null, TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)).VerifyEmitDiagnostics(
23440
CreateCompilation
(@"
23457
CreateCompilation
(@"
23482
CreateCompilation
(@"
23508
CreateCompilation
(@"
23551
CreateCompilation
(text).VerifyDiagnostics(
23577
CreateCompilation
(text).VerifyDiagnostics(
23595
CreateCompilation
(text).VerifyDiagnostics(
23619
CreateCompilation
(source).VerifyDiagnostics();
23641
CreateCompilation
(source).VerifyDiagnostics(
23707
CreateCompilation
(source).VerifyDiagnostics(
23773
CreateCompilation
(source).VerifyDiagnostics(
23823
CreateCompilation
(text).VerifyDiagnostics(
23853
CreateCompilation
(text).VerifyDiagnostics(
23930
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
24482
var compilation =
CreateCompilation
(text);
24629
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
24666
var comp =
CreateCompilation
(source);
Semantics\SpanStackSafetyTests.cs (6)
1104
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1137
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1226
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1602
CreateCompilation
(code).VerifyDiagnostics(
1636
CreateCompilation
(code).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (7)
1228
CreateCompilation
(@"
1262
CreateCompilation
(@"
1481
CreateCompilation
(@"
1604
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1804
CreateCompilation
(@"
2103
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2267
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
Semantics\StackAllocSpanExpressionsTests.cs (5)
195
CreateCompilation
(@"
214
CreateCompilation
(@"
405
CreateCompilation
(@"
471
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
603
CreateCompilation
(@"
Semantics\StructConstructorTests.cs (72)
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.Mscorlib45);
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);
Semantics\StructsTests.cs (13)
29
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
58
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
66
CreateCompilation
(text).VerifyDiagnostics(
85
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
93
CreateCompilation
(text).VerifyDiagnostics();
116
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
569
CreateCompilation
(csSource).VerifyDiagnostics(
595
CreateCompilation
(csSource).VerifyDiagnostics(
612
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib45).VerifyDiagnostics(
637
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
651
CreateCompilation
(source).VerifyDiagnostics(
668
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
680
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 (112)
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);
Semantics\TopLevelStatementsTests.cs (270)
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);
1257
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1274
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1290
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1304
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1334
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1348
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1383
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1401
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1434
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1453
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1488
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1529
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1575
var comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1637
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1810
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1964
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1967
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1970
Assert.Throws<System.ArgumentException>(() =>
CreateCompilation
(new[] { Parse(text1, filename: "text1", DefaultParseOptions),
1974
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2031
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2195
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2345
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2348
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2351
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2397
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2542
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2561
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2592
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2617
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2678
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2763
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2820
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2848
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2882
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2996
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3058
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3121
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3188
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3252
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3314
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3377
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3444
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3508
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3570
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3633
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3700
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3764
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3832
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3900
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4049
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4149
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4174
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4195
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4277
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4299
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4351
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4439
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4456
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4480
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4519
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4547
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4585
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4599
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4627
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4644
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4660
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4680
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4695
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4713
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4736
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4751
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4765
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4786
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4807
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4828
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4853
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4873
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4905
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4926
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4958
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4991
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5019
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5049
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5081
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5111
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5137
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5173
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5212
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5268
var comp =
CreateCompilation
(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5305
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName("Program2"), parseOptions: DefaultParseOptions);
5332
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5356
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5376
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5397
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5418
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5442
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5467
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5494
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5522
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5549
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5577
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5601
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5626
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5643
var comp =
CreateCompilation
(text);
5653
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5667
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5686
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5707
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5731
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5757
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5778
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5799
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5820
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5841
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5861
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5885
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5903
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5927
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5950
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5987
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6211
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6252
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6295
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6345
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6384
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6395
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6489
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6498
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6546
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6561
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6667
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6678
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6754
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6763
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6812
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6821
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6870
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6879
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6938
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6947
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7017
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7025
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7130
var comp =
CreateCompilation
(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7139
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7224
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7233
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7297
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7307
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7364
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7374
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7453
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7476
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7498
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7536
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7562
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7593
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7611
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7658
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7705
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7774
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7839
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7862
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7881
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7900
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7920
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7938
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7960
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7980
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7999
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8017
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8037
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8049
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions);
8062
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseModule, parseOptions: DefaultParseOptions);
8178
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8196
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8209
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8218
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8232
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8246
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8260
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8287
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8304
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8321
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8338
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8385
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions);
8430
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8446
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8473
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8503
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8525
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8544
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8559
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8592
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8612
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8624
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8635
var comp =
CreateCompilation
(text);
8657
var comp =
CreateCompilation
(text);
8679
var comp =
CreateCompilation
(text);
8806
var comp =
CreateCompilation
(@"
8862
var comp =
CreateCompilation
(@"
8939
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8956
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8973
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8985
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8998
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9016
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9034
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9089
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9127
var comp =
CreateCompilation
(text);
9161
var comp =
CreateCompilation
(text);
9183
var comp =
CreateCompilation
(text);
9205
var comp =
CreateCompilation
(text);
9234
var comp =
CreateCompilation
(text);
9256
var comp =
CreateCompilation
(text);
9279
var comp =
CreateCompilation
(text);
9306
var comp =
CreateCompilation
(text);
9338
var comp =
CreateCompilation
(text);
9354
var comp =
CreateCompilation
(text);
9370
var comp =
CreateCompilation
(text);
9386
var comp =
CreateCompilation
(text);
9408
var comp =
CreateCompilation
(text);
9428
var comp =
CreateCompilation
(text);
9443
var comp =
CreateCompilation
(text);
9463
var comp =
CreateCompilation
(text);
9483
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9522
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9539
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9559
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9585
var comp =
CreateCompilation
(src);
9598
var comp =
CreateCompilation
(src);
9620
var comp =
CreateCompilation
(src);
9642
var comp =
CreateCompilation
(src);
9663
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
9688
var compilation =
CreateCompilation
(source);
Semantics\TryCatchTests.cs (2)
38
var compilation =
CreateCompilation
(source);
70
CreateCompilation
(source).VerifyDiagnostics(
Semantics\UninitializedNonNullableFieldTests.cs (96)
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
(@"
2659
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2674
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2689
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2704
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2719
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2742
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2763
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2785
var comp =
CreateCompilation
(@"
Semantics\UnsafeTests.cs (316)
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).VerifyDiagnostics(
297
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
316
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
336
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
361
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
384
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
916
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
928
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
933
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
940
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
961
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
985
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1012
CreateCompilation
(text).VerifyDiagnostics(
1028
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1041
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
1045
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1059
CreateCompilation
(text).VerifyDiagnostics(
1063
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1087
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1561
CreateCompilation
(withoutUnsafe).VerifyDiagnostics(expectedWithoutUnsafe);
1562
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithoutUnsafe);
1565
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
1568
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
1571
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
2472
var compilation =
CreateCompilation
(text);
2489
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
2504
var compilation =
CreateCompilation
(text);
2521
var compilation =
CreateCompilation
(text);
2537
var compilation =
CreateCompilation
(text);
2556
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
2577
var compilation =
CreateCompilation
(text);
2597
var compilation =
CreateCompilation
(text);
2614
var compilation =
CreateCompilation
(text);
2647
var compilation =
CreateCompilation
(text);
2663
var compilation =
CreateCompilation
(text);
2696
var compilation =
CreateCompilation
(text);
2733
var compilation =
CreateCompilation
(text);
2765
var compilation =
CreateCompilation
(text);
2799
var compilation =
CreateCompilation
(text);
2821
var compilation =
CreateCompilation
(text);
2856
var compilation =
CreateCompilation
(text);
2900
var compilation =
CreateCompilation
(text);
2939
var compilation =
CreateCompilation
(text);
2983
var compilation =
CreateCompilation
(text);
3006
var compilation =
CreateCompilation
(text);
3019
var compilation =
CreateCompilation
(text);
3041
var compilation =
CreateCompilation
(text);
3061
var compilation =
CreateCompilation
(text);
3074
var compilation =
CreateCompilation
(text);
3091
var libComp =
CreateCompilation
(libSrc, options: TestOptions.UnsafeDebugDll);
3111
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, references: new[] { libComp.EmitToImageReference() });
3143
var comp =
CreateCompilation
(src);
3170
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
3213
var comp =
CreateCompilation
(libSrc);
3234
var comp =
CreateCompilation
(libSrc);
3255
var comp =
CreateCompilation
(libSrc);
3274
var comp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net70);
3296
var comp =
CreateCompilation
(libSrc);
3321
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3347
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3371
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3395
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3426
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3462
var comp =
CreateCompilation
(tree);
3507
var metadata =
CreateCompilation
(externalCode).EmitToImageReference();
3529
var compilation =
CreateCompilation
(tree, new[] { metadata }, TestOptions.UnsafeReleaseDll);
3576
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3594
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3636
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3802
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3953
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3987
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4032
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4089
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4109
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4129
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4148
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4169
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4191
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4214
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4235
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4258
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4282
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4309
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4331
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4349
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4372
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4415
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4452
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4481
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4519
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4557
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4598
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4613
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4632
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4650
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4669
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4693
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
4730
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4747
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4762
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4780
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4798
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4817
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4835
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4854
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4957
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5003
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5070
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5129
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5147
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5167
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5187
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5206
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5224
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5233
CreateCompilation
(@"
5254
CreateCompilation
(@"
5275
CreateCompilation
(@"
5316
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5383
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5441
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5501
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5537
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5578
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5631
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
5681
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
5719
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5829
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5906
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5947
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
5979
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6013
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
6067
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
6105
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6149
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6218
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6292
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6313
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6329
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6373
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6411
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6436
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6479
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
6536
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6580
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6675
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6695
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6717
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6743
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6765
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6815
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6849
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6888
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6928
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6963
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7017
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7062
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7098
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7118
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7148
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7170
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7223
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
7253
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7305
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7335
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7376
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7448
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7515
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7609
CreateCompilation
(text).VerifyDiagnostics(
7633
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7664
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7715
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7777
var compilation =
CreateCompilation
(text);
7839
var compilation =
CreateCompilation
(text);
7899
var compilation =
CreateCompilation
(text);
7975
CreateCompilation
(text).VerifyDiagnostics(
7993
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8075
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8172
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8205
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8228
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8261
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8389
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8449
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8516
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
8529
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8555
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8556
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8568
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8569
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8603
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8605
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedWithUnsafe);
8607
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8609
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expectedWithUnsafe);
8611
CreateCompilation
(text).VerifyDiagnostics(expected);
8613
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
8659
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8660
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8687
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8688
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8716
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8735
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8752
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
8771
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
8822
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8823
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
8844
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8845
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
8869
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8882
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8893
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
8906
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
8933
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
8951
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
8973
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
8999
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9021
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
9048
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
9067
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
9084
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9107
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9159
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9175
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9198
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9460
var s =
CreateCompilation
(text).GlobalNamespace.GetMember<TypeSymbol>("S");
9679
CreateCompilation
(@"
9698
CreateCompilation
(@"
9732
CreateCompilation
(@"
9760
CreateCompilation
(@"
9783
CreateCompilation
(@"
9830
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
9844
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
9864
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
9880
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
9899
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
9918
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
9934
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
9950
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
9969
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
9995
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10018
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10038
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10056
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10080
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10101
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10116
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10129
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10142
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10164
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10183
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10201
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10216
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
10235
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10254
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10275
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10301
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10321
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10346
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10365
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10383
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10392
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10418
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10427
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
10447
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10450
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10466
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10469
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularNext);
10496
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10499
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10518
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10521
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularNext);
10538
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10547
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10559
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10571
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularNext);
10600
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10603
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10615
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10618
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
10635
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10638
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10651
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10654
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
10671
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10674
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10680
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10686
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
10702
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10708
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
10737
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10747
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10772
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10775
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10799
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10836
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10901
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10904
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10926
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
10939
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10945
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10948
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
10971
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10978
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
10981
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
Semantics\UserDefinedConversionTests.cs (23)
254
var comp =
CreateCompilation
(source1 + source2);
257
comp =
CreateCompilation
(source1 + source3);
317
var comp =
CreateCompilation
(implicitConversions + implicitConversionBadSuccess);
338
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadSuccess);
355
comp =
CreateCompilation
(implicitConversions + implicitConversionsBadFailures);
379
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadFailures);
433
var comp =
CreateCompilation
(source1);
457
comp =
CreateCompilation
(source2);
483
var comp =
CreateCompilation
(source);
667
var comp =
CreateCompilation
(source1 + source3);
670
comp =
CreateCompilation
(source2 + source3);
680
comp =
CreateCompilation
(source1 + source4);
692
comp =
CreateCompilation
(source2 + source4);
1149
var comp =
CreateCompilation
(source1 + source2 + source3 + source4 + source5, options: TestOptions.UnsafeReleaseDll);
1184
var comp =
CreateCompilation
(source);
1247
var comp =
CreateCompilation
(source2);
1409
var comp =
CreateCompilation
(source);
1468
var comp =
CreateCompilation
(source1);
1546
CreateCompilation
(source).VerifyDiagnostics();
1619
var comp =
CreateCompilation
(source);
1641
var comp =
CreateCompilation
(source);
1863
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
1908
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
Semantics\UseSiteErrorTests.cs (66)
936
CreateCompilation
(text, new MetadataReference[] { delegatesWithoutInvokeReference }).VerifyDiagnostics(
997
CreateCompilation
(text, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference }).VerifyDiagnostics(
1065
var xRef =
CreateCompilation
(xSource, assemblyName: "Test").EmitToImageReference();
1078
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Test");
1083
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1097
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1110
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1115
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1126
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1139
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1144
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1164
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1178
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1192
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1238
var baseLib =
CreateCompilation
(baseSource, assemblyName: "BaseAssembly");
1241
var derivedLib =
CreateCompilation
(derivedSource, assemblyName: "DerivedAssembly", references: new[] { new CSharpCompilationReference(baseLib) });
1257
CreateCompilation
(programSource, references: new[] { new CSharpCompilationReference(derivedLib) }).VerifyDiagnostics(
1651
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1652
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1653
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1722
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1723
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1724
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1727
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1777
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1778
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1779
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1781
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1834
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1835
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1836
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1838
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1891
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1892
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1893
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1895
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1938
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1939
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1940
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1943
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
2179
CSharpCompilation comp1 =
CreateCompilation
(source1, assemblyName: "Base");
2185
CSharpCompilation comp2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(comp1) });
2203
CSharpCompilation comp3 =
CreateCompilation
(source3, new MetadataReference[] { new CSharpCompilationReference(comp2) });
2223
comp3 =
CreateCompilation
(source3, new MetadataReference[] { comp2.EmitToImageReference() });
2274
var successfulCompilation =
CreateCompilation
(source, new MetadataReference[] { unavailableAssemblyReference, csharpAssemblyReference, ilAssemblyReference });
2277
var failingCompilation =
CreateCompilation
(source, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference });
2448
private static readonly MetadataReference UnmanagedUseSiteError_Ref1 =
CreateCompilation
(@"
2454
private static readonly MetadataReference UnmanagedUseSiteError_Ref2 =
CreateCompilation
(@"
2474
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2484
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2501
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2510
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2526
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2535
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2553
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2580
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2600
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2622
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2642
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2657
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2682
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2697
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2719
var comp =
CreateCompilation
(source, references: new[] { UnmanagedUseSiteError_Ref2 });
2726
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2740
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2757
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();
926
CreateCompilation
(source).VerifyDiagnostics(
953
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(
198
CreateCompilation
(source).VerifyDiagnostics(
239
CreateCompilation
(source).VerifyDiagnostics();
263
CreateCompilation
(source).VerifyDiagnostics(
310
CreateCompilation
(source).VerifyDiagnostics();
337
CreateCompilation
(source).VerifyDiagnostics(
372
CreateCompilation
(source).VerifyDiagnostics(
400
CreateCompilation
(source).VerifyDiagnostics(
440
CreateCompilation
(source).VerifyDiagnostics(
568
CreateCompilation
(source).VerifyDiagnostics(
630
CreateCompilation
(source).VerifyDiagnostics(
677
CreateCompilation
(source).VerifyDiagnostics(
711
CreateCompilation
(source).VerifyDiagnostics(
747
CreateCompilation
(source).VerifyDiagnostics(
780
CreateCompilation
(source).VerifyDiagnostics(
811
CreateCompilation
(source).VerifyDiagnostics(
843
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
873
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
903
CreateCompilation
(source).VerifyDiagnostics();
926
CreateCompilation
(source).VerifyDiagnostics();
949
CreateCompilation
(source).VerifyDiagnostics(
985
CreateCompilation
(source).VerifyDiagnostics(
1021
CreateCompilation
(source).VerifyDiagnostics();
1043
CreateCompilation
(source).VerifyDiagnostics(
1071
CreateCompilation
(source).VerifyDiagnostics(
1100
CreateCompilation
(source).VerifyDiagnostics(
1159
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1165
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1188
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1194
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1219
CreateCompilation
(source).VerifyDiagnostics(
1239
CreateCompilation
(source).VerifyDiagnostics();
1257
CreateCompilation
(source).VerifyDiagnostics();
1275
CreateCompilation
(source).VerifyDiagnostics(
1303
var compilation =
CreateCompilation
(source);
1334
var compilation =
CreateCompilation
(source);
1367
var compilation =
CreateCompilation
(source);
1415
CreateCompilation
(source).VerifyDiagnostics(
1449
CreateCompilation
(source).VerifyDiagnostics(
1478
var compilation =
CreateCompilation
(source);
1498
var compilation =
CreateCompilation
(source);
1520
var compilation =
CreateCompilation
(source);
1548
var compilation =
CreateCompilation
(source);
1577
var compilation =
CreateCompilation
(source);
1698
CreateCompilation
(source).VerifyDiagnostics(
1717
CreateCompilation
(source).VerifyDiagnostics(
1752
CreateCompilation
(source).VerifyDiagnostics();
1821
CreateCompilation
(source).VerifyDiagnostics(
1847
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"));
Semantics\Utf8StringsLiteralsTests.cs (129)
53
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
82
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
110
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
141
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
174
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
198
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
225
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
254
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
282
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
313
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
337
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
361
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
383
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
415
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
452
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
460
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
486
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
517
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
560
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
672
var comp =
CreateCompilation
(source);
706
var comp =
CreateCompilation
(source);
739
var comp =
CreateCompilation
(source);
773
var comp =
CreateCompilation
(source);
820
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
872
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
923
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
980
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1036
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1094
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1150
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1204
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1256
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1307
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1365
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1395
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1419
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1452
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1474
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1514
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1535
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1539
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1574
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1601
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1604
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1622
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1648
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1665
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1671
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1701
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1718
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1724
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1754
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1771
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1777
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1816
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1833
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1839
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1876
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1915
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
1971
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2001
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2036
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2073
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2101
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2121
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2142
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2168
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2197
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2234
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2324
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2361
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2398
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2432
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2456
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2460
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
2481
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2512
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2539
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2572
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2605
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2638
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2686
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2731
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2779
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2809
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2851
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2889
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2915
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2941
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2966
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2994
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3022
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3050
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3078
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3106
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3134
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3162
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3190
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3218
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3246
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3274
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3302
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3330
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3366
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3428
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3476
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3518
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3567
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3616
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3666
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3713
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3754
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3776
var comp =
CreateCompilation
(new[] { source + HelpersSource, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3809
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3835
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3881
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3927
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3971
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4014
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4043
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4114
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4137
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4168
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4207
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4232
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4257
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4282
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\ValueTupleTests.cs (1)
82
var comp =
CreateCompilation
(source);
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 (77)
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);
300
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
321
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
347
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
380
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
414
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
440
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
466
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
495
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
536
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
574
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
604
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
649
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
696
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
731
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
768
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
792
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
817
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
845
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
876
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
902
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
929
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
957
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
989
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1021
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);
1337
var compilation =
CreateCompilation
(source, parseOptions: parseOptions);
1374
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1409
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1431
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1456
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1481
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1510
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1543
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1564
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1626
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1670
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1889
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1925
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2063
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2098
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2170
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2198
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2257
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2283
Compilation newCompilation =
CreateCompilation
(newSource, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2319
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2403
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2590
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2780
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2825
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2871
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2955
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2981
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3014
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3060
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3088
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3119
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3167
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3211
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3242
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3257
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3273
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3290
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
3336
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
3371
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (43)
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);
1254
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1301
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1348
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1391
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1438
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1492
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1548
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1602
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
41
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
73
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
99
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
124
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
149
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
177
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
209
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
241
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
275
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
308
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
334
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
360
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
386
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
419
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
447
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
475
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
502
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
533
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
566
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
598
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
630
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
658
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
686
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
714
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
743
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
770
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
797
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
828
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
860
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
889
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
917
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
945
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
974
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1004
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1044
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1090
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1141
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1190
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1243
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1294
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1338
Compilation compilation =
CreateCompilation
(new[] { source0, source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1385
Compilation compilation =
CreateCompilation
(new[] { source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1429
Compilation compilation =
CreateCompilation
(new[] { source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1477
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1525
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1583
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\SyntaxAwareGeneratorTests.cs (42)
32
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
58
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
83
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
109
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
134
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
161
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
233
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
272
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
313
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
369
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
413
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
457
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
499
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
555
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
587
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
625
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
681
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
738
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
781
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
826
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
861
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
901
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
943
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1020
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1095
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1176
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1226
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1309
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1382
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1515
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1570
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1619
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1680
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1739
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1792
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1855
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1898
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1941
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1992
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2018
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2056
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2090
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5395)
BadSymbolReference.cs (27)
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
(@"
844
var lib2 =
CreateCompilation
(@"
854
var lib3 =
CreateCompilation
(@"
935
var lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib3Ref }, TestOptions.ReleaseDll);
1006
lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib2Ref, lib3Ref }, TestOptions.ReleaseDll);
1010
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
1018
var lib1 =
CreateCompilation
(@"
1033
var lib2 =
CreateCompilation
(@"
1055
var lib3 =
CreateCompilation
(@"
1155
var lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib3Ref }, TestOptions.ReleaseDll);
1238
lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib2Ref, lib3Ref }, TestOptions.ReleaseDll);
1249
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
1303
var lib1 =
CreateCompilation
(@"
1318
var lib2 =
CreateCompilation
(@"
1327
var lib3 =
CreateCompilation
(@"
1377
var lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib3Ref }, TestOptions.ReleaseDll);
1424
lib4 =
CreateCompilation
(lib4Def, new[] { lib1Ref, lib2Ref, lib3Ref }, TestOptions.ReleaseDll);
1428
lib4 =
CreateCompilation
(lib4Def, new[] { lib1.EmitToImageReference(), lib3.EmitToImageReference() }, TestOptions.ReleaseDll);
Compilation\CompilationAPITests.cs (76)
74
var comp =
CreateCompilation
(tree, options: options);
80
comp =
CreateCompilation
(tree, options: options);
93
var comp =
CreateCompilation
(tree);
103
comp =
CreateCompilation
(tree, options: options);
121
var comp =
CreateCompilation
(tree);
128
comp =
CreateCompilation
(tree, options: options);
142
var comp =
CreateCompilation
(tree, options: options);
152
var comp2 =
CreateCompilation
(tree, options: options);
175
var comp =
CreateCompilation
(new[] { tree, newTree }, options: options);
199
CreateCompilation
(tree, options: options).VerifyDiagnostics(
212
CreateCompilation
(tree, options: options).VerifyDiagnostics(
226
CreateCompilation
(source).VerifyDiagnostics(
231
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(0)).VerifyDiagnostics(
255
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("")).VerifyDiagnostics(
264
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("\"\"")).VerifyDiagnostics(
397
var c =
CreateCompilation
("class C {}");
981
var netModule1 =
CreateCompilation
(
987
var netModule2 =
CreateCompilation
(
1001
var assembly =
CreateCompilation
(
1016
assembly =
CreateCompilation
(
1037
var netModule1 =
CreateCompilation
(
1043
var netModule2 =
CreateCompilation
(
1057
var netModule3 =
CreateCompilation
(
1071
var assembly =
CreateCompilation
(
1092
var netModule1 =
CreateCompilation
(
1107
var assembly =
CreateCompilation
(
1126
var netModule1 =
CreateCompilation
(
1132
var netModule2 =
CreateCompilation
(
1146
var assembly =
CreateCompilation
(
1637
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1658
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1674
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1870
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("B"));
1938
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
1952
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
2202
var md1 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class C { }").EmitToArray());
2203
var md2 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class D { }").EmitToArray());
2367
var comp =
CreateCompilation
("");
2742
var compilation =
CreateCompilation
("");
2759
var compilation =
CreateCompilation
("");
2770
var compilation =
CreateCompilation
("");
2779
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2789
var compilation =
CreateCompilation
("");
2817
var compilation =
CreateCompilation
("");
2830
var compilation =
CreateCompilation
(@"
2862
var compilation =
CreateCompilation
(@"
2897
var compilation =
CreateCompilation
(@"
2938
var compilation =
CreateCompilation
("");
2950
var compilation =
CreateCompilation
("");
2960
var compilation =
CreateCompilation
("");
2969
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2979
var compilation =
CreateCompilation
("");
3015
var compilation =
CreateCompilation
("");
3031
var comp = (Compilation)
CreateCompilation
(source);
3066
var comp = (Compilation)
CreateCompilation
(source);
3095
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3104
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3112
var module =
CreateCompilation
(string.Empty);
3121
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3131
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3140
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3401
var comp =
CreateCompilation
("");
3414
var referenceComp =
CreateCompilation
("");
3416
var comp =
CreateCompilation
(
3434
var referenceComp =
CreateCompilation
("");
3436
var comp =
CreateCompilation
(
3463
var referenceComp =
CreateCompilation
(source);
3468
var comp =
CreateCompilation
(source, new[] { reference });
3491
var referenceComp =
CreateCompilation
(source);
3496
var comp =
CreateCompilation
("", new[] { reference });
3517
var referenceComp1 =
CreateCompilation
(source);
3520
var referenceComp2 =
CreateCompilation
(source);
3525
var comp =
CreateCompilation
("", new[] { reference1, reference2 });
3555
var referenceComp1 =
CreateCompilation
(source);
3558
var referenceComp2 =
CreateCompilation
(source);
3563
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 =
CreateCompilation
(source);
5983
var comp =
CreateCompilation
(source);
6007
var compilation =
CreateCompilation
(text);
6033
var comp =
CreateCompilation
(source);
6042
comp =
CreateCompilation
(source);
Compilation\GetUnusedImportDirectivesTests.cs (18)
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(
347
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(lib, aliases: ImmutableArray.Create("A")) });
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 (99)
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
(
162
var refLibV2 =
CreateCompilation
(
180
var main13 =
CreateCompilation
(
200
var main31 =
CreateCompilation
(
233
var libV1 =
CreateCompilation
(
245
var libV2 =
CreateCompilation
(
294
var refLibV1 =
CreateCompilation
(
307
var x =
CreateCompilation
(
343
var main =
CreateCompilation
(
402
var a1 =
CreateCompilation
(
412
var a2 =
CreateCompilation
(
422
var b1 =
CreateCompilation
(
432
var b2 =
CreateCompilation
(
449
var refA1B2 =
CreateCompilation
(
466
var main =
CreateCompilation
(
590
var libV1 =
CreateCompilation
(
601
var libV2 =
CreateCompilation
(
614
var refLibV1 =
CreateCompilation
(
629
var main =
CreateCompilation
(
655
var libV1 =
CreateCompilation
(
665
var libV2 =
CreateCompilation
(
686
var refLibV1 =
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");
1094
var refLibV1 =
CreateCompilation
(sourceRefLibV1,
1098
var main =
CreateCompilation
(sourceMain,
1167
var main =
CreateCompilation
(sourceMain,
1387
var a =
CreateCompilation
(sourceA, assemblyName: "A");
1393
var b =
CreateCompilation
(sourceB, new[] { new CSharpCompilationReference(a) }, assemblyName: "B");
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");
1440
var b =
CreateCompilation
("public class B : A { } ", new[] { new CSharpCompilationReference(a) }, assemblyName: "B");
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);
1925
var libAv1 =
CreateCompilation
(
1942
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) });
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);
1969
var libAv1 =
CreateCompilation
(
1986
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) });
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);
2013
var libAv1 =
CreateCompilation
(libASource, new[] { new CSharpCompilationReference(libBv1) }, assemblyName: "A", options: s_signedDll);
2026
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) });
2087
var libAv1 =
CreateCompilation
(libASource, new[] { new CSharpCompilationReference(libBv1) }, assemblyName: "A", options: s_signedDll);
2101
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) });
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 (107)
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);
4639
var compilation =
CreateCompilation
(tree);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (151)
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
(@"
3964
var c2 =
CreateCompilation
(tree2, references: new[] { new CSharpCompilationReference(c1) });
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);
4766
var compilation =
CreateCompilation
(source);
4797
var compilation =
CreateCompilation
(source);
4820
var compilation =
CreateCompilation
(source);
4843
var compilation =
CreateCompilation
(source);
4866
var compilation =
CreateCompilation
(source);
4889
var compilation =
CreateCompilation
(source);
4912
var compilation =
CreateCompilation
(source);
4935
var compilation =
CreateCompilation
(source);
4958
var compilation =
CreateCompilation
(source);
5031
var compilation =
CreateCompilation
(source);
5088
var compilation =
CreateCompilation
(source);
5111
var compilation =
CreateCompilation
(source);
5124
var compilation =
CreateCompilation
(@"private");
5162
var compilation =
CreateCompilation
(@"
5203
var comp =
CreateCompilation
(source);
5221
var comp =
CreateCompilation
(source);
5242
var comp =
CreateCompilation
(source);
5263
var comp =
CreateCompilation
(source);
Compilation\SemanticModelGetSemanticInfoTests.cs (37)
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
(
14969
var compilation =
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 (162)
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);
3649
var comp0 =
CreateCompilation
(source0);
3665
var comp1 =
CreateCompilation
(source1);
3739
Compilation comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: references, options: TestOptions.UnsafeDebugDll);
3757
var comp0 =
CreateCompilation
(source0);
3769
var comp1 =
CreateCompilation
(source1);
3833
var comp0 =
CreateCompilation
(source0);
3845
var comp1 =
CreateCompilation
(source1);
3916
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
3920
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
3928
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
3933
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
3936
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
3948
var comp0 =
CreateCompilation
(source0);
3960
var comp1 =
CreateCompilation
(source1);
4031
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4034
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4052
var comp0 =
CreateCompilation
(source0);
4061
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4094
var comp =
CreateCompilation
(@"
4112
comp =
CreateCompilation
(@"
4167
var comp0 =
CreateCompilation
(source0);
4179
var comp1 =
CreateCompilation
(source1);
4192
var comp2 =
CreateCompilation
(source2);
4250
var comp0 =
CreateCompilation
(source0);
4262
var comp1 =
CreateCompilation
(source1);
4275
var comp2 =
CreateCompilation
(source2);
4368
var comp0 =
CreateCompilation
(source0);
4380
var comp1 =
CreateCompilation
(source1);
4393
var comp2 =
CreateCompilation
(source2);
4454
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4456
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4483
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4485
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4511
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4515
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4519
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4523
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4532
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4535
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4538
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4556
var comp0 =
CreateCompilation
(source0);
4568
var comp1 =
CreateCompilation
(source1);
4581
var comp2 =
CreateCompilation
(source2);
4674
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4676
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4702
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4706
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4714
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4717
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4720
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4739
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4756
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4777
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4794
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4808
var comp0 =
CreateCompilation
(source0);
4824
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4898
var comp0 =
CreateCompilation
(source0);
4914
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4958
var comp0 =
CreateCompilation
(source0);
4969
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5045
var comp0 =
CreateCompilation
(source0);
5056
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5100
var comp0 =
CreateCompilation
(source0);
5303
var comp0 =
CreateCompilation
(source0);
5314
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5522
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5536
var comp1 =
CreateCompilation
(source1);
5582
var comp0 =
CreateCompilation
(source0);
5592
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5620
var comp0 =
CreateCompilation
(source0);
5630
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5659
var comp0 =
CreateCompilation
(source0);
5670
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5694
CreateCompilation
(source2, references: new[] { comp0Ref, comp1RefWithAlias }).VerifyDiagnostics(
5710
var comp0 =
CreateCompilation
(source0);
5747
var comp0 =
CreateCompilation
(source0);
5782
var comp0 =
CreateCompilation
(source0);
5820
var comp1 =
CreateCompilation
(source1);
5832
var comp2 =
CreateCompilation
(source2);
5844
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5846
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
5865
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5867
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
5911
var comp1 =
CreateCompilation
(source1);
DeclarationTests.cs (2)
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);
DocumentationComments\CrefTests.cs (13)
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();
6725
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6749
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6774
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
6799
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
6823
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
6844
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
6863
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (29)
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");
966
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
987
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1015
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1037
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1066
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1088
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1123
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1142
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1171
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1190
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1229
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1246
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1281
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1338
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1401
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1464
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2475
var comp =
CreateCompilation
(new[] { tree1, tree2 });
2495
CreateCompilation
(source).VerifyDiagnostics();
3831
var compilation =
CreateCompilation
(tree);
4632
var comp =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
5070
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(warnDict), assemblyName: "Test");
6427
CreateCompilation
(tree, options: compOptions).VerifyDiagnostics(
6665
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)
844
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp2)).VerifyDiagnostics(
849
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 (52)
3280
var comp =
CreateCompilation
(source);
3311
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
4423
var complib =
CreateCompilation
(src1, assemblyName: "Lib");
4425
var comp1 =
CreateCompilation
(src2, references: new MetadataReference[] { compref }, assemblyName: "Comp1");
4429
var comp2 =
CreateCompilation
("", references: new MetadataReference[] { mtref }, assemblyName: "Comp2");
4508
var compilation =
CreateCompilation
(text);
4633
var comp =
CreateCompilation
(source);
4807
var comp =
CreateCompilation
(source);
5001
var compilation =
CreateCompilation
(source);
5072
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
5309
var comp =
CreateCompilation
(text);
5530
var compA =
CreateCompilation
(sourceA);
5555
var compA =
CreateCompilation
(sourceA);
5751
var comp =
CreateCompilation
(text);
5785
var comp = (Compilation)
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
5857
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5926
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6012
var compilation = (Compilation)
CreateCompilation
(source);
6045
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6084
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6139
var compilation = (Compilation)
CreateCompilation
(source);
6183
var compilation = (Compilation)
CreateCompilation
(source);
6207
var comp = (Compilation)
CreateCompilation
(source);
6298
var comp =
CreateCompilation
(srcTree);
6341
var comp =
CreateCompilation
(srcTree);
6437
var comp =
CreateCompilation
(srcTree);
6531
var comp =
CreateCompilation
(srcTree);
6564
var comp =
CreateCompilation
(srcTree);
6609
var comp =
CreateCompilation
(srcTree);
6728
var comp =
CreateCompilation
(source).VerifyDiagnostics();
6766
var comp =
CreateCompilation
(source).VerifyDiagnostics();
6804
var comp =
CreateCompilation
(source).VerifyDiagnostics();
6851
var comp =
CreateCompilation
(source).VerifyDiagnostics(
6936
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7196
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7349
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics();
7594
var compilation =
CreateCompilation
(source);
7692
var compilation =
CreateCompilation
(source);
7752
var compilation =
CreateCompilation
(source);
7784
var compilation =
CreateCompilation
(source);
7820
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9);
8088
var comp =
CreateCompilation
(source);
8139
var comp =
CreateCompilation
(source);
8209
var comp =
CreateCompilation
(source);
8235
var comp =
CreateCompilation
(source);
8270
var comp =
CreateCompilation
(source);
8319
var comp =
CreateCompilation
(source);
8403
var comp =
CreateCompilation
(source);
8429
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
8469
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
8496
var comp =
CreateCompilation
(source);
8552
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 (1)
1536
var comp =
CreateCompilation
(source);
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)
2971
var lib1 =
CreateCompilation
(source1, assemblyName: "Lib1", options: TestOptions.ReleaseModule);
2974
var lib2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "Lib2");
3007
var compilation =
CreateCompilation
("Compilation");
3015
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net50);
3023
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net60);
3031
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net70);
Symbols\ConversionTests.cs (35)
298
var compilation =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
346
var comp = (Compilation)
CreateCompilation
(source);
447
var compilation =
CreateCompilation
(source);
467
var compilation =
CreateCompilation
(source);
490
CreateCompilation
(source).VerifyDiagnostics();
513
var compilation =
CreateCompilation
(source);
535
var compilation =
CreateCompilation
(source);
558
CreateCompilation
(source).VerifyDiagnostics();
574
CreateCompilation
(source).VerifyDiagnostics(
596
CreateCompilation
(source).VerifyDiagnostics();
614
CreateCompilation
(source).VerifyDiagnostics();
645
CreateCompilation
(source).VerifyDiagnostics(
678
CreateCompilation
(source).VerifyDiagnostics(
711
CreateCompilation
(source).VerifyDiagnostics(
744
CreateCompilation
(source).VerifyDiagnostics(
777
CreateCompilation
(source).VerifyDiagnostics(
811
CreateCompilation
(source).VerifyDiagnostics();
842
CreateCompilation
(source).VerifyDiagnostics(
859
CreateCompilation
(source).VerifyDiagnostics(
885
CreateCompilation
(source).VerifyDiagnostics(
909
CreateCompilation
(source).VerifyDiagnostics(
936
CreateCompilation
(source).VerifyDiagnostics(
974
CreateCompilation
(source).VerifyDiagnostics(
1014
CreateCompilation
(source).VerifyDiagnostics(
1040
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1043
CreateCompilation
(source).VerifyDiagnostics();
1070
CreateCompilation
(source).VerifyDiagnostics(
1107
CreateCompilation
(source).VerifyDiagnostics();
1132
CreateCompilation
(source).VerifyDiagnostics(
1162
CreateCompilation
(source).VerifyDiagnostics(
1218
CreateCompilation
(source).VerifyDiagnostics(
1434
CreateCompilation
(source).VerifyDiagnostics(
1711
var comp = (Compilation)
CreateCompilation
(source);
1793
var comp = (Compilation)
CreateCompilation
(source);
1827
var comp = (Compilation)
CreateCompilation
(source);
Symbols\CorLibrary\CorTypes.cs (1)
222
CreateCompilation
(source2).VerifyDiagnostics(
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 (1045)
129
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
180
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
299
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
357
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
373
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
439
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
497
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
513
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
590
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
688
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
790
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
979
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1212
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1291
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1463
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1551
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1597
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
1634
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1678
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60,
1690
var compilation3 =
CreateCompilation
(source2, new[] { reference },
1735
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1756
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
1788
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
1831
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1922
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1940
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1983
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
2027
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2050
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2193
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2215
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2272
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2279
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2341
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2348
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2414
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2421
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2487
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2494
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2591
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2645
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2662
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2982
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3018
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3095
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3120
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3145
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3209
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3243
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3279
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3304
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3329
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3368
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3424
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3537
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3679
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3797
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3949
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
4040
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
4092
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4220
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4285
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4304
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4349
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
4394
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4449
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
4490
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4550
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4601
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4617
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4918
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4955
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4983
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5020
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5198
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5315
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5406
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5551
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5641
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
5670
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
5768
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5780
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
5826
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5845
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
5896
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
5941
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
6004
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6035
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6051
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6098
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6169
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6183
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6356
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
6413
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
6434
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
6758
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
6861
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
6952
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7124
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
7158
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7232
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7244
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
7292
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7311
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
7347
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
7374
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7412
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
7435
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7478
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7511
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7527
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7575
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7627
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7784
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7900
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8060
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8178
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8214
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8427
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8493
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8585
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8627
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8686
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
8752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8856
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
8907
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9045
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9072
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9080
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9097
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9110
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9123
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
9262
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9270
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9277
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9287
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9296
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9344
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9351
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9358
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9369
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9643
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9650
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9657
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9664
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9702
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9714
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9722
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9734
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9779
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9791
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9799
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9811
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9858
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9865
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9873
compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9896
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10007
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10118
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10186
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
10271
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10322
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
10389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10491
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10642
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10696
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
10730
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10742
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10753
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
10792
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
10814
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
10869
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10975
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11048
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11071
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11113
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11168
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11270
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11337
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11367
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11394
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11421
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11448
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11461
var compilation2 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
11507
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
11531
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
11539
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
11572
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
11582
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
11599
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11662
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11696
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
11705
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11722
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
11730
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
11738
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
11798
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11811
compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11820
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11837
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
11852
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
11859
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
11918
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11934
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
11943
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11960
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
11975
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
11988
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
12031
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12041
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12052
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12093
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12103
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12114
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12155
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12165
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12175
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12427
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12438
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12452
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12515
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12526
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12540
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12603
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12614
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12628
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12707
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12762
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12835
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13382
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13472
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13712
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13806
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
13880
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14027
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14045
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14174
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14421
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14520
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14727
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14735
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14747
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14773
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14781
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14800
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
14925
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14933
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14944
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14952
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14960
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15060
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15070
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15078
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15475
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15484
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15489
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15498
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15558
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15565
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15570
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15577
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15652
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15660
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15671
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15679
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
15687
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15770
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15777
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15784
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15990
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
16122
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16394
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16582
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
16732
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16740
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
16830
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17080
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17271
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
17325
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17342
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
17356
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
17403
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17434
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
17541
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18097
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions),
18130
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(metadataImportOptions),
18143
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18272
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18280
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18299
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18309
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18318
compilation3 =
CreateCompilation
(source2, new[] { reference },
19652
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
19706
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19723
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
19737
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
19784
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
19814
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
19853
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
19985
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20129
var compilation1 =
CreateCompilation
(source0 + source1,
20168
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
20182
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
20241
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
20259
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
20271
var compilation6 =
CreateCompilation
(source5, options: TestOptions.DebugExe,
20306
var compilation7 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
21367
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21856
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21946
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22185
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22262
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22440
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23196
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23503
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23569
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23686
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24322
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24353
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26346
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26382
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26422
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26558
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26614
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27038
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27434
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
27508
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27604
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27678
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27698
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27755
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27932
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
28010
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28233
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28241
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28293
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28316
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28324
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28343
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
28430
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28438
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28449
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28457
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28465
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28566
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe, targetFramework: targetFramework,
28575
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: targetFramework,
28582
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28984
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28993
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28998
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29007
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29070
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29077
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29082
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29089
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29164
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29172
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29183
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29191
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
29199
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
29275
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29282
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29289
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29315
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29393
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
29511
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29807
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29918
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
30080
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30134
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
30253
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30474
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30676
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
30730
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30745
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
30759
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
30805
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30835
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
30909
var compilation1 =
CreateCompilation
(source0 + source1,
30936
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
30945
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
30983
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
30995
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
31021
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31565
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31624
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31747
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
31798
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
31831
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31839
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31853
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
31938
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
31965
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31973
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31987
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32069
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32072
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe);
32102
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe);
32196
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32296
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
32323
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
32356
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32364
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32371
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32502
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32579
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32616
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32643
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32685
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32774
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
32790
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
32806
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
32932
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32956
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33008
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33029
CreateCompilation
(source1, options: TestOptions.DebugDll,
33042
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33058
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33098
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
33122
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33172
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
33201
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33248
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33296
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33345
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33403
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33465
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33529
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33575
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33614
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33647
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
33699
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33795
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
33956
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
33972
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
33988
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34003
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34009
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
34025
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
34097
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34278
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34304
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34316
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
34355
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll,
34400
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
34498
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34504
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34518
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
34612
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
34709
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
34727
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34783
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34788
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34812
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
34874
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34879
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34907
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
34975
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34980
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35005
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35071
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35076
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35100
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35166
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35181
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35277
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35284
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35386
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35393
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35499
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35506
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35612
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35619
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35714
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35725
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35823
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35830
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35917
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35928
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36035
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36042
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36201
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36219
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36236
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36244
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36389
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36407
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36424
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36432
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36577
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36595
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36612
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36620
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
36674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36702
var comp =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36801
var compilation1 =
CreateCompilation
(source1 + source2, options: options,
36817
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: options,
36833
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: options,
37089
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37106
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
37190
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
37206
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
37337
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37464
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37530
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37767
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37802
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37810
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.DesktopLatestExtended,
37817
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
38216
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
38235
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
38253
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38261
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
38556
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38615
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38641
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38653
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
38695
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
38724
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
38817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38823
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
38830
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
38921
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
38990
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
39008
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
39307
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
39325
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
39829
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
39847
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
39865
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
40027
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40057
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40118
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40148
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.DesktopLatestExtended,
40238
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40297
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
40326
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40387
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40430
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40478
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40602
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40668
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40742
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40884
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
40902
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
40920
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
40937
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40943
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
40956
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
41053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41277
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41303
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41315
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
41357
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
41402
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
41483
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41489
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
41503
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
41597
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
41666
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
41684
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
41834
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
41854
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
41873
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41881
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42038
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42058
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42077
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42085
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42242
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42262
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42281
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42289
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
43404
var compilation1 =
CreateCompilation
(source1,
43441
var compilation1 =
CreateCompilation
(source1,
43484
var compilation1 =
CreateCompilation
(source1,
43511
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43535
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43604
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43649
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43654
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43659
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43683
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43734
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43786
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43791
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43796
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43819
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43869
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43916
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43921
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43926
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43949
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44007
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44037
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
44057
var compilation3 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugExe,
44083
var compilation2 =
CreateCompilation
(source3 + source4, new[] { reference }, options: TestOptions.DebugExe,
44103
var compilation4 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44158
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44235
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44359
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44457
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44504
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44562
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
44612
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44653
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44698
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44734
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44779
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44797
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
44817
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44871
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44916
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
44921
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
44926
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44959
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45022
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45069
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45074
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45079
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45112
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45165
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45208
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45213
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45218
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45254
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45293
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45355
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45400
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45405
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45410
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45442
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45495
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45537
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45542
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45547
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45579
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45653
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
45659
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45717
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
45735
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
45751
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.DesktopLatestExtended,
45816
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
45849
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
45927
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45975
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46013
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
46071
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
46118
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46132
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugDll,
46161
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
46187
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMainTypeName("I2"),
46403
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
46413
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46420
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46426
var compilation6 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46505
var compilation61 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46581
var compilation7 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46659
var compilation8 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46679
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
46694
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
46764
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
46767
var compilation2 =
CreateCompilation
(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
46810
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
46827
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
46839
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46843
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46971
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
47037
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47046
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47052
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47071
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
47082
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
47129
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47138
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47144
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47205
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47214
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47220
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47278
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
47285
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47335
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47344
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47350
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47416
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47425
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47431
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47491
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47499
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47504
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47523
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47531
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47536
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47552
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47560
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47565
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47624
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47632
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47637
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47656
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47664
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47669
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47685
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47693
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47698
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
47760
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47765
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47819
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
47827
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47832
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47894
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47903
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47909
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47951
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47960
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47966
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48018
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48027
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48033
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48053
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
48067
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
48115
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48124
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48130
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48185
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48194
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48200
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48249
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48258
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48264
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48328
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48337
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48343
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48400
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48409
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48415
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48473
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48481
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48486
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48543
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48551
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48556
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48613
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
48620
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48705
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48714
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48720
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48771
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48780
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48786
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48878
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48887
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48893
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48933
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49037
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49110
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49119
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49125
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49343
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49359
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49365
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49391
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49421
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49432
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49467
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49475
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49583
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49591
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49732
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll,
49770
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49796
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49825
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
49859
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49898
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49924
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49944
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
49979
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50017
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50061
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50077
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50121
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50176
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50184
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50212
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50224
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50253
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50265
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50293
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50305
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50333
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50345
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50377
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50392
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50421
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50437
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50473
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50485
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50498
var attributes =
CreateCompilation
(NoPiaAttributes, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50526
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50564
var pia2Compilation =
CreateCompilation
(pia2, baseReferences, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Empty);
50568
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll, references: baseReferences.Concat(new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }), targetFramework: TargetFramework.Empty);
50572
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe, references: baseReferences.Concat(new[] { reference2, pia2Reference }), targetFramework: TargetFramework.Empty);
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 compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50711
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50764
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50809
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50857
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
50878
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
50885
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51035
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51045
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51052
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51175
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51189
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51196
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51316
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51326
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51333
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51459
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51473
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51480
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51599
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51613
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51620
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51709
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51719
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51726
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51774
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51829
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51894
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51952
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52017
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52072
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52223
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52247
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52312
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52318
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52325
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
52504
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
52514
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52521
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
52669
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52675
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52682
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
52832
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
52842
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52849
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53007
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53013
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53021
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53169
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53175
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53183
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53301
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
53311
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53318
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53408
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53540
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53686
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54008
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54015
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
56844
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57034
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57046
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57075
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57087
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57119
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57128
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57154
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57166
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57204
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57230
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57242
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57290
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57296
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57303
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57462
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57472
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57479
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
57620
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57626
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57633
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57771
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57781
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57788
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
57934
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57940
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57947
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58083
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
58089
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58096
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58203
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
58213
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58220
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
58296
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58488
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59060
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59067
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
59128
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59228
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59237
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59263
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59275
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62012
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62024
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62062
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62088
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62097
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62328
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
62343
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
62370
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62382
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62595
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
62648
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
64602
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64628
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64658
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64688
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64718
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64737
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64756
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64782
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64804
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64834
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64866
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64926
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64973
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65017
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65061
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65166
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65240
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65290
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65335
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65421
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65459
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65504
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65587
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65620
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65661
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65696
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65738
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65773
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65815
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65855
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65894
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65946
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65990
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66035
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66071
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66146
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66194
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66225
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66267
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66338
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66449
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66560
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66566
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66619
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66654
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66685
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66740
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66746
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66769
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66806
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66818
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66847
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66859
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66911
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66923
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66944
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66978
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67014
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67048
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67089
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67126
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67162
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67198
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67235
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67276
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67314
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67352
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67428
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67507
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67525
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67565
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67604
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67637
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67742
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67873
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67971
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
68003
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
68297
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68341
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68360
var compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68366
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
68404
compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() },
68417
compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() },
68494
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68500
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68511
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
68655
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68671
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68678
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
68737
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68756
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68763
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
68857
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
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);
1190
var comp =
CreateCompilation
(text);
1214
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1270
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1296
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1319
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1348
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1372
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1381
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1398
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1420
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1445
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1467
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1576
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1610
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1646
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1667
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1687
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1714
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1744
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1788
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1820
var comp =
CreateCompilation
(text);
1845
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1871
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
1880
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1902
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1937
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1959
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2020
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2026
var comp2 =
CreateCompilation
(
2057
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2111
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2165
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2172
var comp2 =
CreateCompilation
(
2209
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2215
var comp2 =
CreateCompilation
(
2252
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2293
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2318
var comp1 =
CreateCompilation
(
2366
var comp1 =
CreateCompilation
(
2413
var comp1 =
CreateCompilation
(source1, assemblyName: "C");
2511
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2658
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2664
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2702
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2705
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2730
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2739
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2766
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2793
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2823
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2933
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2986
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2999
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3015
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3034
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3037
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3061
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3064
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3086
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3142
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3166
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3206
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3249
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3252
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3287
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3305
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3348
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3351
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3389
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3392
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3422
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);
432
var compilation =
CreateCompilation
(source);
460
var compilation =
CreateCompilation
(source);
676
var compilation =
CreateCompilation
(source);
753
var compilation =
CreateCompilation
(source);
780
var compilation =
CreateCompilation
(source);
842
var compilation =
CreateCompilation
(source);
1096
var compilation =
CreateCompilation
(source);
1142
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1203
var compilation =
CreateCompilation
(source);
1253
var compilation =
CreateCompilation
(source);
1341
var compilation =
CreateCompilation
(source);
1412
var compilation =
CreateCompilation
(source);
1444
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1449
compilation =
CreateCompilation
(source);
1485
var compilation =
CreateCompilation
(source);
1530
var compilation =
CreateCompilation
(source);
1578
var compilation =
CreateCompilation
(source);
1597
var compilation =
CreateCompilation
(source);
1620
var compilation =
CreateCompilation
(source);
1691
var compilation =
CreateCompilation
(source);
1727
var compilation =
CreateCompilation
(source);
1830
var compilation =
CreateCompilation
(source);
1863
var compilation =
CreateCompilation
(source);
1896
var compilation =
CreateCompilation
(source);
1957
var compilation =
CreateCompilation
(source);
2012
var compilation =
CreateCompilation
(source);
2050
var compilation =
CreateCompilation
(source);
2193
var compilation =
CreateCompilation
(source);
2528
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
2590
var comp =
CreateCompilation
(@"
2622
CreateCompilation
(text).GetDiagnostics();
2831
var compilation1 =
CreateCompilation
(source1);
2848
var compilation2 =
CreateCompilation
(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular8);
2867
compilation2 =
CreateCompilation
(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular7);
3141
var comp =
CreateCompilation
(src1);
3259
var compilation =
CreateCompilation
(source2, new[] { reference1 });
3285
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3330
var compilation3 =
CreateCompilation
(source3, assemblyName: "C", references: new[] { reference1, reference2 });
3429
var compilation =
CreateCompilation
(source, references: new[] { FSharpTestLibraryRef });
3778
var compilation =
CreateCompilation
(source);
3866
var compilation =
CreateCompilation
(source);
3909
var compilation =
CreateCompilation
(source);
3958
var compilation =
CreateCompilation
(source);
4004
var compilation =
CreateCompilation
(source);
Symbols\FunctionPointerTypeSymbolTests.cs (11)
23
return
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: targetFramework);
1518
var comp =
CreateCompilation
("", references: new[] { CompileIL(il) });
1534
var comp = (Compilation)
CreateCompilation
("");
1557
var comp = (Compilation)
CreateCompilation
("");
1569
var comp = (Compilation)
CreateCompilation
(@"class C {}");
1585
var comp = (Compilation)
CreateCompilation
("");
1601
var comp = (Compilation)
CreateCompilation
("");
1618
var comp = (Compilation)
CreateCompilation
("");
1641
var comp = (Compilation)
CreateCompilation
("");
1653
var comp = (Compilation)
CreateCompilation
("");
1961
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 (108)
241
CreateCompilation
(source).VerifyDiagnostics(
262
CreateCompilation
(source).VerifyDiagnostics(
288
var comp1 =
CreateCompilation
(metadatasrc);
289
var comp2 =
CreateCompilation
(source, new MetadataReference[] { comp1.EmitToImageReference() });
311
CreateCompilation
(source).VerifyDiagnostics(
338
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
384
CreateCompilation
(source).VerifyDiagnostics();
475
CreateCompilation
(source).VerifyDiagnostics(
517
CreateCompilation
(source).VerifyDiagnostics(
546
CreateCompilation
(source).VerifyDiagnostics(
603
CreateCompilation
(source).VerifyDiagnostics(
679
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
742
CreateCompilation
(source).VerifyDiagnostics(
783
CreateCompilation
(text).VerifyDiagnostics(
808
CreateCompilation
(text).VerifyDiagnostics(
857
CreateCompilation
(text).VerifyDiagnostics(
892
CreateCompilation
(text).VerifyDiagnostics(
909
CreateCompilation
(text).VerifyDiagnostics(
931
CreateCompilation
(source).VerifyDiagnostics(
955
CreateCompilation
(source).VerifyDiagnostics(
989
CreateCompilation
(source).VerifyDiagnostics(
1010
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1387
CreateCompilation
(source).VerifyDiagnostics(
1778
CreateCompilation
(source).VerifyDiagnostics(
1814
CreateCompilation
(source).VerifyDiagnostics(
1861
CreateCompilation
(source).VerifyDiagnostics(
1929
CreateCompilation
(source).VerifyDiagnostics(
1985
CreateCompilation
(source).VerifyDiagnostics(
2081
CreateCompilation
(source).VerifyDiagnostics(
2108
CreateCompilation
(source).VerifyDiagnostics(
2133
CreateCompilation
(source).VerifyDiagnostics(
2170
CreateCompilation
(source).VerifyDiagnostics(
2220
CreateCompilation
(source).VerifyDiagnostics(
2262
CreateCompilation
(source).VerifyDiagnostics(
2301
CreateCompilation
(source).VerifyDiagnostics(
2339
CreateCompilation
(source).VerifyDiagnostics(
2367
CreateCompilation
(source).VerifyDiagnostics(
2412
CreateCompilation
(source).VerifyDiagnostics(
2497
CreateCompilation
(source).VerifyDiagnostics();
2664
CreateCompilation
(source).VerifyDiagnostics(
2887
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-0788-249e00d004ea");
2932
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation1.EmitToArray()) });
2963
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation2.EmitToArray()) });
3070
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-8870-249e00ae400d");
3079
var compilation2 =
CreateCompilation
(source2, assemblyName: "d03a3229-eb22-4682-88df-77efaa348e3b", references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
3095
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
3193
CreateCompilation
(source).VerifyDiagnostics(
3226
var comp =
CreateCompilation
(source);
3256
CreateCompilation
(source).VerifyDiagnostics(
3298
CreateCompilation
(source).VerifyDiagnostics(
4331
CreateCompilation
(source).VerifyDiagnostics();
4362
CreateCompilation
(source).VerifyDiagnostics(
4381
CreateCompilation
(source).VerifyDiagnostics();
4405
CreateCompilation
(source).VerifyDiagnostics();
4421
CreateCompilation
(source).VerifyDiagnostics(
4448
CreateCompilation
(source).VerifyDiagnostics(
4478
CreateCompilation
(source).VerifyDiagnostics();
5062
CreateCompilation
(source).VerifyDiagnostics(
5184
CreateCompilation
(source).VerifyDiagnostics(
5590
var compilation =
CreateCompilation
(source);
5636
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
5660
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5812
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
5836
CreateCompilation
(source, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
5844
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
5860
var compilation =
CreateCompilation
(source);
5877
CreateCompilation
(source).VerifyDiagnostics(
5913
CreateCompilation
(source).VerifyDiagnostics();
5948
CreateCompilation
(source).VerifyDiagnostics(
5979
CreateCompilation
(source).VerifyDiagnostics(
6063
CreateCompilation
(source).VerifyDiagnostics(
6087
CreateCompilation
(source).VerifyDiagnostics(
6117
CreateCompilation
(source).VerifyDiagnostics(
6149
CreateCompilation
(source).VerifyDiagnostics(
6173
CreateCompilation
(source).VerifyDiagnostics(
6197
CreateCompilation
(source).VerifyDiagnostics();
6237
CreateCompilation
(source).VerifyDiagnostics(
6273
CreateCompilation
(source).VerifyDiagnostics(
6316
CreateCompilation
(source).VerifyDiagnostics();
6335
var comp =
CreateCompilation
(text);
6356
var comp =
CreateCompilation
(text);
6419
CreateCompilation
(source).VerifyDiagnostics(
6435
var compilation1 =
CreateCompilation
(source1, assemblyName: "e521fe98-c881-45cf-8870-249e00ae400d");
6442
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
6446
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
6478
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6480
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
6501
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6503
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
6528
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
6543
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
6717
CreateCompilation
(source).VerifyDiagnostics(
6772
CreateCompilation
(source).VerifyDiagnostics(
6807
CreateCompilation
(source).VerifyDiagnostics(
6842
var compilation1 =
CreateCompilation
(source1);
6863
var compilation2 =
CreateCompilation
(
6970
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
6977
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularNext);
7008
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
7014
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularNext);
7045
CreateCompilation
(source).VerifyDiagnostics(
7079
CreateCompilation
(source).VerifyDiagnostics(
7141
CreateCompilation
(source).VerifyDiagnostics(
7200
CreateCompilation
(source).VerifyDiagnostics(
7255
CreateCompilation
(source).VerifyDiagnostics(
7299
var comp =
CreateCompilation
(@"System.Console.WriteLine(typeof(C.D).FullName);",
7360
var metadataComp =
CreateCompilation
(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.NetStandard20);
7363
var comp =
CreateCompilation
(@"
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)
238
CreateCompilation
(source).VerifyDiagnostics(
272
var compilation =
CreateCompilation
(source);
312
var compilation =
CreateCompilation
(text);
845
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
887
CreateCompilation
(source).VerifyDiagnostics(
912
CreateCompilation
(source).VerifyDiagnostics(
932
CreateCompilation
(source).VerifyDiagnostics(
955
CreateCompilation
(source).VerifyDiagnostics();
978
CreateCompilation
(source).VerifyDiagnostics();
1002
CreateCompilation
(source).VerifyDiagnostics(
1037
CreateCompilation
(source).VerifyDiagnostics(
1057
CreateCompilation
(source).VerifyDiagnostics(
1108
CreateCompilation
(source).VerifyDiagnostics(
1201
CreateCompilation
(source).VerifyDiagnostics();
1259
CreateCompilation
(source).VerifyDiagnostics(
1285
var comp =
CreateCompilation
(tree);
1319
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1350
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1366
var compilation =
CreateCompilation
(source,
1385
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1407
var compilation =
CreateCompilation
(source,
1431
var compilation =
CreateCompilation
(source);
1456
var compilation =
CreateCompilation
(source);
1485
CreateCompilation
(source).VerifyDiagnostics(
1511
var compilation =
CreateCompilation
(source);
1537
CreateCompilation
(source).VerifyDiagnostics();
1563
var compilation =
CreateCompilation
(source);
1592
var compilation =
CreateCompilation
(source);
1623
var compilation =
CreateCompilation
(source);
1655
var compilation =
CreateCompilation
(source);
1684
var compilation =
CreateCompilation
(source);
1713
CreateCompilation
(source).VerifyDiagnostics(
1750
CreateCompilation
(source).VerifyDiagnostics(
1787
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1836
CreateCompilation
(source).VerifyDiagnostics(
1869
CreateCompilation
(source).VerifyDiagnostics(
1902
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1954
CreateCompilation
(source).VerifyDiagnostics(
2003
CreateCompilation
(source).VerifyDiagnostics(
2046
CreateCompilation
(source).VerifyDiagnostics(
2074
CreateCompilation
(source).VerifyDiagnostics(
2100
CreateCompilation
(source).VerifyDiagnostics(
2125
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2163
var compilation =
CreateCompilation
(source);
2194
var compilation =
CreateCompilation
(source);
2230
var comp =
CreateCompilation
(tree);
2271
var comp =
CreateCompilation
(tree);
2313
var comp =
CreateCompilation
(tree);
2351
var comp =
CreateCompilation
(tree);
2384
CreateCompilation
(source).VerifyDiagnostics(
2401
var comp =
CreateCompilation
(text);
2430
CreateCompilation
(text).VerifyDiagnostics();
2557
var compilation =
CreateCompilation
(new string[] { text1, text2 });
2561
compilation =
CreateCompilation
(new string[] { text2, text1 });
2609
var comp =
CreateCompilation
(tree);
2696
var comp =
CreateCompilation
(tree);
2833
var comp2 =
CreateCompilation
(src2, new[] { new CSharpCompilationReference(comp1) });
2859
var comp =
CreateCompilation
(source);
2884
CreateCompilation
(source).VerifyDiagnostics(
2905
CreateCompilation
(source).VerifyDiagnostics(
2925
CreateCompilation
(source).VerifyDiagnostics(
Symbols\InterfaceImplementationTests.cs (43)
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");
1896
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2");
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)
30
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
51
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
72
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
95
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
109
CreateCompilation
("""
132
CreateCompilation
("""
170
CreateCompilation
("""
196
CreateCompilation
("""
245
CreateCompilation
("""
282
CreateCompilation
("""
331
CreateCompilation
("""
369
CreateCompilation
("""
407
CreateCompilation
("""
Symbols\LookupSymbolsInfoTests.cs (1)
91
var compilation =
CreateCompilation
(source);
Symbols\Metadata\MetadataMemberTests.cs (12)
151
var compilation =
CreateCompilation
(text);
296
var compilation =
CreateCompilation
(text);
341
var compilation =
CreateCompilation
(text);
390
var compilation =
CreateCompilation
(text);
615
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
625
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
655
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
666
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
727
var compilation0 =
CreateCompilation
(source);
730
var compilation =
CreateCompilation
("", options: options, references: new[] { compilation0.EmitToImageReference() });
790
var compilation0 =
CreateCompilation
(source);
792
var compilation =
CreateCompilation
("", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal), references: new[] { compilation0.EmitToImageReference() });
Symbols\Metadata\MetadataTypeTests.cs (2)
166
var compilation =
CreateCompilation
(text);
357
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)
468
var reference =
CreateCompilation
(source).EmitToImageReference();
469
var comp =
CreateCompilation
("", new[] { reference }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
522
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
582
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
198
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 (56)
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 });
1143
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1205
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1456
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Asm1");
1460
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "Asm2");
1531
var bitsA =
CreateCompilation
(moduleA, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1535
var bitsB =
CreateCompilation
(moduleB, new[] { refA }, TestOptions.ReleaseExe, assemblyName: "test").EmitToArray();
1538
var bits0 =
CreateCompilation
(module0, options: TestOptions.ReleaseModule, assemblyName: "asm0").EmitToArray();
1542
var bits1 =
CreateCompilation
(module1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1").EmitToArray();
1546
var bits2 =
CreateCompilation
(module2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1605
var forwardedTypesCompilation =
CreateCompilation
(forwardedTypes, options: TestOptions.ReleaseDll, assemblyName: "ForwarderTargetAssembly");
1612
var modCompilation =
CreateCompilation
(mod, references: new[] { new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1622
var appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1678
appCompilation =
CreateCompilation
(app, references: new MetadataReference[] { modRef2, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1700
appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1709
appCompilation =
CreateCompilation
(app, references: new[] { modRef1 }, options: TestOptions.ReleaseDll);
1721
var comp0 =
CreateCompilation
(source0, options: TestOptions.ReleaseModule, assemblyName: "asm0");
1725
var comp1 =
CreateCompilation
(source1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1");
1732
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2");
1817
var cA_v1 =
CreateCompilation
(@"
1823
var cB =
CreateCompilation
(@"
1831
var cC_v1 =
CreateCompilation
(@"
1839
var cA_v2 =
CreateCompilation
(@"
1845
var cD =
CreateCompilation
(@"
1851
var cA_v3 =
CreateCompilation
(@"", new[] { cD_ImageRef, new CSharpCompilationReference(cC_v1) }, options: TestOptions.ReleaseDll, assemblyName: "A");
1853
var cC_v2 =
CreateCompilation
(@"
1885
var context =
CreateCompilation
("", new[] { r1, r2, r3 }, options: TestOptions.ReleaseDll);
1912
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1916
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
1930
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
1939
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
1945
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
1948
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
1955
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, new CSharpCompilationReference(compB2, aliases: ImmutableArray.Create("B")), refBImpl });
1976
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1980
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
1994
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
2003
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
2009
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
2012
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
2019
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, new CSharpCompilationReference(compB2, 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);
1071
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\PEParameterSymbolTests.cs (1)
50
var compilation =
CreateCompilation
(source, new[] { reference });
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 (57)
36
=>
CreateCompilation
(new[] { source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute }, references, options: options, parseOptions: parseOptions, assemblyName: assemblyName, targetFramework: targetFramework);
527
comp =
CreateCompilation
(derived, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
570
var derivedComp =
CreateCompilation
(derived, references: new[] { baseReference });
573
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
615
comp =
CreateCompilation
(derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
668
var derivedComp =
CreateCompilation
(derived, new[] { baseReference });
671
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
747
comp =
CreateCompilation
(derived, new[] { baseReference }, assemblyName: "derived");
818
comp =
CreateCompilation
("#pragma warning disable CS0649 // Never assigned" + derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
1302
var comp =
CreateCompilation
(@"
1395
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1624
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1651
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1694
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1719
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1781
var comp =
CreateCompilation
(new[] { c }, references: new[] { vbComp.EmitToImageReference() });
2009
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2048
var derivedComp =
CreateCompilation
(derived, new[] { baseRef });
2051
comp =
CreateCompilation
(code, new[] { baseRef, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
2103
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2136
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2167
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2200
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2251
var derivedComp =
CreateCompilation
(derived, new[] { baseRef, originalCRef }, targetFramework: TargetFramework.Standard);
2259
var comp =
CreateCompilation
(code, new[] { baseRef, derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2295
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2335
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2370
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2409
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2441
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2470
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2501
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2544
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
2592
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
2627
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
2668
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
2893
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
2938
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
2982
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3023
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3067
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3105
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
3146
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
3186
var comp =
CreateCompilation
(c, new[] { vbComp.EmitToImageReference() });
3433
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
3457
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
3500
var comp =
CreateCompilation
(new[] { code, RequiredMemberAttribute, CompilerFeatureRequiredAttribute });
4035
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4080
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4125
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4169
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4215
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4591
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4737
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5267
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
5346
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
5541
var script =
CreateCompilation
("""
Symbols\Retargeting\NoPia.cs (57)
648
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
653
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
949
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1", targetFramework: TargetFramework.Standard);
952
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
957
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
1257
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1");
1282
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1307
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1312
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1334
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3");
1570
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1585
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1589
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1623
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1638
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1642
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1667
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1680
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1684
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1717
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1735
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1739
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1886
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
1933
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1936
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
2014
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2040
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2045
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2060
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2075
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2090
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2139
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2165
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2170
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2185
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2200
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2215
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2264
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2290
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2295
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2310
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2325
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2340
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2380
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2402
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
2407
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2422
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2472
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2498
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2503
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2518
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2533
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2548
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2585
var pia1 =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
2598
var module1 =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule, assemblyName: "Module1",
2601
var multiModule =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2616
var consumer =
CreateCompilation
(consumerSource, options: TestOptions.ReleaseDll,
Symbols\Retargeting\RetargetCustomAttributes.cs (7)
337
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
345
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll);
346
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference() }, options: TestOptions.DebugDll);
367
var comp1_1 =
CreateCompilation
(source1_1, options: TestOptions.DebugDll, assemblyName: "Lib65048");
375
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_1.ToMetadataReference() }, options: TestOptions.DebugDll);
386
var comp1_2 =
CreateCompilation
(source1_2, options: TestOptions.DebugDll, assemblyName: "Lib65048");
388
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference(), comp1_2.ToMetadataReference() }, options: TestOptions.DebugDll);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (3)
452
var compilation1 =
CreateCompilation
(source1, references: new[] { ref1 });
460
var compilation2 =
CreateCompilation
(source2, references: new[] { compilation1.ToMetadataReference(), ref1, CreateEmptyCompilation("").ToMetadataReference() });
462
var compilation3 =
CreateCompilation
("", references: new[] { compilation1.ToMetadataReference(), compilation2.ToMetadataReference() });
Symbols\Retargeting\RetargetingTests.cs (18)
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");
260
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1_v1) }, assemblyName: "assembly2");
264
var compilation3 =
CreateCompilation
("", new[] { compilation2Ref, new CSharpCompilationReference(compilation1_v2) }, assemblyName: "assembly3");
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 (69)
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);
1614
CSharpCompilation c2 =
CreateCompilation
(textB, new[] { new CSharpCompilationReference(c1) });
1621
c2 =
CreateCompilation
(textB, new[] { MetadataReference.CreateFromImage(metadata1) });
1648
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1651
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) }, assemblyName: "Two");
1840
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1843
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) }, assemblyName: "Two");
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.RegularNext);
2339
comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularNext);
2369
var comp =
CreateCompilation
(source);
2387
var comp =
CreateCompilation
(source);
2404
var comp =
CreateCompilation
(source);
Symbols\Source\ClsComplianceTests.cs (139)
52
CreateCompilation
(source).VerifyDiagnostics(
125
CreateCompilation
(source).VerifyDiagnostics(
209
CreateCompilation
(source).VerifyDiagnostics(
283
CreateCompilation
(source).VerifyDiagnostics(
332
CreateCompilation
(source).VerifyDiagnostics();
364
CreateCompilation
(source).VerifyDiagnostics(
398
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
406
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
443
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
496
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", parseOptions: TestOptions.Regular11).EmitToImageReference();
497
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", parseOptions: TestOptions.Regular11).EmitToImageReference();
498
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", parseOptions: TestOptions.Regular11).EmitToImageReference();
500
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
562
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
563
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
564
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
566
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
583
lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1").EmitToImageReference();
584
lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2").EmitToImageReference();
585
lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3").EmitToImageReference();
587
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll).VerifyDiagnostics(
690
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
737
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(
763
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
811
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
841
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
850
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularNext).VerifyDiagnostics();
880
CreateCompilation
(source).VerifyDiagnostics(
929
CreateCompilation
(source).VerifyDiagnostics(
964
CreateCompilation
(source).VerifyDiagnostics(
1025
CreateCompilation
(source).VerifyDiagnostics(
1069
CreateCompilation
(source).VerifyDiagnostics(
1123
CreateCompilation
(source).VerifyDiagnostics(
1182
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1229
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1272
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1323
CreateCompilation
(source).VerifyDiagnostics(
1365
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions)).VerifyDiagnostics(
1399
CreateCompilation
(source).VerifyDiagnostics(
1441
CreateCompilation
(source).VerifyDiagnostics(
1499
CreateCompilation
(source).VerifyDiagnostics(
1559
CreateCompilation
(source).VerifyDiagnostics(
1623
CreateCompilation
(source).VerifyDiagnostics(
1698
CreateCompilation
(source).VerifyDiagnostics(
1718
CreateCompilation
(source).VerifyDiagnostics(
1765
CreateCompilation
(source).VerifyDiagnostics(
1865
CreateCompilation
(source).VerifyDiagnostics(
1972
CreateCompilation
(source).VerifyDiagnostics(
2009
CreateCompilation
(source).VerifyDiagnostics(
2068
CreateCompilation
(source).VerifyDiagnostics(
2130
CreateCompilation
(source).VerifyDiagnostics();
2143
CreateCompilation
(source).VerifyDiagnostics(
2162
CreateCompilation
(source).VerifyDiagnostics(
2183
CreateCompilation
(source).VerifyDiagnostics(
2204
CreateCompilation
(source).VerifyDiagnostics(
2240
CreateCompilation
(source).VerifyDiagnostics(
2275
CreateCompilation
(source).VerifyDiagnostics(
2308
CreateCompilation
(source).VerifyDiagnostics();
2326
CreateCompilation
(source).VerifyDiagnostics(
2335
CreateCompilation
("[module:System.CLSCompliant(true)]").VerifyDiagnostics(
2340
CreateCompilation
("[module:System.CLSCompliant(false)]").VerifyDiagnostics(
2354
CreateCompilation
(string.Format(sourceTemplate, "true", "true")).VerifyDiagnostics();
2355
CreateCompilation
(string.Format(sourceTemplate, "false", "false")).VerifyDiagnostics();
2357
CreateCompilation
(string.Format(sourceTemplate, "true", "false")).VerifyDiagnostics(
2361
CreateCompilation
(string.Format(sourceTemplate, "false", "true")).VerifyDiagnostics(); // No warnings, since false.
2367
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2368
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2369
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2372
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2373
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2380
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2385
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2390
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2391
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2394
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2395
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2396
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2402
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2403
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2404
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2407
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2408
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2413
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2418
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2423
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2424
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2427
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2428
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2429
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2435
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2436
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2438
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2445
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2450
CreateCompilation
("", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2496
CreateCompilation
(source).VerifyDiagnostics(
2543
CreateCompilation
(source).VerifyDiagnostics(
2599
CreateCompilation
(source).VerifyDiagnostics(
2653
CreateCompilation
(source).VerifyDiagnostics(
2696
CreateCompilation
(source).VerifyDiagnostics(
2734
CreateCompilation
(source).VerifyDiagnostics(
2764
CreateCompilation
(source).VerifyDiagnostics();
2808
CreateCompilation
(source).VerifyDiagnostics(
2863
CreateCompilation
(source).VerifyDiagnostics(
2897
CreateCompilation
(source).VerifyDiagnostics();
2968
CreateCompilation
(string.Format(sourceTemplate, "")).VerifyDiagnostics(
2974
CreateCompilation
(string.Format(sourceTemplate, "void M();")).VerifyDiagnostics(
2981
CreateCompilation
(string.Format(sourceTemplate, "void m();")).VerifyDiagnostics(
2997
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3018
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3039
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3067
CreateCompilation
(source).VerifyDiagnostics();
3091
CreateCompilation
(source).VerifyDiagnostics();
3109
CreateCompilation
(source).VerifyDiagnostics();
3131
var moduleRef =
CreateCompilation
(moduleSource, assemblyName: "module").EmitToImageReference(expectedWarnings: new[]
3139
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 (13)
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 });
290
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
399
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
468
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
515
var comp =
CreateCompilation
(text);
559
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
592
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
633
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
674
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);
846
CreateCompilation
("partial public delegate void M();").VerifyDiagnostics(
858
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
867
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 (21)
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"));
472
var comp = (Compilation)
CreateCompilation
(source, new[] { libRef });
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 (107)
28
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
34
comp =
CreateCompilation
(source);
48
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
57
comp =
CreateCompilation
(source);
74
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
81
comp =
CreateCompilation
(source);
107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
119
comp =
CreateCompilation
(source);
141
var comp =
CreateCompilation
(source);
162
var comp =
CreateCompilation
(source);
182
var comp =
CreateCompilation
(source);
400
var comp =
CreateCompilation
(source);
474
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
602
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
605
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
644
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
647
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
682
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
685
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
714
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
717
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
752
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file1.cs") });
805
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularPreview, path: $"path/to/My{badChar}File.cs", encoding: Encoding.Default));
832
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "\uD800.cs"));
997
var comp =
CreateCompilation
(new[] { source1 + main, source2 });
1000
comp =
CreateCompilation
(new[] { source1, source2 + main });
1248
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1269
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1323
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1343
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1397
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1447
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1504
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") });
1510
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") });
1576
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") }, options: TestOptions.DebugExe);
1584
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") }, options: TestOptions.DebugExe);
1751
var comp =
CreateCompilation
(source);
1768
var comp =
CreateCompilation
(source);
1786
var comp =
CreateCompilation
((source, "file1.cs"));
1807
var comp =
CreateCompilation
(source);
1832
var comp =
CreateCompilation
(source);
1857
var comp =
CreateCompilation
(source);
1885
var comp =
CreateCompilation
(source);
1926
var comp =
CreateCompilation
(source);
1983
var comp =
CreateCompilation
(source);
2011
var comp =
CreateCompilation
(source);
2036
var comp =
CreateCompilation
(source);
2060
var comp =
CreateCompilation
(source);
2081
var comp =
CreateCompilation
(source);
2104
var comp =
CreateCompilation
(source);
2128
var comp =
CreateCompilation
(source);
2148
var comp =
CreateCompilation
(source);
2174
var comp =
CreateCompilation
(source);
2279
var comp =
CreateCompilation
(source);
2300
var comp =
CreateCompilation
(source);
2318
var comp =
CreateCompilation
(source);
2339
var comp =
CreateCompilation
(source);
2368
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2392
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2421
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2460
var comp =
CreateCompilation
(source);
2487
var comp =
CreateCompilation
(source);
2520
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source);
2555
var comp =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") });
2587
var comp =
CreateCompilation
(source);
2607
var comp =
CreateCompilation
(source);
2666
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2696
var comp =
CreateCompilation
(source);
2734
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2802
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") }, options: TestOptions.DebugExe.WithUsings("NS"));
2831
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
2870
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3044
var compilation =
CreateCompilation
(new[] { (source, "file.cs"), (main, "file2.cs") });
3079
var compilation =
CreateCompilation
(source);
3145
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3211
var compilation =
CreateCompilation
(source);
3252
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3295
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3322
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") }, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3412
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3441
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3465
var comp =
CreateCompilation
(source);
3489
var comp =
CreateCompilation
(new[]
3545
var comp =
CreateCompilation
(source1);
3567
var comp =
CreateCompilation
(source1);
3581
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
3598
var comp =
CreateCompilation
(source1);
3608
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
3629
var comp =
CreateCompilation
(source1);
3656
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3665
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
3684
var ref1 =
CreateCompilation
(source1, assemblyName: "ref1");
3685
var ref2 =
CreateCompilation
(source1, assemblyName: "ref2");
3687
var comp =
CreateCompilation
("", references: new[]
3713
var comp =
CreateCompilation
(source1);
3735
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "path/to/SomeFile.cs"));
3764
var comp =
CreateCompilation
(source);
3779
var referencingMetadataComp =
CreateCompilation
("", new[] { comp.ToMetadataReference() });
3788
var referencingImageComp =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
3809
var comp =
CreateCompilation
(source);
3832
var comp =
CreateCompilation
(source);
3862
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
3882
var comp1 =
CreateCompilation
(
3904
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
3921
var comp1 =
CreateCompilation
(
3950
var ex = Assert.Throws<ArgumentException>(() =>
CreateCompilation
(new[] { tree, tree }));
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 (59)
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);
Symbols\Source\ModifierTests.cs (11)
47
var comp =
CreateCompilation
(text);
149
var comp =
CreateCompilation
(source);
178
CreateCompilation
(@"
191
CreateCompilation
(@"
204
CreateCompilation
(@"
217
CreateCompilation
(@"
232
CreateCompilation
(@"
247
CreateCompilation
(@"
279
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
313
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
334
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 (111)
40
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80
var comp =
CreateCompilation
(source, options: WithNullableEnable());
425
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
432
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
439
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
462
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
467
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
471
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
936
var comp =
CreateCompilation
(source);
993
var comp =
CreateCompilation
(source);
1033
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
1037
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
1041
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1048
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
1053
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
1057
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
1087
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1115
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1139
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1199
var comp = (Compilation)
CreateCompilation
(source, options: WithNullableEnable());
1251
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1323
var comp =
CreateCompilation
(source);
1352
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1464
var comp =
CreateCompilation
(source);
1504
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1557
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1611
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1651
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1697
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1740
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: featureFlagOff);
1751
comp =
CreateCompilation
(source, options: WithNullableEnable());
1818
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1845
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1888
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1930
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1980
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2041
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2084
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2127
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2209
var comp =
CreateCompilation
(source, options: WithNullableEnable().WithAllowUnsafe(true));
2239
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2277
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2321
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2362
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2407
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2447
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2495
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2589
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8.WithFeature("run-nullable-analysis", flagState));
2658
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2728
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2820
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2869
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2951
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2993
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3035
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3083
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3142
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3187
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3237
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3397
var comp =
CreateCompilation
(source);
3442
var comp =
CreateCompilation
(source);
3479
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3531
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3592
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3655
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3678
var comp =
CreateCompilation
(@"
3713
var comp =
CreateCompilation
(@"
3760
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3803
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3845
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3907
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3963
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4032
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
4105
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4171
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4206
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4240
var comp =
CreateCompilation
(source);
4263
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4297
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4332
var comp =
CreateCompilation
(source);
4362
var comp =
CreateCompilation
(source);
4390
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4418
var comp =
CreateCompilation
(source);
4448
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4508
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4540
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4573
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4601
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4634
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4665
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4696
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4726
var comp =
CreateCompilation
(source);
4764
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4811
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4877
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4897
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4931
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithNullableContextOptions(NullableContextOptions.Enable));
4963
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Minimal);
4998
var comp =
CreateCompilation
(source, assemblyName: "comp", options: WithNullableEnable());
5018
var comp =
CreateCompilation
(@"
5070
var comp =
CreateCompilation
(@"string s = """" switch { _ => string.Empty };", options: WithNullableEnable(TestOptions.ReleaseExe));
5102
var comp =
CreateCompilation
(source);
5134
var comp =
CreateCompilation
(source);
5165
var comp =
CreateCompilation
(source);
Symbols\Source\PropertyTests.cs (37)
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: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5));
2976
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2989
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 (34)
31
var comp =
CreateCompilation
(tree);
88
var comp =
CreateCompilation
(tree);
148
var comp =
CreateCompilation
(tree);
203
var comp =
CreateCompilation
(tree);
268
var comp =
CreateCompilation
(tree);
295
var comp =
CreateCompilation
(tree);
341
var comp =
CreateCompilation
(tree);
382
var comp =
CreateCompilation
(tree);
403
var comp =
CreateCompilation
(tree);
422
var comp =
CreateCompilation
(tree);
441
var comp =
CreateCompilation
(tree);
460
var comp =
CreateCompilation
(tree);
479
var comp =
CreateCompilation
(tree);
500
var comp =
CreateCompilation
(tree);
521
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
542
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
562
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
581
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
601
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
625
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
648
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
665
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
686
var compilation =
CreateCompilation
(text);
730
var compilation =
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
773
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
775
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
801
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
823
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
831
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
859
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
871
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(expected);
872
CreateCompilation
(text).VerifyDiagnostics(expected);
888
CreateCompilation
(text).VerifyDiagnostics(
896
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
Symbols\StaticAbstractMembersInInterfacesTests.cs (557)
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,
13153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13172
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13238
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13258
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13329
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13367
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13448
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13452
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13463
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13500
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13504
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13515
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13552
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13556
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13570
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13607
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13611
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13622
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13659
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13663
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13674
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13711
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13715
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13726
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13790
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13887
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13982
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14041
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14080
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14170
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14174
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14185
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14219
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14223
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14234
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14272
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14283
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14320
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14324
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14335
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14619
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14681
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14711
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14772
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14776
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14787
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14821
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14825
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14836
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14911
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14977
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
15037
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15099
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15123
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
15178
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15182
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15193
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15227
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15231
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15242
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15306
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15371
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15393
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll.WithAllowUnsafe(true),
15446
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15450
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15461
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15495
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15499
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15510
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15652
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15714
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15790
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15867
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15928
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15932
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15946
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15984
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15988
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15999
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
16031
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16035
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16046
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
16083
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16145
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16201
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16218
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16496
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16699
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16770
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16785
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16860
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16863
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16879
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16942
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16945
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16961
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17024
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17027
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17043
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17094
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17097
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17114
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17169
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17172
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17188
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17259
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17275
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17346
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17349
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17372
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17452
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17455
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17478
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17630
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17773
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17909
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18052
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18161
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18308
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18461
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18647
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18795
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18799
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
18837
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
18923
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18927
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
18981
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19083
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19087
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19098
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19135
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19139
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19150
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19187
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19191
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19202
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19242
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19246
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19257
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19317
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19398
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19490
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19578
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19661
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19753
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19842
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19929
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19946
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20001
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20020
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20086
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20103
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20166
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20183
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20812
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21294
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21311
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21354
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21371
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21457
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21474
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21577
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21592
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21698
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21701
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21717
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21807
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21810
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21826
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21909
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21912
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
21928
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22066
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22216
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22286
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22331
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22402
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22482
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22544
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22620
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22701
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22772
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22776
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22796
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22834
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22838
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22855
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22890
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22894
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22905
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
22945
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23040
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23131
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23219
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23236
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24410
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24780
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24797
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24895
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24910
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25020
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25023
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25039
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25090
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25093
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25110
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25181
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25261
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25323
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25399
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25550
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25554
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25577
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25618
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25622
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25639
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25671
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25675
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25686
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
25723
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25818
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25906
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25923
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26938
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27445
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27462
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27560
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27575
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27686
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27689
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
27705
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27756
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27759
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
27776
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27915
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28058
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28167
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28324
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28442
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28446
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28480
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28543
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28547
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28558
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28595
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28599
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28610
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28791
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28893
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28910
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29271
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29518
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29535
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29633
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29636
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
29652
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29739
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29742
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
29758
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29878
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
29945
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30010
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30078
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30164
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30170
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30236
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30349
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30422
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30540
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30544
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30555
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30598
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30602
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30613
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30655
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30659
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30684
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30741
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30745
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30756
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
30807
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30893
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
31011
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31062
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31106
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31220
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31311
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31365
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31414
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31487
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31545
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31598
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31639
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31723
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31735
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31795
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31858
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31893
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31927
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32109
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32160
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32238
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32292
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32333
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32368
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32409
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32451
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32497
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32539
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32575
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32639
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32679
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32717
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32749
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32787
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32819
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32857
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32889
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32927
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32959
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32997
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33029
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33067
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33089
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33120
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33156
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33187
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33223
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33254
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33290
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33321
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33349
CreateCompilation
("""
33452
CreateCompilation
("""
33467
CreateCompilation
("""
33508
CreateCompilation
("""
33554
CreateCompilation
("""
Symbols\SymbolDistinguisherTests.cs (52)
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"));
78
var comp =
CreateCompilation
(Parse(source, "file2.cs"), new[] { libRef }, assemblyName: "Source");
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"));
118
var comp =
CreateCompilation
(tree, new[] { libRef }, assemblyName: "Source");
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"));
580
CreateCompilation
(Parse(source, "file.cs"), new[] { libRef }, assemblyName: "Source").VerifyDiagnostics(
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);
782
var comp1 =
CreateCompilation
(Parse(source1), new[] { ref0 });
Symbols\SymbolEqualityTests.cs (26)
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);
341
var comp2 = (Compilation)
CreateCompilation
(source2, new[] { new CSharpCompilationReference((CSharpCompilation)comp1) });
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 (614)
99
var module1 =
CreateCompilation
(text1, options: TestOptions.ReleaseModule, assemblyName: name1);
101
var module2 =
CreateCompilation
(text2,
106
var comp =
CreateCompilation
(text,
142
var comp =
CreateCompilation
(text, references: new MetadataReference[] { ref2 }, assemblyName: "Test3");
168
CreateCompilation
(text).VerifyDiagnostics(
263
CreateCompilation
(source).VerifyDiagnostics(
349
CreateCompilation
(text).VerifyDiagnostics(
434
CreateCompilation
(text).VerifyDiagnostics(
512
var comp =
CreateCompilation
(text);
539
var comp =
CreateCompilation
(text);
575
CreateCompilation
(text).VerifyDiagnostics(
589
var comp =
CreateCompilation
(text);
740
CreateCompilation
(source).VerifyDiagnostics(
764
CreateCompilation
(source).VerifyDiagnostics(
798
CreateCompilation
(text).VerifyDiagnostics(
821
CreateCompilation
(text).VerifyDiagnostics(
838
CreateCompilation
(text, parseOptions: TestOptions.Regular,
847
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
875
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
897
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
919
CreateCompilation
(text).VerifyDiagnostics(
944
CreateCompilation
(text).VerifyDiagnostics(
966
CreateCompilation
(text).VerifyDiagnostics(
995
CreateCompilation
(text).VerifyDiagnostics(
1036
CreateCompilation
(text).VerifyDiagnostics(
1056
CreateCompilation
(text).VerifyDiagnostics(
1082
var comp =
CreateCompilation
(text);
1211
CreateCompilation
(
1227
CreateCompilation
(
1257
CreateCompilation
(
1335
CreateCompilation
(
1361
CreateCompilation
(
1382
CreateCompilation
(
1398
CreateCompilation
(
1421
CreateCompilation
(
1454
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1559
var comp =
CreateCompilation
(text);
1584
CreateCompilation
(
1624
CreateCompilation
(
1671
var comp =
CreateCompilation
(text);
1715
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1762
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1822
CreateCompilation
(text).VerifyDiagnostics(
1877
CreateCompilation
(text).VerifyDiagnostics(
1930
CreateCompilation
(text).VerifyDiagnostics(
1958
var compilation =
CreateCompilation
(
1975
var compilation =
CreateCompilation
(
2004
var compilation =
CreateCompilation
(
2040
var compilation =
CreateCompilation
(
2082
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2111
CreateCompilation
(tree).VerifyDiagnostics(
2148
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2248
CreateCompilation
(text).VerifyDiagnostics(
2315
var comp =
CreateCompilation
(text);
2384
CreateCompilation
(text).VerifyDiagnostics(
2411
CreateCompilation
(text).VerifyDiagnostics(
2487
CreateCompilation
(text).
2513
CreateCompilation
(text).
2528
var comp =
CreateCompilation
(Parse(text, options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)));
2650
var comp =
CreateCompilation
(text);
2688
CreateCompilation
(
2710
CreateCompilation
(
2725
CreateCompilation
(
2795
CreateCompilation
(text).VerifyDiagnostics(
2833
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2863
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2880
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2925
CreateCompilation
(text).VerifyDiagnostics(
2961
CreateCompilation
(text).VerifyDiagnostics(
3053
var comp =
CreateCompilation
(text);
3143
var c =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithAllowUnsafe(false));
3163
CreateCompilation
(text).VerifyDiagnostics(
3223
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
3261
CreateCompilation
(text).VerifyDiagnostics(
3315
CreateCompilation
(text).VerifyDiagnostics(
3398
CreateCompilation
(text).VerifyDiagnostics(
3419
CreateCompilation
(text).VerifyDiagnostics(
3452
CreateCompilation
(text).
3466
CreateCompilation
(text).VerifyDiagnostics(
3487
CreateCompilation
(text).VerifyDiagnostics(
3562
var comp =
CreateCompilation
(text);
3691
var comp =
CreateCompilation
(text);
3716
var comp =
CreateCompilation
(text);
3794
CreateCompilation
(text).VerifyDiagnostics(
3854
CreateCompilation
(text).VerifyDiagnostics(
3877
var comp =
CreateCompilation
(text, new[] { ref1, ref2 });
3929
CreateCompilation
(text).VerifyDiagnostics(
4033
CreateCompilation
(text).VerifyDiagnostics(
4109
CreateCompilation
(text).VerifyDiagnostics(
4126
CreateCompilation
(text).VerifyDiagnostics(
4136
CreateCompilation
(
4160
CreateCompilation
(
4197
CreateCompilation
(text).VerifyDiagnostics(
4219
CreateCompilation
(text).VerifyDiagnostics(
4541
CreateCompilation
(text).VerifyDiagnostics(
4581
CreateCompilation
(text).VerifyDiagnostics(
4599
CreateCompilation
(text).VerifyDiagnostics(
4670
var comp =
CreateCompilation
(text);
4698
CreateCompilation
(source).VerifyDiagnostics(
4720
CreateCompilation
(source).VerifyDiagnostics(
4745
CreateCompilation
(source).VerifyDiagnostics(
4801
CreateCompilation
(text).VerifyDiagnostics(
4841
var compilation =
CreateCompilation
(text);
4911
CreateCompilation
(text).VerifyDiagnostics(
4926
CreateCompilation
(text).VerifyDiagnostics(
4949
CreateCompilation
(text).VerifyDiagnostics(
5033
CreateCompilation
(source).VerifyDiagnostics(
5093
CreateCompilation
(source).VerifyDiagnostics(
5162
CreateCompilation
(source).VerifyDiagnostics(
5200
CreateCompilation
(source).VerifyDiagnostics(
5249
CreateCompilation
(source).VerifyDiagnostics(
5292
CreateCompilation
(source).VerifyDiagnostics(
5325
var comp =
CreateCompilation
(text);
5354
CreateCompilation
(text).VerifyDiagnostics(
5375
CreateCompilation
(text).VerifyDiagnostics(
5418
var comp =
CreateCompilation
(text, new List<MetadataReference> { ref1, ref2 });
5440
comp =
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }, new List<MetadataReference> { ref1 });
5511
var comp =
CreateCompilation
(text,
5550
var comp =
CreateCompilation
(text,
5577
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5595
var comp =
CreateCompilation
(text,
5609
comp =
CreateCompilation
(text,
5638
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5657
var comp =
CreateCompilation
(text,
5670
comp =
CreateCompilation
(text,
5698
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5716
var comp =
CreateCompilation
(text,
5730
comp =
CreateCompilation
(text,
5759
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5778
var comp =
CreateCompilation
(text,
5791
comp =
CreateCompilation
(text,
5819
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5837
var comp =
CreateCompilation
(text,
5849
comp =
CreateCompilation
(text,
5876
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5894
var comp =
CreateCompilation
(text,
5907
comp =
CreateCompilation
(text,
5935
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5953
var comp =
CreateCompilation
(text,
5966
comp =
CreateCompilation
(text,
5994
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6012
var comp =
CreateCompilation
(text,
6025
comp =
CreateCompilation
(text,
6059
var comp =
CreateCompilation
(text,
6095
var comp =
CreateCompilation
(text,
6131
var comp =
CreateCompilation
(text,
6167
var comp =
CreateCompilation
(text,
6191
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6210
var comp =
CreateCompilation
(text,
6223
comp =
CreateCompilation
(text,
6251
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6270
var comp =
CreateCompilation
(text,
6284
comp =
CreateCompilation
(text,
6313
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6332
var comp =
CreateCompilation
(text,
6345
comp =
CreateCompilation
(text,
6373
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6392
var comp =
CreateCompilation
(text,
6406
comp =
CreateCompilation
(text,
6435
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6457
var comp =
CreateCompilation
(text,
6470
comp =
CreateCompilation
(text,
6498
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6520
var comp =
CreateCompilation
(text,
6533
comp =
CreateCompilation
(text,
6561
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6583
var comp =
CreateCompilation
(text,
6600
comp =
CreateCompilation
(text,
6632
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6654
var comp =
CreateCompilation
(text,
6667
comp =
CreateCompilation
(text,
6695
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6717
var comp =
CreateCompilation
(text,
6733
comp =
CreateCompilation
(text,
6764
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6786
var comp =
CreateCompilation
(text,
6803
comp =
CreateCompilation
(text,
6835
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
6851
var comp =
CreateCompilation
(text,
6868
comp =
CreateCompilation
(text,
6887
comp =
CreateCompilation
(text,
6920
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
6936
var comp =
CreateCompilation
(text,
6950
comp =
CreateCompilation
(text,
6966
comp =
CreateCompilation
(text,
6991
var ModuleA01Ref =
CreateCompilation
(ModuleA01, options: TestOptions.ReleaseModule, assemblyName: "ModuleA01").EmitToImageReference();
6999
var ModuleB01Ref =
CreateCompilation
(ModuleB01, options: TestOptions.ReleaseModule, assemblyName: "ModuleB01").EmitToImageReference();
7011
var comp =
CreateCompilation
(text,
7066
var compilation =
CreateCompilation
(source,
7153
var moduleRef2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "mod_1_2").EmitToImageReference();
7155
var compilation =
CreateCompilation
("",
7189
var forwardedTypes1 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes1");
7192
var forwardedTypes2 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes2");
7195
var forwardedTypesModRef =
CreateCompilation
(forwardedTypesSource,
7206
var module1_FT1_Ref =
CreateCompilation
(modSource,
7212
var module2_FT1_Ref =
CreateCompilation
(modSource,
7218
var module3_FT2_Ref =
CreateCompilation
(modSource,
7224
var module4_Ref =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<int>))]",
7230
var compilation =
CreateCompilation
(forwardedTypesSource,
7243
compilation =
CreateCompilation
(modSource,
7253
compilation =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<byte>))]",
7262
compilation =
CreateCompilation
(modSource,
7276
compilation =
CreateCompilation
(
7295
compilation =
CreateCompilation
("",
7309
compilation =
CreateCompilation
("",
7323
compilation =
CreateCompilation
("",
7333
compilation =
CreateCompilation
("",
7372
var comp =
CreateCompilation
(text);
7401
CreateCompilation
(source).VerifyDiagnostics(
7419
CreateCompilation
(text).VerifyDiagnostics(
7444
CreateCompilation
(source).VerifyDiagnostics(
7502
CreateCompilation
(source).VerifyDiagnostics(
7580
CreateCompilation
(source).VerifyDiagnostics(
7655
CreateCompilation
(source).VerifyDiagnostics(
7681
CreateCompilation
(source).VerifyDiagnostics(
7709
CreateCompilation
(source).VerifyDiagnostics(
7748
CreateCompilation
(source).VerifyDiagnostics(
7777
CreateCompilation
(source).VerifyDiagnostics(
7800
CreateCompilation
(source).VerifyDiagnostics(
7834
CreateCompilation
(source).VerifyDiagnostics(
7861
CreateCompilation
(source).VerifyDiagnostics(
7884
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
7944
CreateCompilation
(text).VerifyDiagnostics(
7984
var comp =
CreateCompilation
(text).VerifyDiagnostics(
8027
CreateCompilation
(text).VerifyDiagnostics(
8056
CreateCompilation
(text).VerifyDiagnostics(
8075
CreateCompilation
(source).VerifyDiagnostics(
8131
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8438
CreateCompilation
(text).VerifyDiagnostics(
8458
CreateCompilation
(source).VerifyDiagnostics(
8479
CreateCompilation
(source).VerifyDiagnostics(
8506
CreateCompilation
(source).VerifyDiagnostics(
8534
CreateCompilation
(text).VerifyDiagnostics(
8674
CreateCompilation
(text).VerifyDiagnostics(
8795
CreateCompilation
(text).VerifyDiagnostics(
8840
CreateCompilation
(text).VerifyDiagnostics(
8871
CreateCompilation
(text).VerifyDiagnostics(
8907
CreateCompilation
(text).VerifyDiagnostics(
8940
CreateCompilation
(text).VerifyDiagnostics(
9000
CreateCompilation
(text).VerifyDiagnostics(
9057
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
9090
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
9221
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9257
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9272
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9289
CreateCompilation
(text).VerifyDiagnostics(
9361
CreateCompilation
(text).VerifyDiagnostics(
9402
CreateCompilation
(text).VerifyDiagnostics(
9475
CreateCompilation
(text).VerifyDiagnostics(
9709
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9728
var comp =
CreateCompilation
(
9866
CreateCompilation
(source).VerifyDiagnostics();
9872
CreateCompilation
(
9919
CreateCompilation
(source).VerifyDiagnostics(
9958
CreateCompilation
(source).VerifyDiagnostics(
10008
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10059
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10146
var comp =
CreateCompilation
(text);
10200
var comp =
CreateCompilation
(text);
10319
CreateCompilation
(text).VerifyDiagnostics(
10413
var comp =
CreateCompilation
(text);
10443
var comp =
CreateCompilation
(text);
10466
var comp =
CreateCompilation
(text);
10491
var comp =
CreateCompilation
(text);
10515
var comp =
CreateCompilation
(text);
10546
var comp =
CreateCompilation
(text);
10571
var comp =
CreateCompilation
(text);
10590
var comp =
CreateCompilation
(text);
10608
var comp =
CreateCompilation
(text);
10627
var comp =
CreateCompilation
(text);
10674
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview);
10684
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
10700
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
10721
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
10772
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10801
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
10822
comp =
CreateCompilation
(text);
10854
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5));
10866
comp =
CreateCompilation
(text);
10922
var comp =
CreateCompilation
(text);
10962
CreateCompilation
(source).VerifyDiagnostics(
10986
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
11002
var comp =
CreateCompilation
(source);
11018
var comp =
CreateCompilation
(source);
11039
CreateCompilation
(text).VerifyDiagnostics(
11057
CreateCompilation
(text).VerifyDiagnostics(
11087
CreateCompilation
(text).VerifyDiagnostics(
11106
var comp =
CreateCompilation
(text);
11138
var compilation =
CreateCompilation
(text);
11210
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
11242
CreateCompilation
(text).VerifyDiagnostics(
11263
CreateCompilation
(text).VerifyDiagnostics(
11383
CreateCompilation
(source).VerifyDiagnostics(
11427
CreateCompilation
(text).VerifyDiagnostics(
11482
var comp =
CreateCompilation
(source);
11500
CreateCompilation
(text).VerifyDiagnostics(
11537
CreateCompilation
(text).VerifyDiagnostics(
11562
var compilation =
CreateCompilation
(text);
11619
CreateCompilation
(text).VerifyDiagnostics(
11643
CreateCompilation
(source).VerifyDiagnostics(
11698
CreateCompilation
(text).VerifyDiagnostics();
11711
CreateCompilation
(text).VerifyDiagnostics();
11885
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
11932
var comp =
CreateCompilation
(text);
11978
CreateCompilation
(text).VerifyDiagnostics(
12046
CreateCompilation
(text).VerifyDiagnostics(
12125
CreateCompilation
(text).VerifyDiagnostics(
12184
CreateCompilation
(text).VerifyDiagnostics(
12207
CreateCompilation
(text).VerifyDiagnostics(
12231
var comp =
CreateCompilation
(text);
12282
CreateCompilation
(source).VerifyDiagnostics(
12320
CreateCompilation
(text).VerifyDiagnostics(
12361
CreateCompilation
(text).VerifyDiagnostics(
12391
CreateCompilation
(text).VerifyDiagnostics(
12416
var comp =
CreateCompilation
(text);
12481
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
12530
CreateCompilation
(text).VerifyDiagnostics(
12597
CreateCompilation
(source).VerifyDiagnostics(
12652
CreateCompilation
(text).VerifyDiagnostics(
12725
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12741
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12764
CreateCompilation
(source).VerifyDiagnostics(
12789
CreateCompilation
(source).VerifyDiagnostics(
12811
CreateCompilation
(source).VerifyDiagnostics(
12845
CreateCompilation
(source).VerifyDiagnostics(
12883
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
12920
var comp =
CreateCompilation
(text);
13053
CreateCompilation
(text).VerifyDiagnostics(
13083
CreateCompilation
(source).VerifyDiagnostics(
13101
CreateCompilation
(source).VerifyDiagnostics(
13132
CreateCompilation
(text).VerifyDiagnostics(
13157
CreateCompilation
(text).VerifyDiagnostics(
13188
CreateCompilation
(text).VerifyDiagnostics(
13278
var strictComp =
CreateCompilation
(text);
13283
var regularComp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13296
CreateCompilation
(source).VerifyDiagnostics(
13323
CreateCompilation
(text).VerifyDiagnostics(
13408
var comp =
CreateCompilation
(text);
13482
CreateCompilation
(source).VerifyDiagnostics(
13503
CreateCompilation
(source).VerifyDiagnostics(
13526
CreateCompilation
(source).VerifyDiagnostics(
13577
CreateCompilation
(source).VerifyDiagnostics(
13599
CreateCompilation
(source).VerifyDiagnostics(
13617
CreateCompilation
(source).VerifyDiagnostics(
13647
CreateCompilation
(source).VerifyDiagnostics(
13670
CreateCompilation
(csharp).VerifyDiagnostics(
13689
var comp =
CreateCompilation
(source);
13709
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13728
var comp1 =
CreateCompilation
(text1);
13731
var comp2 =
CreateCompilation
(text2, new MetadataReference[] { compRef1 });
13752
CreateCompilation
(csharp).VerifyDiagnostics(
13857
CreateCompilation
(csharp).VerifyDiagnostics(
13878
CreateCompilation
(csharp).VerifyDiagnostics();
13920
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
13996
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
14017
var comp =
CreateCompilation
(text);
14065
CreateCompilation
(text).VerifyDiagnostics(
14086
CreateCompilation
(text).VerifyDiagnostics(
14129
CreateCompilation
(text).VerifyDiagnostics(
14145
CreateCompilation
(text).VerifyDiagnostics(
14165
CreateCompilation
(text).VerifyDiagnostics(
14241
CreateCompilation
(source).VerifyDiagnostics(
14335
CreateCompilation
(source).VerifyDiagnostics(
14352
CreateCompilation
(text).VerifyDiagnostics(
14370
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14397
CreateCompilation
(text).VerifyDiagnostics(
14446
var comp =
CreateCompilation
(text);
14494
CreateCompilation
(text).VerifyDiagnostics(
14526
CreateCompilation
(text).VerifyDiagnostics();
14546
CreateCompilation
(text).VerifyDiagnostics(
14562
CreateCompilation
(source).VerifyDiagnostics(
14664
CreateCompilation
(text).VerifyDiagnostics(
14691
var compilation =
CreateCompilation
(text);
14703
var compilation =
CreateCompilation
(
14724
CreateCompilation
(
14750
var compilation =
CreateCompilation
(
14794
CreateCompilation
(
14815
var compilation =
CreateCompilation
(
14900
var compilation =
CreateCompilation
(source);
14938
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
14981
var comp =
CreateCompilation
(text);
15030
var comp =
CreateCompilation
(text);
15058
CreateCompilation
(text).VerifyDiagnostics(
15081
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
15333
CreateCompilation
(text).VerifyDiagnostics(
15360
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
15373
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15387
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15403
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15418
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15433
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15445
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15460
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15490
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15508
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15523
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15537
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15554
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15588
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15613
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15634
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15679
var comp =
CreateCompilation
(text).VerifyDiagnostics(
15692
CreateCompilation
(text).VerifyDiagnostics(
15796
CreateCompilation
(text).VerifyDiagnostics(
15825
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15887
CreateCompilation
(text).VerifyDiagnostics(
15917
CreateCompilation
(text).VerifyDiagnostics(
15942
var comp =
CreateCompilation
(text);
15965
CreateCompilation
(source).VerifyDiagnostics(
15987
CreateCompilation
(text).VerifyDiagnostics(
16038
var compilation =
CreateCompilation
(text);
16058
CreateCompilation
(text).VerifyDiagnostics(
16078
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
16114
var comp1 =
CreateCompilation
(textdll);
16116
CreateCompilation
(text, references: new MetadataReference[] { ref1 }).VerifyDiagnostics(
16182
var comp =
CreateCompilation
(textdll);
16184
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16210
var comp =
CreateCompilation
(textdll);
16212
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16248
var comp =
CreateCompilation
(textdll);
16250
var comp1 =
CreateCompilation
(text, new[] { ref1 });
16348
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16451
var comp =
CreateCompilation
(textdll);
16453
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16475
var comp =
CreateCompilation
(text);
16496
CreateCompilation
(text).VerifyDiagnostics(
16516
CreateCompilation
(text).VerifyDiagnostics();
16531
CreateCompilation
(text).VerifyDiagnostics(
16550
CreateCompilation
(text).VerifyDiagnostics();
16567
CreateCompilation
(text).VerifyDiagnostics(
16585
CreateCompilation
(text).VerifyDiagnostics(
16599
CreateCompilation
(text).VerifyDiagnostics(
16612
CreateCompilation
(text).VerifyDiagnostics(
16712
CreateCompilation
(source).VerifyDiagnostics(
16776
CreateCompilation
(source).VerifyDiagnostics(
16797
CSharpCompilation comp =
CreateCompilation
(text);
16822
CSharpCompilation comp =
CreateCompilation
(text);
16857
CSharpCompilation comp =
CreateCompilation
(text);
16904
CreateCompilation
(text).VerifyDiagnostics(
16981
CreateCompilation
(source).VerifyDiagnostics(
17066
CreateCompilation
(text).VerifyDiagnostics(
17139
CreateCompilation
(text).VerifyDiagnostics(
17315
CreateCompilation
(text).VerifyDiagnostics(
17415
CreateCompilation
(text).VerifyDiagnostics(
17483
var comp =
CreateCompilation
(text);
17517
var comp =
CreateCompilation
(program);
17545
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17583
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17645
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17646
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17650
var lib =
CreateCompilation
(tree, new MetadataReference[]
17703
CreateCompilation
(sourceLib).VerifyDiagnostics(
17726
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17727
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17731
var lib =
CreateCompilation
(tree, new MetadataReference[]
17764
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17794
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17826
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17852
var compilation =
CreateCompilation
(
17892
CreateCompilation
(text).VerifyDiagnostics(
17950
CreateCompilation
(source).VerifyDiagnostics(
17978
CreateCompilation
(source).VerifyDiagnostics(
18051
CreateCompilation
(text).VerifyDiagnostics(
18073
CreateCompilation
(text).VerifyDiagnostics(
18100
CreateCompilation
(text).VerifyDiagnostics(
18134
CreateCompilation
(text).VerifyDiagnostics(
18175
CreateCompilation
(text).VerifyDiagnostics(
18222
CreateCompilation
(text).VerifyDiagnostics(
18318
CreateCompilation
(source).VerifyDiagnostics(
18339
CreateCompilation
(source).VerifyDiagnostics(
18359
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18387
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18412
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18437
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18463
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18483
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18509
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18532
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18551
var compilation =
CreateCompilation
(
18571
var compilation =
CreateCompilation
(
18598
var compilation =
CreateCompilation
(
18629
CreateCompilation
(text).VerifyDiagnostics(
18653
CreateCompilation
(text).VerifyDiagnostics(
18721
CSharpCompilation comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
18749
CreateCompilation
(text).VerifyDiagnostics(
18769
CreateCompilation
(text).VerifyDiagnostics(
18790
CreateCompilation
(text).VerifyDiagnostics(
18808
CreateCompilation
(text).VerifyDiagnostics(
18830
CreateCompilation
(text).VerifyDiagnostics(
18856
CreateCompilation
(text).VerifyDiagnostics(
18873
CreateCompilation
(text).VerifyDiagnostics(
18892
CreateCompilation
(text).VerifyDiagnostics(
18912
CreateCompilation
(text).VerifyDiagnostics(
18939
CreateCompilation
(text).VerifyDiagnostics(
18966
CreateCompilation
(text).VerifyDiagnostics(
18983
CreateCompilation
(text).VerifyDiagnostics(
18993
CreateCompilation
("[assembly: System.CLSCompliant(true)]", new[] { netModule }).VerifyDiagnostics(
19015
CreateCompilation
(text).VerifyDiagnostics(
19032
CreateCompilation
(text).VerifyDiagnostics(
19057
CreateCompilation
(text).VerifyDiagnostics(
19076
CreateCompilation
(text).VerifyDiagnostics();
19093
CreateCompilation
(text).VerifyDiagnostics(
19116
CreateCompilation
(text).VerifyDiagnostics(
19137
CreateCompilation
(text).VerifyDiagnostics(
19159
CreateCompilation
(text).VerifyDiagnostics(
19178
CreateCompilation
(text).VerifyDiagnostics(
19213
CreateCompilation
(text).VerifyDiagnostics(
19349
var comp =
CreateCompilation
(text).VerifyDiagnostics(
19369
CreateCompilation
(
19385
CreateCompilation
(
19417
CreateCompilation
(
19475
var comp =
CreateCompilation
(text);
19503
CreateCompilation
(
19517
CreateCompilation
(
19572
CreateCompilation
(
19586
CreateCompilation
(
19640
CreateCompilation
(
19732
CreateCompilation
(text).VerifyDiagnostics(
19785
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
19793
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19800
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19808
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(
19813
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
19828
CreateCompilation
(string.Format(template, "int P;")).VerifyDiagnostics(
19836
CreateCompilation
(string.Format(template, "int get_P;")).VerifyDiagnostics(
19843
CreateCompilation
(string.Format(template, "int set_P;")).VerifyDiagnostics(
19851
CreateCompilation
(string.Format(template, "int P() { return 0; }")).VerifyDiagnostics(
19856
CreateCompilation
(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics();
19859
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
19863
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19867
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19871
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics();
19872
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
20123
CreateCompilation
(text).VerifyDiagnostics(
20145
CreateCompilation
(text).VerifyDiagnostics(
20197
CreateCompilation
(text).VerifyDiagnostics(
20230
CreateCompilation
(text).VerifyDiagnostics(
20277
CreateCompilation
(text).VerifyDiagnostics();
20286
var comp1 =
CreateCompilation
(@"
20291
var comp2 =
CreateCompilation
(@"
20308
var comp3 =
CreateCompilation
(source3, new[] { new CSharpCompilationReference(comp2) }, options: TestOptions.ReleaseDll);
20312
var comp4 =
CreateCompilation
(source3, new[] { comp2.EmitToImageReference() }, options: TestOptions.ReleaseDll);
20335
CreateCompilation
(source).VerifyDiagnostics(
20356
CreateCompilation
(source).VerifyDiagnostics();
20591
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20606
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20622
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC }, assemblyName: "A").VerifyDiagnostics(); // No Errors
20640
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }, assemblyName: "A").VerifyDiagnostics(
20655
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20670
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20708
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }).VerifyDiagnostics(
20718
var referenceD =
CreateCompilation
(codeD, assemblyName: "D").EmitToImageReference();
20743
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }, assemblyName: "Forwarder").VerifyDiagnostics(
20763
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }).VerifyDiagnostics(
20772
var dReference =
CreateCompilation
(dCode, assemblyName: "D").EmitToImageReference();
20775
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule, dReference }).VerifyDiagnostics();
20815
var userCompilation =
CreateCompilation
(
20880
var userCompilation =
CreateCompilation
(
20906
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20921
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20948
var referenceE =
CreateCompilation
(codeC, assemblyName: "E").EmitToImageReference();
20965
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2, referenceD, referenceE }, assemblyName: "A").VerifyDiagnostics(
20974
CreateCompilation
(@"
20987
CreateCompilation
(@"
21000
CreateCompilation
(@"
21016
CreateCompilation
(@"
21029
CreateCompilation
(@"
21042
CreateCompilation
(@"
21058
CreateCompilation
(@"
21071
CreateCompilation
(@"
21084
CreateCompilation
(@"
21100
CreateCompilation
(@"
21116
CreateCompilation
(@"
21132
CreateCompilation
(@"
21148
CreateCompilation
(@"
21228
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21231
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21234
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21289
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21292
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21295
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21334
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21337
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21356
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21379
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21397
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21424
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21457
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21469
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21473
var comp3 =
CreateCompilation
(source1_1);
21490
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21499
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21517
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21534
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21555
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21564
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21568
var comp3 =
CreateCompilation
(source1_1);
21585
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21594
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21612
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21629
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21658
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21668
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21697
var comp2 =
CreateCompilation
(new[] { source1, source2 });
21727
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21741
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21771
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21791
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21821
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21838
var comp2 =
CreateCompilation
(new[] { string.Format(source2, "TypeForwarded_2"), string.Format(source2, "TypeForwardedTo"), source3 }, references: new[] { comp1.ToMetadataReference() });
21877
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21899
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
22013
CreateCompilation
(new[]
22063
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 (76)
38
var compilation =
CreateCompilation
(code);
60
var compilation =
CreateCompilation
(code);
84
var comp =
CreateCompilation
(text);
123
var comp =
CreateCompilation
(new[] { text, text1, text2, text3 });
189
var comp1 =
CreateCompilation
(text);
192
var comp2 =
CreateCompilation
(new string[] { text1, text2 }, assemblyName: "Test1",
196
var comp =
CreateCompilation
(text3, assemblyName: "Test2",
270
var comp =
CreateCompilation
(text);
345
var comp =
CreateCompilation
(new[] { text, text1, text2 });
377
var comp1 =
CreateCompilation
(text);
379
var comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
396
comp1 =
CreateCompilation
(text);
398
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
415
comp1 =
CreateCompilation
(text);
417
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
438
comp1 =
CreateCompilation
(text);
440
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
464
var comp =
CreateCompilation
(text);
585
var compilation =
CreateCompilation
(text);
619
var global =
CreateCompilation
(text).GlobalNamespace;
667
var comp =
CreateCompilation
(text);
706
var compilation =
CreateCompilation
(text);
742
var refAsm =
CreateCompilation
(refSource, assemblyName: "RefAsm").ToMetadataReference();
743
var compilation =
CreateCompilation
(csharp, references: new[] { refAsm });
763
var compilation1 =
CreateCompilation
(referenceText, assemblyName: "A");
766
var compilation2 =
CreateCompilation
(referenceText, assemblyName: "B");
781
var compilation3 =
CreateCompilation
(testText, new[] { new CSharpCompilationReference(compilation1), new CSharpCompilationReference(compilation2) });
848
var comp =
CreateCompilation
(text);
901
var comp =
CreateCompilation
(text, references: new[] { module1Ref });
965
var comp =
CreateCompilation
(text);
1015
var comp =
CreateCompilation
(text);
1034
var comp =
CreateCompilation
(text);
1059
var comp =
CreateCompilation
(text);
1077
var comp =
CreateCompilation
(text);
1099
var comp =
CreateCompilation
(text);
1117
var comp =
CreateCompilation
(text);
1138
var comp =
CreateCompilation
(tree);
1152
var comp =
CreateCompilation
(tree);
1177
var comp =
CreateCompilation
(tree);
1196
var comp =
CreateCompilation
(tree);
1234
var comp =
CreateCompilation
(text);
1303
var comp =
CreateCompilation
(text);
1384
var comp =
CreateCompilation
(text);
1405
var comp =
CreateCompilation
(text);
1412
var compilation =
CreateCompilation
(@"
1452
var comp =
CreateCompilation
(@"public void TopLevelMethod() {}");
1475
var comp =
CreateCompilation
(text);
1502
var comp =
CreateCompilation
(text);
1607
var comp =
CreateCompilation
(text);
1673
var comp = (Compilation)
CreateCompilation
(tree);
1757
var comp = (Compilation)
CreateCompilation
(tree);
1800
var compilation =
CreateCompilation
(code);
1827
var compilation =
CreateCompilation
(code);
1847
var compilation = (Compilation)
CreateCompilation
(code);
1872
var compilation =
CreateCompilation
(code);
1877
compilation =
CreateCompilation
(code);
1894
var compilation =
CreateCompilation
(code);
1915
var compilation =
CreateCompilation
(code);
1929
compilation =
CreateCompilation
(code);
1950
var compilation =
CreateCompilation
(code);
1983
var compilation =
CreateCompilation
(code);
2004
var compilation =
CreateCompilation
(code);
2025
var compilation =
CreateCompilation
(code);
2046
var compilation =
CreateCompilation
(code);
2072
var compilation =
CreateCompilation
(code);
2096
var compilation =
CreateCompilation
(code);
2122
var compilation =
CreateCompilation
(code);
2171
var compilation =
CreateCompilation
(code);
2222
var compilation =
CreateCompilation
(code);
2243
var compilation =
CreateCompilation
(code);
2263
var compilation =
CreateCompilation
(code);
2277
var compilation =
CreateCompilation
(code);
2293
var compilation =
CreateCompilation
(code);
2311
var compilation =
CreateCompilation
(text);
2327
var compilation =
CreateCompilation
(text);
2334
var sourceComp =
CreateCompilation
(@"
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 (951)
Diagnostics\DiagnosticTest.cs (162)
110
var comp =
CreateCompilation
("");
147
var comp =
CreateCompilation
(text);
205
CreateCompilation
(text).VerifyDiagnostics(
532
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
540
CreateCompilation
(text, options: option).VerifyDiagnostics();
543
CreateCompilation
(text, options: option).VerifyDiagnostics(
550
CreateCompilation
(text, options: option).VerifyDiagnostics(
573
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
584
CreateCompilation
(text, options: option).VerifyDiagnostics(
591
CreateCompilation
(text, options: option).VerifyDiagnostics(
600
CreateCompilation
(text, options: option).VerifyDiagnostics(
609
CreateCompilation
(text, options: option).VerifyDiagnostics();
612
CreateCompilation
(text, options: option).VerifyDiagnostics();
615
CreateCompilation
(text, options: option).VerifyDiagnostics();
636
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
644
CreateCompilation
(text, options: option).VerifyDiagnostics(
650
CreateCompilation
(text, options: option).VerifyDiagnostics(
656
CreateCompilation
(text, options: option).VerifyDiagnostics();
659
CreateCompilation
(text, options: option).VerifyDiagnostics();
662
CreateCompilation
(text, options: option).VerifyDiagnostics();
684
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
695
CreateCompilation
(text, options: option).VerifyDiagnostics(
704
CreateCompilation
(text, options: option).VerifyDiagnostics(
713
CreateCompilation
(text, options: option).VerifyDiagnostics();
716
CreateCompilation
(text, options: option).VerifyDiagnostics();
719
CreateCompilation
(text, options: option).VerifyDiagnostics();
740
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
751
CreateCompilation
(text, options: option).VerifyDiagnostics(
760
CreateCompilation
(text, options: option).VerifyDiagnostics(
769
CreateCompilation
(text, options: option).VerifyDiagnostics();
772
CreateCompilation
(text, options: option).VerifyDiagnostics();
775
CreateCompilation
(text, options: option).VerifyDiagnostics();
796
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
807
CreateCompilation
(text, options: option).VerifyDiagnostics(
816
CreateCompilation
(text, options: option).VerifyDiagnostics(
825
CreateCompilation
(text, options: option).VerifyDiagnostics();
828
CreateCompilation
(text, options: option).VerifyDiagnostics();
831
CreateCompilation
(text, options: option).VerifyDiagnostics();
854
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
865
CreateCompilation
(text, options: option).VerifyDiagnostics(
874
CreateCompilation
(text, options: option).VerifyDiagnostics(
883
CreateCompilation
(text, options: option).VerifyDiagnostics();
886
CreateCompilation
(text, options: option).VerifyDiagnostics();
889
CreateCompilation
(text, options: option).VerifyDiagnostics();
912
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
923
CreateCompilation
(text, options: option).VerifyDiagnostics(
932
CreateCompilation
(text, options: option).VerifyDiagnostics(
941
CreateCompilation
(text, options: option).VerifyDiagnostics();
944
CreateCompilation
(text, options: option).VerifyDiagnostics();
947
CreateCompilation
(text, options: option).VerifyDiagnostics();
968
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
982
CreateCompilation
(text, options: option).VerifyDiagnostics(
994
CreateCompilation
(text, options: option).VerifyDiagnostics(
1006
CreateCompilation
(text, options: option).VerifyDiagnostics();
1009
CreateCompilation
(text, options: option).VerifyDiagnostics();
1012
CreateCompilation
(text, options: option).VerifyDiagnostics();
1035
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1052
CreateCompilation
(text, options: option).VerifyDiagnostics(
1067
CreateCompilation
(text, options: option).VerifyDiagnostics(
1082
CreateCompilation
(text, options: option).VerifyDiagnostics();
1085
CreateCompilation
(text, options: option).VerifyDiagnostics();
1088
CreateCompilation
(text, options: option).VerifyDiagnostics();
1109
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1123
CreateCompilation
(text, options: option).VerifyDiagnostics(
1135
CreateCompilation
(text, options: option).VerifyDiagnostics(
1147
CreateCompilation
(text, options: option).VerifyDiagnostics();
1150
CreateCompilation
(text, options: option).VerifyDiagnostics();
1153
CreateCompilation
(text, options: option).VerifyDiagnostics();
1180
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1188
CreateCompilation
(text, options: option).VerifyDiagnostics(
1194
CreateCompilation
(text, options: option).VerifyDiagnostics(
1200
CreateCompilation
(text, options: option).VerifyDiagnostics();
1203
CreateCompilation
(text, options: option).VerifyDiagnostics();
1206
CreateCompilation
(text, options: option).VerifyDiagnostics();
1233
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1241
CreateCompilation
(text, options: option).VerifyDiagnostics(
1247
CreateCompilation
(text, options: option).VerifyDiagnostics(
1253
CreateCompilation
(text, options: option).VerifyDiagnostics();
1256
CreateCompilation
(text, options: option).VerifyDiagnostics();
1259
CreateCompilation
(text, options: option).VerifyDiagnostics();
1287
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1295
CreateCompilation
(text, options: option).VerifyDiagnostics(
1301
CreateCompilation
(text, options: option).VerifyDiagnostics(
1307
CreateCompilation
(text, options: option).VerifyDiagnostics();
1310
CreateCompilation
(text, options: option).VerifyDiagnostics();
1313
CreateCompilation
(text, options: option).VerifyDiagnostics();
1340
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1345
CreateCompilation
(text, options: option).VerifyDiagnostics();
1348
CreateCompilation
(text, options: option).VerifyDiagnostics();
1351
CreateCompilation
(text, options: option).VerifyDiagnostics();
1354
CreateCompilation
(text, options: option).VerifyDiagnostics();
1357
CreateCompilation
(text, options: option).VerifyDiagnostics();
1388
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1396
CreateCompilation
(text, options: option).VerifyDiagnostics(
1402
CreateCompilation
(text, options: option).VerifyDiagnostics(
1408
CreateCompilation
(text, options: option).VerifyDiagnostics();
1411
CreateCompilation
(text, options: option).VerifyDiagnostics();
1414
CreateCompilation
(text, options: option).VerifyDiagnostics();
1435
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1452
CreateCompilation
(text, options: option).VerifyDiagnostics(
1469
CreateCompilation
(text, options: option).VerifyDiagnostics(
1481
CreateCompilation
(text, options: option).VerifyDiagnostics(
1505
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1519
CreateCompilation
(text, options: option).VerifyDiagnostics(
1531
CreateCompilation
(text, options: option).VerifyDiagnostics();
1552
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1569
CreateCompilation
(text, options: option).VerifyDiagnostics(
1584
CreateCompilation
(text, options: option).VerifyDiagnostics(
1611
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1625
CreateCompilation
(text, options: option).VerifyDiagnostics(
1637
CreateCompilation
(text, options: option).VerifyDiagnostics();
1661
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1672
CreateCompilation
(text, options: option).VerifyDiagnostics(
1681
CreateCompilation
(text, options: option).VerifyDiagnostics();
1704
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1709
CreateCompilation
(text, options: option).VerifyDiagnostics();
1712
CreateCompilation
(text, options: option).VerifyDiagnostics();
1731
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1742
CreateCompilation
(text, options: option).VerifyDiagnostics(
1752
CreateCompilation
(text, options: option).VerifyDiagnostics(
1758
CreateCompilation
(text, options: option).VerifyDiagnostics();
1777
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1791
CreateCompilation
(text, options: option).VerifyDiagnostics(
1804
CreateCompilation
(text, options: option).VerifyDiagnostics(
1813
CreateCompilation
(text, options: option).VerifyDiagnostics(
1844
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1886
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1947
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1983
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2019
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2066
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2108
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1);
2109
CreateCompilation
(text1).VerifyDiagnostics(expected1);
2113
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics();
2114
CreateCompilation
(text1, options: options).VerifyDiagnostics();
2120
CreateCompilation
(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2121
CreateCompilation
(text2, options: options).VerifyDiagnostics(expected1);
2127
CreateCompilation
(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2128
CreateCompilation
(text3, options: options).VerifyDiagnostics(expected1);
2141
CreateCompilation
(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2142
CreateCompilation
(text4, options: options).VerifyDiagnostics(expected2);
2148
CreateCompilation
(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2149
CreateCompilation
(text5, options: options).VerifyDiagnostics(expected2);
2170
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2195
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2215
CreateCompilation
(text, options: option).VerifyDiagnostics(
2234
CreateCompilation
(text, options: option).VerifyDiagnostics(
2246
CreateCompilation
(text, options: option).VerifyDiagnostics(
2278
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2300
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2400
var compilation =
CreateCompilation
(text);
2425
var compilation =
CreateCompilation
(text);
2451
AssertEx.Equal(
CreateCompilation
(tree).GetDiagnostics(),
CreateCompilation
(tree).GetDiagnostics());
2495
CreateCompilation
(text, options: options).VerifyDiagnostics(
2541
var compilation =
CreateCompilation
(source);
2581
var compilation =
CreateCompilation
(source);
2612
var compilation =
CreateCompilation
(source);
2657
var compilation =
CreateCompilation
(source);
2691
var compilation =
CreateCompilation
(source);
2712
var compilation =
CreateCompilation
(source);
2842
var ca =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Diagnostics\LineSpanDirectiveTests.cs (3)
138
var comp =
CreateCompilation
(tree);
526
var comp =
CreateCompilation
(source);
556
var comp =
CreateCompilation
(source);
IncrementalParsing\IncrementalParsingTests.cs (1)
2521
var comp = CSharpTestBase.
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(String.Empty));
LexicalAndXml\LexicalErrorTests.cs (79)
461
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
462
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
480
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
484
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
502
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
506
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
525
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
529
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
547
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
551
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
570
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
574
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
594
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
598
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
617
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
621
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
640
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
644
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
663
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
667
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
687
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
691
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
729
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
748
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
802
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
821
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
856
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
857
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
875
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
879
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
901
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
905
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
925
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
926
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
944
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
948
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
969
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
973
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();
1043
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1047
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1070
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1074
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1094
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1098
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1119
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1123
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1144
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1148
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1169
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1173
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1196
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1200
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1223
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1227
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1248
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1252
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1276
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1280
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1304
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1308
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1330
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1334
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1355
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1359
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1383
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1387
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1411
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1415
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1437
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1441
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1460
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1461
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1480
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1484
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1510
CreateCompilation
(test).VerifyDiagnostics(
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
233
CreateCompilation
(
LexicalAndXml\XmlDocCommentTests.cs (2)
41
var comp =
CreateCompilation
(@"
3178
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(
2117
CreateCompilation
(test).VerifyDiagnostics(
2124
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2206
CreateCompilation
(testWithStatement).VerifyDiagnostics(
2213
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2590
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2738
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2887
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3006
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3152
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3266
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3416
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3569
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3723
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3851
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
4006
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4129
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4288
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4450
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4613
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
Parsing\AsyncParsingTests.cs (3)
2394
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2481
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2597
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
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(
8624
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8882
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
9011
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
Parsing\DeclarationScopeParsingTests.cs (3)
3281
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3297
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3310
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 (59)
1651
CreateCompilation
(classWithText, parseOptions: parseOptions).VerifyDiagnostics(
2323
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2339
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2434
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2459
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2559
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2584
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2683
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2702
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2789
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2808
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3204
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3220
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3319
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3344
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3447
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3472
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3575
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3594
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3685
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3704
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4250
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4263
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4354
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4376
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4471
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4493
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4588
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4604
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4687
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4703
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5090
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5103
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5198
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5220
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5319
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5341
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5440
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5456
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5543
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5559
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6277
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6290
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6364
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6380
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6515
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6531
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6615
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6631
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7002
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7015
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7093
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7112
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7206
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7222
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7310
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7326
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7414
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7430
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
Parsing\NameParsingTests.cs (5)
912
CreateCompilation
(source).VerifyDiagnostics(
1010
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
1141
CreateCompilation
(source).VerifyDiagnostics(
1266
CreateCompilation
(source).VerifyDiagnostics(
1430
CreateCompilation
(source).VerifyDiagnostics(
Parsing\NullableParsingTests.cs (2)
741
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
809
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(
2910
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
3061
CreateCompilation
(test).VerifyDiagnostics(
3078
CreateCompilation
(test).VerifyDiagnostics(
3089
CreateCompilation
(test).VerifyDiagnostics(
3107
CreateCompilation
(test).VerifyDiagnostics(
3122
CreateCompilation
(test).VerifyDiagnostics(
3292
CreateCompilation
(test).VerifyDiagnostics(
3309
CreateCompilation
(test).VerifyDiagnostics(
3334
CreateCompilation
(test).VerifyDiagnostics(
4124
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
4633
CreateCompilation
(test).VerifyDiagnostics(
4719
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
4832
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4858
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4878
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4898
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4941
CreateCompilation
(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
5049
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
5110
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
5134
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
5386
CreateCompilation
(test).VerifyDiagnostics(
5430
CreateCompilation
(test).VerifyDiagnostics(
5461
CreateCompilation
(test).VerifyDiagnostics(
5606
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5607
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
5628
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5641
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5672
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5676
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5712
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5713
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5734
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5738
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5769
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyEmitDiagnostics(
5773
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
5803
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5807
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5837
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
5844
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5926
CreateCompilation
(test).VerifyDiagnostics(
5964
CreateCompilation
(test).VerifyDiagnostics(
6004
CreateCompilation
(test).VerifyDiagnostics(
6031
CreateCompilation
(test).GetDiagnostics().Verify(
6072
CreateCompilation
(test).VerifyDiagnostics(
6088
CreateCompilation
(test, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
6141
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6149
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6169
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6176
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6199
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6212
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6241
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6254
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6282
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6292
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6324
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6328
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6348
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6352
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6370
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics();
6371
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6392
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6396
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6420
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6424
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6544
CreateCompilation
(source, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6551
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6591
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6598
CreateCompilation
(source, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
Parsing\ParserRegressionTests.cs (1)
31
var comp =
CreateCompilation
(@"
Parsing\ParsingErrorRecoveryTests.cs (7)
1870
CreateCompilation
(text).VerifyDiagnostics(
1985
CreateCompilation
(text).VerifyDiagnostics(
2073
CreateCompilation
(text).VerifyDiagnostics(
3921
CreateCompilation
(text).VerifyDiagnostics(
5449
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
5564
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6817
CreateCompilation
(text).VerifyDiagnostics(
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(
2225
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2294
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2385
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2462
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2493
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2561
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2640
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2734
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
8293
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8355
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8417
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8469
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8523
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8686
CreateCompilation
(test, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
Parsing\PatternParsingTests2.cs (2)
30
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
37
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(
2510
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2523
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2577
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2581
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2594
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2757
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2767
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2780
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3643
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3650
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3687
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3725
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\RefReadonlyTests.cs (11)
204
CreateCompilation
(@"
231
CreateCompilation
(@"
258
CreateCompilation
(@"
284
CreateCompilation
(@"
337
CreateCompilation
(@"
375
CreateCompilation
(@"
392
CreateCompilation
(@"
409
CreateCompilation
(@"
424
CreateCompilation
(@"
446
CreateCompilation
(@"
459
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 (85)
78
CreateCompilation
(test).GetDiagnostics().Verify(
143
CreateCompilation
(test).GetDiagnostics().Verify(
227
CreateCompilation
(test).GetDiagnostics().Verify(
324
CreateCompilation
(test).GetDiagnostics().Verify(
409
CreateCompilation
(test).GetDiagnostics().Verify(
494
CreateCompilation
(test).GetDiagnostics().Verify(
560
CreateCompilation
(test).GetDiagnostics().Verify(
626
CreateCompilation
(test).GetDiagnostics().Verify(
700
CreateCompilation
(test).GetDiagnostics().Verify(
774
CreateCompilation
(test).GetDiagnostics().Verify(
849
CreateCompilation
(test).GetDiagnostics().Verify(
930
CreateCompilation
(test).GetDiagnostics().Verify(
1008
CreateCompilation
(test).GetDiagnostics().Verify(
1082
CreateCompilation
(test).GetDiagnostics().Verify(
1184
CreateCompilation
(test).GetDiagnostics().Verify(
1318
CreateCompilation
(test).GetDiagnostics().Verify(
1394
CreateCompilation
(test).GetDiagnostics().Verify(
1471
CreateCompilation
(test).GetDiagnostics().Verify(
1558
CreateCompilation
(test).GetDiagnostics().Verify(
1680
CreateCompilation
(test).GetDiagnostics().Verify(
1753
CreateCompilation
(test).GetDiagnostics().Verify(
1823
CreateCompilation
(test).GetDiagnostics().Verify(
1893
CreateCompilation
(test).GetDiagnostics().Verify(
1963
CreateCompilation
(test).GetDiagnostics().Verify(
2060
CreateCompilation
(test).GetDiagnostics().Verify(
2151
CreateCompilation
(test).GetDiagnostics().Verify(
2227
CreateCompilation
(test).GetDiagnostics().Verify(
2300
CreateCompilation
(test).GetDiagnostics().Verify(
2393
CreateCompilation
(test).GetDiagnostics().Verify(
2506
CreateCompilation
(test).GetDiagnostics().Verify(
2618
CreateCompilation
(test).GetDiagnostics().Verify(
2715
CreateCompilation
(test).GetDiagnostics().Verify(
2794
CreateCompilation
(test).GetDiagnostics().Verify(
2897
CreateCompilation
(test).GetDiagnostics().Verify(
2982
CreateCompilation
(test).GetDiagnostics().Verify(
3085
CreateCompilation
(test).GetDiagnostics().Verify(
3170
CreateCompilation
(test).GetDiagnostics().Verify(
3246
CreateCompilation
(test).GetDiagnostics().Verify(
3323
CreateCompilation
(test).GetDiagnostics().Verify(
3406
CreateCompilation
(test).GetDiagnostics().Verify(
3491
CreateCompilation
(test).GetDiagnostics().Verify(
3573
CreateCompilation
(test).GetDiagnostics().Verify(
3663
CreateCompilation
(test).GetDiagnostics().Verify(
3744
CreateCompilation
(test).GetDiagnostics().Verify(
3818
CreateCompilation
(test).GetDiagnostics().Verify(
3911
CreateCompilation
(test).GetDiagnostics().Verify(
3994
CreateCompilation
(test).GetDiagnostics().Verify(
4082
CreateCompilation
(test).GetDiagnostics().Verify(
4167
CreateCompilation
(test).GetDiagnostics().Verify(
4243
CreateCompilation
(test).GetDiagnostics().Verify(
4323
CreateCompilation
(test).GetDiagnostics().Verify(
4411
CreateCompilation
(test).GetDiagnostics().Verify(
4500
CreateCompilation
(test).GetDiagnostics().Verify(
4600
CreateCompilation
(test).GetDiagnostics().Verify(
4675
CreateCompilation
(test).GetDiagnostics().Verify(
4747
CreateCompilation
(test).GetDiagnostics().Verify(
4845
CreateCompilation
(test).GetDiagnostics().Verify(
4944
CreateCompilation
(test).GetDiagnostics().Verify(
5024
CreateCompilation
(test).GetDiagnostics().Verify(
5093
CreateCompilation
(test).GetDiagnostics().Verify(
5181
CreateCompilation
(test).GetDiagnostics().Verify(
5262
CreateCompilation
(test).GetDiagnostics().Verify(
5348
CreateCompilation
(test).GetDiagnostics().Verify(
5422
CreateCompilation
(test).GetDiagnostics().Verify(
5506
CreateCompilation
(test).GetDiagnostics().Verify(
5587
CreateCompilation
(test).GetDiagnostics().Verify(
5702
CreateCompilation
(test).GetDiagnostics().Verify(
5799
CreateCompilation
(test).GetDiagnostics().Verify(
5901
CreateCompilation
(test).GetDiagnostics().Verify(
6000
CreateCompilation
(test).GetDiagnostics().Verify(
6095
CreateCompilation
(test).GetDiagnostics().Verify(
6176
CreateCompilation
(test).GetDiagnostics().Verify(
6262
CreateCompilation
(test).GetDiagnostics().Verify(
6346
CreateCompilation
(test).GetDiagnostics().Verify(
6425
CreateCompilation
(test).GetDiagnostics().Verify(
6509
CreateCompilation
(test).GetDiagnostics().Verify(
6599
CreateCompilation
(test).GetDiagnostics().Verify(
6735
CreateCompilation
(test).GetDiagnostics().Verify(
6844
CreateCompilation
(tree).GetDiagnostics().Verify(
6927
CreateCompilation
(test).VerifyDiagnostics(
7013
CreateCompilation
(test).VerifyDiagnostics(
7107
CreateCompilation
(test).GetDiagnostics().Verify(
7214
CreateCompilation
(test).GetDiagnostics().Verify(
7316
CreateCompilation
(test).GetDiagnostics().Verify(
7425
CreateCompilation
(test).GetDiagnostics().Verify(
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
803
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
816
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\SwitchExpressionParsingTests.cs (2)
852
CreateCompilation
(code).VerifyDiagnostics(
933
CreateCompilation
(code).VerifyDiagnostics(
Parsing\TopLevelStatementsParsingTests.cs (2)
971
CreateCompilation
(test).VerifyDiagnostics(
3190
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\UsingDirectiveParsingTests.cs (47)
360
CreateCompilation
(text).VerifyDiagnostics(
615
CreateCompilation
(text).VerifyDiagnostics(
669
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
719
CreateCompilation
(text).VerifyDiagnostics(
781
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
841
CreateCompilation
(text).VerifyDiagnostics(
872
CreateCompilation
(text).VerifyDiagnostics(
911
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
951
CreateCompilation
(text, parseOptions: TestOptions.RegularNext).VerifyDiagnostics(
988
CreateCompilation
(text).VerifyDiagnostics(
1025
CreateCompilation
(text).VerifyDiagnostics(
1069
CreateCompilation
(text).VerifyDiagnostics(
1114
CreateCompilation
(text).VerifyDiagnostics(
1158
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1206
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1281
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1354
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1429
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1516
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1595
CreateCompilation
(text).VerifyDiagnostics(
1655
CreateCompilation
(text).VerifyDiagnostics(
1758
CreateCompilation
(text).VerifyDiagnostics(
1857
CreateCompilation
(text).VerifyDiagnostics(
1898
CreateCompilation
(text).VerifyDiagnostics(
1948
CreateCompilation
(text).VerifyDiagnostics(
1995
CreateCompilation
(text).VerifyDiagnostics(
2073
CreateCompilation
(text).VerifyDiagnostics(
2146
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2223
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
2298
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2379
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2455
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2523
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2598
CreateCompilation
(text).VerifyDiagnostics(
2636
CreateCompilation
(text).VerifyDiagnostics();
2733
CreateCompilation
(text).VerifyDiagnostics();
2878
CreateCompilation
(text).VerifyDiagnostics();
3002
CreateCompilation
(text).VerifyDiagnostics(
3106
CreateCompilation
(text).VerifyDiagnostics();
3197
CreateCompilation
(text).VerifyDiagnostics(
3261
CreateCompilation
(text).VerifyDiagnostics(
3325
CreateCompilation
(text).VerifyDiagnostics(
3398
CreateCompilation
(text).VerifyDiagnostics(
3686
CreateCompilation
(text).VerifyDiagnostics(
3836
CreateCompilation
(text).VerifyDiagnostics(
3998
var comp =
CreateCompilation
(text);
4043
var comp =
CreateCompilation
(text);
Parsing\ValueTupleTests.cs (1)
719
CreateCompilation
(test).VerifyDiagnostics(
Syntax\SyntaxFactoryTests.cs (4)
618
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
635
CreateCompilation
(type, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
648
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
659
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 (37)
CompilingTestBase.cs (1)
25
var compilation =
CreateCompilation
(program);
CSharpTestBase.cs (31)
649
CreateCompilation
(RefSafetyRulesAttributeDefinition).EmitToImageReference();
919
var compilation =
CreateCompilation
(source, references, options, parseOptions, targetFramework, assemblyName: GetUniqueName());
1062
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1071
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib45, assemblyName, sourceFileName, skipUsesIsNullable);
1080
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib45, assemblyName, sourceFileName, skipUsesIsNullable);
1088
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib46, assemblyName, sourceFileName);
1106
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.WinRT, assemblyName, sourceFileName);
1114
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib45AndCSharp, assemblyName, sourceFileName);
1122
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1130
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1138
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.StandardAndCSharp, assemblyName, sourceFileName);
1150
return
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1179
return
CreateCompilation
(source, allReferences, options, parseOptions, TargetFramework.Empty, assemblyName, sourceFileName);
1426
var c =
CreateCompilation
(cSharpSource, options: compilationOptions, targetFramework: targetFramework);
1432
var compilation =
CreateCompilation
(cSharpSource, new[] { reference }, compilationOptions, targetFramework: targetFramework);
1454
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe));
1975
var compilation =
CreateCompilation
(testSrc, targetFramework: targetFramework, options: compilationOptions ?? TestOptions.ReleaseDll, parseOptions: parseOptions);
2084
var compilation =
CreateCompilation
(
2103
var compilation =
CreateCompilation
(
2141
var compilation =
CreateCompilation
(
2172
var reference =
CreateCompilation
(
2178
var comp =
CreateCompilation
(
2504
var reference =
CreateCompilation
(TestSources.Index).VerifyDiagnostics();
2506
return
CreateCompilation
(
2515
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range }).VerifyDiagnostics();
2517
return
CreateCompilation
(
2526
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2528
return
CreateCompilation
(
2539
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2543
var reference =
CreateCompilation
(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2545
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.EditorFeatures.UnitTests (5)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (5)
318
Compilation compilation = CSharpTestBase.
CreateCompilation
(trees.ToArray(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: assemblyName);
518
var compilation = CSharpTestBase.
CreateCompilation
(new[] { sourceTreeA1, sourceTreeB1, sourceTreeC1 }, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "P");
2823
var compilationV1 = CSharpTestBase.
CreateCompilation
(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib");
3323
var compilationA = CSharpTestBase.
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A");
3324
var compilationB = CSharpTestBase.
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "B");
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.ExternalAccess.RazorCompiler.UnitTests (1)
HostOutputsTests.cs (1)
24
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
Microsoft.CodeAnalysis.Rebuild.UnitTests (9)
CompilationOptionsReaderTests.cs (2)
44
var compilation =
CreateCompilation
(
58
var compilation =
CreateCompilation
(
CSharpDeterministicKeyBuilderTests.cs (4)
82
var compilation = CSharpTestBase.
CreateCompilation
(
162
var compilation = CSharpTestBase.
CreateCompilation
(source);
201
var compilation = CSharpTestBase.
CreateCompilation
(syntaxTree);
224
var compilation = CSharpTestBase.
CreateCompilation
(
CSharpRebuildTests.cs (1)
22
var original =
CreateCompilation
(
OptionRoundTripTests.cs (2)
39
var original =
CreateCompilation
(
78
var original =
CreateCompilation
(