31278 references to CreateCompilation
InteractiveHost.UnitTests (6)
InteractiveHostDesktopTests.cs (6)
504
var c1 =
CreateCompilation
(source1, assemblyName: "C");
516
var c2 =
CreateCompilation
(source2, assemblyName: "C");
544
var c1 =
CreateCompilation
(source1, assemblyName: "C");
548
var c2 =
CreateCompilation
(source2, assemblyName: "C");
579
var c1 =
CreateCompilation
(source1, assemblyName: "C");
583
var c2 =
CreateCompilation
(source2, assemblyName: "C");
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (10)
CommandLineIVTTests.cs (4)
22
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
99
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
177
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
260
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "N1", targetFramework: TargetFramework.Mscorlib461);
CommandLineTests.cs (6)
755
var compilation =
CreateCompilation
(new SyntaxTree[0]);
879
var compilation =
CreateCompilation
(new SyntaxTree[0]);
11314
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
11339
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
15662
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
15798
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (44)
SymbolKey\SymbolKeyCompilationsTests.cs (36)
74
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
75
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
95
var comp1 =
CreateCompilation
(src1, assemblyName: "C2CErrorSymbolUnchanged01");
96
var comp2 =
CreateCompilation
(src2, assemblyName: "C2CErrorSymbolUnchanged01");
128
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
155
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
183
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
210
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
239
var comp = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
284
var compilation = (Compilation)
CreateCompilation
(src, assemblyName: "Test");
312
var comp1 =
CreateCompilation
(src1);
313
var comp2 =
CreateCompilation
(src1);
342
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
343
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
363
var originalComp =
CreateCompilation
(src1, assemblyName: "Test");
364
var newComp =
CreateCompilation
(src1, assemblyName: "Test");
388
var originalComp =
CreateCompilation
([SyntaxFactory.ParseSyntaxTree(src1, path: "file1.cs"), SyntaxFactory.ParseSyntaxTree(src1, path: "file2.cs")], assemblyName: "Test");
389
var newComp =
CreateCompilation
([SyntaxFactory.ParseSyntaxTree(src1, path: "file1.cs"), SyntaxFactory.ParseSyntaxTree(src1, path: "file2.cs")], assemblyName: "Test");
417
var originalComp =
CreateCompilation
([src1, src2], assemblyName: "Test");
418
var newComp =
CreateCompilation
([src1, src2], assemblyName: "Test");
481
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
482
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
518
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
519
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
567
var comp1 =
CreateCompilation
(src1, assemblyName: "Test");
568
var comp2 =
CreateCompilation
(src2, assemblyName: "Test");
601
var comp1 = (Compilation)
CreateCompilation
(src1, assemblyName: "Test");
602
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Test");
626
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
627
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
648
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
649
var comp2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
677
var compilation1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly1");
678
var compilation2 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly2");
721
var comp1 = (Compilation)
CreateCompilation
(src, assemblyName: "Assembly");
722
var comp2 = (Compilation)
CreateCompilation
(src2, assemblyName: "Assembly");
SymbolKey\SymbolKeyErrorTypeTests.cs (1)
301
var sourceCompilation = (Compilation)
CreateCompilation
(source, options: new(OutputKind.DynamicallyLinkedLibrary, allowUnsafe: true));
SymbolKey\SymbolKeyMetadataVsSourceTests.cs (7)
61
var comp1 =
CreateCompilation
(src1);
64
var comp2 = (Compilation)
CreateCompilation
(src2, [new CSharpCompilationReference(comp1)]);
145
var comp1 =
CreateCompilation
(src1);
148
var comp2 =
CreateCompilation
(src2, [comp1.EmitToImageReference()]);
237
var comp40 = (Compilation)
CreateCompilation
(src2, [comp20.EmitToImageReference()]);
337
var comp40 =
CreateCompilation
(src2, [new CSharpCompilationReference(comp20)]);
421
var comp40 =
CreateCompilation
(src2, [new CSharpCompilationReference(comp20)]);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1845)
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);
1680
var comp =
CreateCompilation
(source, new[] { libRef }, TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncIteratorTests.cs (29)
1405
var comp1 =
CreateCompilation
(_enumerable);
1413
var comp2 =
CreateCompilation
(@"
1431
var comp3 =
CreateCompilation
(_enumerator);
6707
var comp =
CreateCompilation
(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20);
8732
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8767
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8808
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
8831
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8846
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
8872
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8889
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
8915
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8937
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8983
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9004
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9065
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9263
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9349
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9390
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9586
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9632
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
10087
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net80);
10705
var missingLibS1 =
CreateCompilation
(@"
10712
var libS2 =
CreateCompilation
(@"
10731
var comp =
CreateCompilation
(source, references: [libS2], targetFramework: TargetFramework.Net80);
10742
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: [libS2, missingLibS1], targetFramework: TargetFramework.Net80);
10800
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
10843
var comp1 =
CreateCompilation
(
CodeGen\CodeGenAsyncMainTests.cs (3)
1566
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
1808
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
2064
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (4)
659
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2007
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2098
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2135
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
CodeGen\CodeGenAsyncSpillTests.cs (15)
8907
CreateCompilation
(@"
9544
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
9545
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
9758
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10016
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10274
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10506
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10733
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10965
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11185
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11419
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11678
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11964
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12254
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12462
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncTests.cs (8)
7363
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7426
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7567
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseDll);
7691
var comp = CSharpTestBase.
CreateCompilation
(source);
7740
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
7932
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
7974
var comp1 =
CreateCompilation
(
8021
var comp =
CreateCompilation
([source, withNonCoreLibSources ? RuntimeAsyncAwaitHelpers : ""], targetFramework: TargetFramework.Net90, parseOptions: WithRuntimeAsync(TestOptions.RegularPreview));
CodeGen\CodeGenAwaitForeachTests.cs (31)
3019
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3034
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3035
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
3110
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3125
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3126
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
4136
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4176
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4188
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
4189
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
9920
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10171
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10204
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10516
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10552
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10588
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10625
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10942
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12087
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12127
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12228
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12272
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12377
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12478
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12573
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13043
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13087
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14000
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14054
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14214
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14984
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAwaitUsingTests.cs (13)
3567
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net100);
4995
var comp =
CreateCompilation
(source);
5018
var comp =
CreateCompilation
(source);
5045
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5057
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
5058
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
5089
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
5090
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
5091
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
5164
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5203
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5674
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5703
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenCapturing.cs (1)
461
CreateCompilation
(methodsText.ToString()).VerifyEmitDiagnostics();
CodeGen\CodeGenCheckedTests.cs (6)
1990
var comp =
CreateCompilation
(source);
2122
var comp =
CreateCompilation
(source);
2160
var comp =
CreateCompilation
(source);
2849
var comp =
CreateCompilation
(source);
2912
var comp =
CreateCompilation
(source);
2944
var comp =
CreateCompilation
(source);
CodeGen\CodeGenClosureLambdaTests.cs (1)
4223
CreateCompilation
(source).VerifyEmitDiagnostics(
CodeGen\CodeGenConditionalOperatorTests.cs (2)
713
var comp =
CreateCompilation
(source);
3920
var comp =
CreateCompilation
(source);
CodeGen\CodeGenConstructorInitTests.cs (4)
1272
var comp =
CreateCompilation
(source);
1306
var comp =
CreateCompilation
(source);
1331
var comp =
CreateCompilation
(source);
1356
var comp =
CreateCompilation
(source);
CodeGen\CodeGenConversionTests.cs (4)
284
var comp2 =
CreateCompilation
(source2, new[] { MetadataReference.CreateFromImage(verifier1.EmittedAssemblyData) }, TestOptions.ReleaseExe);
382
var comp2 =
CreateCompilation
(source2, new[] { MetadataReference.CreateFromImage(verifier1.EmittedAssemblyData) }, TestOptions.ReleaseExe);
681
CreateCompilation
(text).VerifyDiagnostics();
750
CreateCompilation
(source).VerifyEmitDiagnostics(
CodeGen\CodeGenDeconstructTests.cs (95)
161
var comp =
CreateCompilation
(source);
299
var comp =
CreateCompilation
(source);
341
var comp =
CreateCompilation
(source);
800
var comp =
CreateCompilation
(source);
1556
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1607
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1635
var comp =
CreateCompilation
(source,
1708
var comp =
CreateCompilation
(source);
1745
var comp =
CreateCompilation
(source);
1793
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1837
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1870
var comp =
CreateCompilation
(source);
2343
var comp =
CreateCompilation
(source);
2463
CreateCompilation
(source).VerifyDiagnostics(
2521
var comp =
CreateCompilation
(source);
2620
var comp =
CreateCompilation
(source);
4401
var compilation =
CreateCompilation
(source);
4960
var comp =
CreateCompilation
(source);
5901
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5972
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5992
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6025
var comp =
CreateCompilation
(source);
6078
var comp =
CreateCompilation
(source);
6127
var comp =
CreateCompilation
(source);
6172
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6199
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
6231
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6277
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6298
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6330
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6360
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6387
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6474
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6503
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6555
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6586
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
6627
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
6702
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6727
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6746
var compCSharp9 =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
6762
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
6790
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6816
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6836
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
6968
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7034
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7058
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7089
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7114
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7147
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7198
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7260
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
7291
var compilation =
CreateCompilation
(source);
7339
var compilation =
CreateCompilation
(source);
7384
var compilation =
CreateCompilation
(source);
7420
var compilation =
CreateCompilation
(source);
7460
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7541
var compilation =
CreateCompilation
(source);
7588
var compilation =
CreateCompilation
(source);
7661
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7703
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7724
var compilation =
CreateCompilation
(source);
7748
var compilation =
CreateCompilation
(source);
7952
var compilation =
CreateCompilation
(source);
7980
var compilation =
CreateCompilation
(source);
8708
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
8730
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
8755
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.DebugExe);
8775
var comp =
CreateCompilation
(
8780
comp =
CreateCompilation
(
8800
var comp =
CreateCompilation
(
8805
comp =
CreateCompilation
(
8826
var comp =
CreateCompilation
(
8831
comp =
CreateCompilation
(
8861
var comp =
CreateCompilation
(
8866
comp =
CreateCompilation
(
8887
var comp =
CreateCompilation
(
8892
comp =
CreateCompilation
(
8929
var comp =
CreateCompilation
(
8936
comp =
CreateCompilation
(
8984
var comp =
CreateCompilation
(
8990
comp =
CreateCompilation
(
9007
var comp =
CreateCompilation
(source);
9038
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9063
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9436
var comp =
CreateCompilation
(source);
9491
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
9683
CreateCompilation
(source).VerifyDiagnostics(
9713
CreateCompilation
(source).VerifyDiagnostics(
9751
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
9785
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
10004
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
10114
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview)
10163
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview)
CodeGen\CodeGenDynamicTests.cs (4)
7486
var lib =
CreateCompilation
(sourceLib);
7580
var lib =
CreateCompilation
(sourceLib);
8851
CreateCompilation
(source).VerifyDiagnostics(
14056
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
CodeGen\CodeGenExplicitImplementationTests.cs (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 (5)
1485
var comp =
CreateCompilation
(src);
1519
var comp =
CreateCompilation
(src);
3442
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
3492
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
3548
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 (46)
1394
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1749
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
2412
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2436
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2462
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2485
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2631
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2663
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2805
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2840
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2875
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2910
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2947
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3074
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3412
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3443
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3478
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3514
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3591
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3717
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3756
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3795
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3865
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3908
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3982
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4052
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4143
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4177
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4209
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4241
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4342
CreateCompilation
(source).VerifyDiagnostics(
4400
CreateCompilation
(source).VerifyDiagnostics(
4531
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4573
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4998
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5136
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5189
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5290
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5492
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5574
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5592
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5623
var comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source);
5750
var comp =
CreateCompilation
(source);
5780
var comp =
CreateCompilation
(source);
5816
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenFunctionPointersTests.cs (85)
36
var comp =
CreateCompilation
(
48
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: targetFramework ?? TargetFramework.Net50);
56
return
CreateCompilation
(source, references: references, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Empty);
2526
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2559
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2586
var nopiaReference =
CreateCompilation
(NoPiaInterfaces).EmitToImageReference(embedInteropTypes: true);
2588
var intermediate =
CreateCompilation
(@"
2619
var aRef =
CreateCompilation
(@"
2624
var bRef =
CreateCompilation
(@"
2632
var cComp =
CreateCompilation
(@"
2650
var aRef =
CreateCompilation
(@"
2654
var bRef =
CreateCompilation
(@"
2662
var cComp =
CreateCompilation
(@"
7736
var reference =
CreateCompilation
(source1);
7823
var comp =
CreateCompilation
(new[] { @"
7852
var comp =
CreateCompilation
(new[] { @"
7959
var comp =
CreateCompilation
(new[] { @"
7985
var comp =
CreateCompilation
(new[] { @"
8075
var comp =
CreateCompilation
(new[] { @"
8094
var comp =
CreateCompilation
(new[] { @"
8167
var comp =
CreateCompilation
(new[] { @"
8210
var comp =
CreateCompilation
(new[] { @"
8245
var comp =
CreateCompilation
(new[] { @"
8340
var comp =
CreateCompilation
(new[] { @"
8474
var comp =
CreateCompilation
(new[] { @"
8493
var comp =
CreateCompilation
(new[] { @"
8521
var comp =
CreateCompilation
(new[] { @"
8657
var comp0 =
CreateCompilation
(new[] { @"
8836
var comp =
CreateCompilation
(new[] { @"
8871
var comp =
CreateCompilation
(new[] { @"
8961
var comp =
CreateCompilation
(new[] { @"
9096
var comp =
CreateCompilation
(new[] { @"
9181
var comp =
CreateCompilation
(new[] { @"
9243
var comp =
CreateCompilation
(new[] { @"
9342
var comp =
CreateCompilation
(new[] { @"
9373
var comp =
CreateCompilation
(new[] { @"
9404
var comp =
CreateCompilation
(new[] { @"
9439
var comp =
CreateCompilation
(new[] { @"
9470
var comp =
CreateCompilation
(new[] { @"
9510
var comp =
CreateCompilation
(new[] { @"
9537
var comp =
CreateCompilation
(new[] { @"
9568
var comp =
CreateCompilation
(new[] { @"
9614
var comp =
CreateCompilation
(new[] { @"
9651
var comp =
CreateCompilation
(new[] { @"
9684
var comp =
CreateCompilation
(new[] { @"
9720
var comp =
CreateCompilation
(new[] { @"
9739
var comp =
CreateCompilation
(new[] { @"
9765
var comp =
CreateCompilation
(new[] { @"
9784
var comp =
CreateCompilation
(new[] { @"
9820
var comp =
CreateCompilation
(new[] { @"
9850
var comp =
CreateCompilation
(new[] { @"
9874
var comp =
CreateCompilation
(new[] { @"
9903
var comp =
CreateCompilation
(new[] { @"
9926
var comp =
CreateCompilation
(@"
9952
var comp =
CreateCompilation
(@"
9978
var comp =
CreateCompilation
(new[] { @"
9997
var comp =
CreateCompilation
(new[] { @"
10018
var comp =
CreateCompilation
(new[] { @"
10147
var comp =
CreateCompilation
(@"
10218
var definitionComp =
CreateCompilation
(definition);
10272
var definitionComp =
CreateCompilation
(definition);
10325
var refComp =
CreateCompilation
(source1);
10390
var refComp =
CreateCompilation
(source1);
11512
CreateCompilation
(source).VerifyEmitDiagnostics(
11540
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11564
CreateCompilation
(source).VerifyEmitDiagnostics(
11592
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11617
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11641
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11704
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
11768
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11830
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11916
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11942
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11967
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11994
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12017
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
12044
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12069
CreateCompilation
(source).VerifyEmitDiagnostics(
12101
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12166
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12192
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12217
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12244
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12404
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)
128
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended);
936
var comp =
CreateCompilation
(testSrc);
961
var comp =
CreateCompilation
(testSrc);
996
CreateCompilation
(text).VerifyDiagnostics(
CodeGen\CodeGenInParametersTests.cs (24)
2774
var reference =
CreateCompilation
(@"
2805
var reference =
CreateCompilation
(@"
2836
var reference =
CreateCompilation
(@"
2867
var reference =
CreateCompilation
(@"
2897
var reference =
CreateCompilation
(@"
3774
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3825
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3883
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3947
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4009
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4088
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4144
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4202
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4265
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4338
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4395
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4783
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4793
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4804
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4829
var comp =
CreateCompilation
(src, references: new[] { libChanged.EmitToImageReference(), libUser.EmitToImageReference() });
4843
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4853
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4870
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4909
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 (8)
1975
var comp =
CreateCompilation
(parsed);
3145
var comp =
CreateCompilation
(source);
3743
var libComp =
CreateCompilation
(libSrc);
4085
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
4147
var missingLibS1 =
CreateCompilation
(@"
4154
var libS2 =
CreateCompilation
(@"
4174
var comp =
CreateCompilation
(source, references: [libS2]);
4181
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: [libS2, missingLibS1]);
CodeGen\CodeGenLocalFunctionTests.cs (14)
92
var comp =
CreateCompilation
(@"
136
var comp =
CreateCompilation
(@"
206
var comp =
CreateCompilation
(@"
240
var comp =
CreateCompilation
(@"
759
var comp =
CreateCompilation
(@"
1149
var comp =
CreateCompilation
(@"
1707
var comp =
CreateCompilation
(src);
5452
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5565
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics();
5567
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics();
5590
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5595
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithPreprocessorSymbols("DEBUG")).VerifyDiagnostics();
6157
var comp =
CreateCompilation
(source);
CodeGen\CodeGenLockTests.cs (6)
1902
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1923
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1944
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1973
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2001
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2037
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (27)
654
CreateCompilation
(@"
750
CreateCompilation
(@"
938
CreateCompilation
(@"
978
CreateCompilation
(@"
1275
CreateCompilation
(source2).VerifyDiagnostics(
1357
CreateCompilation
(source2).VerifyDiagnostics(
1496
var compilation =
CreateCompilation
(@"
1627
CreateCompilation
(@"
1673
CreateCompilation
(@"
2076
CreateCompilation
(@"
2121
CreateCompilation
(@"
2139
CreateCompilation
(@"
2285
CreateCompilation
(@"
2341
CreateCompilation
(source).VerifyDiagnostics(
2447
var compilation =
CreateCompilation
(source);
2490
CreateCompilation
(source).VerifyDiagnostics(
2579
var compilation =
CreateCompilation
(source);
2599
CreateCompilation
(source).VerifyDiagnostics(
2634
var compilation =
CreateCompilation
(source);
2658
CreateCompilation
(source).VerifyDiagnostics(
2669
var aRef =
CreateCompilation
(aSource).EmitToImageReference();
2671
var bRef =
CreateCompilation
(bSource, new[] { aRef }).EmitToImageReference();
2683
var compilation =
CreateCompilation
(testSource, new[] { bRef });
2722
CreateCompilation
(@"
2744
CreateCompilation
(@"
2771
var c1 =
CreateCompilation
(source);
2778
var c2 =
CreateCompilation
(source);
CodeGen\CodeGenOperators.cs (17)
1592
CreateCompilation
(source).VerifyDiagnostics(
5443
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5502
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5610
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5695
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5733
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6083
var comp =
CreateCompilation
(source);
6115
var comp =
CreateCompilation
(source);
6139
var comp =
CreateCompilation
(source);
6178
var comp =
CreateCompilation
(source);
6201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6304
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6328
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6566
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6616
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6974
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
7030
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
(
4180
var compref =
CreateCompilation
(source, assemblyName: "XNoDefaultForParams_Dev10781558_Library");
4385
var A =
CreateCompilation
(@"public class A {}", assemblyName: "A");
4386
var B =
CreateCompilation
(@"public interface B { void M(A a); }", references: new[] { new CSharpCompilationReference(A) }, assemblyName: "B");
4387
var C =
CreateCompilation
(@"public class C { public void M(A a) { } }", references: new[] { new CSharpCompilationReference(A) }, assemblyName: "C");
4389
var D =
CreateCompilation
(@"public class D : C, B { }", references: new[] { new CSharpCompilationReference(B), new CSharpCompilationReference(C) }, assemblyName: "D");
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (6)
33
var comp =
CreateCompilation
(@"
514
var comp =
CreateCompilation
(@"
2489
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2537
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
2588
var compilation =
CreateCompilation
(csharp, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeReleaseDll);
3308
var compilation =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
CodeGen\CodeGenReadonlyStructTests.cs (14)
107
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
325
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
638
var comp =
CreateCompilation
(text);
710
var comp =
CreateCompilation
(text);
824
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
909
var clientComp =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
995
var comp1 =
CreateCompilation
(text1, assemblyName: "A");
998
var comp =
CreateCompilation
("//NO CODE HERE", new[] { ref1 }, parseOptions: TestOptions.Regular);
1557
var externalComp =
CreateCompilation
(external);
1561
var comp =
CreateCompilation
("", references: new[] { externalComp.EmitToImageReference() });
1564
var comp2 =
CreateCompilation
("", references: new[] { externalComp.ToMetadataReference() });
1673
var comp =
CreateCompilation
("", references: new[] { ilRef });
1831
var image =
CreateCompilation
(external).EmitToImageReference();
1907
var image =
CreateCompilation
(external).EmitToImageReference();
CodeGen\CodeGenRefConditionalOperatorTests.cs (3)
1267
var comp =
CreateCompilation
(code, options: options);
1354
var comp =
CreateCompilation
(code, options: options);
2293
var comp =
CreateCompilation
(source);
CodeGen\CodeGenRefLocalTests.cs (10)
524
var comp =
CreateCompilation
(@"
4012
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
4036
var comp =
CreateCompilation
(text);
4069
var comp =
CreateCompilation
(text);
4107
var comp =
CreateCompilation
(text);
4149
var c =
CreateCompilation
(source);
4251
var comp =
CreateCompilation
(code, options: options);
4391
var comp =
CreateCompilation
(code, options: options);
4444
var comp =
CreateCompilation
(code, options: options);
4501
var comp =
CreateCompilation
(code, options: options);
CodeGen\CodeGenRefOutTests.cs (5)
542
var comp =
CreateCompilation
(code, options: options);
629
var comp =
CreateCompilation
(code, options: options);
691
var comp =
CreateCompilation
(code, options: options);
777
var comp =
CreateCompilation
(code, options: options);
829
var comp =
CreateCompilation
(code, options: options);
CodeGen\CodeGenRefReturnTests.cs (15)
2304
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2339
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2381
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2402
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2431
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
2480
var compilation =
CreateCompilation
("", options: TestOptions.DebugDll, references: new[] { ref1 });
2520
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
2553
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
2617
CreateCompilation
(text).VerifyDiagnostics(
2669
CreateCompilation
(source).VerifyDiagnostics(
2745
CreateCompilation
(source).VerifyDiagnostics(
2825
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
2833
CreateCompilation
(source).VerifyDiagnostics(
2877
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
2885
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenShortCircuitOperatorTests.cs (5)
5357
var compilation =
CreateCompilation
(source);
5487
var compilation =
CreateCompilation
(source);
5616
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
5753
var compilation =
CreateCompilation
(source);
7548
var compilation =
CreateCompilation
(source);
CodeGen\CodeGenStackAllocInitializerTests.cs (3)
849
var comp =
CreateCompilation
(@"
1024
var comp =
CreateCompilation
(@"
1526
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
CodeGen\CodeGenStructsAndEnum.cs (1)
1594
CreateCompilation
(@"
CodeGen\CodeGenTests.cs (18)
38
var comp =
CreateCompilation
(src, parseOptions: parseOptions, options: options);
4460
var comp =
CreateCompilation
(@"
10448
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10841
CreateCompilation
(source).VerifyDiagnostics();
10845
CreateCompilation
(source).VerifyDiagnostics(
11786
var compilation1 =
CreateCompilation
(source1);
12928
CreateCompilation
(source).VerifyDiagnostics(
12950
CreateCompilation
(source).VerifyDiagnostics(
13270
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithConcurrentBuild(false));
13477
var reference =
CreateCompilation
(@"
13509
var comp =
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() });
13516
comp =
CreateCompilation
(code, references: new[] { reference.EmitToImageReference() });
13579
var comp =
CreateCompilation
(code, references: new[] { reference });
13612
var compRelease =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13613
var compDebug =
CreateCompilation
(source, options: TestOptions.DebugExe);
13656
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
14656
compilation =
CreateCompilation
(text);
17311
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
CodeGen\CodeGenThrowTests.cs (2)
335
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
399
CreateCompilation
(source).VerifyDiagnostics(
CodeGen\CodeGenTryFinally.cs (4)
3086
CreateCompilation
(text).VerifyDiagnostics(
3108
CreateCompilation
(text).VerifyDiagnostics();
4021
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4053
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
CodeGen\CodeGenTupleEqualityTests.cs (110)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
66
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, assemblyName: name);
82
var comp =
CreateCompilation
(source);
103
var comp =
CreateCompilation
(source);
124
var comp =
CreateCompilation
(source);
172
var comp =
CreateCompilation
(source);
751
var comp =
CreateCompilation
(source);
785
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
830
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
847
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
895
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
944
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
994
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1048
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1082
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1114
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1145
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1177
var comp =
CreateCompilation
(source);
1205
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1234
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1259
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1281
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1305
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1335
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1348
comp =
CreateCompilation
(source);
1376
var comp =
CreateCompilation
(source);
1437
var comp =
CreateCompilation
(source);
1489
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1587
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1612
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1649
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1662
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1741
var comp =
CreateCompilation
(source);
1763
var comp =
CreateCompilation
(source);
1806
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1822
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1840
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1860
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1893
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1911
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
1943
var comp =
CreateCompilation
(source);
1971
var comp =
CreateCompilation
(source);
1995
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2008
comp =
CreateCompilation
(source);
2175
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2266
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2297
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2320
var comp =
CreateCompilation
(source);
2414
var comp =
CreateCompilation
(source.Replace("EXPRESSION", expression), options: TestOptions.DebugExe);
2502
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2548
var comp =
CreateCompilation
(source);
2732
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2819
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2858
var comp =
CreateCompilation
(source);
2891
var comp =
CreateCompilation
(source);
2917
var comp =
CreateCompilation
(source);
2944
var comp =
CreateCompilation
(source);
2983
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3013
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3032
var comp =
CreateCompilation
(source);
3057
var comp =
CreateCompilation
(source);
3085
var comp =
CreateCompilation
(source);
3110
var comp =
CreateCompilation
(source);
3159
var comp =
CreateCompilation
(source);
3194
var comp =
CreateCompilation
(source);
3234
var comp =
CreateCompilation
(source);
3271
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3356
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3391
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3426
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3642
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3677
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3776
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3801
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3904
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3997
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4075
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4116
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4177
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4231
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4261
var comp =
CreateCompilation
(source);
4304
var comp =
CreateCompilation
(source);
4333
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4381
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4477
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4581
var comp =
CreateCompilation
(source.Replace("REPLACE", expression),
4671
var comp =
CreateCompilation
(source.Replace("REPLACE", expression), options: TestOptions.DebugExe);
4741
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
4797
var comp =
CreateCompilation
(source);
4835
var comp =
CreateCompilation
(source);
4933
var comp =
CreateCompilation
(source.Replace("REPLACE", expression));
4999
var comp =
CreateCompilation
(source);
5045
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
5107
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5150
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5220
var comp =
CreateCompilation
(source);
5244
var comp =
CreateCompilation
(source);
5266
var comp =
CreateCompilation
(source);
5296
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5316
var comp =
CreateCompilation
(source);
5343
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5371
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5392
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5418
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5439
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
5502
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
5558
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
CodeGen\CodeGenTupleTest.cs (343)
229
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
267
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
294
var comp =
CreateCompilation
(src);
331
var comp =
CreateCompilation
(src);
349
var comp1 =
CreateCompilation
(src1);
352
var comp2 =
CreateCompilation
(src2,
356
var comp3 =
CreateCompilation
(src2,
419
var comp =
CreateCompilation
(@"
590
var comp =
CreateCompilation
(@"
1068
var comp =
CreateCompilation
(source);
1095
var comp =
CreateCompilation
(source);
1126
var comp =
CreateCompilation
(source);
1171
var comp =
CreateCompilation
(source);
1535
CreateCompilation
(source).VerifyDiagnostics(
1555
CreateCompilation
(source).VerifyDiagnostics(
1601
var comp =
CreateCompilation
(tree);
2992
var comp =
CreateCompilation
(source);
3020
var comp =
CreateCompilation
(source);
3050
var comp =
CreateCompilation
(source);
3097
var comp =
CreateCompilation
(source);
3121
var comp =
CreateCompilation
(source);
3157
var comp =
CreateCompilation
(source);
3285
CreateCompilation
(source).VerifyDiagnostics(
3311
CreateCompilation
(source).VerifyDiagnostics(
3567
CreateCompilation
(source).VerifyDiagnostics(
3765
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "UseSiteDiagnosticOnTupleField_missingComp");
3819
var comp7 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7");
3826
var comp7_1 =
CreateCompilation
(source_cs, parseOptions: TestOptions.Regular7_1, assemblyName: "UseSiteDiagnosticOnTupleField2_comp7_1");
3858
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetFramework, parseOptions: TestOptions.Regular7);
3971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_1));
4077
var comp7 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7));
4225
var comp1 =
CreateCompilation
(source1);
4227
var comp2 =
CreateCompilation
(source2);
4272
var comp1 =
CreateCompilation
(source1);
4274
var comp2 =
CreateCompilation
(source2);
4276
var comp =
CreateCompilation
(source, references: new[] { new CSharpCompilationReference(comp1), new CSharpCompilationReference(comp2) }, options: TestOptions.ReleaseExe);
4460
var comp =
CreateCompilation
(source, assemblyName: "comp");
4662
var comp =
CreateCompilation
(source, assemblyName: "comp");
4701
var comp =
CreateCompilation
(source, assemblyName: "comp");
4830
var comp =
CreateCompilation
(source);
4946
var comp =
CreateCompilation
(source);
4976
var comp =
CreateCompilation
(source);
5003
var comp =
CreateCompilation
(source);
5030
var comp =
CreateCompilation
(source);
5066
var comp =
CreateCompilation
(source);
5110
var comp =
CreateCompilation
(source);
5148
var comp =
CreateCompilation
(source);
5192
var comp =
CreateCompilation
(source);
5263
var comp =
CreateCompilation
(source);
5408
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5418
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5470
var comp =
CreateCompilation
(new[] { tree });
5608
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
5902
var tupleComp =
CreateCompilation
(trivial2uple);
5937
var tupleComp =
CreateCompilation
(trivial2uple_withoutFields);
6048
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6183
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6361
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6380
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6540
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
6599
var comp = (Compilation)
CreateCompilation
(source);
6634
var comp = (Compilation)
CreateCompilation
(source);
6676
var comp = (Compilation)
CreateCompilation
(source);
6715
var comp = (Compilation)
CreateCompilation
(source);
6756
var comp = (Compilation)
CreateCompilation
(source);
6794
var comp =
CreateCompilation
(source);
6834
var comp = (Compilation)
CreateCompilation
(source);
6864
var comp = (Compilation)
CreateCompilation
(source);
6903
var comp = (Compilation)
CreateCompilation
(source);
6961
var comp =
CreateCompilation
(source);
7044
CreateCompilation
(source).VerifyDiagnostics(
7100
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7214
CreateCompilation
(source).VerifyDiagnostics(
7268
CreateCompilation
(source).VerifyDiagnostics(
7399
CreateCompilation
(source).VerifyDiagnostics(
7449
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
7491
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7524
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7561
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7618
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
7717
CreateCompilation
(source).VerifyDiagnostics(
8001
CreateCompilation
(source).VerifyDiagnostics(
8046
CreateCompilation
(source).VerifyDiagnostics(
8076
CreateCompilation
(source).VerifyEmitDiagnostics(
8115
CreateCompilation
(source).VerifyEmitDiagnostics(
8154
CreateCompilation
(source).VerifyEmitDiagnostics(
8191
CreateCompilation
(source).VerifyEmitDiagnostics(
8222
CreateCompilation
(source).VerifyEmitDiagnostics(
8246
CreateCompilation
(source).VerifyEmitDiagnostics(
8267
CreateCompilation
(source).VerifyEmitDiagnostics(
8288
var comp =
CreateCompilation
(tree);
8319
var comp =
CreateCompilation
(tree);
8374
var comp =
CreateCompilation
(tree);
8403
var comp =
CreateCompilation
(tree);
8432
var comp =
CreateCompilation
(tree);
8480
var comp =
CreateCompilation
(tree);
8514
var comp =
CreateCompilation
(tree);
8547
var comp =
CreateCompilation
(tree);
8576
var comp =
CreateCompilation
(tree);
8623
var comp =
CreateCompilation
(tree);
8658
var comp =
CreateCompilation
(tree);
8687
var comp =
CreateCompilation
(tree);
8716
var comp =
CreateCompilation
(tree);
8746
var comp =
CreateCompilation
(tree);
8801
var comp =
CreateCompilation
(tree);
8831
var comp =
CreateCompilation
(tree);
8890
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
8937
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9008
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9060
var comp =
CreateCompilation
(tree,
9137
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9218
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9301
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseExe);
9355
var comp =
CreateCompilation
(tree,
9808
var comp =
CreateCompilation
(source);
9845
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9900
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
9942
var comp =
CreateCompilation
(source);
9988
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10027
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10054
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
10127
var comp =
CreateCompilation
(source);
10234
var comp =
CreateCompilation
(source);
10266
var comp =
CreateCompilation
(source);
10757
var comp =
CreateCompilation
(source);
10914
var comp =
CreateCompilation
(source);
10941
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
12058
var comp =
CreateCompilation
(source);
12343
var comp =
CreateCompilation
(source);
12429
var comp =
CreateCompilation
(source);
12532
var comp =
CreateCompilation
(source);
13133
var comp =
CreateCompilation
(source);
13339
var comp =
CreateCompilation
(source, assemblyName: "test");
13371
var comp =
CreateCompilation
(source, assemblyName: "test");
13519
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13582
var comp =
CreateCompilation
(source);
14026
var comp =
CreateCompilation
(source);
14396
var comp = (Compilation)
CreateCompilation
(source,
16148
var comp =
CreateCompilation
(source);
16169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16198
var comp =
CreateCompilation
(source);
16219
var comp =
CreateCompilation
(source);
16243
var comp =
CreateCompilation
(source);
16269
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
16300
var comp =
CreateCompilation
(source);
16326
var comp =
CreateCompilation
(source);
16349
var comp =
CreateCompilation
(source);
16424
var comp =
CreateCompilation
(source, references: new[] { SystemRef });
16515
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16530
var comp =
CreateCompilation
(source);
16727
var comp =
CreateCompilation
(source);
16764
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib");
16767
var comp1 =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() });
16770
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
17177
var comp =
CreateCompilation
(source,
17206
var comp =
CreateCompilation
(tree);
17267
var comp =
CreateCompilation
(tree);
17326
var comp =
CreateCompilation
(tree);
17365
var comp =
CreateCompilation
(tree);
17397
var comp =
CreateCompilation
(tree);
17430
var comp =
CreateCompilation
(tree);
17957
var comp =
CreateCompilation
(source,
18121
var comp =
CreateCompilation
(source);
18172
var comp =
CreateCompilation
(source);
18211
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18251
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18662
var comp =
CreateCompilation
(source, assemblyName: "ImplicitConversions06Err");
18823
var comp =
CreateCompilation
(source);
18840
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18858
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18878
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18901
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18918
var tupleComp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18943
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18944
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18968
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18969
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18993
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
18994
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19019
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19020
var tupleComp2 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19134
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19173
var tupleComp1 =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples);
19217
var comp =
CreateCompilation
(source);
19272
var comp =
CreateCompilation
(source);
19336
var comp =
CreateCompilation
(source);
19376
var comp =
CreateCompilation
(source);
19416
var comp =
CreateCompilation
(source);
19464
var comp =
CreateCompilation
(source);
19522
var comp =
CreateCompilation
(source);
19577
var comp =
CreateCompilation
(source);
19598
var comp =
CreateCompilation
(source);
19636
var comp =
CreateCompilation
(source);
19689
var comp =
CreateCompilation
(source);
19730
var comp =
CreateCompilation
(source);
19765
var comp1 =
CreateCompilation
(source1 + trivial2uple + source2);
19851
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
19890
var comp =
CreateCompilation
(source);
19926
var comp =
CreateCompilation
(source);
19962
var comp =
CreateCompilation
(source);
20027
var comp =
CreateCompilation
(source);
20080
var comp =
CreateCompilation
(source);
20114
var comp =
CreateCompilation
(source);
20141
var comp =
CreateCompilation
(source);
20177
var comp =
CreateCompilation
(source);
20214
var comp =
CreateCompilation
(source);
20254
var comp =
CreateCompilation
(source);
20274
var comp =
CreateCompilation
(source);
20308
var comp =
CreateCompilation
(source);
20336
var comp =
CreateCompilation
(source);
20410
var comp = (Compilation)
CreateCompilation
(source);
20541
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
20626
var comp = (Compilation)
CreateCompilation
(source);
20743
var comp = (Compilation)
CreateCompilation
(source);
20792
var comp =
CreateCompilation
(source);
20837
var comp =
CreateCompilation
(source);
20862
var comp =
CreateCompilation
(source);
20890
var comp =
CreateCompilation
(source);
20931
var comp =
CreateCompilation
(source);
20979
var comp =
CreateCompilation
(source);
21007
var comp =
CreateCompilation
(source);
21039
var comp =
CreateCompilation
(source);
21062
var comp =
CreateCompilation
(source);
21085
var comp =
CreateCompilation
(source);
21103
var comp =
CreateCompilation
(source);
21137
var comp =
CreateCompilation
(source);
21155
var comp =
CreateCompilation
(source);
21186
var comp =
CreateCompilation
(source);
21345
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
21382
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
21919
var comp =
CreateCompilation
(source,
22009
var comp =
CreateCompilation
(source,
22061
var comp =
CreateCompilation
(source,
22100
var comp =
CreateCompilation
(source,
22248
var comp =
CreateCompilation
(source);
22426
var comp =
CreateCompilation
(source);
22541
var comp =
CreateCompilation
(source);
22582
var comp =
CreateCompilation
(source, assemblyName: "comp");
22639
var comp =
CreateCompilation
(source);
22661
var comp =
CreateCompilation
(source);
22690
var comp =
CreateCompilation
(source);
22713
var comp1 =
CreateCompilation
(source);
22730
var comp1 =
CreateCompilation
(source);
22747
var comp1 =
CreateCompilation
(source);
22770
var comp =
CreateCompilation
(source, assemblyName: "comp", options: TestOptions.DebugExe);
22897
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
22966
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23010
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23044
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23086
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23125
var comp =
CreateCompilation
(source, assemblyName: "ValueTupleNotStruct", options: TestOptions.DebugExe);
23397
var comp1 =
CreateCompilation
(source);
24254
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24317
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24382
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24454
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24527
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24597
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
24638
var comp =
CreateCompilation
(source);
24654
var comp =
CreateCompilation
(source);
24677
var comp =
CreateCompilation
(source);
24700
var comp =
CreateCompilation
(source);
24727
var comp =
CreateCompilation
(source);
24753
var comp =
CreateCompilation
(source);
24784
var comp =
CreateCompilation
(source);
24812
var comp =
CreateCompilation
(source);
24835
var comp1 =
CreateCompilation
(source1);
24851
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
24882
var comp =
CreateCompilation
(source);
24908
var comp =
CreateCompilation
(source);
24934
var comp =
CreateCompilation
(source);
24960
var comp =
CreateCompilation
(source);
24986
var comp =
CreateCompilation
(source);
25018
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
25040
var comp =
CreateCompilation
(source);
25074
var comp =
CreateCompilation
(source);
25187
var comp =
CreateCompilation
(source);
25228
var comp =
CreateCompilation
(source);
26125
CreateCompilation
(source).VerifyDiagnostics(
26195
CreateCompilation
(source).VerifyDiagnostics(
26216
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
26262
CreateCompilation
(text).VerifyDiagnostics(
26290
var comp =
CreateCompilation
(source);
26323
var comp =
CreateCompilation
(source);
26356
var comp =
CreateCompilation
(source);
26389
var comp =
CreateCompilation
(source);
26588
var missing =
CreateCompilation
(missing_cs);
26606
var lib =
CreateCompilation
(lib_cs, references: new[] { missingRef });
26619
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
26631
var executeComp =
CreateCompilation
(executable_cs, references: new[] { comp.EmitToImageReference(), libRef, missingRef }, options: TestOptions.DebugExe);
26641
var comp =
CreateCompilation
(sourceA, assemblyName: "A");
26646
comp =
CreateCompilation
(sourceB, references: new[] { refA });
26658
comp =
CreateCompilation
(sourceC, references: new[] { refB });
27039
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27046
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27049
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27053
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27057
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27123
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27130
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27133
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27137
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27141
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27197
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27204
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27207
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27211
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27215
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27275
var comp1 =
CreateCompilation
(source0 + source1, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27282
var comp4 =
CreateCompilation
(source0 + source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe);
27285
var comp5 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1Ref);
27289
var comp6 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib40, options: TestOptions.DebugExe, references: comp1ImageRef);
27293
var comp7 =
CreateCompilation
(source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe, references: comp1Ref);
27336
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27394
var comp =
CreateCompilation
(source);
27537
var comp0 =
CreateCompilation
(new[] { source0, source1 }, options: TestOptions.DebugDll);
27540
var comp1 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
27543
var comp2 =
CreateCompilation
(source1, references: new[] { comp1.EmitToImageReference() }, options: TestOptions.DebugDll);
27563
var comp =
CreateCompilation
(new[] { source }, options: TestOptions.DebugDll);
27652
var comp =
CreateCompilation
(
27899
var comp =
CreateCompilation
(
27921
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
27949
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple");
27970
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
27977
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28025
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "emptyValueTuple", parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
28059
var comp2 =
CreateCompilation
(client, references: new[] { comp.EmitToImageReference() }, targetFramework: TargetFramework.Mscorlib40);
28092
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28155
var comp =
CreateCompilation
(source + tupleattributes_cs, targetFramework: TargetFramework.Mscorlib40);
28186
var comp =
CreateCompilation
(trivial2uple + trivial3uple + trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28189
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28300
var comp =
CreateCompilation
(trivialRemainingTuples, targetFramework: TargetFramework.Mscorlib40);
28303
var comp2 =
CreateCompilation
("", targetFramework: TargetFramework.Mscorlib46, references: new[] { comp.ToMetadataReference() });
28388
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28392
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
28483
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40, assemblyName: "customValueTuple");
28531
var comp =
CreateCompilation
(source);
28549
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
28585
var comp =
CreateCompilation
(source);
28617
var comp =
CreateCompilation
(source);
28683
var comp =
CreateCompilation
(source);
28802
var comp =
CreateCompilation
(source + trivialRemainingTuples);
28987
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Minimal);
CodeGen\CodeGenUsingDeclarationTests.cs (26)
816
var comp =
CreateCompilation
(source);
1446
var comp =
CreateCompilation
(source);
1458
comp =
CreateCompilation
(source);
1470
comp =
CreateCompilation
(source);
1498
var comp =
CreateCompilation
(source);
1515
comp =
CreateCompilation
(source);
1554
var comp =
CreateCompilation
(source);
1566
comp =
CreateCompilation
(source);
1578
comp =
CreateCompilation
(source);
1609
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1626
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1668
var comp =
CreateCompilation
(source);
1680
comp =
CreateCompilation
(source);
1692
comp =
CreateCompilation
(source);
1726
var comp =
CreateCompilation
(source);
1738
comp =
CreateCompilation
(source);
1750
comp =
CreateCompilation
(source);
1784
var comp =
CreateCompilation
(source);
1796
comp =
CreateCompilation
(source);
1808
comp =
CreateCompilation
(source);
1843
var comp =
CreateCompilation
(source);
1850
comp =
CreateCompilation
(source);
1857
comp =
CreateCompilation
(source);
1874
var comp =
CreateCompilation
(source);
1887
comp =
CreateCompilation
(source);
1900
comp =
CreateCompilation
(source);
CodeGen\CodeGenUsingStatementTests.cs (16)
1155
var comp =
CreateCompilation
(source);
1237
var comp =
CreateCompilation
(source);
1267
var comp =
CreateCompilation
(source);
1394
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoConvToIDisp, "obj").WithArguments("T"));
1429
CreateCompilation
(source).VerifyDiagnostics(
1463
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_UseDefViolationOut, "y").WithArguments("y"));
1487
CreateCompilation
(source).VerifyDiagnostics(
1514
CreateCompilation
(source).VerifyDiagnostics(
2536
CreateCompilation
(source).VerifyDiagnostics(
2572
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_FixedMustInit, "res2"));
2654
CreateCompilation
(source).VerifyDiagnostics(
2690
CreateCompilation
(source).VerifyDiagnostics();
2733
CreateCompilation
(source).VerifyDiagnostics(
2773
CreateCompilation
(source).VerifyDiagnostics(
3116
CreateCompilation
(source).VerifyDiagnostics(
3270
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
CodeGen\DestructorTests.cs (1)
692
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
CodeGen\EventTests.cs (4)
620
var compilation =
CreateCompilation
(csharpSource, new MetadataReference[] { ilAssemblyReference }, TestOptions.ReleaseExe);
707
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
779
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
842
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
CodeGen\FixedSizeBufferTests.cs (15)
337
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
370
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
407
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
652
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
677
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
704
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
726
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
810
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
839
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
868
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
924
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
965
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
1072
CreateCompilation
(@"
1164
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Mscorlib40, assemblyName: "fixedBuffer");
1167
var comp3 =
CreateCompilation
("", references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib46);
CodeGen\ForeachTest.cs (2)
483
var comp =
CreateCompilation
(@"
1683
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
CodeGen\GotoTest.cs (6)
565
CreateCompilation
(code).VerifyEmitDiagnostics(
585
CreateCompilation
(code).VerifyEmitDiagnostics(
604
CreateCompilation
(code).VerifyEmitDiagnostics(
622
CreateCompilation
(code).VerifyEmitDiagnostics(
640
CreateCompilation
(code).VerifyEmitDiagnostics(
657
CreateCompilation
(code).VerifyEmitDiagnostics(
CodeGen\IndexAndRangeTests.cs (6)
3744
var comp =
CreateCompilation
(new[] { source, TestSources.Index });
3777
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3820
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3853
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3904
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
CodeGen\IndexerTests.cs (7)
1200
var comp1 =
CreateCompilation
(text1);
1209
comp1 =
CreateCompilation
(text1);
1218
comp1 =
CreateCompilation
(text1);
1232
var comp1 =
CreateCompilation
(text1);
1240
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()]);
1260
var comp1 =
CreateCompilation
(text1);
1329
var comp1 =
CreateCompilation
(text1, options: TestOptions.DebugExe);
CodeGen\ITuplePatternTests.cs (1)
19
return
CreateCompilation
(new[] { source, _iTupleSource }, options: options ?? TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
CodeGen\ObjectAndCollectionInitializerTests.cs (2)
3692
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3731
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\PatternTests.cs (90)
235
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
269
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
333
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
401
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
634
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
695
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
771
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
832
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
857
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
893
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
932
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
968
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1008
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1055
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1106
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1141
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1179
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1223
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1282
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1339
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1399
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1471
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1535
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1598
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1657
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1712
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1773
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1840
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1904
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1973
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2038
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2173
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2267
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2404
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2538
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns);
2612
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2646
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2713
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2793
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2839
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2902
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2999
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3055
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3096
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3128
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3237
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, references: new[] { CSharpRef });
3265
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3295
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3384
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3550
var compilation =
CreateCompilation
(source, options: options);
3633
var compilation =
CreateCompilation
(source, options: options);
3705
var compilation =
CreateCompilation
(source, options: options);
3781
var compilation =
CreateCompilation
(source, options: options);
3992
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3995
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4030
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4033
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4058
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4094
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4121
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4173
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4213
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4248
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4329
var compilation =
CreateCompilation
(source, options: compilationOptions);
4508
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4542
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4576
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4773
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4806
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4842
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4880
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4914
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4988
var compilation =
CreateCompilation
(source);
5114
var compilation =
CreateCompilation
(source);
5263
var compilation =
CreateCompilation
(source);
5396
var compilation =
CreateCompilation
(source);
5453
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5481
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5507
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5549
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5653
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5715
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5789
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5879
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5938
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6023
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6107
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
CodeGen\PropertyTests.cs (1)
30
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
CodeGen\SwitchTests.cs (23)
278
CreateCompilation
(source).VerifyDiagnostics();
7852
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch(),
7989
comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe.WithModuleName("MODULE"));
8092
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch(),
8223
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
8302
comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe.WithModuleName("MODULE"));
8370
comp =
CreateCompilation
(text);
9441
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9572
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9765
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9820
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9873
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9881
var compilation =
CreateCompilation
(source,
9925
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
9933
var compilation =
CreateCompilation
(source,
9973
CreateCompilation
(source).VerifyDiagnostics(
10026
var compilation =
CreateCompilation
(source,
10118
var compilation =
CreateCompilation
(source,
10519
var compilation =
CreateCompilation
(source,
10607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe)
10695
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe)
10802
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
10867
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9)
CodeGen\UnsafeTests.cs (12)
89
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
115
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
141
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
167
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
193
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
6069
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
10231
var comp =
CreateCompilation
($@"
10799
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe);
10829
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10900
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
11179
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11633
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
Emit\CompilationEmitTests.cs (113)
48
var compilation =
CreateCompilation
(source);
81
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("abc.X"));
84
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("\"abc.X\""));
100
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("решения.X"));
103
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("\"решения.X\""));
123
var compilation =
CreateCompilation
(source);
140
CSharpCompilation comp =
CreateCompilation
(@"
184
CSharpCompilation comp =
CreateCompilation
(@"
236
CSharpCompilation compUsing =
CreateCompilation
(srcUsing, new[] { MetadataReference.CreateFromImage(mdOnlyImage.AsImmutableOrNull()) });
251
CSharpCompilation comp =
CreateCompilation
(@"
296
CSharpCompilation comp =
CreateCompilation
(@"
342
CSharpCompilation comp =
CreateCompilation
(@"
396
CSharpCompilation comp =
CreateCompilation
(@"
452
CSharpCompilation comp =
CreateCompilation
(@"
505
CSharpCompilation comp =
CreateCompilation
(@"
554
CSharpCompilation comp =
CreateCompilation
(@"
698
CSharpCompilation comp =
CreateCompilation
(@"
724
CSharpCompilation comp =
CreateCompilation
(@"
748
CSharpCompilation comp =
CreateCompilation
(@"
773
CSharpCompilation comp =
CreateCompilation
(@"
801
CSharpCompilation comp =
CreateCompilation
(@"
822
CSharpCompilation comp =
CreateCompilation
(@"
855
CSharpCompilation comp =
CreateCompilation
(@"
943
var comp =
CreateCompilation
("");
1022
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1044
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1052
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll,
1062
var comp =
CreateCompilation
("", references: new[] { reference });
1100
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1123
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1131
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1144
var comp =
CreateCompilation
("", references: new[] { reference });
1206
CSharpCompilation comp1 =
CreateCompilation
(Parse(source1), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1210
Compilation comp2 =
CreateCompilation
(Parse(source2), options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1282
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1295
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true), assemblyName: name);
1315
CSharpCompilation compilation =
CreateCompilation
(
1888
var libComp =
CreateCompilation
(lib_cs,
1893
var comp =
CreateCompilation
(source, references: new[] { libImage },
1906
var comp1 =
CreateCompilation
(source, options: options, assemblyName: name);
1925
var comp2 =
CreateCompilation
(source, options: options, assemblyName: name);
1999
var comp =
CreateCompilation
("public class C{}",
2018
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2038
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2057
var comp =
CreateCompilation
("public class C{}", options: signedDllOptions);
2096
CSharpCompilation comp =
CreateCompilation
(Parse(source),
2697
var libComp =
CreateCompilation
(
2755
var exeComp =
CreateCompilation
(
3370
var compilation =
CreateCompilation
(source);
3403
var compilation =
CreateCompilation
(source);
3441
var compilation =
CreateCompilation
(source);
3486
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu));
3490
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3494
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3500
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu32BitPreferred));
3506
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.Arm));
3523
var compilation =
CreateCompilation
(source,
3557
var compilation =
CreateCompilation
(source,
3607
var compilation =
CreateCompilation
(source,
3647
var compilation =
CreateCompilation
(source,
3689
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3721
var compilation =
CreateCompilation
(source);
3739
var compilation =
CreateCompilation
(source, options: TestOptions.CreateTestOptions(OutputKind.WindowsRuntimeApplication, OptimizationLevel.Debug));
3757
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3762
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3767
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3772
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3777
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3782
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X86));
3786
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3791
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3796
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.X64));
3811
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4002
var compilation =
CreateCompilation
(source);
4014
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4080
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4111
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4142
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4173
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll, assemblyName: name);
4211
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule, assemblyName: "ContentType");
4231
var compilation =
CreateCompilation
("class A { }", options: TestOptions.ReleaseDll);
4254
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4289
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
4318
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4365
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4426
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4492
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4549
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
4611
var c1 =
CreateCompilation
(p1, options: TestOptions.ReleaseDll, assemblyName: Guid.NewGuid().ToString());
4621
var comp =
CreateCompilation
(source1, options: TestOptions.ReleaseModule);
4632
var c1 =
CreateCompilation
(p1);
4660
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
5070
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5142
var compilation =
CreateCompilation
(source, null, TestOptions.ReleaseDll);
5163
var compilation =
CreateCompilation
(source);
5188
var compilation =
CreateCompilation
(source);
5207
var compilation =
CreateCompilation
(source, null, TestOptions.DebugDll);
5263
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule);
5267
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule, references: new[] { ref1 });
5271
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe, references: new[] { ref1, ref2 });
5310
var comp1 =
CreateCompilation
(s1, options: TestOptions.ReleaseModule.WithModuleName("A"));
5314
var comp2 =
CreateCompilation
(s2, options: TestOptions.ReleaseModule.WithModuleName("B"), references: new[] { ref1 });
5318
var comp3 =
CreateCompilation
(s3, options: TestOptions.ReleaseExe.WithModuleName("C"), references: new[] { ref1, ref2 });
5355
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll);
5417
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.ReleaseDll, references: new[] { CSharpRef });
5455
var compilation =
CreateCompilation
(source);
5468
var comp =
CreateCompilation
("class C {}");
5507
var compilation =
CreateCompilation
(source);
5534
var compilation =
CreateCompilation
(source);
5550
var modRef =
CreateCompilation
("public class A { }", options: TestOptions.ReleaseModule, assemblyName: "refMod").EmitToImageReference();
5551
var comp =
CreateCompilation
("public class B : A { }", references: new[] { modRef }, assemblyName: "sourceMod");
5591
var compilation =
CreateCompilation
(source, options: options);
5642
var compilation =
CreateCompilation
(source, options: options);
Emit\DesktopStrongNameProviderTests.cs (2)
99
var comp =
CreateCompilation
(src, options: options);
116
var comp =
CreateCompilation
(src, options: options);
Emit\DeterministicTests.cs (5)
299
var forwardedToCompilation1 =
CreateCompilation
(forwardedToCode, assemblyName: "ForwardedTo");
317
var forwardingCompilation =
CreateCompilation
(forwardingCode, new MetadataReference[] { forwardedToReference1 });
352
var forwardedToCompilation2 =
CreateCompilation
(forwardedToCode, assemblyName: "ForwardedTo");
355
var withRetargeting =
CreateCompilation
("", new MetadataReference[] { forwardedToReference2, forwardingReference });
485
var comp =
CreateCompilation
(source1, options: opt, assemblyName: assemblyName);
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (13)
75
var c =
CreateCompilation
(Parse(ExampleSource + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
219
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
339
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
433
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
490
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
529
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
560
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
600
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
668
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
749
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
830
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
924
var c =
CreateCompilation
(Parse(source + InstrumentationHelperSource, @"C:\myproject\doc1.cs"), references: new[] { RefSafetyRulesAttributeLib });
957
var c =
CreateCompilation
(Parse(ExampleSource + InstrumentationHelperSource, @"C:\myproject\doc1.cs"));
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (1)
4146
var compilation =
CreateCompilation
(trees.ToArray(), options: (options ?? TestOptions.ReleaseExe).WithDeterministic(true));
Emit\EmitCustomModifiers.cs (1)
43
var c =
CreateCompilation
(source,
Emit\EmitErrorTests.cs (13)
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));
352
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
354
CreateCompilation
(source,
Emit\EmitMetadataTests.cs (19)
925
var comp =
CreateCompilation
(@"using System;
981
var comp =
CreateCompilation
(@"
2211
var comp =
CreateCompilation
("class Test { static void Main() { } }");
2791
var comp =
CreateCompilation
(@"
2840
var reference =
CreateCompilation
(@"
2892
var reference =
CreateCompilation
(@"
2950
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("experimental-data-section-string-literals", "0"));
2956
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("experimental-data-section-string-literals", "0"));
2962
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("experimental-data-section-string-literals", "0"));
2971
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("experimental-data-section-string-literals", "1"));
2980
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("experimental-data-section-string-literals", "3"));
3281
CreateCompilation
(source,
3676
var emitResult =
CreateCompilation
("""
3740
var comp =
CreateCompilation
("""
3766
var comp =
CreateCompilation
("", references: [reference],
3778
var comp =
CreateCompilation
("""
3808
var comp =
CreateCompilation
("", references: [reference],
3822
var comp =
CreateCompilation
("""
3842
var comp =
CreateCompilation
("", references: [reference],
Emit\EntryPointTests.cs (42)
18
return
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithWarningLevel(5).WithMainTypeName(mainTypeName), parseOptions: parseOptions);
49
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
410
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("N.M"));
428
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C.D"));
446
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C.D"));
481
var compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe);
494
compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
502
compilation =
CreateCompilation
(cs, options: TestOptions.ReleaseExe.WithMainTypeName("D.DD"));
580
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("A.B.C")).VerifyDiagnostics(
602
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
624
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
647
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
675
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
696
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
812
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
815
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D"));
829
var compilation =
CreateCompilation
(
847
var compilation =
CreateCompilation
(
855
compilation =
CreateCompilation
(
863
compilation =
CreateCompilation
(
895
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("C"));
900
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D"));
907
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
1389
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D")).VerifyDiagnostics(
1402
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1407
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1412
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1417
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1422
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1427
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(
1441
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(string.Empty)).VerifyDiagnostics(
1455
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("D")).VerifyDiagnostics(
1470
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("d")).VerifyDiagnostics(
1511
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("Main")).VerifyDiagnostics(
1533
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("Program")).VerifyDiagnostics();
1551
CreateCompilation
(source,
1570
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1573
var netModule =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1575
compilation =
CreateCompilation
("",
1596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1617
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1637
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
Emit\InAttributeModifierTests.cs (74)
22
var reference =
CreateCompilation
(@"
58
var reference =
CreateCompilation
(@"
85
var reference =
CreateCompilation
(@"
109
var reference =
CreateCompilation
(@"
136
var reference =
CreateCompilation
(@"
160
var reference =
CreateCompilation
(@"
186
var reference =
CreateCompilation
(@"
634
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
690
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
749
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
764
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
820
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
836
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
899
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
914
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
971
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1030
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1085
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1141
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1200
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1215
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1271
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1287
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1350
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1365
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1423
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1482
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2156
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2207
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2257
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2309
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2325
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2377
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2426
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2479
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
2491
var reference =
CreateCompilation
(@"
2539
var reference =
CreateCompilation
(@"
2586
var reference =
CreateCompilation
(@"
2641
var reference =
CreateCompilation
(@"
2689
var reference =
CreateCompilation
(@"
2736
var reference =
CreateCompilation
(@"
2781
var reference =
CreateCompilation
(@"
2826
var reference =
CreateCompilation
(@"
2871
var reference =
CreateCompilation
(@"
2916
var reference =
CreateCompilation
(@"
2961
var reference =
CreateCompilation
(@"
3006
var reference =
CreateCompilation
(@"
3052
var reference =
CreateCompilation
(@"
3098
var reference =
CreateCompilation
(@"
3144
var reference =
CreateCompilation
(@"
3190
var reference =
CreateCompilation
(@"
3238
var reference =
CreateCompilation
(@"
3286
var reference =
CreateCompilation
(@"
3341
var reference =
CreateCompilation
(@"
3389
var reference =
CreateCompilation
(@"
3437
var reference =
CreateCompilation
(@"
3483
var reference =
CreateCompilation
(@"
3529
var reference =
CreateCompilation
(@"
3575
var reference =
CreateCompilation
(@"
3621
var reference =
CreateCompilation
(@"
3667
var reference =
CreateCompilation
("public delegate void D(in int p);");
3700
var reference =
CreateCompilation
("public delegate ref readonly int D();");
3733
var reference =
CreateCompilation
(@"
3776
var reference =
CreateCompilation
(@"
3828
var comp =
CreateCompilation
(code).VerifyDiagnostics(
3857
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4160
var testRef =
CreateCompilation
(@"
4207
var testRef =
CreateCompilation
(@"
4254
var testRef =
CreateCompilation
(@"
4303
var testRef =
CreateCompilation
(@"
4355
var testRef =
CreateCompilation
(@"
4414
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
4415
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
4423
var comp =
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
Emit\NoPiaEmbedTypes.cs (212)
46
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
70
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
75
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
95
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
115
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
120
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
171
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
192
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
197
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
228
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
261
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
266
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
297
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
321
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
326
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
350
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
372
var compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
377
compilation =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
400
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
422
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
427
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
448
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
471
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
476
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
498
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
521
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
526
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
548
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
571
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
576
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
598
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
621
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
626
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
648
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
671
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
676
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
698
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
721
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
726
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
779
var compilation2 =
CreateCompilation
(sources2, references: new MetadataReference[] { reference1 });
1067
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
1161
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1164
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1703
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
1720
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1723
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1802
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
1825
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1830
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
1860
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.DebugDll);
2040
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
2063
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2068
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2097
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
2130
var compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2135
compilation =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2167
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2188
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2191
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2283
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2304
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2307
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2362
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2389
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2394
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2435
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2470
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll,
2475
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll,
2501
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2533
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2538
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2648
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2680
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2697
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2700
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2752
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2769
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2772
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2816
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2833
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2836
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2877
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2894
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2897
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2940
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2960
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
2963
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3006
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3026
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3029
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3065
var dispIdDefinition =
CreateCompilation
(dispId, options: TestOptions.ReleaseDll, assemblyName: "DispId").EmitToImageReference(aliases: ImmutableArray.Create("dispId"));
3085
var piaCompilation =
CreateCompilation
(pia, references: new[] { dispIdDefinition }, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3105
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3108
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3143
var empty =
CreateCompilation
("", options: TestOptions.ReleaseDll).EmitToImageReference();
3161
var piaCompilation =
CreateCompilation
(pia, references: new[] { empty }, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3185
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3225
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3249
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3286
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3306
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3309
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3353
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3373
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3376
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3418
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3441
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3444
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3571
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3591
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3594
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3635
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3656
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3659
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3700
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3713
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3716
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3747
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3760
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3763
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3799
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3824
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
3841
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3845
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3884
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
3906
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3909
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
3977
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
3982
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
3988
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
3994
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4000
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4006
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4073
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4078
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll,
4084
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4090
var compilation3 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4096
var compilation4 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4102
var compilation5 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4141
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4158
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4161
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4218
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4242
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4245
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4302
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4319
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4322
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4366
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4384
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4387
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4431
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4449
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4452
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4491
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4509
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4512
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4551
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4569
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4572
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4617
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia");
4635
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4638
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4675
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4693
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4716
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4720
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4743
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4762
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4842
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
4862
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
4888
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4892
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4896
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4900
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
4923
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
4943
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
4966
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4970
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
4993
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
5014
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
5038
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5042
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5065
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
5082
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5112
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2");
5130
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5161
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
5181
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.ReleaseDll, assemblyName: "Pia2",
5204
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5208
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5212
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5216
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5318
var piaCompilation1 =
CreateCompilation
(pia1, options: TestOptions.DebugDll, assemblyName: "Pia1");
5339
var piaCompilation2 =
CreateCompilation
(pia2, options: TestOptions.DebugDll, assemblyName: "Pia2",
5365
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5369
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5373
var compilation3 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5377
var compilation4 =
CreateCompilation
(consumer, options: TestOptions.DebugExe,
5425
var IEvent_Compilation =
CreateCompilation
(IEvent_cs, options: TestOptions.ReleaseDll, assemblyName: "IEvent");
5531
var NetImpl_1_Compilation =
CreateCompilation
(NetImpl_cs, new[] { new CSharpCompilationReference(IEvent_Compilation, embedInteropTypes: true) }, options: TestOptions.ReleaseDll, assemblyName: "NetImpl");
5536
var NetImpl_2_Compilation =
CreateCompilation
(NetImpl_cs, new[] { IEvent_Metadata.GetReference(embedInteropTypes: true) }, options: TestOptions.ReleaseDll, assemblyName: "NetImpl");
5595
var app_compilation =
CreateCompilation
(App_cs, new[] { NetImpl_ref, IEvent_ref, CSharpRef }, options: TestOptions.ReleaseExe, assemblyName: "App");
5621
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5637
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5640
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
5703
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
5729
var compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef1 });
5738
compilation0 =
CreateCompilation
(consumer0, options: TestOptions.ReleaseDll, references: new MetadataReference[] { piaRef2 });
5758
var compilation1 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5761
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseDll,
5989
var compilation =
CreateCompilation
(source,
Emit\OptionalArgumentsTests.cs (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
("");
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)
549
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1)
579
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
613
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
625
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
658
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
681
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2)
695
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
704
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
722
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
730
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
748
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular7_2);
757
CreateCompilation
(source2, parseOptions: TestOptions.Regular7_2,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (698)
CodeGen\CodeGenCallTests.cs (22)
33672
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
33744
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
33879
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
33951
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34086
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34158
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34309
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34381
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34453
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34604
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34676
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34748
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34820
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34892
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34976
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35060
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35151
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35233
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35315
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35483
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35577
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35678
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
CodeGen\CodeGenLengthBasedSwitchTests.cs (44)
77
var comp =
CreateCompilation
(source);
267
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
505
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1314
var comp =
CreateCompilation
(source);
1366
var comp =
CreateCompilation
(source);
1472
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1647
var comp =
CreateCompilation
(source);
1787
var comp =
CreateCompilation
(source);
1795
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
1827
var comp =
CreateCompilation
(source);
1926
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1979
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2191
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2244
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2318
var comp =
CreateCompilation
(source);
2430
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
2634
var comp =
CreateCompilation
(source);
2864
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
3168
var comp =
CreateCompilation
(source);
4384
var comp =
CreateCompilation
(source);
6750
var comp =
CreateCompilation
(source);
7761
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9054
var comp =
CreateCompilation
(source);
9184
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9366
var comp =
CreateCompilation
(source);
9581
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
9825
var comp =
CreateCompilation
(source);
9962
var comp =
CreateCompilation
(source);
10342
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
10803
var comp =
CreateCompilation
(source);
11085
var comp =
CreateCompilation
(source);
11134
var comp =
CreateCompilation
(source);
11333
var comp =
CreateCompilation
(source);
11643
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
11990
var comp =
CreateCompilation
(source);
12334
var comp =
CreateCompilation
(source);
12647
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
12985
var comp =
CreateCompilation
(source);
13108
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13302
var comp =
CreateCompilation
(source);
13585
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
13910
var comp =
CreateCompilation
(source);
14020
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDisableLengthBasedSwitch());
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (2)
6026
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.DebugExe);
6382
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
CodeGen\CodeGenSpanBasedStringConcatTests.cs (38)
329
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
382
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
437
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
481
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
535
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
586
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1091
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1201
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1492
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1555
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1678
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1758
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1804
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1867
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1950
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2075
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2136
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2782
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2970
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3246
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3431
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3503
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3579
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3652
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3773
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3821
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
3895
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4025
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4357
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4410
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4543
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4633
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4757
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
4826
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
5670
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
5860
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
CodeGen\IndexAndRangeTests.cs (12)
1080
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1116
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1144
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1184
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2999
var comp =
CreateCompilation
(source);
3094
var comp =
CreateCompilation
(source);
3620
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
3711
var comp =
CreateCompilation
(source);
3797
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
3884
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
4415
var comp =
CreateCompilation
(new[] { source, IndexWithSideEffects });
4458
var comp =
CreateCompilation
(new[] { source, IndexWithSideEffects });
Emit\EditAndContinue\AssemblyReferencesTests.cs (14)
210
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
213
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
216
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
309
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
314
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
318
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
394
var lib0 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
398
var lib1 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
402
var lib2 =
CreateCompilation
(srcLib, assemblyName: "Lib", options: TestOptions.DebugDll);
478
var lib01 =
CreateCompilation
(srcLib01, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
481
var lib02 =
CreateCompilation
(srcLib02, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
484
var lib11 =
CreateCompilation
(srcLib11, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
487
var lib12 =
CreateCompilation
(srcLib12, assemblyName: "Lib", options: s_signedDll).VerifyDiagnostics();
593
var compilation0 =
CreateCompilation
(source0.Tree, options: options.WithCurrentLocalTime(new DateTime(2016, 1, 1, 1, 0, 0)));
Emit\EditAndContinue\EditAndContinueClosureTests.cs (43)
245
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
306
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
378
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
436
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
488
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
548
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
602
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
657
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
713
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
768
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
835
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
911
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
985
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1052
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1111
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1199
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1288
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1372
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1463
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1545
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1622
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1721
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1812
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1919
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2117
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2329
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2791
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
2861
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
2967
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3087
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3183
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3244
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3483
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3726
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3847
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4122
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4207
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4289
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4362
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4444
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
4626
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugExe);
4685
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
4733
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)
48
var compilation0 =
CreateCompilation
(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll);
10685
var compilation0 =
CreateCompilation
(new[] { source0.Tree }, options: ComSafeDebugDll);
10818
var compilation0 =
CreateCompilation
(new[] { source0.Tree }, options: ComSafeDebugDll);
Emit\EditAndContinue\EditAndContinueTest.cs (1)
34
=> CSharpTestBase.
CreateCompilation
(tree, _references, options: _compilationOptions, assemblyName: _assemblyName, targetFramework: _targetFramework);
Emit\EditAndContinue\EditAndContinueTests.cs (119)
263
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
312
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
396
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
466
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
504
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
565
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
798
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1126
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1249
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1830
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1922
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2007
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2083
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2147
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2226
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
3097
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
3181
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
3308
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
3612
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
3755
var compilation0 =
CreateCompilation
(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
4007
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4069
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4134
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
5895
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6415
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
6469
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
6592
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
6845
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
6925
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7010
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7091
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7201
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7256
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7372
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
7428
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7498
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7575
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7657
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50);
7836
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7979
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8043
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8100
var compilation0 =
CreateCompilation
(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll);
8207
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8265
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8306
var compilation0 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, source:
8493
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: options, references: new[] { CSharpRef });
8875
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
8968
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
9071
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9157
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9288
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9501
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9590
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9638
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
9833
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9961
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
10063
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10346
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
10453
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
10631
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
10748
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
10827
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
11413
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
11483
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
11556
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
11623
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
11747
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
11804
var compilation0 =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
11870
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { CSharpRef });
12140
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12256
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12258
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
12309
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12311
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
12395
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12397
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
12483
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12485
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
12626
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
12733
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
12805
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
12893
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
12942
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
12983
var compilation0 =
CreateCompilation
(new[] { sourceA0, sourceB0 }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
13029
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
13094
var compilationA0 =
CreateCompilation
(sourceA0, options: TestOptions.DebugDll, assemblyName: "LibA");
13096
var compilationB0 =
CreateCompilation
(sourceB0, new[] { compilationA0.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
13097
var compilationB1 =
CreateCompilation
(sourceB1, new[] { compilationA1.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
13159
var compilationA =
CreateCompilation
(sourceA, options: TestOptions.DebugDll, assemblyName: "AssemblyA");
13162
var compilationB0 =
CreateCompilation
(sourceB0, new[] { aRef }, options: TestOptions.DebugDll, assemblyName: "AssemblyB");
13231
var compilation0 =
CreateCompilation
(source0, targetFramework: TargetFramework.StandardAndCSharp,
13279
var compilation0 =
CreateCompilation
(String.Format(source, 1), options: TestOptions.DebugDll);
13355
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly");
13396
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13545
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13679
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13788
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
13906
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14097
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14226
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14374
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14570
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14679
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14789
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14953
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15098
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
15203
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15366
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15570
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15818
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16003
var compilation0 =
CreateCompilation
(source0.Tree, targetFramework: TargetFramework.NetStandard20, options: ComSafeDebugDll);
16077
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16183
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16534
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
16613
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
19255
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
19330
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
19418
var compilation0 =
CreateCompilation
(source0_gen0.Tree, options: ComSafeDebugDll);
19512
var compilation0 =
CreateCompilation
(new[] { source1_gen0.Tree, source2_gen0.Tree }, options: ComSafeDebugDll);
Emit\EditAndContinue\LocalSlotMappingTests.cs (43)
47
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
122
var compilation0 =
CreateCompilation
(source, options: ComSafeDebugDll);
340
var debug =
CreateCompilation
(source, options: TestOptions.DebugDll);
341
var release =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
426
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
530
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
642
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
1208
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1316
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1480
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1663
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1848
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2008
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2038
var compilation0 =
CreateCompilation
(
2148
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll);
2194
var compilation1 =
CreateCompilation
(source1.Tree, options: TestOptions.DebugDll);
2341
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2418
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
2598
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2736
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
2881
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2990
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3117
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3331
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3438
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3551
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3659
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
3751
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
3888
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
3970
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4233
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4280
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4336
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4391
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4443
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4499
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4568
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4648
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4741
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4802
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4862
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
4951
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
5052
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true));
Emit\EditAndContinue\SymbolMatcherTests.cs (65)
31
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
33
return (PEAssemblySymbol)
CreateCompilation
("", new[] { reference }).GetReferencedAssemblySymbol(reference);
78
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
141
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
167
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
191
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { metadataRef });
232
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
277
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll).WithSource(source1);
305
var lib0 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
306
var lib1 =
CreateCompilation
(libSource, options: TestOptions.DebugDll, assemblyName: "Lib");
308
var compilation0 =
CreateCompilation
(source, new[] { lib0.ToMetadataReference() }, options: TestOptions.DebugDll);
342
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
373
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
405
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
440
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
491
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
546
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
549
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
562
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
601
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
625
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
649
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
673
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
697
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
721
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
745
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
769
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
793
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
817
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
855
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
903
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
944
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
947
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
949
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll);
984
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1009
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1034
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1057
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1101
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1104
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1116
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1163
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1212
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1246
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1297
var compilation0 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1320
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1342
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1365
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1386
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1412
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1521
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1525
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1581
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1582
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1585
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1651
var compilation0 =
CreateCompilation
(source0, options: TestOptions.UnsafeDebugDll);
1652
var compilation1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
1655
var peAssemblySymbol0 = (PEAssemblySymbol)
CreateCompilation
("", new[] { peRef0 }).GetReferencedAssemblySymbol(peRef0);
1716
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
1758
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1810
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1857
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
1902
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
Emit\ManagedAddressTests.cs (1)
52
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
Emit\NumericIntPtrTests.cs (136)
939
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
942
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
947
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
950
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1001
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1004
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1009
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1012
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1027
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1030
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1045
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1052
comp =
CreateCompilation
(source);
1075
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1082
comp =
CreateCompilation
(source);
1100
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1114
comp =
CreateCompilation
(source);
1138
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1153
comp =
CreateCompilation
(source);
1194
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1197
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1202
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1205
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1237
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1240
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1258
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1281
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1284
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1302
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1334
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1369
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
1383
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
1414
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
1415
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
1438
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1462
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1497
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1526
var comp =
CreateCompilation
("", parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1631
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1652
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1744
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1763
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular8, targetFramework: TargetFramework.Net70);
1871
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, targetFramework: TargetFramework.Net70);
1874
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1895
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1898
comp =
CreateCompilation
(source);
1919
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
1971
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2054
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2156
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2229
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2257
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2280
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2298
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2413
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2463
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2604
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2717
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2782
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2802
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2817
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2829
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2846
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2861
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2883
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2925
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2958
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
2989
var comp =
CreateCompilation
(source);
3058
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3061
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3065
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3068
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3071
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3074
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8, targetFramework: TargetFramework.Net70);
3131
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
3299
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6009
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6246
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6619
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
6853
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
7026
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8127
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8188
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8414
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8618
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
8694
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9019
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9038
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9066
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9095
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9127
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9145
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9163
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9194
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9212
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9251
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9280
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9304
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9333
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9368
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9433
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9514
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9652
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9708
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9838
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9910
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
9923
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9945
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net70);
9977
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10030
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10279
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net70);
10506
var comp =
CreateCompilation
(new[] { source }, targetFramework: TargetFramework.Net70);
10582
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10593
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10714
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10727
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10730
var comp2 =
CreateCompilation
(source, references: new[] { image }, targetFramework: TargetFramework.Net70);
10764
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10832
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10900
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10927
var comp =
CreateCompilation
(source, references: new[] { libComp.ToMetadataReference() }, targetFramework: TargetFramework.Net70);
10949
var libComp =
CreateCompilation
(lib_cs, assemblyName: "lib", targetFramework: TargetFramework.Net70);
10991
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11053
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11057
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11174
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11197
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11225
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11250
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11275
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11295
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.Net70);
11635
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11693
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11710
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11751
var comp =
CreateCompilation
(new[] { TestSources.Span, source }, options: TestOptions.UnsafeReleaseExe);
11754
comp =
CreateCompilation
(new[] { source }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
11816
var comp =
CreateCompilation
(
Emit\UnmanagedTypeModifierTests.cs (14)
73
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
142
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
211
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
278
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
344
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
405
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1108
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
1109
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
1116
CreateCompilation
(user, references: new[] { ref1, ref2 }).VerifyDiagnostics();
1209
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1265
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1323
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1383
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1438
var c =
CreateCompilation
(code, references: new[] { reference });
PDB\CheckSumTest.cs (2)
37
var compilation =
CreateCompilation
(new[] { tree1, tree256 });
233
var compilation =
CreateCompilation
(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs") });
PDB\CSharpDeterministicBuildCompilationTests.cs (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)
1708
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
PDB\PDBEmbeddedSourceTests.cs (2)
44
var c =
CreateCompilation
(new[] { tree1, tree2 }, options: TestOptions.DebugDll);
104
var c =
CreateCompilation
(tree, options: TestOptions.DebugDll);
PDB\PDBIteratorTests.cs (1)
1624
var compilation =
CreateCompilation
(src, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
PDB\PDBLambdaTests.cs (5)
1847
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1875
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1909
var compilation =
CreateCompilation
(source.Tree, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
1926
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2024
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
PDB\PDBSourceLinkTests.cs (5)
51
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
81
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
121
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
143
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
185
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\PDBTests.cs (42)
94
Compilation compilation =
CreateCompilation
("class C { }", options: TestOptions.DebugDll, parseOptions: TestOptions.Regular);
172
var compilation =
CreateCompilation
(
216
var compilation =
CreateCompilation
(
250
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
282
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll);
314
var compilation =
CreateCompilation
(source0, options: TestOptions.DebugDll.WithDeterministic(true));
346
var compilation =
CreateCompilation
(source0);
397
var comp =
CreateCompilation
("""
447
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyEmitDiagnostics(
471
var debug =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugWinMD);
510
var release =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseWinMD);
556
var debug =
CreateCompilation
(source, options: TestOptions.DebugWinMD);
581
var release =
CreateCompilation
(source, options: TestOptions.ReleaseWinMD);
611
var comp =
CreateCompilation
(new[] { tree1, tree2 });
648
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
671
var c =
CreateCompilation
(source, options: TestOptions.DebugExe);
697
var c1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
698
var c2 =
CreateCompilation
(source2, options: TestOptions.DebugDll);
3267
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
4966
var compilation =
CreateCompilation
(new SyntaxTree[] { Parse(text1, "a.cs"), Parse(text2, "b.cs") });
5062
var compilation =
CreateCompilation
(new[] { Parse(text1, "a.cs"), Parse(text2, "b.cs"), Parse(text3, "a.cs") }, options: TestOptions.DebugDll);
5189
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6104
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6221
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6736
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6851
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
6953
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
7748
var compilation =
CreateCompilation
(text1, options: TestOptions.DebugDll);
8032
var c =
CreateCompilation
(Parse(source, filename: "file.cs"));
8694
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9091
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9458
var c =
CreateCompilation
(source, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
9687
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10529
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10700
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
10883
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
11286
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
12402
var c =
CreateCompilation
(
12881
var compilation =
CreateCompilation
("");
12911
var c =
CreateCompilation
(new[] { tree1, tree2 }, options: TestOptions.DebugDll);
12949
var c =
CreateCompilation
(new[] { tree }, options: TestOptions.DebugDll);
12970
var c =
CreateCompilation
(
PDB\PDBTupleTests.cs (6)
27
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
74
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
126
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
193
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
244
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
310
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
PDB\PDBUsingTests.cs (56)
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);
857
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
867
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
882
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
943
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
953
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
968
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
1029
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1039
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1055
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
1122
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1132
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1148
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
1215
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1225
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1241
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
1307
var comp =
CreateCompilation
(sourceA1, assemblyName: "A1");
1317
comp =
CreateCompilation
(sourceA4, assemblyName: "A4");
1333
comp =
CreateCompilation
([sourceB, sourceC], references: new[] { refA1, refA4 }, options: TestOptions.DebugDll);
1398
CSharpCompilation dummyCompilation1 =
CreateCompilation
(dummySource, assemblyName: "A", options: TestOptions.DebugDll);
1399
CSharpCompilation dummyCompilation2 =
CreateCompilation
(dummySource, assemblyName: "B", options: TestOptions.DebugDll);
1410
var compilation =
CreateCompilation
(text,
1463
CSharpCompilation libComp =
CreateCompilation
(@"
1483
var compilation =
CreateCompilation
(text,
1557
var compilation =
CreateCompilation
(text,
1692
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
1714
var compilation2 =
CreateCompilation
(source2,
1765
var compilation1 =
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
1781
var compilation2 =
CreateCompilation
(source2,
1862
var compilation =
CreateCompilation
(
2040
var compilation =
CreateCompilation
(
2599
var libRef =
CreateCompilation
(libSource, assemblyName: "Lib").EmitToImageReference();
2660
var comp =
CreateCompilation
(source);
2693
var lib =
CreateCompilation
(libSource, assemblyName: "Lib");
2712
var comp =
CreateCompilation
(source, new[] { libRef });
2754
var comp =
CreateCompilation
(source);
2834
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, assemblyName: "Comp1");
2851
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugExe);
2905
var compilation =
CreateCompilation
(text, options: TestOptions.DebugExe);
2930
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40);
3018
var comp =
CreateCompilation
(source);
3070
var c =
CreateCompilation
(source, assemblyName: "EmittingPdbVsNot", options: TestOptions.ReleaseDll);
3153
var libRef =
CreateCompilation
(sourceLib, assemblyName: "ImportedNoPiaTypesAssemblyName").EmitToImageReference(embedInteropTypes: true);
3154
var compilation =
CreateCompilation
(source, new[] { libRef });
3225
var libRef1 =
CreateCompilation
(sourceLib1).EmitToImageReference();
3226
var libRef2 =
CreateCompilation
(sourceLib2, new[] { libRef1 }, assemblyName: "LibRef2").EmitToImageReference();
3227
var compilation =
CreateCompilation
(source, new[] { libRef2 });
PDB\PortablePdbTests.cs (6)
42
var c =
CreateCompilation
(source, options: TestOptions.DebugDll);
166
var c =
CreateCompilation
(Parse(source, "goo.cs"), options: TestOptions.DebugDll);
226
var c =
CreateCompilation
(Parse(source, "goo.cs"), options: TestOptions.DebugDll.WithDeterministic(true));
301
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
342
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
381
var c =
CreateCompilation
(Parse(source, "f:/build/goo.cs"), options: TestOptions.DebugDll);
PDB\TypeDefinitionDocumentTests.cs (1)
464
var compilation =
CreateCompilation
(trees, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9804)
Attributes\AttributeTests.cs (285)
40
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithDeterministic(true));
113
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
116
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
119
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
122
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
146
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
149
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
152
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
159
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
186
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
189
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
192
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
199
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
235
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
238
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
241
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference() }, assemblyName: "lib");
244
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference() }, assemblyName: "lib");
268
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
271
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
274
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
277
var newLibComp =
CreateCompilation
(newLib_cs,
281
var newLibComp2 =
CreateCompilation
(newLib_cs,
305
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
308
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
311
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
314
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
317
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
320
var newLibComp3 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
339
var origLibComp =
CreateCompilation
(cDefinition_cs, assemblyName: "lib");
342
var compWithDerivedAndReferenceToLib =
CreateCompilation
(typeForward_cs + derivedDefinition_cs, references: new[] { origLibComp.EmitToImageReference() });
345
var compWithC =
CreateCompilation
(cDefinition_cs, assemblyName: "new");
348
var newLibComp =
CreateCompilation
(typeForward_cs, references: new[] { compWithDerivedAndReferenceToLib.EmitToImageReference(), compWithC.EmitToImageReference() }, assemblyName: "lib");
378
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
381
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
384
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
387
var newLibComp =
CreateCompilation
(newLib_cs,
391
var newLibComp2 =
CreateCompilation
(newLib_cs,
416
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
419
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
422
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
425
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
428
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
451
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
454
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
457
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
460
var newLibComp =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.EmitToImageReference(), newComp.EmitToImageReference() }, assemblyName: "lib");
463
var newLibComp2 =
CreateCompilation
(newLib_cs, references: new[] { compWithReferenceToLib.ToMetadataReference(), newComp.ToMetadataReference() }, assemblyName: "lib");
470
var source =
CreateCompilation
(@"
599
var comp =
CreateCompilation
(@"
630
var comp =
CreateCompilation
(@"
675
var comp =
CreateCompilation
(source);
702
var comp =
CreateCompilation
(source);
743
var comp =
CreateCompilation
(source);
807
var comp =
CreateCompilation
(source);
849
var comp =
CreateCompilation
(source);
890
var comp =
CreateCompilation
(source);
929
var comp =
CreateCompilation
(source);
989
CreateCompilation
(new[] { definitionSource, usageSource }, options: WithNullableEnable())
992
var definitionComp =
CreateCompilation
(definitionSource, options: WithNullableEnable());
994
CreateCompilation
(usageSource, references: new[] { definitionComp.ToMetadataReference() }, options: WithNullableEnable())
997
CreateCompilation
(usageSource, references: new[] { definitionComp.EmitToImageReference() }, options: WithNullableEnable())
1018
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1057
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1406
var compilation =
CreateCompilation
(@"
1477
var compilation =
CreateCompilation
(@"
1502
var compilation =
CreateCompilation
(@"
1526
var compilation =
CreateCompilation
(@"
1585
var compilation =
CreateCompilation
(@"
1618
var compilation =
CreateCompilation
(@"
1703
var compilation =
CreateCompilation
(source, references, options: opt);
1748
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
2009
var comp =
CreateCompilation
(source);
2027
var comp =
CreateCompilation
(source);
2051
var comp =
CreateCompilation
(source);
2071
var comp =
CreateCompilation
(source);
2091
var comp =
CreateCompilation
(source);
2109
var comp =
CreateCompilation
(source);
2127
var comp =
CreateCompilation
(source);
2149
var comp =
CreateCompilation
(source);
2171
var comp =
CreateCompilation
(source);
2370
var comp =
CreateCompilation
(source);
2394
var comp =
CreateCompilation
(source);
2427
var comp =
CreateCompilation
(source);
2503
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source);
2565
var comp =
CreateCompilation
(source);
2738
CreateCompilation
(source).VerifyDiagnostics(
2807
CreateCompilation
(source).VerifyDiagnostics(
2959
CreateCompilation
(source).VerifyDiagnostics(
3093
var compilation =
CreateCompilation
(source, references, options: TestOptions.ReleaseDll);
3168
var compilation =
CreateCompilation
(source, references, options: opt);
3210
var compilation =
CreateCompilation
(source, references, options: opt);
3258
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3306
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3358
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3410
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3444
var compilation =
CreateCompilation
(source, references, options: opt);
3583
var compilation =
CreateCompilation
(source, references, options: opt);
3631
var compilation =
CreateCompilation
(source);
3677
var compilation =
CreateCompilation
(source, references, options: opt);
3784
var compilation =
CreateCompilation
(source, references, options: opt);
3858
var compilation =
CreateCompilation
(source);
3898
var compilation =
CreateCompilation
(source);
3944
var compilation =
CreateCompilation
(source);
3995
var compilation =
CreateCompilation
(source);
4132
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4175
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4219
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4264
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4308
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4510
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4566
var compilation =
CreateCompilation
(source);
4607
var compilation =
CreateCompilation
(source);
4958
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5064
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5133
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5169
var compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
5206
var compilation =
CreateCompilation
(source);
5244
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5302
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5363
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5421
var comp =
CreateCompilation
(source);
5475
var compilation =
CreateCompilation
(source);
5708
var c1 =
CreateCompilation
(lib1);
5711
var c2 =
CreateCompilation
(lib2, references: new[] { r1 });
5714
var cm =
CreateCompilation
(main, new[] { r2 });
5915
var compilation =
CreateCompilation
(@"
5996
var compilation =
CreateCompilation
(source, references, options: opt);
6038
var compilation =
CreateCompilation
(source);
6065
var compilation =
CreateCompilation
(source);
6099
var compilation =
CreateCompilation
(source);
6148
var compilation =
CreateCompilation
(source);
6168
var compilation =
CreateCompilation
(source);
6187
var compilation =
CreateCompilation
(source);
6208
var compilation =
CreateCompilation
(source);
6237
var compilation =
CreateCompilation
(source);
6268
var compilation =
CreateCompilation
(source);
6288
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6297
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6324
var compilation =
CreateCompilation
(source);
6348
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6357
compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6382
var compilation =
CreateCompilation
(new[] { source1, source2 });
6410
var compilation =
CreateCompilation
(new[] { source1, source2 });
6442
var compilation =
CreateCompilation
(source);
6471
var compilation =
CreateCompilation
(source);
6505
var compilation =
CreateCompilation
(source);
6528
CreateCompilation
(source).VerifyDiagnostics(
6544
var compilation =
CreateCompilation
(source);
6577
var compilation =
CreateCompilation
(source);
6614
var compilation =
CreateCompilation
(source);
6642
var compilation =
CreateCompilation
(source);
6699
var compilation =
CreateCompilation
(source);
6720
var compilation =
CreateCompilation
(source);
6760
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
6809
var compilation =
CreateCompilation
(source);
6852
var compilation =
CreateCompilation
(source);
6896
var compilation =
CreateCompilation
(source);
6940
var compilation =
CreateCompilation
(source);
6990
var compilation =
CreateCompilation
(source);
7033
var compilation =
CreateCompilation
(source);
7080
var compilation =
CreateCompilation
(source);
7127
var compilation =
CreateCompilation
(source);
7183
var compilation =
CreateCompilation
(source);
7234
var compilation =
CreateCompilation
(source);
7274
var compilation =
CreateCompilation
(source);
7314
var compilation =
CreateCompilation
(source);
7361
var compilation =
CreateCompilation
(source);
7381
CreateCompilation
(source).VerifyDiagnostics(
7406
CreateCompilation
(text).VerifyDiagnostics(
7427
CreateCompilation
(source).VerifyDiagnostics(
7449
CreateCompilation
(source).VerifyDiagnostics(
7476
CreateCompilation
(source).VerifyDiagnostics(
7494
var compilation =
CreateCompilation
(source, null, options: opt);
7526
var compilation =
CreateCompilation
(source);
7571
var compilation =
CreateCompilation
(source);
7612
var compilation =
CreateCompilation
(source, null, options: opt);
7655
var compilation =
CreateCompilation
(source, null, options: opt);
7713
var compilation =
CreateCompilation
(source, null, options: opt);
7765
CreateCompilation
(source).VerifyDiagnostics();
7811
var compilation =
CreateCompilation
(source, null, options: opt);
7846
CreateCompilation
(source).VerifyDiagnostics();
7866
var compilation =
CreateCompilation
(new string[] { source, source2 });
7880
var compilation =
CreateCompilation
(source);
7919
var compilation =
CreateCompilation
(source, null, options: opt, parseOptions: TestOptions.Regular10);
7957
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
8038
var comp =
CreateCompilation
(source);
8079
var comp =
CreateCompilation
(source);
8106
var comp =
CreateCompilation
(source);
8126
CreateCompilation
(source).VerifyDiagnostics(
8151
CreateCompilation
(source).VerifyDiagnostics(
8195
var comp =
CreateCompilation
(source);
8257
CreateCompilation
(source).VerifyDiagnostics(
8286
CreateCompilation
(source).VerifyDiagnostics(
8385
var compilation =
CreateCompilation
(source);
8404
CreateCompilation
(source).VerifyDiagnostics(
8556
var comp =
CreateCompilation
(source1, assemblyName: "A");
8578
comp =
CreateCompilation
(source2, references: new[] { ref1 }, assemblyName: "B");
8595
var comp =
CreateCompilation
(source1);
8608
comp =
CreateCompilation
(source2, references: new[] { ref1 });
8639
var compilation =
CreateCompilation
(source);
8679
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8721
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8764
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8811
var compilation =
CreateCompilation
(source2, new[] { reference1 });
8854
var compilation =
CreateCompilation
("", new[] { reference1 });
8894
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8957
comp =
CreateCompilation
(source);
9011
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9032
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9128
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9143
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9174
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
9225
CreateCompilation
(source).VerifyDiagnostics(
9251
CreateCompilation
(source).VerifyDiagnostics(
9399
var comp =
CreateCompilation
(source);
9478
var comp =
CreateCompilation
(source);
9566
var comp =
CreateCompilation
(source);
9643
var comp =
CreateCompilation
(source);
9715
var comp =
CreateCompilation
(source);
9796
var comp =
CreateCompilation
(source);
9866
var comp =
CreateCompilation
(source);
9910
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9920
var comp2 =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
9939
var compilation1 =
CreateCompilation
(source1, assemblyName: "Bug1020038");
9952
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) });
9971
var compilation3 =
CreateCompilation
(source3, new[] { new CSharpCompilationReference(compilation1) });
9992
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
10125
var comp =
CreateCompilation
(source);
10151
var comp =
CreateCompilation
(source);
10175
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10213
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10238
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10240
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10244
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10261
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10265
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10288
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10290
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10294
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10314
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10316
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10320
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10340
var libRef =
CreateCompilation
(lib_cs, parseOptions: TestOptions.RegularPreview).EmitToImageReference();
10342
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: new[] { libRef });
10346
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, references: new[] { libRef });
10362
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10387
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10394
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10423
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
10430
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10461
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10467
var comp1 =
CreateCompilation
(source1);
10468
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10471
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10532
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular10);
10538
var comp1 =
CreateCompilation
(source1);
10539
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, parseOptions: TestOptions.Regular9);
10542
comp2 =
CreateCompilation
(source2, references: new[] { comp1.EmitToImageReference() }, parseOptions: TestOptions.Regular9);
10558
var comp =
CreateCompilation
(source);
10576
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10606
comp =
CreateCompilation
(source);
10660
var comp =
CreateCompilation
(source);
10789
var comp =
CreateCompilation
(source);
10836
var comp =
CreateCompilation
(source);
10874
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10897
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10903
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
10910
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
10924
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10941
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
10990
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
11041
var comp =
CreateCompilation
(source);
11058
var comp =
CreateCompilation
(csSource);
11100
var comp =
CreateCompilation
(source);
11172
var comp =
CreateCompilation
(source);
11266
var comp =
CreateCompilation
(source);
11420
var comp =
CreateCompilation
(source);
11464
var comp =
CreateCompilation
(source);
11500
var comp =
CreateCompilation
(source);
11528
var comp =
CreateCompilation
(source);
11553
var comp =
CreateCompilation
(source);
11578
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
11633
var comp =
CreateCompilation
(source);
Attributes\AttributeTests_Assembly.cs (106)
31
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
41
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
52
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
70
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(now));
84
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCurrentLocalTime(new DateTime(2300, 1, 1)));
99
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
106
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
118
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
131
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithDeterministic(true));
144
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
154
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
164
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
174
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
193
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
206
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
227
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
236
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
245
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
254
var other =
CreateCompilation
(s);
267
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
277
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
287
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
297
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
306
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
310
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
314
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
323
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
327
comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
335
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseExe);
347
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
362
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
518
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
524
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
534
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
544
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
554
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
560
other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
570
var other =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
586
compilation =
CreateCompilation
(
615
compilation =
CreateCompilation
(
646
compilation =
CreateCompilation
(
676
compilation =
CreateCompilation
(
802
var hash_module_Comp =
CreateCompilation
(
809
compilation =
CreateCompilation
(
827
compilation =
CreateCompilation
(
840
compilation =
CreateCompilation
(
854
compilation =
CreateCompilation
(
869
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
876
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
880
comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
892
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
905
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
920
var comp =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
1457
var compilation =
CreateCompilation
(source);
1607
var netmoduleCompilation =
CreateCompilation
(src, options: TestOptions.ReleaseModule, assemblyName: assemblyName, targetFramework: TargetFramework.Net90);
1610
var comp =
CreateCompilation
("", references: [netmoduleRef], targetFramework: TargetFramework.Net90);
1613
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1884
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1890
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
1925
CreateCompilation
(source).VerifyDiagnostics();
1946
CreateCompilation
(source).VerifyDiagnostics(
1969
CreateCompilation
(source).VerifyDiagnostics(
1981
var module =
CreateCompilation
(moduleSrc, options: TestOptions.ReleaseModule, assemblyName: "M");
1995
var assembly =
CreateCompilation
(assemblySrc, new[] { module.EmitToImageReference() }, assemblyName: "C");
2007
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2014
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2020
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2035
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2045
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2060
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2067
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2073
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2088
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2098
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2113
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2120
var module2 =
CreateCompilation
(moduleSrc2, options: TestOptions.ReleaseModule, assemblyName: "M2");
2126
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference(), module2.EmitToImageReference() }, assemblyName: "C");
2139
var module1 =
CreateCompilation
(moduleSrc1, options: TestOptions.ReleaseModule, assemblyName: "M1");
2149
var assembly =
CreateCompilation
(assemblySrc, new[] { module1.EmitToImageReference() }, assemblyName: "C");
2165
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2166
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2168
var appCompilation =
CreateCompilation
(source,
2197
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2198
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2200
var appCompilation =
CreateCompilation
(source,
2227
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2228
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2230
var appCompilation =
CreateCompilation
(source,
2259
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2260
var compMod2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "M2");
2262
var appCompilation =
CreateCompilation
(source,
2286
var compMod1 =
CreateCompilation
(mod1Source, options: TestOptions.ReleaseModule, assemblyName: "M1");
2287
var appCompilation =
CreateCompilation
(source,
2321
var compilation =
CreateCompilation
(s, options: TestOptions.ReleaseDll);
2335
var attributeDefinition1 =
CreateCompilation
(attribute1, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2340
var moduleWithAttribute =
CreateCompilation
(module, references: new[] { attributeDefinition1 }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2342
var comp =
CreateCompilation
("", references: new[] { moduleWithAttribute, attributeDefinition1 }, options: TestOptions.ReleaseDll);
2354
var comp2 =
CreateCompilation
("", references: new[] { moduleWithAttribute }, options: TestOptions.ReleaseDll);
2367
var attributeDefinition2 =
CreateCompilation
(attribute2, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2369
var comp3 =
CreateCompilation
("", references: new[] { moduleWithAttribute, attributeDefinition2 }, options: TestOptions.ReleaseDll);
2386
var c1Definition =
CreateCompilation
(c1, options: TestOptions.ReleaseDll, assemblyName: "A1").EmitToImageReference();
2396
var module1WithAttribute =
CreateCompilation
(module1, references: new[] { c1Definition }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2398
var comp =
CreateCompilation
("", references: new[] { module1WithAttribute, c1Definition }, options: TestOptions.ReleaseDll);
2410
var comp2 =
CreateCompilation
("", references: new[] { module1WithAttribute }, options: TestOptions.ReleaseDll);
2425
var module2WithAttribute =
CreateCompilation
(module2, references: new[] { c1Definition }, options: TestOptions.ReleaseModule, assemblyName: "M1").EmitToImageReference();
2426
var comp3 =
CreateCompilation
("", references: new[] { module2WithAttribute, c1Definition }, options: TestOptions.ReleaseDll);
Attributes\AttributeTests_CallerInfoAttributes.cs (68)
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);
3645
var compilation =
CreateCompilation
(
3691
var compilation =
CreateCompilation
(
3740
var compilation =
CreateCompilation
(
4208
var compilation =
CreateCompilation
(
5771
var comp =
CreateCompilation
(@$"
5793
var comp =
CreateCompilation
(@$"
5816
var comp =
CreateCompilation
(@"
5846
var comp =
CreateCompilation
(source);
5895
var comp1 =
CreateCompilation
(source1, references: [verifier.Compilation.EmitToImageReference()]);
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 (22)
47
CreateCompilation
(code, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute()).VerifyEmitDiagnostics();
53
var reference =
CreateCompilation
(@"
81
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() }, assemblyName: "Source").VerifyDiagnostics(
93
var module =
CreateCompilation
(@"
122
CreateCompilation
(code, references: new[] { reference }, assemblyName: "Source").VerifyDiagnostics(
134
var reference =
CreateCompilation
(@"
161
CreateCompilation
(code, references: new[] { reference.ToMetadataReference() }).VerifyDiagnostics(
246
var comp2 =
CreateCompilation
("""
255
comp2 =
CreateCompilation
("""
291
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
318
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
403
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20)
428
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
453
var comp =
CreateCompilation
([code, code]);
487
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
529
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
568
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
604
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
656
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20)
691
CreateCompilation
(code, references: new[] { reference }).VerifyEmitDiagnostics(
941
var compilation1 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), source: @"
954
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(
695
CreateCompilation
(source).VerifyDiagnostics(
748
CreateCompilation
(source).VerifyDiagnostics(
795
CreateCompilation
(source).VerifyDiagnostics(
842
CreateCompilation
(source).VerifyDiagnostics(
896
CreateCompilation
(source).VerifyDiagnostics(
946
CreateCompilation
(source).VerifyDiagnostics(
993
CreateCompilation
(source).VerifyDiagnostics(
1044
CreateCompilation
(source).VerifyDiagnostics(
1092
CreateCompilation
(source).VerifyDiagnostics(
1146
CreateCompilation
(source).VerifyDiagnostics(
1190
CreateCompilation
(source).VerifyDiagnostics(
1246
CreateCompilation
(@"class A { [@return:X] void B() { } }").VerifyDiagnostics(
1271
CreateCompilation
(source).VerifyDiagnostics(
Attributes\AttributeTests_MarshalAs.cs (13)
286
CreateCompilation
(source).VerifyDiagnostics(
412
CreateCompilation
(source).VerifyDiagnostics(
525
CreateCompilation
(source).VerifyDiagnostics(
662
CreateCompilation
(source).VerifyDiagnostics(
702
CreateCompilation
(
707
CreateCompilation
(
861
CreateCompilation
(source).VerifyDiagnostics(
943
CreateCompilation
(source).VerifyDiagnostics(
1071
CreateCompilation
(source).VerifyDiagnostics(
1401
CreateCompilation
(source).VerifyDiagnostics(
1449
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1529
var comp1 =
CreateCompilation
(text1, assemblyName: "OptionalMarshalAsLibrary");
1530
var comp2 =
CreateCompilation
(text2,
Attributes\AttributeTests_NativeInteger.cs (53)
31
var comp =
CreateCompilation
(source);
46
var comp =
CreateCompilation
(new[] { NativeIntegerAttributeDefinition, source });
63
var comp =
CreateCompilation
(NativeIntegerAttributeDefinition);
73
comp =
CreateCompilation
(source, references: new[] { ref0 }, parseOptions: TestOptions.Regular9);
104
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
130
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
167
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular8);
170
comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular9);
206
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
258
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
268
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
344
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
348
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
421
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
431
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
504
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
508
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
592
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
614
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
708
var comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular8);
724
comp =
CreateCompilation
(source1, new[] { ref0 }, parseOptions: TestOptions.Regular9);
772
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
789
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
836
var comp =
CreateCompilation
(source1, assemblyName: "95d36b13-f2e1-495d-9ab6-62e8cc63ac22");
846
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
859
comp =
CreateCompilation
(source3, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
878
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
895
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
911
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
929
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
988
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1004
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1018
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1176
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1200
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1232
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
1264
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
1289
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1310
var comp =
CreateCompilation
(source);
1335
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
1359
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
1377
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
1399
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
1415
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All), parseOptions: TestOptions.Regular9);
1423
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9);
1444
var comp =
CreateCompilation
(
1462
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1490
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)
25
var comp =
CreateCompilation
(source);
40
var comp =
CreateCompilation
(new[] { NullableContextAttributeDefinition, source });
52
var comp =
CreateCompilation
(NullableContextAttributeDefinition);
62
comp =
CreateCompilation
(source, references: new[] { ref0 });
88
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular7);
92
comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
96
comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
129
var comp =
CreateCompilation
(new[] { sourceAttribute, source }, parseOptions: TestOptions.Regular7);
133
comp =
CreateCompilation
(new[] { sourceAttribute, source });
168
var comp =
CreateCompilation
(sourceAttribute);
185
comp =
CreateCompilation
(source, references: new[] { ref0 });
205
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
232
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute());
263
var comp0 =
CreateCompilation
(source0);
289
var comp2 =
CreateCompilation
(source2, references: new[] { ref1 });
338
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 (174)
565
var libComp =
CreateCompilation
(source1);
568
var comp2 =
CreateCompilation
(source2, new[] { libCompRef });
577
var comp3 =
CreateCompilation
(source2, new[] { libAssemblyRef });
611
var comp =
CreateCompilation
(source);
643
var comp =
CreateCompilation
(source);
838
CreateCompilation
(source).VerifyDiagnostics(
883
var compilation =
CreateCompilation
(@"
913
var compilation =
CreateCompilation
(@"
942
var c1 =
CreateCompilation
(@"
964
var c2 =
CreateCompilation
(@"
986
var compilation =
CreateCompilation
(@"
1030
var compilation =
CreateCompilation
(@"
1279
var compilation =
CreateCompilation
(@"
1296
var compilation =
CreateCompilation
(@"
1320
var compilation =
CreateCompilation
(@"
1794
CreateCompilation
(source).VerifyDiagnostics(
1864
var comp =
CreateCompilation
(source);
1885
CreateCompilation
(source).VerifyEmitDiagnostics(
1915
CreateCompilation
(source).VerifyEmitDiagnostics(
2194
CreateCompilation
(@"
2205
CreateCompilation
(@"
2219
CreateCompilation
(@"
2230
CreateCompilation
(@"
2244
CreateCompilation
(@"
2255
CreateCompilation
(@"
2269
CreateCompilation
(@"
2280
CreateCompilation
(@"
2294
CreateCompilation
(@"
2443
var source =
CreateCompilation
(@"
2524
CreateCompilation
(source).VerifyDiagnostics(
2582
CreateCompilation
(source).VerifyDiagnostics(
3024
CreateCompilation
(source).VerifyDiagnostics(
3110
var compilation =
CreateCompilation
(@"
3390
CreateCompilation
(source).VerifyDiagnostics(
3499
CreateCompilation
(source).VerifyDiagnostics(
3613
CreateCompilation
(source).VerifyDiagnostics(
3988
CreateCompilation
(source).VerifyDiagnostics(
4026
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4032
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4066
CreateCompilation
(source).VerifyDiagnostics(
4105
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4111
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4143
CreateCompilation
(source).VerifyDiagnostics(
4183
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4196
CreateCompilation
(source2, references: new[] { assemblyRef }).VerifyDiagnostics(
4230
CreateCompilation
(source).VerifyDiagnostics(
4268
CreateCompilation
(source2, references: new[] { compDll.ToMetadataReference() }).VerifyDiagnostics(
4274
CreateCompilation
(source2, references: new[] { compDll.EmitToImageReference() }).VerifyDiagnostics(
4308
CreateCompilation
(source).VerifyDiagnostics(
4526
CreateCompilation
(source).VerifyDiagnostics(
4552
CreateCompilation
(source).VerifyDiagnostics(
4585
CreateCompilation
(source).VerifyDiagnostics(
4622
CreateCompilation
(source).VerifyDiagnostics(
4646
CreateCompilation
(source).VerifyDiagnostics(
4887
var lib_comp =
CreateCompilation
(lib_cs);
4890
var client1 =
CreateCompilation
("", references: new[] { lib_comp.ToMetadataReference() });
4893
var client2 =
CreateCompilation
("", references: new[] { lib_comp.EmitToImageReference() });
5016
var script =
CreateCompilation
("", parseOptions: TestOptions.Script);
5058
var compilation =
CreateCompilation
(source);
5143
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
5220
CreateCompilation
(source).VerifyDiagnostics(
5272
var comp1 =
CreateCompilation
(text1, options: opt);
5274
var comp2 =
CreateCompilation
(text2, references: new[] { compref1 }, options: opt, assemblyName: "Child");
5275
var comp3 =
CreateCompilation
(text3, references: new[] { compref1, new CSharpCompilationReference(comp2) }, options: opt, assemblyName: "Child2");
5279
comp3 =
CreateCompilation
(text3, references: new[] { compref1, new CSharpCompilationReference(comp2) }, options: opt, assemblyName: "Child2");
5565
CreateCompilation
(source).VerifyDiagnostics();
5576
CreateCompilation
(source).VerifyDiagnostics(
5599
CreateCompilation
(source).VerifyDiagnostics(
5869
CreateCompilation
(source).VerifyDiagnostics(
6166
CreateCompilation
(source).VerifyDiagnostics(
6230
var peReference = MetadataReference.CreateFromStream(
CreateCompilation
(peSource).EmitToStream());
6255
CreateCompilation
(source, new[] { peReference }).VerifyDiagnostics(
6402
CreateCompilation
(source).VerifyDiagnostics(
6465
CreateCompilation
(source).VerifyDiagnostics(
6554
CreateCompilation
(source).VerifyDiagnostics(
6650
CreateCompilation
(source, null, TestOptions.ReleaseDll.WithConcurrentBuild(false)).VerifyDiagnostics(
6708
CreateCompilation
(source).VerifyDiagnostics(
6734
CreateCompilation
(source).VerifyDiagnostics();
6748
var other =
CreateCompilation
(s);
6759
CreateCompilation
(s, new[] { new CSharpCompilationReference(other) }).VerifyDiagnostics(
6808
CreateCompilation
(source).VerifyDiagnostics(
6876
CreateCompilation
(source).VerifyDiagnostics(
6991
CreateCompilation
(source).VerifyDiagnostics(
7036
CreateCompilation
(source).VerifyDiagnostics(
7105
CreateCompilation
(source).VerifyDiagnostics(
7194
CreateCompilation
(source).VerifyDiagnostics(
7259
CreateCompilation
(source).VerifyDiagnostics(
7294
CreateCompilation
(source).VerifyDiagnostics(
7333
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7384
var comp =
CreateCompilation
(new[] { Parse(source0), Parse(source1) });
7419
CreateCompilation
(source).VerifyDiagnostics(
7496
CreateCompilation
(source).VerifyDiagnostics(
7595
CreateCompilation
(source).VerifyDiagnostics(
7641
CreateCompilation
(source).VerifyDiagnostics(
7686
CreateCompilation
(source).VerifyDiagnostics(
7741
CreateCompilation
(source).VerifyDiagnostics(
7831
CreateCompilation
(source).VerifyDiagnostics(
7907
CreateCompilation
(source).VerifyDiagnostics(
7961
CreateCompilation
(source).VerifyDiagnostics(
8017
CreateCompilation
(source).VerifyDiagnostics(
8074
CreateCompilation
(source).VerifyDiagnostics(
8125
CreateCompilation
(source).VerifyDiagnostics(
8167
CreateCompilation
(source).VerifyDiagnostics(
8209
CreateCompilation
(source).VerifyDiagnostics(
8253
CreateCompilation
(source).VerifyDiagnostics(
8294
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8327
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8358
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8389
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8429
var comp =
CreateCompilation
(source);
8460
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8497
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8547
var comp =
CreateCompilation
(new[] { ObsoleteAttributeSource, source });
8598
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8606
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8653
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8661
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8697
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8705
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8740
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8748
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8783
var comp1 =
CreateCompilation
(new[] { ObsoleteAttributeSource, source1 });
8848
var comp2 =
CreateCompilation
(source2, references: new[] { reference }, options: options);
8892
var comp1 =
CreateCompilation
(source1);
8900
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
8940
var comp1 =
CreateCompilation
(source1);
8948
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9019
var comp1 =
CreateCompilation
(source1);
9027
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9073
var comp1 =
CreateCompilation
(source1);
9082
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9122
var comp1 =
CreateCompilation
(source1);
9131
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9174
var comp1 =
CreateCompilation
(source1);
9182
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9323
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9461
var comp =
CreateCompilation
(csSource, references: new[] { ilComp });
9503
var comp1 =
CreateCompilation
(source1);
9510
var comp2 =
CreateCompilation
(source2, references: new[] { reference });
9546
var comp =
CreateCompilation
(source);
9595
var comp =
CreateCompilation
(source);
9647
var comp1 =
CreateCompilation
(source1);
9650
var comp2 =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() });
9713
CreateCompilation
(source).VerifyDiagnostics(
9736
var comp =
CreateCompilation
(source);
10422
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: options, parseOptions: parseOptions);
10457
var comp =
CreateCompilation
(source);
10695
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
12783
var metadata_comp =
CreateCompilation
(metadata_source, options: TestOptions.DebugModule.WithAllowUnsafe(true));
12904
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true));
12958
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef1 }, options: TestOptions.UnsafeDebugDll);
13152
var comp =
CreateCompilation
(new[] { src, skipLocalsInitDef }, options: TestOptions.UnsafeReleaseDll);
13400
CreateCompilation
(source).VerifyDiagnostics(
13465
CreateCompilation
(source).VerifyDiagnostics(
13498
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13567
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics(
13592
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13637
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, parseOptions: TestOptions.RegularPreview);
13658
CreateCompilation
(code).VerifyDiagnostics().VerifyEmitDiagnostics();
13675
CreateCompilation
(code).VerifyDiagnostics(
13701
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13744
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
13801
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13848
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13898
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
13923
var comp =
CreateCompilation
(source);
13949
var comp =
CreateCompilation
(source);
13969
var comp =
CreateCompilation
(source);
14005
var comp =
CreateCompilation
(source);
14035
var comp =
CreateCompilation
(source);
14055
var comp =
CreateCompilation
(source);
14080
var comp =
CreateCompilation
(source);
14118
var comp =
CreateCompilation
(source);
14161
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 (149)
94
var c =
CreateCompilation
(source,
109
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
141
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
170
var comp =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseDll);
195
var compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.Regular);
198
compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.RegularWithLegacyStrongName);
210
var compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.Regular);
215
compilation =
CreateCompilation
(code, options: options, parseOptions: TestOptions.RegularWithLegacyStrongName);
237
var comp =
CreateCompilation
(
255
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
281
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
298
var comp =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(keyFileName), parseOptions: parseOptions);
322
var other =
CreateCompilation
(s,
340
var comp =
CreateCompilation
(s,
368
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile("goo"), parseOptions: parseOptions);
383
CSharpCompilation other =
CreateCompilation
(s, options: TestOptions.ReleaseDll.WithCryptoKeyFile(tempFile.Path), parseOptions: parseOptions);
396
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("goo"), parseOptions: parseOptions);
415
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
427
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll.WithCryptoKeyContainer("RoslynTestContainer"), parseOptions: parseOptions);
441
var compilation =
CreateCompilation
(source, options: options, parseOptions: parseOptions);
453
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
464
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
477
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey), parseOptions: parseOptions);
501
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
517
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoPublicKey(s_publicKey).WithPublicSign(true), parseOptions: parseOptions);
524
c =
CreateCompilation
(source, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_publicKeyFile).WithPublicSign(true), parseOptions: parseOptions);
541
c =
CreateCompilation
(source1, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(snk.Path).WithPublicSign(true));
557
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
577
var c =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithPublicSign(true), parseOptions: parseOptions);
608
var comp =
CreateCompilation
("public class C{}",
630
var comp =
CreateCompilation
("public class C {}",
652
var comp =
CreateCompilation
(@"
676
var comp =
CreateCompilation
("public class C {}",
693
var comp =
CreateCompilation
("public class C {}",
717
var comp =
CreateCompilation
("public class C {}",
738
var comp =
CreateCompilation
("public class C {}",
755
var comp =
CreateCompilation
("public class C {}",
772
var c =
CreateCompilation
(source, options: TestOptions.SigningReleaseDll.
798
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, assemblyName: "Paul", parseOptions: parseOptions);
800
var c =
CreateCompilation
(
824
var c2 =
CreateCompilation
(
849
var otherStream =
CreateCompilation
(s, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToStream();
851
var c =
CreateCompilation
(
872
var c2 =
CreateCompilation
(
898
var other =
CreateCompilation
(s,
905
var requestor =
CreateCompilation
(
931
var other =
CreateCompilation
(s, assemblyName: "Paul", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
934
var requestor =
CreateCompilation
(
962
var friendClass =
CreateCompilation
(@"
988
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1012
var friendClass =
CreateCompilation
(@"
1032
var other =
CreateCompilation
(cs0281, references: new[] { friendClass.EmitToImageReference() }, assemblyName: "cs0281", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1059
var requestor =
CreateCompilation
(
1090
var other =
CreateCompilation
(s,
1097
var requestor =
CreateCompilation
(
1120
var other =
CreateCompilation
(s,
1127
var requestor =
CreateCompilation
(
1149
var other =
CreateCompilation
(s,
1156
var requestor =
CreateCompilation
(
1180
var other =
CreateCompilation
(s,
1187
var requestor =
CreateCompilation
(
1215
var other =
CreateCompilation
(s,
1222
var requestor =
CreateCompilation
(
1255
var other =
CreateCompilation
(s,
1262
var requestor =
CreateCompilation
(
1286
var other =
CreateCompilation
(s,
1293
var requestor =
CreateCompilation
(
1322
var other =
CreateCompilation
(s,
1329
var requestor =
CreateCompilation
(
1364
var giver =
CreateCompilation
(s,
1371
var requestor =
CreateCompilation
(
1398
var other =
CreateCompilation
(
1415
var other =
CreateCompilation
(
1440
var comp =
CreateCompilation
($@"
1471
var comp2 =
CreateCompilation
(src,
1481
var comp3 =
CreateCompilation
(src,
1496
var other =
CreateCompilation
(
1552
var assemblyComp =
CreateCompilation
(source,
1576
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1589
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1602
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule, parseOptions: parseOptions);
1608
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll);
1625
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule);
1632
other =
CreateCompilation
(s, new[] { reference }, TestOptions.SigningReleaseDll, parseOptions: parseOptions);
1643
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1662
var other =
CreateCompilation
(s, options: options);
1682
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1700
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyContainer("roslynTestContainer"), parseOptions: parseOptions);
1719
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1739
var compilation =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1756
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1779
var other =
CreateCompilation
(s, options: options, parseOptions: parseOptions);
1796
var other =
CreateCompilation
(s, options: TestOptions.SigningReleaseModule.WithCryptoKeyFile(s_keyPairFile), parseOptions: parseOptions);
1810
var other =
CreateCompilation
(
1824
var assembly =
CreateCompilation
("",
1836
var other =
CreateCompilation
(@"
1847
var comp =
CreateCompilation
("",
1860
var other =
CreateCompilation
(
1879
var other =
CreateCompilation
(
1901
var other =
CreateCompilation
(
1917
var other =
CreateCompilation
(
1936
var other =
CreateCompilation
(
1971
var other =
CreateCompilation
(
2027
var comp =
CreateCompilation
(csharp, new[] { ilRef }, assemblyName: "asm2", options: TestOptions.SigningReleaseDll, parseOptions: parseOptions);
2367
var comp1 =
CreateCompilation
(source1,
2377
var comp3 =
CreateCompilation
(source3,
2397
CSharpCompilation unsigned =
CreateCompilation
(
2403
CSharpCompilation other =
CreateCompilation
(
2425
CSharpCompilation unsigned =
CreateCompilation
(
2431
CSharpCompilation other =
CreateCompilation
(
2702
var ca =
CreateCompilation
(
2714
var cb =
CreateCompilation
(
2752
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2755
var cb =
CreateCompilation
(sourceB, options: TestOptions.ReleaseExe, assemblyName: "X", references: new[] { new CSharpCompilationReference(ca) }, parseOptions: parseOptions);
2780
var ca =
CreateCompilation
(sourceA, options: TestOptions.ReleaseDll, assemblyName: "ClassLibrary2", parseOptions: parseOptions);
2783
var cb =
CreateCompilation
(sourceB, options: TestOptions.ReleaseExe, assemblyName: "X", references: new[] { new CSharpCompilationReference(ca) }, parseOptions: parseOptions);
2794
var ca =
CreateCompilation
(source, parseOptions: parseOptions);
2815
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2826
var compilation =
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics();
2838
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2849
CreateCompilation
(string.Empty, options: options, parseOptions: parseOptions).VerifyDiagnostics(
2865
var other =
CreateCompilation
(
2897
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll, parseOptions: parseOptions).EmitToImageReference();
2910
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess",
2934
var libRef =
CreateCompilation
(lib_cs, options: TestOptions.SigningReleaseDll).EmitToImageReference();
2948
var c2 =
CreateCompilation
(new[] { source1, source2 }, new[] { libRef }, assemblyName: "WantsIVTAccess", options: TestOptions.SigningReleaseDll);
2965
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_01_Lib");
2976
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_01");
2986
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_01");
3003
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_02_Lib");
3011
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_02");
3021
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_02");
3038
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_03_Lib");
3053
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_03");
3071
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_03");
3086
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_03");
3103
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_03");
3112
var comp3 =
CreateCompilation
(source3, new[] { compilationReference }, assemblyName: "Issue57742_03");
3126
comp3 =
CreateCompilation
(source3, new[] { imageReference }, assemblyName: "Issue57742_03");
3135
var comp4 =
CreateCompilation
(source4, new[] { compilationReference }, assemblyName: "Issue57742_03");
3149
comp4 =
CreateCompilation
(source4, new[] { imageReference }, assemblyName: "Issue57742_03");
3166
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_04_Lib");
3177
var comp =
CreateCompilation
(source1, new[] { compilationReference }, assemblyName: "Issue57742_04");
3195
comp =
CreateCompilation
(source1, new[] { imageReference }, assemblyName: "Issue57742_04");
3206
var comp2 =
CreateCompilation
(source2, new[] { compilationReference }, assemblyName: "Issue57742_04");
3223
comp2 =
CreateCompilation
(source2, new[] { imageReference }, assemblyName: "Issue57742_04");
3237
var lib =
CreateCompilation
(lib_cs, assemblyName: "Issue57742_05_Lib");
3243
var comp =
CreateCompilation
(source1, new[] { lib.ToMetadataReference() }, assemblyName: "Issue57742_05");
3253
comp =
CreateCompilation
(source1, new[] { lib.EmitToImageReference() }, assemblyName: "Issue57742_05");
Diagnostics\DiagnosticAnalyzerTests.cs (16)
1884
var metadataReference =
CreateCompilation
(source).ToMetadataReference();
1885
var compilation =
CreateCompilation
(source, new[] { metadataReference });
3140
var compilation =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3387
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3431
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3483
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3534
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3555
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3807
var compilation =
CreateCompilation
(source)
3880
var compilation =
CreateCompilation
(new[] { tree });
4038
Compilation compilation =
CreateCompilation
(new[] { tree });
4099
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition })
4148
var compilation =
CreateCompilation
(source);
4177
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
4217
var compilation =
CreateCompilation
(@"
4394
var compilation =
CreateCompilation
(new[] { tree });
Diagnostics\DiagnosticSuppressorTests.cs (19)
59
var compilation =
CreateCompilation
(source);
99
var compilation =
CreateCompilation
(SourceCode);
142
var compilation =
CreateCompilation
(SourceCode);
170
var compilation =
CreateCompilation
(source);
192
var compilation =
CreateCompilation
(source);
213
var compilation =
CreateCompilation
(source);
230
var compilation =
CreateCompilation
(new[] { source1, source2 });
253
var compilation =
CreateCompilation
(source);
276
var compilation =
CreateCompilation
(source);
301
var compilation =
CreateCompilation
(source);
323
var compilation =
CreateCompilation
(source);
387
var compilation =
CreateCompilation
(source);
429
var compilation =
CreateCompilation
(source);
474
var compilation =
CreateCompilation
(source);
528
var compilation =
CreateCompilation
(source);
581
var compilation =
CreateCompilation
(source);
631
var compilation =
CreateCompilation
(source);
671
var compilation =
CreateCompilation
(source, options: options);
688
var compilation =
CreateCompilation
(new[] { source });
Diagnostics\GetDiagnosticsTests.cs (15)
587
var compilation =
CreateCompilation
(new[] { syntaxTree1, syntaxTree2, syntaxTree3 });
610
var compilation =
CreateCompilation
(new[] { tree1, tree2 });
638
var compilation =
CreateCompilation
(source);
672
var compilation =
CreateCompilation
(source);
709
var compilation =
CreateCompilation
(source);
784
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
837
var compilation =
CreateCompilation
(sources);
864
var compilation =
CreateCompilation
(source);
902
var compilation =
CreateCompilation
(source);
959
var compilation =
CreateCompilation
(source);
1181
var compilation =
CreateCompilation
(source);
1245
var compilation =
CreateCompilation
(new[] { source1, source2 });
1555
var compilation =
CreateCompilation
(source);
1638
var compilation =
CreateCompilation
(new[] { source1, source2 });
1818
var compilation =
CreateCompilation
(source);
Diagnostics\MethodGroupConversion.cs (1)
49
var compilation =
CreateCompilation
(source);
FieldKeywordTests.cs (224)
218
var comp =
CreateCompilation
(source);
248
var comp =
CreateCompilation
(source);
280
var comp =
CreateCompilation
(source);
327
var comp =
CreateCompilation
(source);
362
var comp =
CreateCompilation
(source);
386
var comp =
CreateCompilation
(source);
409
var comp =
CreateCompilation
(source);
442
var comp =
CreateCompilation
(source);
462
var comp =
CreateCompilation
(source);
488
var comp =
CreateCompilation
(source);
504
var comp =
CreateCompilation
(source);
589
var comp =
CreateCompilation
(source);
682
var comp =
CreateCompilation
(
843
var comp =
CreateCompilation
(
952
var comp =
CreateCompilation
(
1065
var comp =
CreateCompilation
(
1162
var comp =
CreateCompilation
(
1269
var comp =
CreateCompilation
(source);
1309
var comp =
CreateCompilation
(source);
1401
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
1999
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2087
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
2204
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2276
var comp =
CreateCompilation
(source);
2298
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
3770
var comp =
CreateCompilation
(source);
3803
var comp =
CreateCompilation
(source);
3856
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
3928
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
4561
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
4695
var comp =
CreateCompilation
(source);
4928
var comp =
CreateCompilation
([sourceA, sourceB], options: TestOptions.ReleaseExe);
4996
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5126
var comp =
CreateCompilation
(source);
5200
var comp =
CreateCompilation
(source);
5253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5392
var comp =
CreateCompilation
(source);
5469
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5495
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5515
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5542
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5576
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5601
var comp =
CreateCompilation
(source);
5632
var comp =
CreateCompilation
(source);
5661
var comp =
CreateCompilation
(source);
5691
var comp =
CreateCompilation
(source);
5730
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5807
var comp =
CreateCompilation
(source);
5828
var comp =
CreateCompilation
(source);
5845
var comp =
CreateCompilation
(source);
5865
var comp =
CreateCompilation
(source);
5889
var comp =
CreateCompilation
(source);
5910
var comp =
CreateCompilation
(source);
5927
var comp =
CreateCompilation
(source);
5947
var comp =
CreateCompilation
(source);
5970
var comp =
CreateCompilation
(source);
5990
var comp =
CreateCompilation
(source);
6011
var comp =
CreateCompilation
(source);
6032
var comp =
CreateCompilation
(source);
6058
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6087
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6119
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6145
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6174
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6203
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6230
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6263
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6292
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6324
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6352
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6385
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6416
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6448
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6480
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6509
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6531
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6555
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6574
var comp =
CreateCompilation
([source, NotNullAttributeDefinition, DisallowNullAttributeDefinition]);
6596
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6615
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6637
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6660
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6679
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6704
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6729
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6748
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6771
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6798
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6817
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6847
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6878
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6902
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6926
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6949
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute]);
6980
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7010
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7042
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7071
var comp =
CreateCompilation
(source);
7095
var comp =
CreateCompilation
(source);
7122
var comp =
CreateCompilation
(source);
7156
var comp =
CreateCompilation
(source);
7186
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7214
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition });
7256
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
7314
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
7382
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
7440
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7501
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7569
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
7619
var comp =
CreateCompilation
([sourceA, sourceB0], targetFramework: targetFramework);
7642
comp =
CreateCompilation
([sourceA, sourceB1], targetFramework: targetFramework);
7662
comp =
CreateCompilation
([sourceA, sourceB2], targetFramework: targetFramework);
7691
comp =
CreateCompilation
([sourceA, sourceB3], targetFramework: targetFramework);
7714
comp =
CreateCompilation
([sourceA, sourceB4], targetFramework: targetFramework);
7752
var comp =
CreateCompilation
([sourceA, sourceB0], targetFramework: targetFramework);
7778
comp =
CreateCompilation
([sourceA, sourceB1], targetFramework: targetFramework);
7795
comp =
CreateCompilation
([sourceA, sourceB2], targetFramework: targetFramework);
7821
comp =
CreateCompilation
([sourceA, sourceB3], targetFramework: targetFramework);
7847
comp =
CreateCompilation
([sourceA, sourceB4], targetFramework: targetFramework);
7909
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
7960
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8105
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8156
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8204
var comp =
CreateCompilation
(source);
8240
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8282
var comp =
CreateCompilation
(sourceA);
8300
comp =
CreateCompilation
(sourceB, references: [refA]);
8347
var comp =
CreateCompilation
(
8490
var comp =
CreateCompilation
(
8579
var comp =
CreateCompilation
(
8654
var comp =
CreateCompilation
(
8716
var comp =
CreateCompilation
(
8774
var comp =
CreateCompilation
(
8855
var comp =
CreateCompilation
(
9023
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
9113
var comp =
CreateCompilation
(
9315
var comp =
CreateCompilation
(
9394
var comp =
CreateCompilation
(
9500
var comp =
CreateCompilation
(source);
9618
var comp =
CreateCompilation
(reverseOrder ? [sourceB, sourceA] : [sourceA, sourceB]);
9817
var comp =
CreateCompilation
(reverseOrder ? [sourceB2, sourceB1, sourceA] : [sourceA, sourceB1, sourceB2]);
9889
var comp =
CreateCompilation
(
9965
var comp =
CreateCompilation
(reverseOrder ? [sourceB2, sourceB1, sourceA] : [sourceA, sourceB1, sourceB2]);
10125
var comp =
CreateCompilation
(
10184
var comp =
CreateCompilation
(
10287
var comp =
CreateCompilation
(
10386
var comp =
CreateCompilation
(
10474
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10508
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10614
var comp =
CreateCompilation
(source);
10660
var comp =
CreateCompilation
(source);
10695
var comp =
CreateCompilation
(source);
10724
var comp =
CreateCompilation
(source);
10739
var comp =
CreateCompilation
(source);
10761
var comp =
CreateCompilation
(source);
10790
var comp =
CreateCompilation
(source);
10828
var comp =
CreateCompilation
(source);
10849
var comp =
CreateCompilation
(source);
10876
var comp =
CreateCompilation
(source);
10896
var comp =
CreateCompilation
(source);
10917
var comp =
CreateCompilation
(source);
10936
var comp =
CreateCompilation
(source);
10956
var comp =
CreateCompilation
(source);
10980
var comp =
CreateCompilation
(source);
11007
var comp =
CreateCompilation
(source);
11038
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
11062
var comp =
CreateCompilation
(source);
11089
var comp =
CreateCompilation
(source);
11115
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11141
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11167
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11194
var comp =
CreateCompilation
(source);
11218
var comp =
CreateCompilation
(source);
11247
var comp =
CreateCompilation
(source);
11274
var comp =
CreateCompilation
(source);
11308
var comp =
CreateCompilation
(source);
11344
var comp =
CreateCompilation
(source);
11376
var comp =
CreateCompilation
(source);
11411
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
11444
var comp =
CreateCompilation
(source);
11468
var comp =
CreateCompilation
(source);
11494
var comp =
CreateCompilation
(source);
11534
var comp0 =
CreateCompilation
(source);
11541
var comp1 =
CreateCompilation
("", references: [comp0.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11569
var comp0 =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
11606
var comp0 =
CreateCompilation
(source);
11630
var comp0 =
CreateCompilation
(source);
11651
var comp0 =
CreateCompilation
(source);
11679
var comp0 =
CreateCompilation
(source);
11700
var comp0 =
CreateCompilation
(source);
11729
var comp0 =
CreateCompilation
(source);
11762
var comp0 =
CreateCompilation
(source);
11795
var comp0 =
CreateCompilation
([source, NotNullAttributeDefinition]);
11832
var comp0 =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
11867
var comp0 =
CreateCompilation
(source);
11896
var comp0 =
CreateCompilation
(source);
11928
var comp0 =
CreateCompilation
(source);
11965
var comp0 =
CreateCompilation
(source);
11996
var comp0 =
CreateCompilation
(source);
12029
var comp0 =
CreateCompilation
(source);
12059
var comp0 =
CreateCompilation
(source);
12093
var comp0 =
CreateCompilation
(source);
12127
var comp0 =
CreateCompilation
(source);
12156
var comp =
CreateCompilation
(source);
12180
var comp =
CreateCompilation
(source);
12214
var comp =
CreateCompilation
(source);
12256
var comp =
CreateCompilation
(source);
12300
var comp =
CreateCompilation
(source);
12338
var comp =
CreateCompilation
(source);
12375
var comp =
CreateCompilation
(source);
12408
var comp =
CreateCompilation
(source);
12462
var comp =
CreateCompilation
(source);
12526
var comp =
CreateCompilation
(source);
12557
var comp =
CreateCompilation
(source);
12574
var comp =
CreateCompilation
(source);
12603
var comp =
CreateCompilation
(source);
12633
var comp =
CreateCompilation
(source);
12666
var comp =
CreateCompilation
(source);
12711
var comp =
CreateCompilation
([source1, source2]);
12730
var comp =
CreateCompilation
(source);
12756
var comp =
CreateCompilation
(source);
12780
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
12807
var comp =
CreateCompilation
(source);
12812
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
FirstClassSpanTests.cs (87)
1266
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1278
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1279
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1297
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1309
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1310
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1328
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1343
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1344
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1365
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1377
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1378
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1399
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1411
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1412
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1429
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1441
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1442
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1459
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
1471
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
1472
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1491
CreateCompilation
(source).VerifyDiagnostics(
1514
CreateCompilation
(source).VerifyDiagnostics(
1543
var comp =
CreateCompilation
(source);
1577
var comp =
CreateCompilation
(source);
1602
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics().EmitToImageReference();
1610
CreateCompilation
(source2, [comp1]).VerifyDiagnostics(
1667
CreateCompilation
(source).VerifyDiagnostics(
1689
CreateCompilation
(source).VerifyDiagnostics(
1814
CreateCompilation
(source).VerifyDiagnostics(
1867
CreateCompilation
(source).VerifyDiagnostics(
1894
var comp =
CreateCompilation
(source);
1994
var spanDll =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
2048
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2060
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2103
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2113
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2147
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2159
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer",
2195
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2205
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2225
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer").VerifyDiagnostics(
2235
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer").VerifyDiagnostics(
2244
var span1 =
CreateCompilation
("""
2251
var span2 =
CreateCompilation
("""
2274
var comp =
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer");
2293
CreateCompilation
(source, [span2], assemblyName: "Consumer").VerifyDiagnostics(
2304
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer").VerifyDiagnostics(
2313
var span1 =
CreateCompilation
("""
2327
var span2 =
CreateCompilation
("""
2349
var comp =
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer");
2385
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2397
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer",
2432
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2442
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2461
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer").VerifyDiagnostics(
2471
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer").VerifyDiagnostics(
2480
var span1 =
CreateCompilation
("""
2486
var span2 =
CreateCompilation
("""
2507
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer").VerifyDiagnostics(
2517
CreateCompilation
(source, [span2], assemblyName: "Consumer").VerifyDiagnostics(
2528
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer").VerifyDiagnostics(
2537
var span1 =
CreateCompilation
("""
2543
var span2 =
CreateCompilation
("""
2564
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer").VerifyDiagnostics(
2574
CreateCompilation
(source, [span2], assemblyName: "Consumer").VerifyDiagnostics(
2585
var comp =
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer");
2618
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2630
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer",
2666
var spanComp =
CreateCompilation
(getSpanSource("External"), assemblyName: "Span1")
2676
var comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2695
comp =
CreateCompilation
([source, getSpanSource("Internal")], [spanComp], assemblyName: "Consumer");
2713
var span1 =
CreateCompilation
("""
2719
var span2 =
CreateCompilation
($$"""
2740
var comp =
CreateCompilation
(source, [span1, span2], assemblyName: "Consumer");
2759
CreateCompilation
(source, [span2], assemblyName: "Consumer").VerifyDiagnostics(
2776
var comp1Ref =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40)
2787
var comp2 =
CreateCompilation
(source2, [comp1Ref], targetFramework: TargetFramework.NetStandard20);
3367
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion)).VerifyDiagnostics(
5419
var comp =
CreateCompilation
([source, source2], parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
5666
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
6320
CreateCompilation
([source, source2], parseOptions: parseOptions).VerifyDiagnostics(expected);
6393
CreateCompilation
([source, source2], parseOptions: parseOptions).VerifyDiagnostics(expected);
6689
CreateCompilation
(source).VerifyDiagnostics(
9126
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
9145
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
9164
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
FlowAnalysis\FlowDiagnosticTests.cs (90)
40
CreateCompilation
(program).VerifyDiagnostics(
86
CreateCompilation
(program).VerifyDiagnostics(
117
var comp =
CreateCompilation
(program);
132
var comp =
CreateCompilation
(program);
153
var comp =
CreateCompilation
(program);
181
var comp =
CreateCompilation
(program);
208
var comp =
CreateCompilation
(program);
231
var comp =
CreateCompilation
(program);
255
var comp =
CreateCompilation
(program);
271
var comp =
CreateCompilation
(program);
289
var comp =
CreateCompilation
(program);
304
var comp =
CreateCompilation
(program);
324
var comp =
CreateCompilation
(program);
349
var comp =
CreateCompilation
(program);
380
var comp =
CreateCompilation
(program);
431
var comp =
CreateCompilation
(program);
454
var comp =
CreateCompilation
(program);
478
var comp =
CreateCompilation
(program);
495
var comp =
CreateCompilation
(program);
513
var comp =
CreateCompilation
(program);
534
var comp =
CreateCompilation
(program);
551
var comp =
CreateCompilation
(program);
572
var comp =
CreateCompilation
(program);
590
var comp =
CreateCompilation
(program);
609
CreateCompilation
(program).VerifyDiagnostics(
635
var comp =
CreateCompilation
(program);
656
CreateCompilation
(program).VerifyDiagnostics(
679
CreateCompilation
(program).VerifyDiagnostics();
695
CreateCompilation
(program).VerifyDiagnostics(
714
CreateCompilation
(program).VerifyDiagnostics(
743
CreateCompilation
(program).VerifyDiagnostics();
765
CreateCompilation
(program).VerifyDiagnostics();
783
var comp =
CreateCompilation
(program);
808
var comp =
CreateCompilation
(program);
836
var comp =
CreateCompilation
(program);
861
var comp =
CreateCompilation
(program).VerifyDiagnostics(
882
var comp =
CreateCompilation
(program);
910
var comp =
CreateCompilation
(program);
933
CreateCompilation
(program, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
980
CreateCompilation
(program)
1025
CreateCompilation
(program)
1061
CreateCompilation
(program)
1094
CreateCompilation
(program)
1119
CreateCompilation
(program)
1142
CreateCompilation
(program)
1174
CreateCompilation
(program)
1199
CreateCompilation
(program)
1213
CreateCompilation
(program)
1227
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1270
CreateCompilation
(program).VerifyDiagnostics(
1291
CreateCompilation
(program, parseOptions: TestOptions.Regular10)
1322
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1331
comp =
CreateCompilation
(text);
1350
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1356
comp =
CreateCompilation
(text);
1392
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1410
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1449
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1467
comp =
CreateCompilation
(text, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11);
1485
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1527
var comp =
CreateCompilation
(text);
1579
var comp =
CreateCompilation
(text);
1632
var comp =
CreateCompilation
(text);
1674
var comp =
CreateCompilation
(text);
1710
var comp =
CreateCompilation
(text);
1757
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
1788
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
1824
CreateCompilation
(program)
1851
CreateCompilation
(program)
1869
var comp =
CreateCompilation
(@"
1907
CreateCompilation
(program)
1940
CreateCompilation
(program)
1964
CreateCompilation
(source).VerifyDiagnostics();
1984
CreateCompilation
(program).VerifyDiagnostics();
2002
var c =
CreateCompilation
(program, new[] { TestReferences.SymbolsTests.CycledStructs });
2028
CreateCompilation
(source).VerifyDiagnostics();
2066
CreateCompilation
(program).VerifyDiagnostics(
2148
CreateCompilation
(text).VerifyDiagnostics(
2171
CreateCompilation
(text).VerifyDiagnostics();
2188
CreateCompilation
(program).VerifyDiagnostics();
2215
CreateCompilation
(source).VerifyDiagnostics();
2280
CreateCompilation
(source).VerifyDiagnostics();
2612
CSharpCompilation comp =
CreateCompilation
(source);
2637
CSharpCompilation comp =
CreateCompilation
(source);
2663
CSharpCompilation comp =
CreateCompilation
(source);
2702
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2711
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2732
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2744
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2774
CreateCompilation
(program).VerifyDiagnostics(
FlowAnalysis\FlowTestBase.cs (6)
139
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
160
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, references: references);
186
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularPreview, targetFramework: targetFramework, references: references);
213
var comp =
CreateCompilation
(program);
286
var comp =
CreateCompilation
(program);
297
var comp =
CreateCompilation
(program);
FlowAnalysis\FlowTests.cs (125)
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(
2418
CreateCompilation
(source, targetFramework: targetFramework).VerifyDiagnostics(
2441
CreateCompilation
(source).VerifyDiagnostics(
2482
CreateCompilation
(source).VerifyDiagnostics(
2510
CreateCompilation
(source).VerifyDiagnostics();
2529
CreateCompilation
(source).VerifyDiagnostics();
2556
CreateCompilation
(source).VerifyDiagnostics();
2579
CreateCompilation
(source).VerifyDiagnostics();
2602
CreateCompilation
(source).VerifyDiagnostics();
2625
CreateCompilation
(source).VerifyDiagnostics();
2650
CreateCompilation
(source).VerifyDiagnostics();
2679
CreateCompilation
(source).VerifyDiagnostics(
2710
CreateCompilation
(source).VerifyDiagnostics(
2738
CreateCompilation
(source).VerifyDiagnostics();
2763
CreateCompilation
(source).VerifyDiagnostics();
2790
CreateCompilation
(source).VerifyDiagnostics(
2814
CreateCompilation
(source).VerifyDiagnostics();
2871
CreateCompilation
(source).VerifyDiagnostics(
2922
var comp =
CreateCompilation
(source);
2984
CreateCompilation
(source).VerifyDiagnostics(
3046
CreateCompilation
(source).VerifyDiagnostics(
3097
CreateCompilation
(source).VerifyDiagnostics(
3147
CreateCompilation
(source).VerifyDiagnostics(
3200
CreateCompilation
(source).VerifyDiagnostics(
3226
CreateCompilation
(source).VerifyDiagnostics(
3248
CreateCompilation
(source).VerifyDiagnostics(
3310
CreateCompilation
(source).VerifyDiagnostics(
3371
CreateCompilation
(source).VerifyDiagnostics(
3433
CreateCompilation
(source).VerifyDiagnostics(
3492
CreateCompilation
(source).VerifyDiagnostics(
3540
CreateCompilation
(source).VerifyDiagnostics(
3575
CreateCompilation
(source).VerifyDiagnostics(
3630
CreateCompilation
(source).VerifyDiagnostics(
3694
CreateCompilation
(source).VerifyDiagnostics(
3758
CreateCompilation
(source).VerifyDiagnostics(
3820
CreateCompilation
(source).VerifyDiagnostics(
3888
CreateCompilation
(source).VerifyDiagnostics(
3939
CreateCompilation
(source).VerifyDiagnostics(
3973
CreateCompilation
(source).VerifyDiagnostics(
3998
CreateCompilation
(source).VerifyDiagnostics(
4026
CreateCompilation
(source).VerifyDiagnostics(
4050
CreateCompilation
(source).VerifyDiagnostics(
4082
CreateCompilation
(source).VerifyDiagnostics(
4140
CreateCompilation
(source).VerifyDiagnostics(
4195
CreateCompilation
(source).VerifyDiagnostics(
4246
CreateCompilation
(source).VerifyDiagnostics(
4322
CreateCompilation
(source).VerifyDiagnostics(
4384
CreateCompilation
(source).VerifyDiagnostics(
4427
CreateCompilation
(source).VerifyDiagnostics(
4456
CreateCompilation
(source).VerifyDiagnostics(
4547
CreateCompilation
(source).VerifyDiagnostics(
4611
CreateCompilation
(source).VerifyDiagnostics(
4696
CreateCompilation
(source).VerifyDiagnostics(
4776
CreateCompilation
(source).VerifyDiagnostics(
4866
CreateCompilation
(source).VerifyDiagnostics(
4952
CreateCompilation
(source).VerifyDiagnostics(
4993
CreateCompilation
(source).VerifyDiagnostics(
5026
CreateCompilation
(source).VerifyDiagnostics(
5062
CreateCompilation
(source).VerifyDiagnostics(
5098
CreateCompilation
(source).VerifyDiagnostics(
5129
CreateCompilation
(source).VerifyDiagnostics(
5155
CreateCompilation
(source).VerifyDiagnostics(
5181
CreateCompilation
(source).VerifyDiagnostics();
5203
CreateCompilation
(source).VerifyDiagnostics(
5230
CreateCompilation
(source).VerifyDiagnostics();
5253
CreateCompilation
(source).VerifyDiagnostics(
5283
CreateCompilation
(source).VerifyDiagnostics(
5311
CreateCompilation
(source).VerifyDiagnostics(
5477
var comp =
CreateCompilation
(source);
5493
var comp =
CreateCompilation
(source);
5511
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
5582
CreateCompilation
(source).VerifyDiagnostics(
5605
CreateCompilation
(source).VerifyDiagnostics(
5632
CreateCompilation
(source).VerifyDiagnostics(
5659
CreateCompilation
(source).VerifyDiagnostics(
5690
CreateCompilation
(source).VerifyDiagnostics(
5714
CreateCompilation
(source).VerifyDiagnostics(
5744
CreateCompilation
(source).VerifyDiagnostics(
5775
CreateCompilation
(source).VerifyDiagnostics(
5805
CreateCompilation
(source).VerifyDiagnostics(
5839
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
5871
CreateCompilation
(source).VerifyDiagnostics();
5892
CreateCompilation
(source).VerifyDiagnostics();
5914
CreateCompilation
(source).VerifyDiagnostics();
5936
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5957
CreateCompilation
(source).VerifyDiagnostics(
5977
CreateCompilation
(source).VerifyDiagnostics(
6001
CreateCompilation
(source).VerifyDiagnostics(
6024
CreateCompilation
(source).VerifyDiagnostics(
6045
CreateCompilation
(source).VerifyDiagnostics(
6067
CreateCompilation
(source).VerifyDiagnostics(
6100
CreateCompilation
(source).VerifyDiagnostics(
6120
CreateCompilation
(source).VerifyDiagnostics(
6140
CreateCompilation
(source).VerifyDiagnostics(
6162
CreateCompilation
(source).VerifyDiagnostics(
FlowAnalysis\IterationJumpYieldStatementTests.cs (1)
912
var comp =
CreateCompilation
(new[] { tree });
FlowAnalysis\LocalFunctions.cs (52)
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
(@"
711
var comp =
CreateCompilation
("""
744
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
760
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
770
var comp =
CreateCompilation
(@"
840
var comp =
CreateCompilation
(@"
933
var comp =
CreateCompilation
(@"
958
var comp =
CreateCompilation
(@"
1030
var comp =
CreateCompilation
(@"
1055
var comp =
CreateCompilation
(@"
1093
var comp =
CreateCompilation
(@"
1142
var comp =
CreateCompilation
(@"
1169
var comp =
CreateCompilation
(@"
1199
var comp =
CreateCompilation
(@"
1237
var comp =
CreateCompilation
(@"
1274
var comp =
CreateCompilation
(@"
1310
var comp =
CreateCompilation
(@"
1340
var comp =
CreateCompilation
(@"
1366
var comp =
CreateCompilation
(@"
1390
var comp =
CreateCompilation
(@"
1416
var comp =
CreateCompilation
(@"
1472
var comp =
CreateCompilation
(@"
1521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1531
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
1542
var comp =
CreateCompilation
(@"
1570
var comp =
CreateCompilation
(@"
1603
CreateCompilation
(@"
1626
CreateCompilation
(@"
1646
CreateCompilation
(@"
FlowAnalysis\RegionAnalysisTests.cs (22)
3091
var compilation =
CreateCompilation
(@"
4417
var compilation =
CreateCompilation
(@"
4522
var compilation =
CreateCompilation
(source.Replace("unsafe", keyword));
5525
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5566
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6213
var comp =
CreateCompilation
(source);
6443
var compilation =
CreateCompilation
(source);
6465
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6473
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7904
var compilation =
CreateCompilation
(source);
8047
var libraryReference =
CreateCompilation
(libSource).EmitToImageReference();
8091
var compilation =
CreateCompilation
(source);
8119
var compilation =
CreateCompilation
(source);
9243
var comp =
CreateCompilation
(@"
9374
var comp =
CreateCompilation
(@"
9399
var comp =
CreateCompilation
(@"
9448
var comp =
CreateCompilation
(@"
14103
var comp =
CreateCompilation
("""
14131
var comp =
CreateCompilation
("""
14154
var comp =
CreateCompilation
("""
14192
var comp =
CreateCompilation
("""
14233
var comp =
CreateCompilation
("""
FlowAnalysis\StructTests.cs (41)
70
var comp =
CreateCompilation
(program);
104
var comp =
CreateCompilation
(text);
176
var comp =
CreateCompilation
(program);
203
var comp =
CreateCompilation
(program);
216
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
246
CreateCompilation
(program).VerifyDiagnostics(
278
CreateCompilation
(program).VerifyDiagnostics(
309
CreateCompilation
(program).VerifyDiagnostics(
346
CreateCompilation
(program).VerifyDiagnostics(
386
CreateCompilation
(program).VerifyDiagnostics(
426
CreateCompilation
(program).VerifyDiagnostics(
463
CreateCompilation
(program).VerifyDiagnostics(
495
CreateCompilation
(program).VerifyDiagnostics(
527
CreateCompilation
(program).VerifyDiagnostics(
535
var comp1 =
CreateCompilation
(
559
CreateCompilation
(source2,
569
CreateCompilation
(source2,
579
CreateCompilation
(source2,
586
CreateCompilation
(source2,
598
var comp1 =
CreateCompilation
(
616
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }).VerifyDiagnostics(
621
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }).VerifyDiagnostics(
631
var comp1 =
CreateCompilation
(
649
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
651
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
653
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
658
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
668
var comp1 =
CreateCompilation
(
694
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
696
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
698
CreateCompilation
(source2, references: new MetadataReference[] { sourceReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
703
CreateCompilation
(source2, references: new MetadataReference[] { metadataReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
726
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
738
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
743
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }).VerifyDiagnostics(
769
var comp1 =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugModule));
781
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable()).VerifyDiagnostics(
786
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: WithNullableEnable().WithWarningLevel(5)).VerifyDiagnostics(
802
var comp1 =
CreateCompilation
(source, options: TestOptions.DebugModule);
814
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(CodeAnalysis.Diagnostic.DefaultWarningLevel)).VerifyDiagnostics(
816
CreateCompilation
(source2, references: new MetadataReference[] { moduleReference }, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
OverloadResolutionPriorityTests.cs (66)
54
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
104
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
140
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
167
CreateCompilation
([executable, source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
173
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
176
CreateCompilation
(executable, references: [AsReference(comp, useMetadataReference)]).VerifyDiagnostics(
217
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
254
var baseComp =
CreateCompilation
([@base, OverloadResolutionPriorityAttributeDefinition]);
257
var derivedComp =
CreateCompilation
(derived, references: [baseReference]);
303
var baseComp =
CreateCompilation
([@base, OverloadResolutionPriorityAttributeDefinition]);
306
var derivedComp =
CreateCompilation
(derived, references: [baseReference]);
360
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
420
var comp =
CreateCompilation
([executable, code, OverloadResolutionPriorityAttributeDefinition]);
434
var comp2 =
CreateCompilation
([code, OverloadResolutionPriorityAttributeDefinition]);
436
comp =
CreateCompilation
(executable, references: [comp2.ToMetadataReference()]);
465
var comp1 =
CreateCompilation
([source1, OverloadResolutionPriorityAttributeDefinition], assemblyName: "assembly1");
549
var comp1 =
CreateCompilation
([source1, OverloadResolutionPriorityAttributeDefinition], assemblyName: "assembly1");
682
var comp2 =
CreateCompilation
([source2, OverloadResolutionPriorityAttributeDefinition], references: [comp1_1.ToMetadataReference()], targetFramework: TargetFramework.Standard);
690
var comp3 =
CreateCompilation
(source3, references: [comp2.ToMetadataReference(), comp1_2.ToMetadataReference()], targetFramework: TargetFramework.Standard);
741
var comp2 =
CreateCompilation
([source2, OverloadResolutionPriorityAttributeDefinition], references: [comp1_1.ToMetadataReference()], targetFramework: TargetFramework.Standard);
750
var comp3 =
CreateCompilation
(source3, references: [comp2.ToMetadataReference(), comp1_2.ToMetadataReference()], targetFramework: TargetFramework.Standard);
791
var comp2 =
CreateCompilation
([source2, OverloadResolutionPriorityAttributeDefinition], references: [comp1_1.ToMetadataReference()]);
798
var comp3 =
CreateCompilation
(source3, references: [comp2.ToMetadataReference(), comp1_2.ToMetadataReference()]);
863
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition], parseOptions: TestOptions.Regular12).VerifyDiagnostics(
874
var definingComp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition], parseOptions: TestOptions.Regular13).VerifyDiagnostics();
975
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1033
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
1196
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1213
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1238
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1260
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1288
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1323
CreateCompilation
([derived, @base, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
1325
var baseComp =
CreateCompilation
([@base, OverloadResolutionPriorityAttributeDefinition]);
1326
CreateCompilation
(derived, references: [useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference()]).VerifyDiagnostics(expectedDiagnostics);
1362
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1417
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1438
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1602
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1637
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
1688
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1777
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1827
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition], targetFramework: TargetFramework.Mscorlib461AndCSharp);
1843
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1852
var attrRef =
CreateCompilation
(OverloadResolutionPriorityAttributeDefinition);
1925
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1947
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
1980
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2014
CreateCompilation
([executable, source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
2016
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2017
CreateCompilation
(executable, references: [AsReference(comp, useMetadataReference)]).VerifyDiagnostics(expectedDiagnostics);
2046
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2065
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
2085
CreateCompilation
([code, OverloadResolutionPriorityAttributeDefinition]).VerifyDiagnostics(
2141
var comp =
CreateCompilation
([handler, OverloadResolutionPriorityAttributeDefinition, InterpolatedStringHandlerAttribute]);
2232
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2308
var comp =
CreateCompilation
(source, references: [ilRef]);
2339
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2406
var comp =
CreateCompilation
(source, references: [ilRef]);
2447
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2578
var comp =
CreateCompilation
(source, references: [ilRef]);
2625
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2749
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2811
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
2977
CreateCompilation
(source2, references: [vbRef]).VerifyDiagnostics(
3046
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]).
PartialEventsAndConstructorsTests.cs (86)
63
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
64
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
90
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
91
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
129
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
130
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
143
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
197
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
198
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics(expectedDiagnostics);
199
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
215
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
247
CreateCompilation
(source, parseOptions: TestOptions.Regular14).VerifyDiagnostics();
248
CreateCompilation
(source).VerifyDiagnostics();
267
CreateCompilation
(source).VerifyDiagnostics();
282
CreateCompilation
(source).VerifyDiagnostics(
308
CreateCompilation
(source).VerifyDiagnostics(
324
CreateCompilation
(source).VerifyDiagnostics(
343
CreateCompilation
(source).VerifyDiagnostics(
369
CreateCompilation
(source).VerifyDiagnostics(
405
CreateCompilation
(source).VerifyDiagnostics(
437
CreateCompilation
(source).VerifyDiagnostics(
475
CreateCompilation
(source).VerifyDiagnostics(
504
CreateCompilation
(source).VerifyDiagnostics(
543
var comp =
CreateCompilation
(source).VerifyDiagnostics(
581
CreateCompilation
(source).VerifyDiagnostics(
601
CreateCompilation
(source).VerifyDiagnostics(
621
CreateCompilation
(source).VerifyDiagnostics(
647
CreateCompilation
(source).VerifyDiagnostics(
666
CreateCompilation
(source).VerifyDiagnostics(
688
CreateCompilation
(source).VerifyDiagnostics(
716
CreateCompilation
(source).VerifyDiagnostics(
741
CreateCompilation
(source).VerifyDiagnostics(
760
CreateCompilation
(source).VerifyDiagnostics(
778
CreateCompilation
(source).VerifyDiagnostics(
796
CreateCompilation
(source).VerifyDiagnostics(
817
CreateCompilation
(source).VerifyDiagnostics(
839
CreateCompilation
(source).VerifyDiagnostics(
855
CreateCompilation
(source).VerifyDiagnostics();
865
CreateCompilation
(source).VerifyDiagnostics(
884
CreateCompilation
(source).VerifyDiagnostics(
912
CreateCompilation
(source).VerifyDiagnostics(
920
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
922
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
943
CreateCompilation
(source).VerifyDiagnostics(
1041
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
1193
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
1270
CreateCompilation
(source).VerifyDiagnostics(
1295
CreateCompilation
(source).VerifyDiagnostics(
1318
CreateCompilation
(source).VerifyDiagnostics(
1354
CreateCompilation
(source).VerifyDiagnostics(
1372
CreateCompilation
(source).VerifyDiagnostics(
1410
CreateCompilation
(source).VerifyDiagnostics(
1431
CreateCompilation
(source).VerifyDiagnostics(
1456
CreateCompilation
(source).VerifyDiagnostics(
1624
CreateCompilation
(source).VerifyDiagnostics(
1658
CreateCompilation
(source).VerifyDiagnostics(
1883
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
1984
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2066
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2141
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2415
CreateCompilation
(source).VerifyDiagnostics(
2452
CreateCompilation
(source).VerifyDiagnostics(
2510
CreateCompilation
(source).VerifyDiagnostics(
2585
CreateCompilation
(source).VerifyDiagnostics(
2623
CreateCompilation
(source).VerifyDiagnostics(
2663
CreateCompilation
(source).VerifyDiagnostics(
2715
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics);
2716
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
2745
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics);
2746
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
2772
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2825
CreateCompilation
(source).VerifyDiagnostics(
2866
CreateCompilation
(source).VerifyDiagnostics(
2888
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2913
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2950
CreateCompilation
(source).VerifyDiagnostics(
2994
CreateCompilation
(source).VerifyDiagnostics(
3042
CreateCompilation
(source).VerifyDiagnostics(
3112
CreateCompilation
(source).VerifyDiagnostics(
3151
CreateCompilation
(source).VerifyDiagnostics(
3204
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
3451
CreateCompilation
(source).VerifyDiagnostics(
3566
var lib =
CreateCompilation
([source1, CallerArgumentExpressionAttributeDefinition])
3570
CompileAndVerify(
CreateCompilation
(source2, references: [lib]),
3630
CreateCompilation
([source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition]).VerifyDiagnostics(
3714
CreateCompilation
(source).VerifyDiagnostics(
RefReadonlyParameterTests.cs (265)
183
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
258
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
259
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(expectedDiagnostics);
273
CreateCompilation
(source).VerifyDiagnostics(
284
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
303
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
355
CreateCompilation
(source).VerifyDiagnostics(
382
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }).VerifyDiagnostics(
612
CreateCompilation
(source).VerifyDiagnostics(
726
CreateCompilation
(source).VerifyDiagnostics(
761
CreateCompilation
(source).VerifyDiagnostics(
1242
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1266
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1283
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1301
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1316
var comp2 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1326
var comp1b =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1").VerifyDiagnostics();
1328
var comp2b =
CreateCompilation
(source2, new[] { comp1bRef }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1342
var comp3 =
CreateCompilation
(source3, new[] { comp1bRef }, assemblyName: "Assembly3", options: TestOptions.UnsafeDebugDll);
1366
var comp1v1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1382
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1409
var comp4 =
CreateCompilation
(source4, assemblyName: "Assembly4").VerifyDiagnostics();
1413
var comp1v2 =
CreateCompilation
(source1, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1427
var comp1v3 =
CreateCompilation
(new[] { source1, source5 }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1434
var comp1v4 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1463
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1473
var comp2 =
CreateCompilation
(new[] { source2, RequiresLocationAttributeDefinition }, new[] { comp1Ref },
1486
var comp3 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly3", options: TestOptions.UnsafeReleaseDll);
1519
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
1539
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1555
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1571
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1586
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1587
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1635
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1640
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
1641
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1656
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1678
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1697
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1712
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1713
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1735
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1736
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1737
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1749
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1764
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1765
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1787
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1788
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1789
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1801
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1822
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1823
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1842
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1843
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1844
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1863
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1864
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1865
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1884
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1885
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1886
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1898
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1913
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1914
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1933
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1934
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1935
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1947
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1962
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1963
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1982
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1983
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1984
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1996
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2011
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2012
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2031
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2032
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2033
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2045
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2050
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2051
CreateCompilation
(source).VerifyDiagnostics();
2070
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2071
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2072
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2084
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2089
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2090
CreateCompilation
(source).VerifyDiagnostics();
2102
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2107
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2108
CreateCompilation
(source).VerifyDiagnostics();
2136
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2137
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2138
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2166
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2167
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2168
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2196
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2197
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2198
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2210
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2215
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2216
CreateCompilation
(source).VerifyDiagnostics();
2229
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2244
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2245
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2247
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2266
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2281
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2282
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2284
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2400
CreateCompilation
(source).VerifyDiagnostics(
2479
CreateCompilation
(source).VerifyDiagnostics(
2505
CreateCompilation
(source).VerifyDiagnostics(
2561
CreateCompilation
(source).VerifyDiagnostics(
2643
CreateCompilation
(source).VerifyDiagnostics(
2732
CreateCompilation
(source).VerifyDiagnostics(
2791
CreateCompilation
(source).VerifyDiagnostics(
2830
CreateCompilation
(source).VerifyDiagnostics(
2848
CreateCompilation
(source).VerifyDiagnostics();
2868
CreateCompilation
(source).VerifyDiagnostics(
2894
CreateCompilation
(source).VerifyDiagnostics(
2936
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
2989
CreateCompilation
(source).VerifyDiagnostics(
3058
CreateCompilation
(source).VerifyDiagnostics(
3138
CreateCompilation
(source).VerifyDiagnostics(
3160
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
3178
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3193
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3194
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
3233
CreateCompilation
(source).VerifyDiagnostics(
3285
CreateCompilation
(source).VerifyDiagnostics(
3331
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
3387
CreateCompilation
(source).VerifyDiagnostics(
3409
CreateCompilation
(source).VerifyDiagnostics(
3458
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3529
CreateCompilation
(source).VerifyDiagnostics(
3559
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3619
CreateCompilation
(source).VerifyDiagnostics(
3654
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3698
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3699
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3725
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
3783
CreateCompilation
(source).VerifyDiagnostics(
3830
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3845
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3846
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3866
CreateCompilation
(source).VerifyDiagnostics(
3924
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3925
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(expectedDiagnostics);
3972
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(
4130
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics2);
4131
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics2);
4132
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(expectedDiagnostics2);
4139
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4500
CreateCompilation
(source).VerifyDiagnostics(
4544
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4545
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4595
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4596
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4623
CreateCompilation
(source).VerifyDiagnostics(
4645
CreateCompilation
(source).VerifyDiagnostics(
4664
CreateCompilation
(source).VerifyDiagnostics(
4733
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warnings1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4734
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4799
CreateCompilation
(source).VerifyDiagnostics(
4834
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4835
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4869
CreateCompilation
(source).VerifyDiagnostics(
4888
var comp =
CreateCompilation
(source);
5247
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
5300
CreateCompilation
(source).VerifyDiagnostics(
5347
CreateCompilation
(source).VerifyDiagnostics(
5423
CreateCompilation
(source).VerifyDiagnostics(
5766
CreateCompilation
(source).VerifyDiagnostics(
5784
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5810
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5835
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
6050
CreateCompilation
(source).VerifyDiagnostics(
6069
CreateCompilation
(source).VerifyDiagnostics(
6090
CreateCompilation
(source, targetFramework: TargetFramework.Net50).VerifyDiagnostics(
6541
CreateCompilation
(source).VerifyDiagnostics(
6671
var comp1v1 =
CreateCompilation
(source1v1, assemblyName: "Assembly1");
6680
var comp1v2 =
CreateCompilation
(source1v2, assemblyName: "Assembly1");
6689
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, assemblyName: "Assembly2");
6692
var comp3v1 =
CreateCompilation
("", new[] { comp2Ref, comp1v1Ref }, assemblyName: "Assembly3");
6699
var comp3v2 =
CreateCompilation
("", new[] { comp2Ref, comp1v2Ref }, assemblyName: "Assembly3");
6722
CreateCompilation
(source).VerifyDiagnostics(
6832
CreateCompilation
(source).VerifyDiagnostics(
6856
CreateCompilation
(source).VerifyDiagnostics(
6882
CreateCompilation
(source).VerifyDiagnostics(
6901
CreateCompilation
(source).VerifyEmitDiagnostics();
6917
CreateCompilation
(source).VerifyEmitDiagnostics();
6933
CreateCompilation
(source).VerifyDiagnostics(
6955
CreateCompilation
(source).VerifyDiagnostics(
6978
CreateCompilation
(source).VerifyDiagnostics(
7004
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7009
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7029
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7034
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7058
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7063
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
7093
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7121
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7235
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
7274
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7275
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
7328
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7394
CreateCompilation
(source).VerifyDiagnostics(
7435
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7486
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7626
CreateCompilation
(source2).VerifyDiagnostics(
7685
CreateCompilation
(source3, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7686
CreateCompilation
(source3).VerifyDiagnostics(expectedDiagnostics);
7702
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7718
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7736
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7737
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7741
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7773
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7804
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7823
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7850
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7851
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7879
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
7968
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
7993
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8020
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8021
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8043
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8078
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8079
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8080
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8113
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8173
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8209
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8227
var comp =
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe);
8248
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8249
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8324
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
8339
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8369
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8381
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8382
CreateCompilation
(source3, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8415
CreateCompilation
(source).VerifyDiagnostics(
8478
CreateCompilation
(source1).VerifyDiagnostics(
8512
var comp1 =
CreateCompilation
(source1);
8522
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8551
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8563
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8564
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8600
var comp1 =
CreateCompilation
(source1);
8615
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8642
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8643
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8662
CreateCompilation
(source).VerifyDiagnostics(
8685
CreateCompilation
(source).VerifyDiagnostics(
8709
CreateCompilation
(source).VerifyDiagnostics(
RefStructInterfacesTests.cs (653)
37
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
46
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
48
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
70
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
79
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
81
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
103
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
126
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
150
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
161
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
163
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
182
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
193
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
195
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
214
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
239
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
267
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
278
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
280
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
305
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
316
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
318
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
343
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
371
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
397
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
408
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
410
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
429
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
440
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
442
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
461
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
486
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
515
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
526
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
528
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
553
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
564
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
566
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
591
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
619
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
645
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
663
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80);
687
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80);
729
var comp4 =
CreateCompilation
(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80);
755
var comp5 =
CreateCompilation
(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80);
776
var comp6 =
CreateCompilation
(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80);
802
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
810
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
812
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
836
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
844
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
846
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
865
var comp9 =
CreateCompilation
(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80);
886
var comp10 =
CreateCompilation
(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80);
909
var comp11 =
CreateCompilation
(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80);
931
var comp12 =
CreateCompilation
(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80);
949
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
969
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
996
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1033
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1058
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1087
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1144
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1217
var comp4 =
CreateCompilation
(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1256
var comp5 =
CreateCompilation
(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1305
var comp6 =
CreateCompilation
(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1342
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1352
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
1354
comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12);
1395
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1405
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
1407
comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12);
1452
var comp9 =
CreateCompilation
(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1472
var comp10 =
CreateCompilation
(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1497
var comp11 =
CreateCompilation
(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1519
var comp12 =
CreateCompilation
(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1544
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1569
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1603
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1634
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
1663
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1720
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1793
var comp4 =
CreateCompilation
(src4, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1832
var comp5 =
CreateCompilation
(src5, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1881
var comp6 =
CreateCompilation
(src6, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1918
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1928
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
1930
comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12);
1971
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
1981
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
1983
comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12);
2028
var comp9 =
CreateCompilation
(src9, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2048
var comp10 =
CreateCompilation
(src10, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2073
var comp11 =
CreateCompilation
(src11, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2095
var comp12 =
CreateCompilation
(src12, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2120
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
2145
var comp7 =
CreateCompilation
(src7, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2179
var comp8 =
CreateCompilation
(src8, references: [comp1Ref], targetFramework: TargetFramework.Net80);
2217
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
2246
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2281
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
2314
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2359
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2443
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2482
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2546
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2608
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2669
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2705
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
2721
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2741
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2757
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2777
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2796
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2816
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2832
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2850
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2866
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2884
comp =
CreateCompilation
(sourceB, references: new[] { refA });
2903
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
2921
comp =
CreateCompilation
(sourceB, references: new[] { refA });
3039
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3070
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3103
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
3179
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3254
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3341
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3417
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
3473
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3516
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3564
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3740
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3806
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3883
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3932
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3982
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4044
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4086
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4129
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4178
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4232
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4287
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4354
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4367
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4387
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
4390
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4396
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4403
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4423
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4438
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
4440
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4446
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib461Extended, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
4467
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4508
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4534
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4563
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4585
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4617
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4643
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4678
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4721
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4747
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4776
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4813
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4839
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4868
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4890
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4919
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4943
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
4974
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5001
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5030
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5059
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5084
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5112
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5139
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5160
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5181
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5202
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5227
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5256
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5281
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5310
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5339
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5368
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5409
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5455
var comp1 =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5467
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
5469
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5475
var comp2 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net70);
5477
CreateCompilation
(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5510
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5546
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5588
var comp1 =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5600
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
5602
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5608
var comp2 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net70);
5610
CreateCompilation
(src2, references: [comp2.ToMetadataReference()], targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5639
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5675
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5700
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5734
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5757
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5785
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5818
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5854
var comp =
CreateCompilation
(src);
5864
CreateCompilation
(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
5866
CreateCompilation
(src, targetFramework: TargetFramework.Net70, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5889
var comp =
CreateCompilation
(src);
5936
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
5985
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6065
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6141
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6149
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6150
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6203
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6211
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6212
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6261
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6269
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6270
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6329
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6337
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6338
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6397
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6405
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6406
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6463
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
6474
comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6475
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6549
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
6596
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6732
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6849
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
6970
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7109
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7234
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7258
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7275
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7278
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
7281
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7304
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7321
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7331
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7338
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
7341
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7359
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7362
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
7365
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7387
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
7394
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
7397
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
7433
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7623
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
7841
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8038
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8231
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8430
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8506
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
8674
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8687
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8690
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8693
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8716
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8729
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8739
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8746
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8749
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8763
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8766
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8769
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8789
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8796
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8799
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8815
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8828
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
8835
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
8838
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
8890
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9094
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9304
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9457
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9669
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
9893
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10105
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10339
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10434
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10501
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10698
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
10937
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11153
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11380
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11597
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11692
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11744
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11757
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11760
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
11763
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11802
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11813
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11820
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11827
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
11830
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11842
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11845
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
11848
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11877
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
11890
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
11893
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
11940
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
11988
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12024
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12232
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12291
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12499
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12537
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12747
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12796
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13018
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13066
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13273
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13325
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13551
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13600
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13665
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13690
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13707
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13717
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13720
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13748
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13765
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13781
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13794
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13797
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13815
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13818
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13821
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13854
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13870
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13873
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13911
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
13927
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
13930
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13967
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14308
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14669
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15020
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15368
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15721
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15798
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16125
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16140
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16143
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16146
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16169
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16182
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16192
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16199
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16202
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16216
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16219
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16222
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16243
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16250
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16253
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16271
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16286
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16293
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16296
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16333
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16375
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16427
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16488
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16555
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16629
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16701
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16747
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16812
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16877
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16961
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17049
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17142
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17239
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17323
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17375
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17392
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17399
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17408
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17457
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17468
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17478
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17488
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17495
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17511
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17514
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17517
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17551
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17567
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17574
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17612
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17809
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18031
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18234
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18435
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18641
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18715
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18891
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18904
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
18907
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
18910
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18931
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18944
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
18951
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
18958
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
18961
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18975
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
18978
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
18981
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19001
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19008
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19011
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19027
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19040
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19047
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19050
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19097
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19268
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19445
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19593
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19778
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19958
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20001
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20037
var comp =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20041
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20042
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20048
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20050
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20054
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20055
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20061
CreateCompilation
([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20082
comp =
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20086
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20087
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20093
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20096
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20097
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
20099
CreateCompilation
([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20105
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20107
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20113
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics();
20137
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20191
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20229
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20258
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20294
var comp =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20298
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20299
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20305
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20307
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20311
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20312
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20318
CreateCompilation
([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20339
comp =
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20343
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20344
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20350
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20353
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20354
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
20356
CreateCompilation
([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20362
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20364
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20370
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics();
20402
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20449
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20494
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20539
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20574
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20607
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20641
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20686
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20738
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20780
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20817
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20933
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20990
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21023
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21047
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21113
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21141
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21194
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21235
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21297
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21337
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21383
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21404
var comp =
CreateCompilation
(code, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21430
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21478
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21502
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21548
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21592
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21639
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21700
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21746
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21777
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21832
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
21882
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21929
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21969
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21991
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22021
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22061
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.DebugExe);
22095
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22137
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22179
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22235
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22306
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22371
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22409
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22426
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22474
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22530
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22585
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22633
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22677
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.UnsafeReleaseExe);
22726
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
22778
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
22824
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
23260
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23301
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23334
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23371
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23408
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23447
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23490
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23533
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23574
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23619
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
23672
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
23734
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
23820
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23852
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23882
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23919
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23964
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24031
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24094
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24134
comp =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24192
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24267
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24327
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24366
comp =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24438
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24529
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24604
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24648
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24694
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24730
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseDll);
24791
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24883
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24936
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24978
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25027
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25111
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25188
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25235
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25325
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25386
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25418
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25449
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25480
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25511
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseDll);
25575
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25635
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25675
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25715
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25740
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25774
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25818
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25876
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25920
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25953
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25982
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26009
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26046
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26089
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26115
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26145
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26178
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26231
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26285
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyDiagnostics(
26339
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26361
comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
26412
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26455
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26479
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26513
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26547
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26583
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26624
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26644
CreateCompilation
(@"
26684
CreateCompilation
(@"
26816
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
26896
var comp =
CreateCompilation
(new[] { text, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
26953
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27026
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyEmitDiagnostics(
27103
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyEmitDiagnostics(
27179
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27289
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27359
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27411
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27523
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27624
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27708
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27818
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27950
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28084
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28147
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28159
var comp =
CreateCompilation
(@"
28186
var comp =
CreateCompilation
(@"
28205
var comp =
CreateCompilation
(@"
28259
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28317
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28386
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28434
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28494
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28554
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28629
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28668
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28700
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28726
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
28739
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
28752
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
28755
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28767
var comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
28770
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
28773
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28794
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28807
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
28823
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
28836
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
28839
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28885
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28911
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia", targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28926
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
28930
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
29019
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
29049
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29076
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29106
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29136
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29166
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29194
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29221
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
RefUnsafeInIteratorAndAsyncTests.cs (51)
33
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
41
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
42
CreateCompilation
(source).VerifyEmitDiagnostics();
61
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
69
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
70
CreateCompilation
(source).VerifyEmitDiagnostics();
89
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
97
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
98
CreateCompilation
(source).VerifyEmitDiagnostics();
119
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
127
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
128
CreateCompilation
(source).VerifyEmitDiagnostics();
154
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
155
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
156
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
175
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
180
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
181
CreateCompilation
(source).VerifyEmitDiagnostics();
206
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
207
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
208
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
226
CreateCompilation
(source).VerifyEmitDiagnostics(
251
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
266
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
267
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
286
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
301
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
302
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
324
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
336
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
337
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
395
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
418
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
430
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
431
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
491
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
551
CreateCompilation
(source).VerifyEmitDiagnostics(
573
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
588
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
589
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expectedDiagnostics);
610
CreateCompilation
(source).VerifyEmitDiagnostics(
631
CreateCompilation
(source).VerifyEmitDiagnostics(
815
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
838
CreateCompilation
(source, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
850
CreateCompilation
(source, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
851
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
873
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
895
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
918
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
1051
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
1074
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
Semantics\CollectionExpressionTests.cs (679)
150
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
187
var comp =
CreateCompilation
(source);
222
var comp =
CreateCompilation
(source);
257
var comp =
CreateCompilation
(source);
285
var comp =
CreateCompilation
(source);
313
var comp =
CreateCompilation
(source);
338
var comp =
CreateCompilation
(source);
357
var comp =
CreateCompilation
(source);
376
var comp =
CreateCompilation
(source);
397
var comp =
CreateCompilation
(source);
421
var comp =
CreateCompilation
([source, s_collectionExtensions]);
445
var comp =
CreateCompilation
(source);
470
var comp =
CreateCompilation
([source, s_collectionExtensions]);
551
var comp =
CreateCompilation
(source);
584
var comp =
CreateCompilation
(source);
692
var comp =
CreateCompilation
(source);
714
var comp =
CreateCompilation
(source);
781
var comp =
CreateCompilation
(source);
806
var comp =
CreateCompilation
(source);
840
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
867
var comp =
CreateCompilation
(source);
902
var comp =
CreateCompilation
(source);
956
var comp =
CreateCompilation
(source);
1048
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
1135
CreateCompilation
(source).VerifyEmitDiagnostics(
1234
var comp =
CreateCompilation
(source);
1433
var comp =
CreateCompilation
(
1528
var comp =
CreateCompilation
(
1628
var comp =
CreateCompilation
(
1732
var comp =
CreateCompilation
(
1812
var comp =
CreateCompilation
(
1848
comp =
CreateCompilation
(
1918
var comp =
CreateCompilation
(
1925
comp =
CreateCompilation
(
1932
comp =
CreateCompilation
(
1958
comp =
CreateCompilation
(
1964
comp =
CreateCompilation
(
1971
comp =
CreateCompilation
(
2006
var comp =
CreateCompilation
(
2027
comp =
CreateCompilation
(
2075
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80);
2078
comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net80);
2107
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2216
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
2244
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
2309
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(version)).VerifyDiagnostics(
2336
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2374
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
2583
CreateCompilation
(source,
2587
CreateCompilation
(source,
2591
CreateCompilation
(source,
2770
CreateCompilation
(source,
2774
CreateCompilation
(source,
2778
CreateCompilation
(source,
2936
CreateCompilation
(source,
2940
CreateCompilation
(source,
2944
CreateCompilation
(source,
2988
var comp =
CreateCompilation
(source);
3074
var comp =
CreateCompilation
(
3112
var comp =
CreateCompilation
(
3146
var comp =
CreateCompilation
(
3188
var comp =
CreateCompilation
(
3274
var comp =
CreateCompilation
(source);
3312
var comp =
CreateCompilation
(source);
3336
var comp =
CreateCompilation
(source);
3362
var comp =
CreateCompilation
(source);
3406
var comp =
CreateCompilation
(source);
3437
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3461
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3502
var comp =
CreateCompilation
(source);
3532
var comp =
CreateCompilation
(source);
3557
var comp =
CreateCompilation
(source);
3680
var comp =
CreateCompilation
(source);
3728
var comp =
CreateCompilation
(source);
3769
var comp =
CreateCompilation
(source);
3808
var comp =
CreateCompilation
(source);
3850
var comp =
CreateCompilation
(source);
3903
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3927
var comp =
CreateCompilation
(source);
3951
var comp =
CreateCompilation
(source);
3976
var comp =
CreateCompilation
(source);
4014
var comp =
CreateCompilation
(source);
4046
var comp =
CreateCompilation
(source);
4065
var comp =
CreateCompilation
(source);
4197
var comp =
CreateCompilation
(source);
4245
var comp =
CreateCompilation
(source);
4344
var comp =
CreateCompilation
(source);
4374
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4460
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4482
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4532
var comp =
CreateCompilation
(source);
4563
var comp =
CreateCompilation
(source);
4688
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
4765
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4812
var comp =
CreateCompilation
(source);
4834
var comp =
CreateCompilation
(source);
4861
var comp =
CreateCompilation
(source);
4888
var comp =
CreateCompilation
(source);
4915
var comp =
CreateCompilation
(source);
5124
var comp =
CreateCompilation
(source);
5352
var comp =
CreateCompilation
(source);
5374
var comp =
CreateCompilation
(source);
5634
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5663
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5682
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5689
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5731
var comp =
CreateCompilation
(source);
5759
var comp =
CreateCompilation
(source);
5820
var comp =
CreateCompilation
(source);
5881
var comp =
CreateCompilation
(source);
5957
var comp =
CreateCompilation
(source);
6034
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6061
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6089
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6139
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80);
6509
var comp =
CreateCompilation
(source);
6547
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
6572
var comp =
CreateCompilation
(source);
6603
var comp =
CreateCompilation
(source);
6656
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
6750
var comp =
CreateCompilation
(source);
6881
var comp =
CreateCompilation
(source);
6913
var comp =
CreateCompilation
(source);
6938
var comp =
CreateCompilation
(source);
7009
var comp =
CreateCompilation
(source);
7041
var comp =
CreateCompilation
(source);
7068
var comp =
CreateCompilation
(source);
7097
var comp =
CreateCompilation
(source);
7129
var comp =
CreateCompilation
(source);
7267
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, s_collectionExtensions });
7327
var comp =
CreateCompilation
(source);
7356
var comp =
CreateCompilation
(source);
7385
var comp =
CreateCompilation
(source);
7418
var comp =
CreateCompilation
(source);
7442
var comp =
CreateCompilation
(source);
7473
var comp =
CreateCompilation
(source);
7510
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
7595
var comp =
CreateCompilation
(source);
7628
var comp =
CreateCompilation
(source);
7653
var comp =
CreateCompilation
(sourceA);
7666
comp =
CreateCompilation
(sourceB, references: new[] { refA });
7724
var comp =
CreateCompilation
(source);
7756
var comp =
CreateCompilation
(source);
7820
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7895
var comp =
CreateCompilation
(source);
7930
var comp =
CreateCompilation
(source);
8034
var comp =
CreateCompilation
(source);
8078
var comp =
CreateCompilation
(source);
8115
var comp =
CreateCompilation
(source);
8144
var comp =
CreateCompilation
(source);
8176
var comp =
CreateCompilation
(source);
8208
var comp =
CreateCompilation
(source);
8245
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
8308
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
8393
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
8478
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
8571
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8622
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8672
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8805
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
8823
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8877
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
8906
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
9050
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
9126
var comp =
CreateCompilation
(source);
9153
var comp =
CreateCompilation
(source);
9179
var comp =
CreateCompilation
(source);
9198
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
9220
comp =
CreateCompilation
(sourceB, references: new[] { refA });
9243
comp =
CreateCompilation
(new[] { sourceC, s_collectionExtensions }, references: new[] { refB });
9350
var comp =
CreateCompilation
(source);
9722
var comp =
CreateCompilation
(source);
9743
var comp =
CreateCompilation
(source);
9765
var comp =
CreateCompilation
(source);
10099
var comp =
CreateCompilation
(source);
10466
var comp =
CreateCompilation
(source);
10485
var comp =
CreateCompilation
(source);
10504
var comp =
CreateCompilation
(source);
10954
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11001
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11059
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11142
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
11214
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11447
var comp =
CreateCompilation
(source);
11475
comp =
CreateCompilation
(source);
11485
comp =
CreateCompilation
(source);
11495
comp =
CreateCompilation
(source);
11505
comp =
CreateCompilation
(source);
12066
var comp =
CreateCompilation
(source);
12088
var comp =
CreateCompilation
(source);
12171
var comp =
CreateCompilation
(source);
12187
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
12199
comp =
CreateCompilation
(sourceB, references: new[] { refA });
12208
comp =
CreateCompilation
(sourceC, references: new[] { refA, refB });
12211
comp =
CreateCompilation
(sourceC, references: new[] { refB });
12250
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12321
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12424
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
12444
comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
13392
var comp =
CreateCompilation
(source);
13427
var comp =
CreateCompilation
(source);
13765
var comp =
CreateCompilation
(source);
13792
var comp =
CreateCompilation
(source);
13817
var comp =
CreateCompilation
(source);
13875
var comp =
CreateCompilation
(source);
13904
var comp =
CreateCompilation
(source);
14015
var comp =
CreateCompilation
(source);
14052
var comp =
CreateCompilation
(source);
14090
var comp =
CreateCompilation
(source);
14123
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
14143
CreateCompilation
(source).VerifyDiagnostics(
14164
CreateCompilation
(source).VerifyDiagnostics(
14188
CreateCompilation
(source).VerifyDiagnostics(
14230
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14300
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14373
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14387
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14441
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14510
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14555
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14613
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14715
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
14842
var comp =
CreateCompilation
(source);
14873
var comp =
CreateCompilation
(source);
14903
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
14954
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
15014
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
15082
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15136
var comp =
CreateCompilation
(source);
15161
var comp =
CreateCompilation
(source);
15193
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15384
var comp =
CreateCompilation
(sources, targetFramework: targetFramework);
15401
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: targetFramework, options: TestOptions.ReleaseExe);
15594
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15622
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
15650
comp =
CreateCompilation
(sourceC, references: new[] { refA }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15692
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15780
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15829
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15878
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15927
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15967
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
15982
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16029
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16094
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16143
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16185
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16200
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16239
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16289
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16324
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16358
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16390
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16404
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16419
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
16447
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16462
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16510
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16546
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16589
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16630
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16682
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16722
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16763
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16803
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
16846
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
16898
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
16928
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16943
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
16977
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
16992
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17031
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17098
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17163
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, targetFramework: TargetFramework.Net80);
17224
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17268
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17316
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17352
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17401
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17450
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17496
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17542
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17585
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17600
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17633
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17678
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17693
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17724
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17739
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17780
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
17827
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17879
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17939
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17954
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17984
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17999
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18029
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18044
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18087
var comp =
CreateCompilation
(new[] { sourceA, sourceAttribute }, targetFramework: TargetFramework.Net80);
18101
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18131
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18145
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18211
var comp =
CreateCompilation
(
18282
var comp =
CreateCompilation
(
18333
var comp =
CreateCompilation
(
18381
var comp =
CreateCompilation
(
18516
var comp =
CreateCompilation
(
18563
var comp =
CreateCompilation
(
18611
var comp =
CreateCompilation
(
18659
var comp =
CreateCompilation
(
18702
var comp =
CreateCompilation
(
18745
var comp =
CreateCompilation
(
18788
var comp =
CreateCompilation
(
18831
var comp =
CreateCompilation
(
18864
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18879
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18921
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18955
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18970
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19001
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19016
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19059
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19098
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19131
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19161
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19194
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19235
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19265
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19282
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19336
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19395
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19431
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
19449
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
19502
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19533
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19547
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19579
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19617
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19682
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19710
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19727
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19788
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19845
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19870
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA, targetFramework: TargetFramework.Net80);
19885
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19895
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
20207
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20237
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20271
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20307
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
20340
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
20367
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
20692
var comp =
CreateCompilation
(
20917
var comp =
CreateCompilation
(source);
21696
var comp =
CreateCompilation
(
22056
var comp =
CreateCompilation
(source);
22087
var comp =
CreateCompilation
(source);
22187
CreateCompilation
(source).VerifyDiagnostics(
22452
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
22540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22571
var comp =
CreateCompilation
(
22598
comp =
CreateCompilation
(
22710
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.Net60);
22737
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: TargetFramework.Net60, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
23408
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
23778
var comp =
CreateCompilation
(
23949
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
24137
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
24219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
24417
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
25016
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25050
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25161
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
25533
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
25660
var comp =
CreateCompilation
(
25897
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
25939
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
25975
var comp =
CreateCompilation
(source);
26001
var comp =
CreateCompilation
(source);
26121
var comp =
CreateCompilation
(source);
26247
var comp =
CreateCompilation
(source);
26314
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26373
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
26458
var comp =
CreateCompilation
(source);
26527
var comp =
CreateCompilation
(source);
26585
var comp =
CreateCompilation
(source);
26655
var comp =
CreateCompilation
(source);
26733
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26795
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26830
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26902
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26951
var comp =
CreateCompilation
(source);
27012
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
27041
var comp =
CreateCompilation
(source);
27064
var comp =
CreateCompilation
(source);
27143
var comp =
CreateCompilation
(source);
27184
var comp =
CreateCompilation
(source);
27217
var comp =
CreateCompilation
(source);
27265
var comp =
CreateCompilation
([sourceB, sourceA]);
27343
var comp =
CreateCompilation
([sourceB, sourceA]);
27430
var comp =
CreateCompilation
([sourceB, sourceA]);
27502
var comp =
CreateCompilation
([sourceB, sourceA]);
27595
var comp =
CreateCompilation
([sourceB, sourceA]);
27686
var comp =
CreateCompilation
([sourceB, sourceA]);
27763
var comp =
CreateCompilation
([sourceB, sourceA]);
27833
var comp =
CreateCompilation
(source);
27856
var comp =
CreateCompilation
(source);
27888
var comp =
CreateCompilation
(source);
27974
CreateCompilation
(source).VerifyEmitDiagnostics(
27997
CreateCompilation
(source).VerifyEmitDiagnostics(
28017
CreateCompilation
(source).VerifyEmitDiagnostics(
28037
CreateCompilation
(source).VerifyEmitDiagnostics(
28083
CreateCompilation
(source).VerifyEmitDiagnostics(
28106
CreateCompilation
(source).VerifyEmitDiagnostics(
28129
CreateCompilation
(source).VerifyEmitDiagnostics(
28152
CreateCompilation
(source).VerifyEmitDiagnostics(
28180
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28210
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28233
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28256
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28275
CreateCompilation
(source).VerifyEmitDiagnostics(
28302
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28326
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28349
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
28369
CreateCompilation
(source).VerifyEmitDiagnostics(
28391
CreateCompilation
(source).VerifyEmitDiagnostics(
28415
CreateCompilation
(source).VerifyEmitDiagnostics(
28437
CreateCompilation
(source).VerifyEmitDiagnostics(
28451
CreateCompilation
(source).VerifyEmitDiagnostics(
28472
CreateCompilation
(source).VerifyEmitDiagnostics(
28494
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
28519
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
28562
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
28596
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
28626
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28670
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28713
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28759
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28802
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28842
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28881
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
28920
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
28948
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29001
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29055
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29116
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29180
CreateCompilation
(source).VerifyEmitDiagnostics();
29208
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29250
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29297
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
29348
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
29388
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
29447
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29473
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29497
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29521
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29544
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29602
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29661
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net70);
29699
CreateCompilation
(source).VerifyEmitDiagnostics(
29732
CreateCompilation
(source).VerifyEmitDiagnostics(
29760
CreateCompilation
(source).VerifyEmitDiagnostics(
29787
CreateCompilation
(source).VerifyEmitDiagnostics(
29818
CreateCompilation
(source, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
29856
CreateCompilation
(source).VerifyEmitDiagnostics(
29884
CreateCompilation
(source).VerifyEmitDiagnostics(
29913
CreateCompilation
(source).VerifyEmitDiagnostics(
29946
CreateCompilation
(source).VerifyEmitDiagnostics(
29980
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
30008
CreateCompilation
(source).VerifyEmitDiagnostics(
30043
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
30071
CreateCompilation
(source).VerifyEmitDiagnostics(
30095
var comp =
CreateCompilation
(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
30299
var comp =
CreateCompilation
([sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
30411
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net60);
30435
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net60);
30470
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
30492
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
30524
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
30546
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
30919
var comp =
CreateCompilation
(source);
30947
var comp =
CreateCompilation
(source);
30987
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
31036
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
31057
CreateCompilation
(src).VerifyEmitDiagnostics(
31087
CreateCompilation
(src).VerifyEmitDiagnostics(
31108
CreateCompilation
(src).VerifyEmitDiagnostics(
31129
CreateCompilation
(src).VerifyEmitDiagnostics(
31157
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
31209
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31252
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31290
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31323
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31360
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31401
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31447
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31490
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31538
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31592
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31654
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31694
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
31748
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31798
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31850
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31893
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31936
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
31978
CreateCompilation
(src).VerifyEmitDiagnostics(
32025
CreateCompilation
(source).VerifyEmitDiagnostics(
32057
CreateCompilation
(source).VerifyEmitDiagnostics(
32106
CreateCompilation
(source).VerifyEmitDiagnostics(
32139
CreateCompilation
(source).VerifyEmitDiagnostics(
32183
CreateCompilation
(source).VerifyEmitDiagnostics(
32232
CreateCompilation
(source).VerifyEmitDiagnostics(
32254
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32270
CreateCompilation
(src).VerifyEmitDiagnostics(
32289
CreateCompilation
(src).VerifyEmitDiagnostics(
32310
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32353
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics();
32378
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32409
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32451
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32498
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
32555
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32607
CreateCompilation
(src).VerifyEmitDiagnostics(
32651
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32714
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32764
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32796
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32825
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32869
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32903
CreateCompilation
(src2, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32949
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32989
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33015
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33049
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33099
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33138
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33177
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33218
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33261
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33311
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33344
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33367
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
33382
CreateCompilation
(src).VerifyEmitDiagnostics(
33399
CreateCompilation
(src).VerifyEmitDiagnostics(
33415
CreateCompilation
(src).VerifyEmitDiagnostics(
33452
var comp =
CreateCompilation
(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
33483
var compilation =
CreateCompilation
(code);
33520
var compilation =
CreateCompilation
(code);
34171
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
34674
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
34731
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
34776
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
34821
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
35278
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
35372
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
36400
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
37113
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
37999
var comp =
CreateCompilation
(source);
38023
var comp =
CreateCompilation
(source);
38058
var comp =
CreateCompilation
(source);
38095
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
38132
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
38169
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
38206
var comp =
CreateCompilation
(source);
38249
var comp =
CreateCompilation
(source);
38302
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
38381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
38422
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
38472
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
38517
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
38566
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
38622
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38652
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38701
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38731
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38784
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38818
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
38864
comp =
CreateCompilation
(sourceB, references: [refA1]);
38889
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refA2, refB], options: TestOptions.ReleaseExe);
39003
var comp =
CreateCompilation
([sourceA, sourceB2]);
39036
var comp =
CreateCompilation
([sourceA, sourceB1]);
39097
var comp =
CreateCompilation
(sourceA);
39100
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
39146
var comp =
CreateCompilation
([sourceA, sourceC, s_collectionExtensions]);
39208
var comp =
CreateCompilation
([sourceA, sourceB3]);
39277
var comp =
CreateCompilation
(source);
39386
var comp =
CreateCompilation
(source);
39458
var comp =
CreateCompilation
(source);
39641
var comp =
CreateCompilation
(source);
39704
var comp =
CreateCompilation
(source);
39741
var comp =
CreateCompilation
(source);
39770
var comp =
CreateCompilation
(source);
39833
var comp =
CreateCompilation
(sourceB, references: [refA]);
39927
var comp =
CreateCompilation
([sourceA, sourceB]);
39999
var comp =
CreateCompilation
(source);
40033
var comp =
CreateCompilation
(source);
40070
var comp =
CreateCompilation
(source);
40101
var comp =
CreateCompilation
(sourceA);
40119
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
40155
var comp =
CreateCompilation
(sourceA);
40179
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
40236
var comp =
CreateCompilation
([sourceB2, sourceA]);
40295
var comp =
CreateCompilation
(sourceB, references: [refA]);
40420
var comp =
CreateCompilation
(sourceB, references: [refA]);
40453
var comp =
CreateCompilation
(source);
40522
var comp =
CreateCompilation
(source);
40696
var comp =
CreateCompilation
(sourceA);
40714
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
40798
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
40879
var comp =
CreateCompilation
(sourceB, references: [refA]);
40913
var comp =
CreateCompilation
(source);
40957
var comp =
CreateCompilation
(source);
41011
var comp =
CreateCompilation
([sourceA, sourceB2]);
41088
CreateCompilation
([sourceA, sourceB1, s_collectionExtensions]).VerifyDiagnostics(
41126
var comp =
CreateCompilation
([sourceA, sourceB]);
41166
var comp =
CreateCompilation
([sourceA, sourceB]);
41276
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions]);
41319
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions]);
41365
var comp =
CreateCompilation
([sourceA, sourceB2]);
41394
var comp =
CreateCompilation
(source);
41423
var comp =
CreateCompilation
(source);
41471
var comp =
CreateCompilation
([sourceA, sourceB2]);
41504
var comp =
CreateCompilation
(source);
41552
var comp =
CreateCompilation
([sourceA, sourceB2]);
41615
var comp =
CreateCompilation
([sourceA, sourceB1]);
41673
var comp =
CreateCompilation
([sourceA, sourceB1]);
41810
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions], options: TestOptions.UnsafeReleaseExe);
41858
var comp =
CreateCompilation
([sourceA, sourceB1, s_collectionExtensions], options: TestOptions.UnsafeReleaseExe);
41986
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
42000
comp =
CreateCompilation
(sourceB, references: [refA]);
42022
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refB]);
42047
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
42061
comp =
CreateCompilation
(sourceB, references: [refA]);
42079
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refB]);
42118
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
42174
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
42221
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
42273
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
42398
var compilation =
CreateCompilation
([s_collectionExtensions, singleElement, source]);
42472
var comp =
CreateCompilation
([source, s_collectionExtensions]);
42488
var comp =
CreateCompilation
([source, s_collectionExtensions]);
42507
var comp =
CreateCompilation
([source, s_collectionExtensions]);
42524
var comp =
CreateCompilation
(source);
42541
var comp =
CreateCompilation
([source, s_collectionExtensions]);
42793
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
42806
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
42822
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
42873
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
42886
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
42902
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
42928
var myCollection_v0 =
CreateCompilation
(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
42940
var builder =
CreateCompilation
(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
42955
var myCollection =
CreateCompilation
(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
42973
var comp =
CreateCompilation
(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
42980
comp =
CreateCompilation
(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
42999
var comp =
CreateCompilation
(source);
43032
var comp =
CreateCompilation
(source);
43063
var comp =
CreateCompilation
(source);
43094
var comp =
CreateCompilation
(source);
43128
var comp =
CreateCompilation
(source);
43163
var comp =
CreateCompilation
(source);
43193
var comp =
CreateCompilation
(source);
43215
var comp =
CreateCompilation
(source);
43238
var comp =
CreateCompilation
(source);
43265
var comp =
CreateCompilation
(source);
43309
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
43338
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
43367
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
43396
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
43434
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43489
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43497
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43546
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43601
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43609
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43626
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43760
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
43852
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
Semantics\ExperimentalAttributeTests.cs (213)
56
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
57
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
85
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
105
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
131
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
146
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
156
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
171
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
196
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
213
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
232
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
238
var moduleComp =
CreateCompilation
(libSrc1, options: TestOptions.DebugModule, references: new[] { attrRef });
251
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef, moduleRef });
262
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
268
var moduleComp =
CreateCompilation
(libSrc1, options: TestOptions.DebugModule, references: new[] { attrRef });
281
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef, moduleRef }).EmitToImageReference(), attrRef });
318
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
348
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
374
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
388
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
403
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
413
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
428
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
453
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
470
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
481
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
498
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
523
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
535
var moduleComp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseModule, references: new[] { attrRef });
548
var assemblyComp =
CreateCompilation
(libSrc2, references: new[] { moduleRef, attrRef });
559
var comp =
CreateCompilation
(src, references: new[] { assemblyRef, moduleRef, attrRef });
572
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
590
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
605
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
623
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
645
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
665
var comp =
CreateCompilation
(new[] { src, libSrc }, references: new[] { attrRef });
673
var attrComp =
CreateCompilation
(experimentalAttributeSrc);
693
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { attrRef }).EmitToImageReference(), attrRef });
733
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
734
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
780
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
781
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
805
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
824
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
856
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
857
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
881
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
882
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
890
var missingRef =
CreateCompilation
("public class Base { }", assemblyName: "missing").EmitToImageReference();
903
var comp =
CreateCompilation
(src, references: new[] {
CreateCompilation
(libSrc, references: new[] { missingRef }).EmitToImageReference() });
920
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
935
var derivedComp =
CreateCompilation
(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
938
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
957
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
970
var derivedComp =
CreateCompilation
(derivedSrc, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
973
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
985
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
1000
var derivedComp =
CreateCompilation
(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
1003
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
1022
var attrRef =
CreateCompilation
(experimentalAttributeSrc).EmitToImageReference();
1035
var derivedComp =
CreateCompilation
(@base, new[] { originalC.ToMetadataReference(), attrRef }, targetFramework: TargetFramework.Standard);
1038
var comp =
CreateCompilation
("_ = new Derived();", new[] { derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
1063
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1064
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1092
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1093
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1123
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1124
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1154
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1155
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1185
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1186
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1216
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1217
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1247
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1248
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1274
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1275
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1298
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1299
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1324
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1325
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1347
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1348
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1367
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
1368
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
1387
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
1410
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1431
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1452
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1475
var comp =
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc });
1501
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1525
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1552
var comp =
CreateCompilation
(new CSharpTestSource[] { (src, "0.cs"), libSrc, experimentalAttributeSrc });
1578
var comp =
CreateCompilation
(new CSharpTestSource[] { (src, "0.cs"), experimentalAttributeSrc });
1599
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1622
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
1710
var comp =
CreateCompilation
(src);
1740
var libComp =
CreateCompilation
(libSrc);
1746
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1774
var comp =
CreateCompilation
(src);
1800
var libComp =
CreateCompilation
(libSrc);
1806
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1841
var libComp =
CreateCompilation
(libSrc);
1847
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1886
var comp =
CreateCompilation
([src, libSrc]);
1921
var libComp =
CreateCompilation
(libSrc);
1927
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
1962
var libComp =
CreateCompilation
(libSrc);
1968
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
2007
var comp =
CreateCompilation
([src, libSrc]);
2042
var libComp =
CreateCompilation
(libSrc);
2048
var comp =
CreateCompilation
(src, references: new[] { libComp.EmitToImageReference() });
2087
var comp =
CreateCompilation
([src, libSrc]);
2113
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2137
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2139
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2165
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2189
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2191
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2217
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2241
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2243
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2269
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2293
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2295
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2321
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2350
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2351
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2381
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2382
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2409
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2433
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2435
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2460
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2483
var comp1 =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2485
var comp =
CreateCompilation
("C.M();", references: [comp1.EmitToImageReference()]);
2513
var comp =
CreateCompilation
(new[] { src, experimentalAttributeSrc });
2538
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2539
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2568
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2569
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2602
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2603
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2632
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2633
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2665
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2666
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2695
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2696
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2725
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2726
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2752
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2753
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2783
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2784
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2826
?
CreateCompilation
(libsSrc.Append(src).ToArray())
2827
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(libsSrc).EmitToImageReference() });
2896
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2897
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2925
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2926
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2955
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2956
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
2985
?
CreateCompilation
(new[] { src, libSrc, experimentalAttributeSrc })
2986
:
CreateCompilation
(src, references: new[] {
CreateCompilation
(new[] { libSrc, experimentalAttributeSrc }).EmitToImageReference() });
Semantics\ExpressionOptionalAndNamedArgumentsTests.cs (53)
91
var comp =
CreateCompilation
(sourceA);
108
comp =
CreateCompilation
(
155
var comp =
CreateCompilation
(sourceA);
194
var comp =
CreateCompilation
(sourceA);
250
var comp =
CreateCompilation
(sourceA);
263
comp =
CreateCompilation
(
301
var comp =
CreateCompilation
(sourceA);
314
comp =
CreateCompilation
(
353
var comp =
CreateCompilation
(sourceA);
366
comp =
CreateCompilation
(
405
var comp =
CreateCompilation
(sourceA);
419
comp =
CreateCompilation
(
452
var comp =
CreateCompilation
(sourceA);
467
comp =
CreateCompilation
(
531
var comp =
CreateCompilation
(
579
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
614
var comp =
CreateCompilation
(sourceA);
652
var comp =
CreateCompilation
(sourceA);
690
var comp =
CreateCompilation
(sourceA);
702
comp =
CreateCompilation
(
729
var comp =
CreateCompilation
(sourceA);
742
comp =
CreateCompilation
(
786
var comp =
CreateCompilation
(sourceA);
822
var comp =
CreateCompilation
(sourceA);
836
comp =
CreateCompilation
(
875
comp =
CreateCompilation
(
914
comp =
CreateCompilation
(
941
var comp =
CreateCompilation
(sourceA);
959
comp =
CreateCompilation
(
1020
comp =
CreateCompilation
(
1102
var comp =
CreateCompilation
(sourceA);
1119
comp =
CreateCompilation
(
1170
comp =
CreateCompilation
(
1211
comp =
CreateCompilation
(
1244
var comp =
CreateCompilation
(sourceA);
1267
comp =
CreateCompilation
(
1349
comp =
CreateCompilation
(
1437
comp =
CreateCompilation
(
1474
var comp =
CreateCompilation
(sourceA);
1487
comp =
CreateCompilation
(
1523
comp =
CreateCompilation
(
1571
comp =
CreateCompilation
(
1619
comp =
CreateCompilation
(
1648
var comp =
CreateCompilation
(sourceA);
1665
comp =
CreateCompilation
(
1705
comp =
CreateCompilation
(
1747
var comp =
CreateCompilation
(sourceA);
1764
comp =
CreateCompilation
(
1806
comp =
CreateCompilation
(
1852
var comp =
CreateCompilation
(sourceA);
1868
comp =
CreateCompilation
(
1909
comp =
CreateCompilation
(
1962
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
Semantics\ExtensionOperatorsTests.cs (622)
55
var comp =
CreateCompilation
(src);
139
var comp =
CreateCompilation
(src);
235
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
372
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
441
var comp =
CreateCompilation
(src);
480
var comp =
CreateCompilation
(src);
514
var comp =
CreateCompilation
(src);
556
var comp =
CreateCompilation
(src);
584
var comp =
CreateCompilation
(src);
633
var comp =
CreateCompilation
(src);
680
var comp1 =
CreateCompilation
(src1);
683
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
699
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
702
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
720
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
723
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
726
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
740
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
782
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
830
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
901
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
958
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1024
var comp =
CreateCompilation
(src);
1087
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1090
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1093
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1140
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1177
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1220
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1270
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1377
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1413
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1482
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
1519
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1539
var comp1 =
CreateCompilation
(src1);
1579
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
1623
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1626
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1629
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1681
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1733
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1795
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1855
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1911
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1952
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1989
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2023
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2065
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2120
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2170
var comp1 =
CreateCompilation
(src1);
2173
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2189
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2192
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2212
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
2215
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2218
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2232
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
2276
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2314
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2376
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2424
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2479
var comp =
CreateCompilation
(src);
2519
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2563
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2612
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2658
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2697
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2744
var comp1 =
CreateCompilation
(src1);
2747
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2750
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2753
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2806
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2864
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2913
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2948
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3001
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3081
CreateCompilation
(source).VerifyDiagnostics(
3143
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
3194
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3233
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3273
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3331
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3394
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3434
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3484
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3542
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3583
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3612
var comp =
CreateCompilation
(src);
3893
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3935
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3975
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4018
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4068
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4119
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4179
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4210
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4253
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4492
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4573
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4608
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4676
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4701
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4752
var comp1 =
CreateCompilation
(src1);
4755
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4771
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4774
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4795
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4798
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4801
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4815
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
4870
var comp1 =
CreateCompilation
(src1);
4873
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4889
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4892
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4914
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4917
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4920
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4934
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
4989
var comp5 =
CreateCompilation
(src5);
4992
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
4995
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4998
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
5045
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5099
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5147
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5195
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5244
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5292
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5341
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5392
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5447
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5503
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5561
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5633
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5704
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5775
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5833
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5896
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5961
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
6029
var comp =
CreateCompilation
(src);
6098
var comp =
CreateCompilation
(src);
6172
var comp =
CreateCompilation
(src);
6271
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
6274
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
6277
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
6335
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6379
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6416
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6457
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6506
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6556
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6602
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6637
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6677
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6737
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6770
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6812
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6840
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
6887
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6921
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7113
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7147
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7181
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7250
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7312
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7349
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7386
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7430
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
7433
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7436
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7485
var comp1 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
7488
var comp2 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7491
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7543
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7587
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7639
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7708
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7783
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7827
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7887
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7945
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7987
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8031
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8061
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8103
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
8141
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8185
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8223
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8278
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8322
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8369
var comp1 =
CreateCompilation
(src1);
8372
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8388
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8391
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8440
var comp1 =
CreateCompilation
(src1);
8443
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8459
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8462
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8479
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
8523
var comp4 =
CreateCompilation
(src4);
8526
var comp5 =
CreateCompilation
(src5, references: [comp4Ref], options: TestOptions.DebugExe);
8539
var comp6 =
CreateCompilation
(src6, references: [comp4Ref], options: TestOptions.DebugExe);
8577
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8615
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8651
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8683
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8711
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8742
CreateCompilation
(source).VerifyDiagnostics();
8769
CreateCompilation
(source).VerifyDiagnostics();
8800
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8832
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8868
CreateCompilation
(source).VerifyDiagnostics();
8904
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8946
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8994
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9053
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9106
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9161
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9211
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9251
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9305
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9364
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9422
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9461
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9510
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9566
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9610
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9652
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9686
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9745
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9794
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9842
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9872
var comp =
CreateCompilation
(src);
10168
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10210
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10252
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10296
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10338
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10380
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
10410
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
10456
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10524
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10617
var comp =
CreateCompilation
(src);
10714
var comp =
CreateCompilation
(src);
10855
var comp =
CreateCompilation
(src);
11023
var comp =
CreateCompilation
(src);
11191
var comp =
CreateCompilation
(src);
11266
var comp =
CreateCompilation
(src);
11315
var comp =
CreateCompilation
(src);
11373
var comp =
CreateCompilation
(src);
11413
var comp =
CreateCompilation
(src);
11474
var comp =
CreateCompilation
(src);
11541
var comp1 =
CreateCompilation
(src1);
11544
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
11560
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11563
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11581
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
11584
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11587
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11601
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
11643
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11691
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11762
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11819
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
11885
var comp =
CreateCompilation
(src);
11945
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11986
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
11989
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11992
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12048
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
12051
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12054
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12122
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12168
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12249
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12307
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12347
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12384
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12430
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12480
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
12524
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12568
var comp3 =
CreateCompilation
(src3, options: TestOptions.DebugExe);
12621
var comp4 =
CreateCompilation
(src4, options: TestOptions.DebugExe);
12679
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12735
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12842
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12892
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12921
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12990
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
13027
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13047
var comp1 =
CreateCompilation
(src1);
13087
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
13131
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13134
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13137
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13189
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13241
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13303
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13363
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13419
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13463
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13510
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
13549
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13594
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13642
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13697
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13783
var comp1 =
CreateCompilation
(src1);
13786
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
13802
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13805
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13856
var comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13859
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugDll);
13861
comp =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
13864
comp =
CreateCompilation
(src2, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
13903
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13973
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
13980
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14055
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14062
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14112
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14175
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14223
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14279
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14289
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14348
var comp1 =
CreateCompilation
(src1);
14349
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14404
var comp1 =
CreateCompilation
(src1);
14405
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14453
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14495
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14551
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14600
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14660
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14709
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14753
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14797
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
14838
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14875
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14925
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14980
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15021
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15095
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15158
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15222
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15281
var comp =
CreateCompilation
(src);
15350
var comp =
CreateCompilation
(src);
15393
var comp =
CreateCompilation
(src);
15495
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
15498
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
15501
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
15617
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15664
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15696
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15739
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15795
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15833
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15881
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15920
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15966
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16027
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16082
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16133
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16203
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16259
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16293
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16331
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16378
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16428
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16512
CreateCompilation
(source).VerifyDiagnostics(
16575
CreateCompilation
(source).VerifyDiagnostics(
16617
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16659
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16700
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
16732
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16796
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16866
CreateCompilation
(source).VerifyDiagnostics(
16921
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16979
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17036
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
17075
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17147
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17189
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17231
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17283
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17323
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17374
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17433
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17488
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17543
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17584
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17638
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17708
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17756
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17802
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17873
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17941
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18011
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18067
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18116
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18174
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18235
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18298
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18344
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18391
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18432
var comp =
CreateCompilation
(src);
18774
var comp1 =
CreateCompilation
(src1);
18777
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18780
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18783
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18815
var comp3 =
CreateCompilation
(src3);
18818
var comp4 =
CreateCompilation
(src2, references: [comp3Ref], options: TestOptions.DebugExe);
18886
var comp1 =
CreateCompilation
(src1);
18889
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18905
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18908
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18927
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
18930
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18933
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18949
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19013
var comp1 =
CreateCompilation
(src1);
19016
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
19032
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19035
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19054
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
19057
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19060
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19076
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19120
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19180
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19241
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19280
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19323
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19366
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19411
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19458
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19518
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19557
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19605
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19647
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19691
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19733
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19758
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19797
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19852
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20085
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20166
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20201
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20247
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20307
var comp1 =
CreateCompilation
(src1);
20310
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20326
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20329
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20350
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20353
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20356
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20370
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20434
var comp1 =
CreateCompilation
(src1);
20437
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20453
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20456
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20477
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20480
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20483
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20497
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20561
var comp5 =
CreateCompilation
(src5);
20564
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
20567
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20570
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20617
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20671
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20719
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20767
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20816
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20864
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20913
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20964
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21019
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21075
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21133
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21205
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21276
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21347
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21405
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21468
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21533
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21601
var comp =
CreateCompilation
(src);
21670
var comp =
CreateCompilation
(src);
21744
var comp =
CreateCompilation
(src);
21807
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
21810
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
21813
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
21858
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21903
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21941
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21978
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22075
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22131
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22171
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22208
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22247
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22299
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22352
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
22396
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
22446
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22498
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22533
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22573
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22635
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22669
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22711
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22739
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
22786
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22820
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22927
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23012
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23046
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23080
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23149
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23211
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23248
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23285
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23305
var comp1 =
CreateCompilation
(src1);
23345
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23365
var comp1 =
CreateCompilation
(src1);
23405
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23426
var comp1 =
CreateCompilation
(src1);
23466
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23510
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23513
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23516
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23567
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23570
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23573
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23625
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23669
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23721
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23790
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
23865
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23909
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23968
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24026
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24056
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24086
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24139
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
24172
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24205
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24256
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24306
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24343
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24398
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24442
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24476
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24514
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24550
CreateCompilation
(source).VerifyDiagnostics(
24602
CreateCompilation
(source).VerifyDiagnostics(
24655
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24704
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
24736
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24773
CreateCompilation
(source).VerifyDiagnostics();
24806
CreateCompilation
(source).VerifyDiagnostics(
24855
CreateCompilation
(source).VerifyDiagnostics(
24904
CreateCompilation
(source).VerifyDiagnostics(
24941
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
24971
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25001
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25039
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25147
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25203
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25234
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25278
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25316
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25353
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25376
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25400
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25428
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25458
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25482
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25511
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25555
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25623
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25695
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25737
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25781
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25836
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25887
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25950
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25995
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26053
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26108
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26147
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26196
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26252
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26296
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26338
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26371
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26426
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26472
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26523
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26556
var comp =
CreateCompilation
(src);
26861
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26906
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26951
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26995
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27024
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27062
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27094
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27128
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27157
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27182
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
27219
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27247
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27282
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27337
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27386
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27441
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27484
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27494
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27527
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27534
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27567
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27574
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
Semantics\ExtensionTests.cs (1415)
130
var comp =
CreateCompilation
(src);
209
var comp5 =
CreateCompilation
(src);
228
var comp =
CreateCompilation
(src);
316
var comp =
CreateCompilation
(src);
385
var comp =
CreateCompilation
(src);
412
var comp =
CreateCompilation
(src);
439
var comp =
CreateCompilation
(src);
469
var comp =
CreateCompilation
(src);
498
var comp =
CreateCompilation
(src);
532
var comp =
CreateCompilation
(src);
556
var comp =
CreateCompilation
(src);
583
var comp =
CreateCompilation
(src);
599
var comp =
CreateCompilation
(src);
658
var comp =
CreateCompilation
(src);
686
var comp =
CreateCompilation
(src);
724
var comp =
CreateCompilation
(src);
771
var comp =
CreateCompilation
(src);
807
var comp =
CreateCompilation
(src);
831
var comp =
CreateCompilation
(src);
857
var comp =
CreateCompilation
(src);
923
var comp =
CreateCompilation
([src1, src2]);
957
var comp =
CreateCompilation
(src);
984
var comp =
CreateCompilation
(src);
1015
var comp =
CreateCompilation
(src);
1036
var comp =
CreateCompilation
(src);
1057
var comp =
CreateCompilation
(src);
1078
var comp =
CreateCompilation
(src);
1099
var comp =
CreateCompilation
(src);
1120
var comp =
CreateCompilation
(src);
1159
var comp =
CreateCompilation
(src);
1333
var comp =
CreateCompilation
(src);
1510
var comp =
CreateCompilation
(src);
1663
var comp =
CreateCompilation
(src);
1690
var comp =
CreateCompilation
(src);
1725
var comp =
CreateCompilation
(src);
1753
var comp =
CreateCompilation
(src);
1792
var comp =
CreateCompilation
(src);
1816
var comp =
CreateCompilation
(src);
1909
var comp =
CreateCompilation
(src);
1936
var comp =
CreateCompilation
(src);
2028
var comp =
CreateCompilation
(src);
2051
var comp =
CreateCompilation
(src);
2074
var comp =
CreateCompilation
(src);
2208
var comp =
CreateCompilation
(src);
2246
var comp =
CreateCompilation
(src);
2265
var comp =
CreateCompilation
(src);
2390
var comp =
CreateCompilation
(src);
2424
var comp =
CreateCompilation
(src);
2444
var comp5 =
CreateCompilation
(src);
2468
var comp =
CreateCompilation
(src);
2495
var comp =
CreateCompilation
(src);
2527
var comp =
CreateCompilation
(src);
2556
var comp =
CreateCompilation
(src);
2581
var comp =
CreateCompilation
(src);
2612
var comp =
CreateCompilation
(src);
2640
var comp =
CreateCompilation
(src);
2672
var comp =
CreateCompilation
(src);
2705
var comp =
CreateCompilation
(src);
2732
var comp =
CreateCompilation
(src);
2749
var comp =
CreateCompilation
(src);
2765
var comp =
CreateCompilation
(src);
2785
var comp =
CreateCompilation
(src);
2813
var comp =
CreateCompilation
(src);
2833
var comp =
CreateCompilation
(src);
2855
var comp =
CreateCompilation
(src);
2878
var comp =
CreateCompilation
(src);
2916
var comp =
CreateCompilation
(src);
2932
var comp =
CreateCompilation
(src);
2953
var comp =
CreateCompilation
(src);
2979
var comp =
CreateCompilation
(src);
3009
var comp =
CreateCompilation
(src);
3031
var comp =
CreateCompilation
(src);
3052
var comp =
CreateCompilation
(src);
3077
var comp =
CreateCompilation
(src);
3100
var comp =
CreateCompilation
(src);
3126
var comp =
CreateCompilation
(src);
3145
var comp =
CreateCompilation
(src);
3162
var comp =
CreateCompilation
(src);
3182
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3207
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3237
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3265
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3286
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3302
var comp =
CreateCompilation
(src);
3321
var comp =
CreateCompilation
(src);
3345
var comp =
CreateCompilation
(src);
3361
var comp =
CreateCompilation
(src);
3383
var comp =
CreateCompilation
(src);
3405
var comp =
CreateCompilation
(src);
3427
var comp =
CreateCompilation
(src);
3446
var comp =
CreateCompilation
(src);
3462
var comp =
CreateCompilation
(src);
3478
var comp =
CreateCompilation
(src);
3498
var comp =
CreateCompilation
(src);
3522
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3538
var comp =
CreateCompilation
(src);
3554
var comp =
CreateCompilation
(src);
3571
var comp =
CreateCompilation
(src);
3595
var comp =
CreateCompilation
(src);
3611
var comp =
CreateCompilation
(src);
3627
var comp =
CreateCompilation
(src);
3653
var comp =
CreateCompilation
(src);
3666
var comp =
CreateCompilation
(src);
3687
var comp =
CreateCompilation
(src);
3720
var comp =
CreateCompilation
(src);
3736
var comp =
CreateCompilation
(src);
3759
var comp =
CreateCompilation
(src);
3793
var comp =
CreateCompilation
(src);
3810
var comp =
CreateCompilation
(src);
3823
var comp =
CreateCompilation
(src);
3842
var comp =
CreateCompilation
(src);
3871
var comp =
CreateCompilation
(src);
3891
var comp =
CreateCompilation
(src);
3914
var comp =
CreateCompilation
(src);
3938
var comp =
CreateCompilation
(src);
3965
var comp =
CreateCompilation
(src);
3984
var comp =
CreateCompilation
(src);
3997
var comp =
CreateCompilation
(src);
4013
var comp =
CreateCompilation
(src);
4028
var comp =
CreateCompilation
(src);
4054
var comp =
CreateCompilation
(src);
4070
var comp =
CreateCompilation
(src);
4083
var comp =
CreateCompilation
(src);
4105
var comp =
CreateCompilation
(src);
4134
comp =
CreateCompilation
(src);
4153
var comp =
CreateCompilation
(src);
4169
var comp =
CreateCompilation
(src);
4186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4199
var comp =
CreateCompilation
(src);
4216
var comp =
CreateCompilation
(src);
4230
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4246
var comp =
CreateCompilation
(src);
4274
var comp =
CreateCompilation
(src);
4301
var comp =
CreateCompilation
(src);
4324
var comp =
CreateCompilation
(src);
4348
var comp =
CreateCompilation
(src);
4381
var comp =
CreateCompilation
(src);
4415
var comp =
CreateCompilation
(src);
4452
var comp =
CreateCompilation
(src);
4531
var comp =
CreateCompilation
(src);
4579
var comp =
CreateCompilation
(src);
4617
var comp =
CreateCompilation
(src);
4654
var comp =
CreateCompilation
(src);
4688
var comp =
CreateCompilation
(src);
4721
var comp =
CreateCompilation
(src);
4753
var comp =
CreateCompilation
(src);
4780
var comp =
CreateCompilation
(src);
4806
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4828
var comp =
CreateCompilation
(src);
4867
var comp =
CreateCompilation
(src);
4911
var comp =
CreateCompilation
(src);
4957
var comp =
CreateCompilation
(src);
5003
var comp =
CreateCompilation
(src);
5048
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5095
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5115
var comp =
CreateCompilation
(src);
5215
var comp1 =
CreateCompilation
(src1);
5243
comp1 =
CreateCompilation
(src1);
5247
comp1 =
CreateCompilation
(src1);
5355
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5390
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5441
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5447
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5499
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5540
comp4 =
CreateCompilation
(src4, references: [comp1ImageReference], options: TestOptions.DebugExe);
5547
var comp5 =
CreateCompilation
(src1);
5565
var comp1 =
CreateCompilation
(src1);
5580
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5595
var comp1 =
CreateCompilation
(src1);
5609
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5631
var comp1 =
CreateCompilation
(src1);
5770
var comp2 =
CreateCompilation
(src2);
5802
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
5805
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
5825
var comp1 =
CreateCompilation
(src1);
5969
var comp2 =
CreateCompilation
(src2);
6001
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6004
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6023
var comp1 =
CreateCompilation
(src1);
6352
var comp2 =
CreateCompilation
(src2);
6381
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6415
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6438
var comp1 =
CreateCompilation
(src1);
6686
var comp2 =
CreateCompilation
(src2);
6718
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6721
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6745
var comp1 =
CreateCompilation
(src1);
6864
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
6901
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
6934
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
6977
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
7011
var comp1 =
CreateCompilation
(src1);
7228
var comp2 =
CreateCompilation
(src2);
7268
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7271
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7300
var comp1 =
CreateCompilation
(src1);
7502
var comp2 =
CreateCompilation
(src2);
7542
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7545
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7569
var comp1 =
CreateCompilation
(src1);
7915
var comp2 =
CreateCompilation
(src2);
7944
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7947
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7972
var comp1 =
CreateCompilation
(src1);
8232
var comp2 =
CreateCompilation
(src2);
8264
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
8267
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
8286
var comp1 =
CreateCompilation
(src1);
8415
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8451
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8503
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8509
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8560
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8610
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8644
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8650
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8684
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8730
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8764
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8770
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8777
var comp5 =
CreateCompilation
(src1);
8802
var comp1 =
CreateCompilation
(src1);
8939
var comp2 =
CreateCompilation
(src2);
9191
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9194
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9214
var comp1 =
CreateCompilation
(src1);
9356
var comp2 =
CreateCompilation
(src2);
9388
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9391
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9410
var comp1 =
CreateCompilation
(src1);
9737
var comp2 =
CreateCompilation
(src2);
9766
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9769
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9789
var comp1 =
CreateCompilation
(src1);
10035
var comp2 =
CreateCompilation
(src2);
10067
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10070
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
10086
var comp1 =
CreateCompilation
(src1);
10202
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10235
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10284
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10294
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10328
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10334
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10373
var comp5 =
CreateCompilation
(src1);
10394
var comp1 =
CreateCompilation
(src1);
10507
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10538
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10587
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10593
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10614
var comp5 =
CreateCompilation
(src1);
10635
var comp1 =
CreateCompilation
(src1);
10737
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10769
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
10803
var comp =
CreateCompilation
(src);
10936
var comp2 =
CreateCompilation
(src2);
10968
var comp =
CreateCompilation
(src);
11101
var comp2 =
CreateCompilation
(src2);
11129
var comp =
CreateCompilation
(src);
11259
var comp2 =
CreateCompilation
(src2);
11283
var comp =
CreateCompilation
(src);
11415
var comp2 =
CreateCompilation
(src2);
11439
var comp =
CreateCompilation
(src);
11571
var comp2 =
CreateCompilation
(src2);
11602
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
11786
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
11809
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
11963
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
11986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
12133
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12151
var comp =
CreateCompilation
(src);
12174
var comp =
CreateCompilation
(src);
12200
comp =
CreateCompilation
(src);
12239
var comp =
CreateCompilation
(src);
12264
comp =
CreateCompilation
(src);
12292
var comp =
CreateCompilation
(src);
12321
var comp =
CreateCompilation
(src);
12360
var comp =
CreateCompilation
(src);
12381
var comp1 =
CreateCompilation
(lib1_cs, assemblyName: "missing");
12385
var comp2 =
CreateCompilation
(lib2_cs, [comp1.EmitToImageReference()]);
12402
var comp =
CreateCompilation
(src, [comp2.EmitToImageReference()]);
12417
var comp =
CreateCompilation
(text);
12435
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
12500
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12558
var comp =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12585
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12625
var comp =
CreateCompilation
([src, eSrc], options: TestOptions.DebugExe);
12655
comp =
CreateCompilation
([src, eSrc]);
12691
var comp =
CreateCompilation
(src);
12731
var comp =
CreateCompilation
(src);
12787
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12837
var comp =
CreateCompilation
(src);
12876
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12907
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12939
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12975
var comp =
CreateCompilation
(src);
13010
var comp =
CreateCompilation
(src);
13046
var comp =
CreateCompilation
(src);
13088
var comp =
CreateCompilation
(src);
13116
var comp =
CreateCompilation
(src);
13148
var comp =
CreateCompilation
(src);
13176
var comp =
CreateCompilation
(src);
13208
var comp =
CreateCompilation
(src);
13237
var comp =
CreateCompilation
(src);
13271
var comp =
CreateCompilation
(src);
13305
var comp =
CreateCompilation
(src);
13335
var comp =
CreateCompilation
(source);
13363
var comp =
CreateCompilation
(source);
13394
var comp =
CreateCompilation
(source);
13421
var comp =
CreateCompilation
(src);
13455
var comp =
CreateCompilation
(src);
13485
var comp =
CreateCompilation
(src);
13512
var comp =
CreateCompilation
(src);
13542
var comp =
CreateCompilation
(src);
13568
comp =
CreateCompilation
(src);
13593
var comp =
CreateCompilation
(src);
13618
var comp =
CreateCompilation
(src);
13637
var comp =
CreateCompilation
(src);
13663
var comp =
CreateCompilation
(src);
13688
var comp =
CreateCompilation
(src);
13720
var comp =
CreateCompilation
(src);
13749
var comp =
CreateCompilation
(src);
13780
var comp =
CreateCompilation
(src);
13812
var comp =
CreateCompilation
(src);
13850
var comp =
CreateCompilation
(src);
13895
var comp =
CreateCompilation
(src);
13935
var comp =
CreateCompilation
(src);
13962
var comp =
CreateCompilation
(src);
13994
var comp =
CreateCompilation
(src);
14022
var comp =
CreateCompilation
(src);
14051
var comp =
CreateCompilation
(src);
14093
var comp =
CreateCompilation
(src);
14123
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14150
var comp =
CreateCompilation
([source, ExpressionTestLibrary]);
14194
var comp =
CreateCompilation
(source);
14228
var comp =
CreateCompilation
(source);
14261
var comp =
CreateCompilation
(source);
14304
var comp =
CreateCompilation
(source);
14338
var comp =
CreateCompilation
(source);
14373
var comp =
CreateCompilation
(source);
14412
var comp =
CreateCompilation
(source);
14438
var comp =
CreateCompilation
(source);
14461
var comp =
CreateCompilation
(source);
14490
var comp =
CreateCompilation
(source);
14525
var comp =
CreateCompilation
(source);
14551
comp =
CreateCompilation
(source);
14575
var comp =
CreateCompilation
(source);
14602
var comp =
CreateCompilation
(source);
14633
var comp =
CreateCompilation
(source);
14667
var comp =
CreateCompilation
(source);
14694
var comp =
CreateCompilation
(source);
14716
comp =
CreateCompilation
(source);
14740
var comp =
CreateCompilation
(source);
14769
var comp =
CreateCompilation
(src);
14819
var comp =
CreateCompilation
(source);
14848
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
14890
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
14930
var comp =
CreateCompilation
(src);
14968
var comp =
CreateCompilation
(src);
14998
var comp =
CreateCompilation
(src);
15034
var comp =
CreateCompilation
(src);
15069
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15102
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15147
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15174
var comp =
CreateCompilation
(src);
15202
var comp =
CreateCompilation
(src);
15229
var comp =
CreateCompilation
(src);
15253
var comp =
CreateCompilation
(src);
15291
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15318
var comp =
CreateCompilation
(src);
15360
var comp =
CreateCompilation
(src);
15445
var comp =
CreateCompilation
(src);
15487
var comp =
CreateCompilation
(src);
15523
var comp =
CreateCompilation
(src);
15552
comp =
CreateCompilation
(src);
15580
var comp =
CreateCompilation
(src);
15607
var comp =
CreateCompilation
(src);
15639
var comp =
CreateCompilation
(src);
15671
var comp =
CreateCompilation
(src);
15699
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
15721
var comp =
CreateCompilation
(src);
15749
var comp =
CreateCompilation
(src);
15771
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15781
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15786
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
15804
var comp =
CreateCompilation
(src, references: [derivedRef]);
15826
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15831
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
15847
var comp =
CreateCompilation
(src, references: [derivedRef]);
15863
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15869
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
15885
var comp =
CreateCompilation
(src, references: [derivedRef]);
15911
var comp =
CreateCompilation
(src);
15937
var comp =
CreateCompilation
(src);
15963
var comp =
CreateCompilation
(src);
15976
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15981
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
15994
var comp =
CreateCompilation
(src, references: [containerRef]);
16016
comp =
CreateCompilation
(src, references: [containerRef]);
16033
comp =
CreateCompilation
(src, references: [containerRef]);
16049
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16054
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16080
var comp =
CreateCompilation
(src, references: [containerRef]);
16100
comp =
CreateCompilation
(src, references: [containerRef]);
16130
comp =
CreateCompilation
(src, references: [containerRef]);
16159
comp =
CreateCompilation
(src, references: [containerRef]);
16169
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16174
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16187
var comp =
CreateCompilation
(src, references: [containerRef]);
16216
var comp =
CreateCompilation
(src);
16240
var comp =
CreateCompilation
(src);
16267
var comp =
CreateCompilation
(src);
16296
var comp =
CreateCompilation
(src);
16321
var comp =
CreateCompilation
(src);
16348
var comp =
CreateCompilation
(source);
16387
var comp =
CreateCompilation
(src);
16418
var comp =
CreateCompilation
(src);
16446
var comp =
CreateCompilation
(source);
16478
var comp =
CreateCompilation
(source);
16505
var comp =
CreateCompilation
(source);
16533
var comp =
CreateCompilation
(source);
16575
var comp =
CreateCompilation
(source);
16611
var comp =
CreateCompilation
(source);
16636
var comp =
CreateCompilation
(source);
16673
var comp =
CreateCompilation
(source);
16705
var comp =
CreateCompilation
(source);
16729
comp =
CreateCompilation
(source);
16754
var comp =
CreateCompilation
(source);
16781
var comp =
CreateCompilation
(source);
16806
var comp =
CreateCompilation
(source);
16830
var comp =
CreateCompilation
(source);
16855
var comp =
CreateCompilation
(source);
16878
var comp =
CreateCompilation
(source);
16903
var comp =
CreateCompilation
(source);
16935
var comp =
CreateCompilation
(source);
16965
var comp =
CreateCompilation
(source);
16992
var comp =
CreateCompilation
(source);
17019
var comp =
CreateCompilation
(source);
17049
var comp =
CreateCompilation
(source);
17069
comp =
CreateCompilation
(source);
17099
var comp =
CreateCompilation
(source);
17118
comp =
CreateCompilation
(source);
17140
var comp =
CreateCompilation
(source);
17163
var comp =
CreateCompilation
(source);
17201
var comp =
CreateCompilation
(source);
17224
var comp =
CreateCompilation
(source);
17248
var comp =
CreateCompilation
(source);
17273
var comp =
CreateCompilation
(source);
17297
var comp =
CreateCompilation
(source);
17322
var comp =
CreateCompilation
(source);
17351
var comp =
CreateCompilation
(source);
17381
var comp =
CreateCompilation
(source);
17413
var comp =
CreateCompilation
(source);
17441
var comp =
CreateCompilation
(source);
17470
var comp =
CreateCompilation
(source);
17497
var comp =
CreateCompilation
(source);
17530
var comp =
CreateCompilation
(source);
17559
var comp =
CreateCompilation
(src);
17574
comp =
CreateCompilation
(src);
17596
var comp =
CreateCompilation
(src);
17612
comp =
CreateCompilation
(src);
17640
var comp =
CreateCompilation
(source);
17675
var comp =
CreateCompilation
(source);
17702
var comp =
CreateCompilation
(source);
17738
var comp =
CreateCompilation
(source);
17777
var comp =
CreateCompilation
(source);
17819
var comp =
CreateCompilation
(source);
17847
var comp =
CreateCompilation
(source);
17875
var comp =
CreateCompilation
(src);
17903
var comp =
CreateCompilation
(src);
17931
var comp =
CreateCompilation
(src);
17959
var comp =
CreateCompilation
(src);
17993
var comp =
CreateCompilation
(src);
18026
var comp =
CreateCompilation
(source);
18064
var comp =
CreateCompilation
(src);
18097
var comp =
CreateCompilation
(src);
18127
var comp =
CreateCompilation
(src);
18155
var comp =
CreateCompilation
(src);
18187
var comp =
CreateCompilation
(src);
18219
var comp =
CreateCompilation
(src);
18243
var comp =
CreateCompilation
(src);
18277
var comp =
CreateCompilation
(src);
18306
var comp =
CreateCompilation
(src);
18333
var comp =
CreateCompilation
(src);
18374
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18412
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18451
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18489
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18530
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18574
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18618
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18660
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18699
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18738
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18770
var comp =
CreateCompilation
(source);
18805
var comp =
CreateCompilation
(source);
18855
var comp =
CreateCompilation
(source);
18887
var comp =
CreateCompilation
(source);
18923
var comp =
CreateCompilation
(source);
18971
var comp =
CreateCompilation
(source);
19003
var comp =
CreateCompilation
(source);
19041
var comp =
CreateCompilation
(source);
19072
var comp =
CreateCompilation
(source);
19111
var comp =
CreateCompilation
(source);
19161
var comp =
CreateCompilation
(source);
19203
var comp =
CreateCompilation
(source);
19236
var comp =
CreateCompilation
(source);
19263
var comp =
CreateCompilation
(source);
19293
var comp =
CreateCompilation
(source);
19320
var comp =
CreateCompilation
(source);
19347
var comp =
CreateCompilation
(source);
19373
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
19396
var comp =
CreateCompilation
(source);
19424
var comp =
CreateCompilation
(source);
19455
var comp =
CreateCompilation
(source);
19488
var comp =
CreateCompilation
(source);
19514
var comp =
CreateCompilation
(source);
19540
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
19572
var comp =
CreateCompilation
(source);
19603
var comp =
CreateCompilation
(source);
19632
var comp =
CreateCompilation
(source);
19652
var comp =
CreateCompilation
(source);
19680
var comp =
CreateCompilation
(source);
19704
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
19733
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
19756
var comp =
CreateCompilation
(src);
19782
var comp =
CreateCompilation
(src);
19807
var comp =
CreateCompilation
(src);
19836
var comp =
CreateCompilation
(src);
19868
var comp =
CreateCompilation
(src);
19893
var comp =
CreateCompilation
(src);
19920
var comp =
CreateCompilation
(src);
19945
var comp =
CreateCompilation
(src);
19973
var comp =
CreateCompilation
(src);
19991
var comp =
CreateCompilation
(src);
20012
var comp =
CreateCompilation
(src);
20033
var comp =
CreateCompilation
(src);
20054
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20078
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20104
var comp =
CreateCompilation
(src);
20142
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20187
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20232
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20280
var comp =
CreateCompilation
(source);
20317
var comp =
CreateCompilation
(source);
20365
var comp =
CreateCompilation
(source);
20413
var comp =
CreateCompilation
(source);
20460
var comp =
CreateCompilation
(source);
20510
var comp =
CreateCompilation
(source);
20564
var comp =
CreateCompilation
(source);
20618
var comp =
CreateCompilation
(source);
20672
var comp =
CreateCompilation
(source);
20723
var comp =
CreateCompilation
(source);
20771
var comp =
CreateCompilation
(source);
20811
var comp =
CreateCompilation
(source);
20851
var comp =
CreateCompilation
(source);
20891
var comp =
CreateCompilation
(source);
20934
var comp =
CreateCompilation
(source);
20974
var comp =
CreateCompilation
(source);
21017
var comp =
CreateCompilation
(source);
21051
var comp =
CreateCompilation
(source);
21087
var comp =
CreateCompilation
(source);
21108
var comp =
CreateCompilation
(src);
21129
comp =
CreateCompilation
(src);
21149
var comp =
CreateCompilation
(src);
21170
var comp =
CreateCompilation
(src);
21199
var comp =
CreateCompilation
(src);
21222
var comp =
CreateCompilation
(src);
21270
var comp =
CreateCompilation
(src);
21311
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21338
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21374
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21409
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21452
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21502
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21650
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21691
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21849
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21889
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21934
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
21936
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21938
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22035
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22079
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22081
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22083
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22180
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22277
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22355
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22402
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22404
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22406
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22451
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22498
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22500
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22502
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22575
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22658
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22771
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22868
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22982
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23094
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23164
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23214
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23268
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23322
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23376
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23433
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23513
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23587
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23589
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23591
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23663
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23665
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23667
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23695
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23749
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23926
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23990
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24037
CreateCompilation
([src, exeSource], parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24097
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24129
CreateCompilation
(src, targetFramework: TargetFramework.Net90, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
24164
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24457
var comp =
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp);
24490
var comp =
CreateCompilation
(src);
24521
var comp =
CreateCompilation
(src);
24558
var comp =
CreateCompilation
(src);
24586
var comp =
CreateCompilation
(src);
24614
var comp =
CreateCompilation
(src);
24640
var comp =
CreateCompilation
(src);
24663
var comp =
CreateCompilation
(src);
24693
var comp =
CreateCompilation
(src);
24730
var comp =
CreateCompilation
(src);
24766
var comp =
CreateCompilation
(src);
24789
var comp =
CreateCompilation
(src);
24819
var comp =
CreateCompilation
(src);
24862
var comp =
CreateCompilation
(src);
24906
var comp =
CreateCompilation
(src);
24943
var comp =
CreateCompilation
(src);
24982
var comp =
CreateCompilation
(src);
25013
var comp =
CreateCompilation
(src);
25079
var comp =
CreateCompilation
(src);
25100
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25121
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25143
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25188
var comp =
CreateCompilation
(src);
25235
var comp =
CreateCompilation
(src);
25271
var comp =
CreateCompilation
(src);
25304
var comp =
CreateCompilation
(src);
25334
var comp =
CreateCompilation
(src);
25355
comp =
CreateCompilation
(src);
25383
var comp =
CreateCompilation
(src);
25402
comp =
CreateCompilation
(src);
25433
var comp =
CreateCompilation
(src);
25465
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25492
var comp =
CreateCompilation
(src);
25520
var comp =
CreateCompilation
(src);
25546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25583
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25597
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25626
var comp =
CreateCompilation
(src);
25661
var comp =
CreateCompilation
(src);
25697
var comp =
CreateCompilation
(src);
25745
var comp =
CreateCompilation
(src);
25775
comp =
CreateCompilation
(src);
25808
var comp =
CreateCompilation
(src);
25831
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
25841
var comp =
CreateCompilation
(src, references: [libRef]);
25844
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
25847
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
25876
var comp =
CreateCompilation
(src);
25955
var comp =
CreateCompilation
(src);
25981
var comp =
CreateCompilation
(src);
26021
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(expectedDiagnostics);
26066
var comp =
CreateCompilation
(src);
26093
var comp =
CreateCompilation
(src);
26107
comp =
CreateCompilation
(src);
26139
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26168
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26195
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net90);
26230
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
26280
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26317
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26341
comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26379
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseExe);
26445
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26485
var comp =
CreateCompilation
(text);
26525
var comp =
CreateCompilation
(text);
26578
var comp =
CreateCompilation
(text);
26612
var comp =
CreateCompilation
(text);
26638
comp =
CreateCompilation
(text);
26675
var comp =
CreateCompilation
(text);
26701
comp =
CreateCompilation
(text);
26738
var comp =
CreateCompilation
(text);
26771
comp =
CreateCompilation
(text);
26808
var comp =
CreateCompilation
(text);
26834
comp =
CreateCompilation
(text);
26871
var comp =
CreateCompilation
(text);
26897
comp =
CreateCompilation
(text);
26932
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
26960
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
26985
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27001
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27025
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27056
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27075
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27108
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27144
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27169
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27198
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27218
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27242
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27260
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27283
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27314
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27333
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27358
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27377
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27402
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27430
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27449
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27470
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
27476
var comp =
CreateCompilation
(src, references: [libRef]);
27484
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
27490
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
27514
var comp =
CreateCompilation
(src);
27541
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27596
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27629
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27676
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27721
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27754
comp =
CreateCompilation
([src, spanSrc]);
27787
var comp =
CreateCompilation
(src);
27828
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27884
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27920
var comp =
CreateCompilation
(src);
27955
var comp =
CreateCompilation
(src);
27985
var comp =
CreateCompilation
(src);
28015
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
28037
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28043
var comp =
CreateCompilation
(src, references: [libRef]);
28051
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28057
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28078
var comp =
CreateCompilation
(src);
28102
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28120
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28145
var comp =
CreateCompilation
(src);
28170
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28191
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28197
var comp =
CreateCompilation
(src, references: [libRef]);
28205
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28211
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28241
var comp =
CreateCompilation
(src);
28294
var comp =
CreateCompilation
(src);
28357
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
28464
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28498
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28529
var comp =
CreateCompilation
(source);
28548
comp =
CreateCompilation
(source);
28578
var comp =
CreateCompilation
(source);
28597
comp =
CreateCompilation
(source);
28625
var comp =
CreateCompilation
(src);
28685
var comp =
CreateCompilation
(src);
28738
var comp =
CreateCompilation
(source);
28764
var comp =
CreateCompilation
(source);
28799
var comp =
CreateCompilation
(source);
28834
var comp =
CreateCompilation
(source);
28862
var comp =
CreateCompilation
(source);
28897
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
28951
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
28987
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
29022
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29054
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29080
var comp =
CreateCompilation
(src);
29114
var comp =
CreateCompilation
(src);
29144
var comp =
CreateCompilation
(src);
29172
var comp =
CreateCompilation
(src);
29200
var comp =
CreateCompilation
(src);
29230
var comp =
CreateCompilation
(src);
29260
var comp =
CreateCompilation
(src);
29284
var comp =
CreateCompilation
(src);
29313
var comp =
CreateCompilation
(src);
29342
var comp =
CreateCompilation
(src);
29370
var comp =
CreateCompilation
(src);
29397
var comp =
CreateCompilation
(src);
29426
var comp =
CreateCompilation
(src);
29462
var comp =
CreateCompilation
(src);
29493
var comp =
CreateCompilation
(src);
29522
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29543
var comp =
CreateCompilation
(source);
29581
var comp =
CreateCompilation
(source);
29624
var comp =
CreateCompilation
(source);
29732
var comp2 =
CreateCompilation
(source2, references: [comp.EmitToImageReference()]);
29744
var comp =
CreateCompilation
(src);
29777
var comp =
CreateCompilation
(src);
29816
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
29850
var comp =
CreateCompilation
(src);
29868
var comp =
CreateCompilation
(source);
29891
var comp =
CreateCompilation
(source);
29914
var comp =
CreateCompilation
(src);
29929
var comp =
CreateCompilation
(src);
29946
var comp =
CreateCompilation
(src);
29970
var comp =
CreateCompilation
(src);
30005
var comp =
CreateCompilation
(src);
30030
var comp =
CreateCompilation
(src);
30082
var comp =
CreateCompilation
(src);
30119
var comp =
CreateCompilation
(src);
30165
var comp =
CreateCompilation
(src);
30238
var comp =
CreateCompilation
(src);
30296
var comp =
CreateCompilation
(src);
30312
var comp =
CreateCompilation
(src);
30345
var comp =
CreateCompilation
(src);
30421
var comp =
CreateCompilation
(src);
30505
var comp =
CreateCompilation
(src);
30613
var comp =
CreateCompilation
(src);
30650
var comp =
CreateCompilation
(src);
30720
var comp =
CreateCompilation
(src);
30740
var comp =
CreateCompilation
(src);
30779
var comp =
CreateCompilation
(src);
30846
var comp =
CreateCompilation
(src);
30883
var comp =
CreateCompilation
(src);
30929
var comp =
CreateCompilation
(src);
31002
var comp =
CreateCompilation
(src);
31060
var comp =
CreateCompilation
(src);
31082
var comp =
CreateCompilation
(src);
31129
var comp =
CreateCompilation
(src);
31167
var comp =
CreateCompilation
(src);
31199
var comp =
CreateCompilation
(src);
31236
var comp =
CreateCompilation
(src);
31272
var comp =
CreateCompilation
(src);
31300
var comp =
CreateCompilation
(src);
31328
var comp =
CreateCompilation
(src);
31367
var comp =
CreateCompilation
(src);
31399
var comp =
CreateCompilation
(src);
31441
var comp =
CreateCompilation
(src);
31468
var comp =
CreateCompilation
(src);
31501
var comp =
CreateCompilation
(src);
31526
var comp =
CreateCompilation
(src);
31566
var comp =
CreateCompilation
(src);
31598
var comp =
CreateCompilation
(src);
31700
var comp =
CreateCompilation
(src);
31735
comp =
CreateCompilation
("""
31888
var comp =
CreateCompilation
(src);
31929
comp =
CreateCompilation
("""
31988
var comp =
CreateCompilation
(src);
32014
var comp =
CreateCompilation
(src);
32108
var comp =
CreateCompilation
(src);
32186
var comp =
CreateCompilation
(src);
32221
var comp =
CreateCompilation
(src);
32279
var comp =
CreateCompilation
(src);
32302
comp =
CreateCompilation
("""
32325
comp =
CreateCompilation
("""
32407
var comp =
CreateCompilation
(src);
32430
comp =
CreateCompilation
("""
32512
var comp =
CreateCompilation
(src);
32538
comp =
CreateCompilation
("""
32630
var comp =
CreateCompilation
(src);
32678
var comp =
CreateCompilation
(src);
32711
var comp =
CreateCompilation
(src);
32744
var comp =
CreateCompilation
(src);
32770
var comp =
CreateCompilation
(src);
32792
var comp =
CreateCompilation
(src);
32821
var comp =
CreateCompilation
(src);
32862
var comp =
CreateCompilation
(src);
32906
var comp =
CreateCompilation
(src);
32943
var comp =
CreateCompilation
(src);
32974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
33007
var comp =
CreateCompilation
(src);
33033
var comp =
CreateCompilation
(src);
33074
var comp =
CreateCompilation
(src);
33127
var comp =
CreateCompilation
(src);
33153
var comp =
CreateCompilation
(src);
33181
var comp =
CreateCompilation
(src);
33340
var comp =
CreateCompilation
(src);
33382
var comp =
CreateCompilation
(src);
33425
var comp =
CreateCompilation
(src);
33472
var comp =
CreateCompilation
(src);
33518
var comp =
CreateCompilation
(src);
33557
var comp =
CreateCompilation
(src);
33596
var comp =
CreateCompilation
(src);
33626
var comp =
CreateCompilation
(src);
33648
var comp =
CreateCompilation
(source);
33678
var comp =
CreateCompilation
(source);
33705
var comp =
CreateCompilation
(source);
33732
var comp =
CreateCompilation
(source);
33759
var comp =
CreateCompilation
(source);
33782
var comp =
CreateCompilation
(src);
33806
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
33836
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
33844
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
33845
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
33876
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
33901
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
33932
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
33960
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
33989
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34014
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34039
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34042
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34043
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34068
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34076
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34077
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
34111
var comp =
CreateCompilation
(source);
34142
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34150
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34151
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34178
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34205
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34236
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34244
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34245
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34282
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34290
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34291
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34323
var comp =
CreateCompilation
(source);
34343
var comp =
CreateCompilation
(source);
34377
var comp =
CreateCompilation
(source);
34417
var comp =
CreateCompilation
(src);
34453
var comp =
CreateCompilation
(src);
34493
var comp =
CreateCompilation
(src);
34537
var comp =
CreateCompilation
(src);
34587
var comp =
CreateCompilation
(src);
34623
var comp =
CreateCompilation
(src);
34648
var comp =
CreateCompilation
(src);
34680
var comp =
CreateCompilation
(src);
34713
var comp =
CreateCompilation
(src);
34743
var comp =
CreateCompilation
(src);
34773
var comp =
CreateCompilation
(src);
34804
var comp =
CreateCompilation
(src);
34834
var comp =
CreateCompilation
(src);
34864
var comp =
CreateCompilation
(src);
34895
var comp =
CreateCompilation
(src);
34918
var comp =
CreateCompilation
(src);
34942
var comp =
CreateCompilation
(src);
34968
var comp =
CreateCompilation
(src);
34992
var comp =
CreateCompilation
(src);
35015
var comp =
CreateCompilation
(src);
35039
var comp =
CreateCompilation
(src);
35059
var comp =
CreateCompilation
(src);
35077
var comp =
CreateCompilation
(src);
35095
var comp =
CreateCompilation
(src);
35113
var comp =
CreateCompilation
(src);
35131
var comp =
CreateCompilation
(src);
35149
var comp =
CreateCompilation
(src);
35180
var comp =
CreateCompilation
(src);
35212
var comp =
CreateCompilation
(src);
35233
var comp =
CreateCompilation
(src);
35267
var comp =
CreateCompilation
(src);
35291
var comp =
CreateCompilation
(src);
35317
var comp =
CreateCompilation
(src);
35345
var comp =
CreateCompilation
(src);
35371
var comp =
CreateCompilation
(src);
35394
var comp =
CreateCompilation
(src);
35416
var comp =
CreateCompilation
(src);
35446
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
35469
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
35490
var comp =
CreateCompilation
(source);
35510
var comp =
CreateCompilation
(source);
35535
var comp =
CreateCompilation
(source);
35565
var comp =
CreateCompilation
(source);
35602
var comp =
CreateCompilation
(source);
35637
var comp =
CreateCompilation
(source);
35670
var comp =
CreateCompilation
(source);
35707
var comp =
CreateCompilation
(source);
35734
var comp =
CreateCompilation
(source);
35770
var comp =
CreateCompilation
(source);
35800
var comp =
CreateCompilation
(source);
35841
comp =
CreateCompilation
(source);
35883
var comp =
CreateCompilation
(source);
35918
var comp =
CreateCompilation
(source);
35944
var comp =
CreateCompilation
(source);
35975
var comp =
CreateCompilation
(src);
36002
var comp =
CreateCompilation
(src);
36031
var comp =
CreateCompilation
(source);
36062
var comp =
CreateCompilation
(source);
36093
var comp =
CreateCompilation
(src);
36124
var comp =
CreateCompilation
(src);
36155
var comp =
CreateCompilation
(src);
36187
var comp =
CreateCompilation
(src);
36219
var comp =
CreateCompilation
(src);
36248
var comp =
CreateCompilation
(src);
36279
var comp =
CreateCompilation
(src);
36313
var comp =
CreateCompilation
(src);
36351
var comp =
CreateCompilation
(src);
36382
var comp =
CreateCompilation
(src);
36409
var comp =
CreateCompilation
(src);
36436
var comp =
CreateCompilation
(src);
36464
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36490
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36525
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36550
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36586
var comp =
CreateCompilation
(src);
36617
var comp =
CreateCompilation
(src);
36645
var comp =
CreateCompilation
(src);
36673
var comp =
CreateCompilation
(src);
36704
var comp =
CreateCompilation
(src);
36735
var comp =
CreateCompilation
(src);
36753
var comp =
CreateCompilation
(src);
36777
var comp =
CreateCompilation
(src);
36797
var comp =
CreateCompilation
(src);
36820
var comp =
CreateCompilation
(src);
36841
var comp =
CreateCompilation
(src);
37047
var comp =
CreateCompilation
(src);
37074
var comp =
CreateCompilation
(src);
37105
var comp =
CreateCompilation
(src);
37136
var comp =
CreateCompilation
(src);
37160
var comp =
CreateCompilation
(src);
37187
var comp =
CreateCompilation
(src);
37213
var comp =
CreateCompilation
(src);
37239
var comp =
CreateCompilation
(src);
37274
var comp =
CreateCompilation
(src);
37316
var comp =
CreateCompilation
(src);
37339
var comp =
CreateCompilation
(src);
37360
comp =
CreateCompilation
(src);
37399
var comp =
CreateCompilation
(src);
37457
var comp =
CreateCompilation
(src);
37496
var comp =
CreateCompilation
(src);
37535
var comp =
CreateCompilation
(src);
37567
var comp =
CreateCompilation
(src);
37608
var comp =
CreateCompilation
(src);
37639
var comp =
CreateCompilation
(src);
37667
var comp =
CreateCompilation
(src);
37695
var comp =
CreateCompilation
(src);
37728
var comp =
CreateCompilation
(src);
37764
var comp =
CreateCompilation
(src);
37800
var comp =
CreateCompilation
(src);
37836
var comp =
CreateCompilation
(src);
37870
var comp =
CreateCompilation
(src);
37894
var comp =
CreateCompilation
(src);
37925
var comp =
CreateCompilation
(src);
37956
var comp =
CreateCompilation
(src);
37990
var comp =
CreateCompilation
(src);
38019
var comp =
CreateCompilation
(src);
38044
var comp =
CreateCompilation
(src);
38070
var comp =
CreateCompilation
(src);
38118
var comp =
CreateCompilation
(source);
38162
var comp =
CreateCompilation
(src);
38191
var comp =
CreateCompilation
(src);
38218
var comp =
CreateCompilation
(src);
38248
var comp =
CreateCompilation
(src);
38273
var comp =
CreateCompilation
(src);
38300
var comp =
CreateCompilation
(src);
38340
var comp =
CreateCompilation
(src);
38373
var comp =
CreateCompilation
(src);
38416
var comp =
CreateCompilation
(src);
38453
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38468
var comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular13);
38471
comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular14);
38474
comp =
CreateCompilation
(srcCompat, references: [libRef]);
38484
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38500
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38516
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38520
comp =
CreateCompilation
(src, references: [libRef]);
38527
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38534
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38538
comp =
CreateCompilation
(src, references: [libRef]);
38567
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38576
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38579
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38582
comp =
CreateCompilation
(src, references: [libRef]);
38598
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38614
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38617
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38620
comp =
CreateCompilation
(src, references: [libRef]);
38638
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38659
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
38662
comp =
CreateCompilation
(src, references: [libRef], options: TestOptions.DebugExe);
38665
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14, options: TestOptions.DebugExe);
38668
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38688
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38700
var comp =
CreateCompilation
(src, references: [libRef]);
38703
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38706
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38710
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38721
comp =
CreateCompilation
(src);
38724
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
38727
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
38730
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
38753
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38772
var comp =
CreateCompilation
(src, references: [libRef]);
38775
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38778
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38784
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38807
comp =
CreateCompilation
(src);
38810
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
38813
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
38816
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
38833
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38846
var comp =
CreateCompilation
(src, references: [libRef]);
38849
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38852
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38855
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38872
comp =
CreateCompilation
(src);
38875
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
38878
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
38881
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
38898
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38911
var comp =
CreateCompilation
(src, references: [libRef]);
38914
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38917
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38921
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38938
comp =
CreateCompilation
(src);
38941
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
38944
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
38948
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
38968
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38981
var comp =
CreateCompilation
(src, references: [libRef]);
38984
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38987
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38990
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39007
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39019
var comp =
CreateCompilation
(src, references: [libRef]);
39022
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39025
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39028
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39049
var comp =
CreateCompilation
(src);
39052
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39055
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39058
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39078
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39097
var comp =
CreateCompilation
(src, references: [libRef]);
39100
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39103
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39108
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39137
var comp =
CreateCompilation
(src);
39168
var comp =
CreateCompilation
(src);
39205
var comp =
CreateCompilation
(src);
39228
var comp =
CreateCompilation
(src);
39253
var comp =
CreateCompilation
(src);
39273
var comp =
CreateCompilation
(src);
39296
var comp =
CreateCompilation
(src);
39323
var comp =
CreateCompilation
(src);
39342
var comp =
CreateCompilation
(src);
39369
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
39392
var comp =
CreateCompilation
(src);
39721
var comp =
CreateCompilation
(src);
39743
var comp =
CreateCompilation
(src);
39766
var comp =
CreateCompilation
(src);
39789
var comp =
CreateCompilation
(src);
39815
var comp =
CreateCompilation
(src);
39842
var comp =
CreateCompilation
(src);
39865
var comp =
CreateCompilation
(src);
39891
var comp =
CreateCompilation
(src);
39918
var comp =
CreateCompilation
(src);
39943
var comp =
CreateCompilation
(src);
39984
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40059
var comp =
CreateCompilation
(src);
40085
var comp =
CreateCompilation
(src);
40116
var comp =
CreateCompilation
(src);
40140
var comp =
CreateCompilation
(src);
40168
comp =
CreateCompilation
(src);
40191
comp =
CreateCompilation
(src);
40221
var comp =
CreateCompilation
(src);
40248
var comp =
CreateCompilation
(src);
40268
var comp =
CreateCompilation
(src);
40288
var comp =
CreateCompilation
(src);
40320
var comp =
CreateCompilation
(src);
40506
CreateCompilation
(source).VerifyDiagnostics();
40556
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
40807
CreateCompilation
(source)
40840
CreateCompilation
(source)
40880
var comp =
CreateCompilation
(src);
40908
comp =
CreateCompilation
(src);
40944
var comp =
CreateCompilation
(src);
40972
comp =
CreateCompilation
(src);
41005
CreateCompilation
(src).VerifyEmitDiagnostics(
41033
CreateCompilation
(src).VerifyEmitDiagnostics(
41057
CreateCompilation
(src).VerifyEmitDiagnostics();
41087
CreateCompilation
(source)
41122
CreateCompilation
(src).VerifyEmitDiagnostics();
41146
CreateCompilation
(src).VerifyEmitDiagnostics();
41177
CreateCompilation
(src).VerifyEmitDiagnostics();
41201
CreateCompilation
(src).VerifyEmitDiagnostics();
41235
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41270
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41305
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41347
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41386
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41430
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41465
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41504
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41543
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41578
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41595
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
41621
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
41644
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
41667
var comp =
CreateCompilation
(source);
41690
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
41721
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
41826
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
41924
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
41995
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42106
var comp =
CreateCompilation
(source);
42136
var comp =
CreateCompilation
(source);
42160
var comp =
CreateCompilation
(source);
42183
var comp =
CreateCompilation
(source);
42339
CreateCompilation
(source).VerifyDiagnostics(
42358
var comp =
CreateCompilation
(source);
42383
var comp =
CreateCompilation
(source);
42431
var comp =
CreateCompilation
(source);
42461
var comp =
CreateCompilation
(source);
42494
var comp =
CreateCompilation
(source);
42527
var comp =
CreateCompilation
(source);
42558
var comp =
CreateCompilation
(source);
42594
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42623
var comp =
CreateCompilation
(source);
42791
var comp =
CreateCompilation
(source);
42917
comp =
CreateCompilation
(source);
43391
CreateCompilation
(source).VerifyEmitDiagnostics(
43422
var comp =
CreateCompilation
(source);
43557
var comp =
CreateCompilation
(source);
43699
var comp =
CreateCompilation
(source);
43734
var comp =
CreateCompilation
(source);
43777
var comp =
CreateCompilation
(source);
43825
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
43849
var comp =
CreateCompilation
(source);
43894
var comp =
CreateCompilation
(source);
43939
var comp =
CreateCompilation
(source);
43979
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
43982
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
43998
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44003
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44022
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E.<G>$BA41CFE2B5EDAEB8C1B9062F59ED4D69"));
44045
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E."));
44050
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E. "));
44055
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(""));
44059
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(" "));
44064
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(".A"));
44082
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44085
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44101
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44104
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44120
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44128
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44147
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
44162
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
44174
comp =
CreateCompilation
(source);
44195
var comp =
CreateCompilation
(source);
44216
var comp =
CreateCompilation
(src);
44242
var comp =
CreateCompilation
(src);
44264
comp =
CreateCompilation
(src);
44297
var comp =
CreateCompilation
(source);
44343
var comp =
CreateCompilation
(source);
44387
var comp =
CreateCompilation
(source);
44425
var comp =
CreateCompilation
(source);
44481
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
44530
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
44562
var comp =
CreateCompilation
(source);
44597
var comp =
CreateCompilation
(source);
44635
var comp =
CreateCompilation
(source);
44673
var comp =
CreateCompilation
(source);
44720
var comp =
CreateCompilation
(source);
44827
var comp =
CreateCompilation
(source);
44843
comp =
CreateCompilation
(source);
44923
var comp =
CreateCompilation
(source);
45015
var comp =
CreateCompilation
(source);
45061
var comp =
CreateCompilation
(source);
45099
var comp =
CreateCompilation
(source);
45125
var comp =
CreateCompilation
(source);
45151
var comp =
CreateCompilation
(source);
45194
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45343
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45420
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45475
var comp =
CreateCompilation
(src);
45505
var comp =
CreateCompilation
(src);
45534
var comp =
CreateCompilation
(src);
45581
var comp =
CreateCompilation
([src, libSrc]);
45584
var libComp =
CreateCompilation
(libSrc);
45585
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
45617
var comp =
CreateCompilation
(src);
45659
var comp =
CreateCompilation
(src);
45693
var comp =
CreateCompilation
(src);
45734
var comp =
CreateCompilation
(src);
45767
var comp =
CreateCompilation
(src);
45808
var comp =
CreateCompilation
([src, libSrc]);
45811
var libComp =
CreateCompilation
(libSrc);
45812
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
45859
var comp =
CreateCompilation
([src, libSrc]);
45862
var libComp =
CreateCompilation
(libSrc);
45863
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
45890
var comp =
CreateCompilation
(src);
45928
var comp =
CreateCompilation
(src);
45984
var comp =
CreateCompilation
(src);
46059
var comp =
CreateCompilation
(src);
46095
var comp =
CreateCompilation
(src);
46132
var comp =
CreateCompilation
(src);
46176
var comp =
CreateCompilation
(src);
46221
var comp =
CreateCompilation
(src);
46281
var comp =
CreateCompilation
(src);
46329
var comp =
CreateCompilation
(src);
46362
var comp =
CreateCompilation
(src);
46389
var comp =
CreateCompilation
(src);
46421
var comp =
CreateCompilation
(src);
46464
var comp =
CreateCompilation
(src);
46506
var comp =
CreateCompilation
(src);
46545
var comp =
CreateCompilation
(src);
46591
var comp =
CreateCompilation
(src);
46623
var comp =
CreateCompilation
(src);
46653
var comp =
CreateCompilation
(src);
46694
var comp =
CreateCompilation
(src);
46730
var comp =
CreateCompilation
(src);
46766
var comp =
CreateCompilation
(src);
46802
var comp =
CreateCompilation
(src);
46851
var comp =
CreateCompilation
([src, libSrc]);
46857
var libComp =
CreateCompilation
(libSrc);
46988
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
47010
var comp =
CreateCompilation
(src);
47074
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
47077
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
47078
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
47129
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47159
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47189
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47219
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47254
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47297
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47341
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47403
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47476
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47514
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47552
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47568
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47593
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47628
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47661
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47694
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47734
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47766
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47795
comp =
CreateCompilation
(src);
47816
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47836
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47864
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47916
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47944
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47973
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48000
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48031
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
48062
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48225
var comp2 =
CreateCompilation
(src2, references: [comp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48264
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
48267
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
48268
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48346
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48377
var comp =
CreateCompilation
(src);
48408
comp =
CreateCompilation
(src);
48448
var comp =
CreateCompilation
(src);
48481
var comp =
CreateCompilation
(src);
48511
var comp =
CreateCompilation
(src);
48544
var comp =
CreateCompilation
(src);
48567
comp =
CreateCompilation
(src);
48594
var comp =
CreateCompilation
(src);
48618
var comp =
CreateCompilation
(src);
48641
var comp =
CreateCompilation
(src);
48672
var comp =
CreateCompilation
(src);
48710
var comp =
CreateCompilation
(src);
48740
var comp =
CreateCompilation
(src);
48771
var comp =
CreateCompilation
(src);
48801
var comp =
CreateCompilation
(src);
48831
var comp =
CreateCompilation
(src);
48866
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
48890
comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
48927
var comp =
CreateCompilation
(src);
48955
var comp =
CreateCompilation
(src);
48999
var comp =
CreateCompilation
(src);
49038
var comp =
CreateCompilation
(source);
49065
var comp =
CreateCompilation
(source);
49358
var comp =
CreateCompilation
(src);
49398
var comp =
CreateCompilation
(src);
49490
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
49513
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
49543
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "Test");
49693
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
49766
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
49805
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
49872
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
49958
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50014
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50075
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50124
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50180
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50230
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50275
var comp =
CreateCompilation
(
50334
var comp =
CreateCompilation
(
50379
var libComp =
CreateCompilation
(src);
50389
var comp =
CreateCompilation
("", references: [libComp.EmitToImageReference()]);
50411
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50433
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50453
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50474
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50500
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50518
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50539
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50559
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50580
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50602
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50626
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50652
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50669
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50700
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50724
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50753
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50779
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50807
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50836
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50869
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50891
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50920
var comp =
CreateCompilation
(src);
50988
var comp =
CreateCompilation
(src);
51044
var comp =
CreateCompilation
(src);
51088
var comp =
CreateCompilation
(src);
51160
var comp =
CreateCompilation
(source);
Semantics\ExtensionTests2.cs (662)
39
var comp =
CreateCompilation
(src);
66
var comp =
CreateCompilation
(src);
112
CreateCompilation
(source).VerifyDiagnostics(
157
CreateCompilation
(source).VerifyDiagnostics();
180
var comp =
CreateCompilation
(src);
199
var comp =
CreateCompilation
(src);
222
var comp =
CreateCompilation
(src);
243
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
264
var comp =
CreateCompilation
(src);
291
var comp =
CreateCompilation
(src);
315
var comp =
CreateCompilation
(src);
344
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
362
comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
390
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
423
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
455
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.UnsafeDebugExe);
492
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
518
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
544
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
570
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
594
var comp =
CreateCompilation
(src);
618
var comp =
CreateCompilation
(src);
639
var comp =
CreateCompilation
(src);
666
var comp =
CreateCompilation
(src);
693
comp =
CreateCompilation
(src);
722
comp =
CreateCompilation
(src);
758
var comp =
CreateCompilation
([src, libSrc]);
761
var libComp =
CreateCompilation
(libSrc);
762
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
782
var comp =
CreateCompilation
([src, libSrc]);
785
var libComp =
CreateCompilation
(libSrc);
786
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
807
var comp =
CreateCompilation
([src, libSrc]);
810
var libComp =
CreateCompilation
(libSrc);
811
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
834
var comp =
CreateCompilation
(src);
861
var comp =
CreateCompilation
(src);
915
var comp =
CreateCompilation
([src, libSrc]);
918
var libComp =
CreateCompilation
(libSrc);
921
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
974
var comp =
CreateCompilation
([src, libSrc]);
977
var libComp =
CreateCompilation
(libSrc);
978
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
998
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1009
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1010
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1053
var comp =
CreateCompilation
([src, libSrc]);
1056
var libComp =
CreateCompilation
(libSrc);
1057
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1101
var comp =
CreateCompilation
([src, libSrc]);
1104
var libComp =
CreateCompilation
(libSrc);
1105
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1149
var comp =
CreateCompilation
([src, libSrc]);
1152
var libComp =
CreateCompilation
(libSrc);
1153
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1179
var comp =
CreateCompilation
(src);
1207
var comp =
CreateCompilation
(src);
1250
var comp =
CreateCompilation
(src);
1283
var comp =
CreateCompilation
(src);
1322
var comp =
CreateCompilation
(src);
1355
var comp =
CreateCompilation
(src);
1383
var comp =
CreateCompilation
(src);
1408
var comp =
CreateCompilation
(src);
1448
var comp =
CreateCompilation
(src);
1503
var comp =
CreateCompilation
([src, libSrc]);
1506
var libComp =
CreateCompilation
(libSrc);
1507
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1559
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1562
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1563
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1581
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1619
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1622
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1623
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1686
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1689
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1690
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1735
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1738
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1739
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1798
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1801
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1802
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1871
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1880
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1881
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1922
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1971
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1974
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1975
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2018
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2021
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2022
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2074
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2077
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2078
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2098
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2129
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2163
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2231
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2269
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2315
var comp =
CreateCompilation
(source);
2359
var comp =
CreateCompilation
(source);
2404
var comp =
CreateCompilation
(source);
2441
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
2467
var comp =
CreateCompilation
([src, libSrc]);
2470
var libComp =
CreateCompilation
(libSrc);
2471
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
2481
comp =
CreateCompilation
([src2, libSrc]);
2484
libComp =
CreateCompilation
(libSrc);
2485
comp2 =
CreateCompilation
(src2, references: [libComp.EmitToImageReference()]);
2511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2538
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2574
var comp =
CreateCompilation
(src);
2597
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2615
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2623
var comp =
CreateCompilation
("""
2703
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
2735
var comp =
CreateCompilation
(src);
2822
var comp =
CreateCompilation
(src);
2890
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Mscorlib40);
2895
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib46, references: [libComp.ToMetadataReference()]);
4129
var libComp =
CreateCompilation
(libSrc);
4133
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
4862
var comp =
CreateCompilation
(src);
4885
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4941
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4973
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4994
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5034
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5068
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5115
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5147
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5183
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5219
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5252
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5287
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5320
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5353
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5382
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5411
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5443
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5473
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5504
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5538
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5571
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5603
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5629
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5662
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5692
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5725
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5754
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5789
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5829
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5867
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5905
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5943
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5968
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6002
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6035
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6075
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6099
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6122
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6155
var comp =
CreateCompilation
([(src1, "file1"), (src2, "file2")], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6191
var libComp =
CreateCompilation
(libSrc);
6192
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()],
6228
var libComp =
CreateCompilation
(libSrc);
6229
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
6261
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6281
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6310
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6340
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6376
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6379
var comp2 =
CreateCompilation
("", references: [comp.EmitToImageReference(documentation: new TestDocumentationProvider())]);
6410
var libComp =
CreateCompilation
(libSrc);
6418
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6439
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6469
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6505
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6544
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6598
comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6620
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6655
var libComp =
CreateCompilation
(libSrc);
6664
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13.WithDocumentationMode(DocumentationMode.Diagnose));
6670
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14.WithDocumentationMode(DocumentationMode.Diagnose));
6673
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6690
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6793
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6852
var comp2 =
CreateCompilation
([src2]);
6927
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
6978
var comp2 =
CreateCompilation
([src2]);
7063
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7173
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7265
var comp2 =
CreateCompilation
([src2]);
7355
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7410
var comp2 =
CreateCompilation
([src2]);
7516
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7634
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7727
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7852
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
7948
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8044
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8145
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8260
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8317
var comp2 =
CreateCompilation
(src2);
8402
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8510
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8649
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8707
var comp2 =
CreateCompilation
(src2);
8808
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8959
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
9059
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9159
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9267
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9383
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9444
var comp2 =
CreateCompilation
(src2);
9531
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9621
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9738
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9798
var comp2 =
CreateCompilation
(src2);
9879
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10006
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10122
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10183
var comp2 =
CreateCompilation
(src2);
10270
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10360
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10477
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10537
var comp2 =
CreateCompilation
(src2);
10618
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10778
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11010
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11150
var comp2 =
CreateCompilation
(src2);
11271
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11468
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11745
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11850
var comp2 =
CreateCompilation
(src2);
12000
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12224
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12330
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12387
var comp2 =
CreateCompilation
(src2);
12470
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12578
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12709
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12767
var comp2 =
CreateCompilation
(src2);
12868
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12994
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13071
var comp2 =
CreateCompilation
(src2);
13153
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13223
var comp2 =
CreateCompilation
(src2);
13291
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13408
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13512
var comp2 =
CreateCompilation
(src2);
13603
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13666
var comp2 =
CreateCompilation
(src2);
13768
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13901
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14003
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14129
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
14241
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
14330
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
14430
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
14505
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
14644
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
14789
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
14893
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
14978
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15093
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15270
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15403
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15552
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15652
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15741
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15819
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15894
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16027
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16160
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16264
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16338
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16458
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16613
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16727
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16848
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16994
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17072
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17140
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17268
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17438
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17512
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17626
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17759
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17850
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
17934
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18045
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18169
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18279
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18392
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18485
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18591
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
18680
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18747
var comp2 =
CreateCompilation
([src2]);
18823
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
18876
var comp2 =
CreateCompilation
([src2]);
18938
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19050
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19150
var comp2 =
CreateCompilation
([src2]);
19241
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19297
var comp2 =
CreateCompilation
([src2]);
19404
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19528
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19623
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19717
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19820
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19871
var comp2 =
CreateCompilation
([src2]);
19926
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20032
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20159
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20214
var comp2 =
CreateCompilation
([src2]);
20315
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20413
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20480
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
20547
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20637
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20732
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20825
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20869
var comp =
CreateCompilation
(src);
20943
var comp =
CreateCompilation
(src);
20978
var comp =
CreateCompilation
(src);
21001
var comp =
CreateCompilation
(src);
21024
var comp =
CreateCompilation
(src);
21053
var comp =
CreateCompilation
(src);
21074
var comp =
CreateCompilation
(src);
21095
var comp =
CreateCompilation
(src);
21122
var comp =
CreateCompilation
(src);
21150
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21157
comp =
CreateCompilation
(src);
21176
var comp =
CreateCompilation
(src);
21197
var comp =
CreateCompilation
(src);
21255
var comp =
CreateCompilation
(src);
21281
var comp =
CreateCompilation
(src);
21304
var comp =
CreateCompilation
(src);
21325
var comp =
CreateCompilation
(src);
21348
var comp =
CreateCompilation
(src);
21369
var comp =
CreateCompilation
(src);
21389
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
21409
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
21429
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
21464
var comp =
CreateCompilation
(src);
21487
var comp =
CreateCompilation
(src);
21507
var comp =
CreateCompilation
(src);
21527
var comp =
CreateCompilation
(src);
21547
var comp =
CreateCompilation
(src);
21573
var comp =
CreateCompilation
(src);
21655
var comp =
CreateCompilation
(src);
21678
var comp =
CreateCompilation
(src);
21703
var comp =
CreateCompilation
(src);
21721
comp =
CreateCompilation
(src);
21747
var comp =
CreateCompilation
(src);
21770
var comp =
CreateCompilation
(src);
21793
var comp =
CreateCompilation
(src);
21817
var comp =
CreateCompilation
(src);
21836
comp =
CreateCompilation
(src);
21861
var comp =
CreateCompilation
(src);
21881
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21898
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21918
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21953
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21973
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21993
var comp =
CreateCompilation
(src);
22014
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22035
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22054
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22075
var comp =
CreateCompilation
(src);
22096
var comp =
CreateCompilation
(src);
22115
var comp =
CreateCompilation
(src);
22138
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22158
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22178
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22198
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22218
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22238
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22258
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22281
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22302
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22323
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22344
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22379
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22415
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22451
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22489
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22511
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22531
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22566
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22588
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22613
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22638
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
22663
var comp =
CreateCompilation
(src);
22683
var comp =
CreateCompilation
(src);
22705
var comp =
CreateCompilation
(src);
22728
var comp =
CreateCompilation
(src);
22759
var comp =
CreateCompilation
(src);
22792
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22833
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22858
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22898
var comp =
CreateCompilation
(src);
22919
comp =
CreateCompilation
(src);
22939
comp =
CreateCompilation
(src);
22980
var comp =
CreateCompilation
(src);
23002
var comp =
CreateCompilation
(src);
23051
var comp =
CreateCompilation
(src);
23084
var comp =
CreateCompilation
(src);
23113
var comp =
CreateCompilation
(src);
23142
var comp =
CreateCompilation
(src);
23189
var comp =
CreateCompilation
(src);
23224
var comp =
CreateCompilation
(src);
23257
var comp =
CreateCompilation
(src);
23293
var comp =
CreateCompilation
(src);
23319
var comp =
CreateCompilation
(src);
23349
var comp =
CreateCompilation
(src);
23420
var comp =
CreateCompilation
(src);
23444
var comp =
CreateCompilation
(src);
23514
comp =
CreateCompilation
(src);
23553
var comp =
CreateCompilation
(src);
23580
var comp =
CreateCompilation
(src);
23603
comp =
CreateCompilation
(src);
23635
var comp =
CreateCompilation
(src);
23666
var comp =
CreateCompilation
(src);
23686
comp =
CreateCompilation
(src);
23728
var comp =
CreateCompilation
(src);
23762
var comp =
CreateCompilation
(src);
23789
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23816
var comp =
CreateCompilation
(src);
23860
var comp =
CreateCompilation
(src);
23890
var comp =
CreateCompilation
(src);
23918
var comp =
CreateCompilation
(src);
23942
var comp =
CreateCompilation
(src);
23969
var comp =
CreateCompilation
(src);
23998
var comp =
CreateCompilation
(src);
24026
var comp =
CreateCompilation
(src);
24049
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
24072
var comp =
CreateCompilation
(src);
24093
var comp =
CreateCompilation
(src);
24116
var comp =
CreateCompilation
(src);
24137
var comp =
CreateCompilation
(src);
24158
var comp =
CreateCompilation
(src);
24173
comp =
CreateCompilation
(src);
24192
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24220
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24256
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24283
var comp =
CreateCompilation
(src);
24305
var comp =
CreateCompilation
(src);
24327
var comp =
CreateCompilation
(src);
24352
var comp =
CreateCompilation
(src);
24372
comp =
CreateCompilation
(src);
24398
var comp =
CreateCompilation
(src);
24424
var comp =
CreateCompilation
(src);
24449
var comp =
CreateCompilation
(src);
24473
var comp =
CreateCompilation
(src);
24499
var comp =
CreateCompilation
(src);
24523
var comp =
CreateCompilation
(src);
24547
var comp =
CreateCompilation
(src);
24572
var comp =
CreateCompilation
(src);
24603
var comp =
CreateCompilation
(src);
24627
var comp =
CreateCompilation
(src);
24660
var comp =
CreateCompilation
(src);
24685
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
25094
var comp =
CreateCompilation
(src);
25126
var comp =
CreateCompilation
(src);
25158
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
25185
var comp =
CreateCompilation
(src);
25209
var comp =
CreateCompilation
(src);
25233
var comp =
CreateCompilation
(src);
25257
var comp =
CreateCompilation
(src);
25284
var comp =
CreateCompilation
(src);
25311
var comp =
CreateCompilation
(src);
25340
var comp =
CreateCompilation
(src);
25367
var comp =
CreateCompilation
(src);
25397
var comp =
CreateCompilation
(src);
25478
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25488
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25507
var comp =
CreateCompilation
(src);
25529
var comp =
CreateCompilation
(src);
25589
var comp =
CreateCompilation
(src);
25602
var libComp =
CreateCompilation
(ExtensionMarkerAttributeDefinition);
25613
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
25635
var comp =
CreateCompilation
(src);
25660
var comp =
CreateCompilation
(src);
25697
var comp =
CreateCompilation
(src);
25761
var comp =
CreateCompilation
(src);
25827
var comp =
CreateCompilation
(src);
25879
var comp =
CreateCompilation
(src);
25914
var comp =
CreateCompilation
(src);
25950
var comp =
CreateCompilation
(src);
25986
var comp =
CreateCompilation
(src);
26022
var comp =
CreateCompilation
(src);
26055
var comp =
CreateCompilation
(src);
26080
var comp =
CreateCompilation
(src);
26119
var comp =
CreateCompilation
(src);
26160
var comp =
CreateCompilation
(src);
26194
var comp =
CreateCompilation
(src);
26222
var comp =
CreateCompilation
(src);
26246
var comp =
CreateCompilation
(src);
26267
var comp =
CreateCompilation
(src);
26279
var libComp1 =
CreateCompilation
(libSrc, assemblyName: "assembly1");
26280
var libComp2 =
CreateCompilation
(libSrc, assemblyName: "assembly2");
26294
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26324
var comp =
CreateCompilation
(src);
26361
var comp =
CreateCompilation
(src);
26396
var comp =
CreateCompilation
(src);
26431
var comp =
CreateCompilation
(src);
26465
var comp =
CreateCompilation
(src);
26500
var comp =
CreateCompilation
(src);
26527
var comp =
CreateCompilation
(src);
26543
var comp =
CreateCompilation
(src);
26551
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
26552
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
26572
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26597
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
26598
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
26612
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26622
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
26623
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
26637
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26651
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
26652
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
26666
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26680
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
26681
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
26697
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26711
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
26712
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
26728
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26742
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
26743
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
26757
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26780
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
26781
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
26801
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26815
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
26816
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
26832
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26853
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
26854
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
26868
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26889
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
26890
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
26906
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26931
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
26932
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
26951
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
26991
var comp =
CreateCompilation
(src);
27024
var comp =
CreateCompilation
(src);
27057
var comp =
CreateCompilation
(src);
27066
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
27067
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
27088
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27113
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
27114
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
27135
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27167
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
27183
var comp =
CreateCompilation
(src);
27199
var comp =
CreateCompilation
(src);
27215
var comp =
CreateCompilation
(src);
27231
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27247
var comp =
CreateCompilation
(src);
27263
var comp =
CreateCompilation
(src);
27309
var comp =
CreateCompilation
([src, src2, src3]);
27314
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
27340
var comp =
CreateCompilation
(src);
27345
comp =
CreateCompilation
(defineTestDirective + src);
27378
var comp =
CreateCompilation
([src, src2, src3]);
27383
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
27407
var comp =
CreateCompilation
(src);
27447
var comp =
CreateCompilation
(src);
27474
var comp =
CreateCompilation
(src);
27513
var comp =
CreateCompilation
(src);
27539
var comp =
CreateCompilation
(src);
27575
var comp =
CreateCompilation
(src);
27601
var comp =
CreateCompilation
(src);
27620
var comp =
CreateCompilation
(src);
27639
var comp =
CreateCompilation
(src);
27655
var comp =
CreateCompilation
(src);
27678
var comp =
CreateCompilation
(src);
27698
var comp =
CreateCompilation
(src);
27720
var comp =
CreateCompilation
(src);
27742
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
27760
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
27778
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
27793
var comp =
CreateCompilation
(src);
27817
var comp =
CreateCompilation
(src);
27832
var comp =
CreateCompilation
(src);
27847
var comp =
CreateCompilation
(src);
27864
var comp =
CreateCompilation
(src);
27887
var comp =
CreateCompilation
(src);
27907
var comp =
CreateCompilation
(src);
27928
var comp =
CreateCompilation
(src);
27953
var comp =
CreateCompilation
(src);
27980
var comp =
CreateCompilation
(src);
28011
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28031
var comp =
CreateCompilation
(src);
28051
var comp =
CreateCompilation
(src);
28071
var comp =
CreateCompilation
(src);
28090
var comp =
CreateCompilation
(src);
28109
var comp =
CreateCompilation
(src);
28128
var comp =
CreateCompilation
(src);
28147
var comp =
CreateCompilation
(src);
28166
var comp =
CreateCompilation
(src);
28184
var comp =
CreateCompilation
(src);
28273
var comp =
CreateCompilation
(src);
28292
var comp =
CreateCompilation
(src);
28311
var comp =
CreateCompilation
(src);
28330
var comp =
CreateCompilation
(src);
28349
var comp =
CreateCompilation
(src);
28368
var comp =
CreateCompilation
(src);
28387
var comp =
CreateCompilation
(src);
28403
var comp =
CreateCompilation
(src);
28426
var comp =
CreateCompilation
(src);
28450
var comp =
CreateCompilation
(src);
28471
var comp =
CreateCompilation
(src);
28490
var comp =
CreateCompilation
(src);
28508
var comp =
CreateCompilation
(src);
28532
var comp =
CreateCompilation
(src);
28553
var comp =
CreateCompilation
(src);
28572
var comp =
CreateCompilation
(src);
28593
var comp =
CreateCompilation
(src);
28614
var comp =
CreateCompilation
(src);
28632
var comp =
CreateCompilation
(src);
28658
var comp =
CreateCompilation
(src);
28895
var comp =
CreateCompilation
(src);
28918
var comp =
CreateCompilation
(src);
28944
var comp =
CreateCompilation
(src);
28967
var comp =
CreateCompilation
(src);
28993
var comp =
CreateCompilation
(src);
29176
var comp =
CreateCompilation
(src);
29227
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
29256
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
29288
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
29311
var comp =
CreateCompilation
(src);
29337
var comp =
CreateCompilation
(src);
29365
var comp =
CreateCompilation
(src);
29396
var comp =
CreateCompilation
(src);
29430
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
29466
var comp =
CreateCompilation
(src);
29536
comp =
CreateCompilation
(src);
29622
var comp =
CreateCompilation
(src);
29645
comp =
CreateCompilation
(src);
29675
var comp =
CreateCompilation
(src);
29696
var comp =
CreateCompilation
(src);
29724
var comp =
CreateCompilation
(src);
29745
var comp =
CreateCompilation
(src);
29761
comp =
CreateCompilation
(src);
29777
comp =
CreateCompilation
(src);
29810
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29843
var comp =
CreateCompilation
(src);
29871
comp =
CreateCompilation
(src);
29907
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29942
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29976
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
30010
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
30046
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
30076
var comp =
CreateCompilation
(src);
30108
comp =
CreateCompilation
(src);
Semantics\InlineArrayTests.cs (547)
101
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
135
var comp =
CreateCompilation
(src);
158
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
181
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
227
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
252
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
384
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
449
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
514
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
581
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
685
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
775
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
854
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
960
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
998
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1085
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1165
var comp1 =
CreateCompilation
(src1 + InlineArrayAttributeDefinition, targetFramework: TargetFramework.Net50);
1166
var comp2 =
CreateCompilation
("", references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net60);
1186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1242
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1279
var comp =
CreateCompilation
(src);
1304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1330
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1361
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1387
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1412
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1436
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1533
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
1572
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1607
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1642
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1677
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1712
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1737
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1764
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1787
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1811
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1848
var comp =
CreateCompilation
(src);
1872
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1902
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1917
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2028
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2113
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2131
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2153
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2175
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2201
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2251
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2279
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2299
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2324
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2353
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2422
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2462
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2492
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
2495
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
2553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2590
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2633
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2671
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2703
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2782
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2824
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2864
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2889
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2914
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2945
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2983
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3015
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3041
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3070
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3100
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3134
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3260
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3560
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3792
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4017
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4142
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4271
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4402
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4678
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4836
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4894
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4950
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4997
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5027
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
5074
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5309
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5527
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5871
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5988
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6017
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6020
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6071
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6167
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6183
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6186
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6247
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6291
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6329
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6362
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6401
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6444
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6487
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6584
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6622
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6681
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6711
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6757
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6780
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6813
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6857
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6907
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6957
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7013
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7063
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7118
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7153
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7187
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7257
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7473
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7619
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7788
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7951
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8110
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8168
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8210
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8255
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8285
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8342
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8345
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
8377
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8430
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8485
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8548
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8664
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8696
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8726
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8758
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8778
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8812
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8891
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8945
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8985
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9022
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9059
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9124
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9165
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9199
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9248
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9295
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9346
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9397
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9436
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9481
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9527
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9564
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9599
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9647
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9699
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9751
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9791
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9831
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9877
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9916
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9956
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9985
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10019
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10066
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10117
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10156
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10193
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10228
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10267
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10310
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10351
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10396
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10437
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10466
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10498
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10534
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10608
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10660
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10712
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10752
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10798
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10844
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10879
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10914
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10953
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10992
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11032
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11066
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11100
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11136
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11182
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11228
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11278
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11352
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11404
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11443
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11478
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11520
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11549
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11575
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11628
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11656
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11680
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11706
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11729
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11752
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11775
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11796
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11817
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11838
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11864
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11890
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11911
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11937
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11965
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12006
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12062
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12112
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12146
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12176
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12203
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12266
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12333
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12382
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12417
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12445
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12479
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12502
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12529
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12557
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12591
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12614
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12641
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12668
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12706
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12731
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12754
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12796
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12841
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12873
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12898
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12920
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13033
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13086
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13123
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
13160
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13216
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13275
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13317
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13348
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13365
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13402
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13434
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13479
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13530
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13548
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13591
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13609
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13659
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13700
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13754
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13812
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13870
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13923
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14025
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14061
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14092
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14122
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14162
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14191
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14241
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14271
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14300
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14344
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14372
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14426
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14451
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14475
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14507
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14544
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14569
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14641
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14690
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14739
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14787
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14834
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14878
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14935
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14979
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15029
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15087
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15123
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15169
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15198
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
15201
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
15253
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15309
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15351
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15390
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15445
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15506
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15569
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15623
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15651
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15677
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15703
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15733
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15776
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15818
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15860
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15899
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15925
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15954
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15983
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16018
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16053
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16090
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16127
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16150
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16188
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16236
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16288
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16323
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16362
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16397
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16438
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16488
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16539
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16584
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16623
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16676
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16883
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16912
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16946
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16976
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16979
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
16982
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
17014
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17040
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17051
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17054
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17085
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17101
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17104
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17134
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17168
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17191
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17218
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17240
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17272
var compilation =
CreateCompilation
(source);
17300
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17339
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17393
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
17420
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17447
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17474
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17501
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17608
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17664
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17739
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17781
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17816
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17852
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17910
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17993
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18016
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18052
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18088
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18124
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18173
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18192
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18223
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18249
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18280
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18308
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18337
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18408
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18439
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18469
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18509
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18546
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18644
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18717
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18779
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18801
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18824
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18827
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
18830
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
18871
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18956
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19006
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19070
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19092
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19128
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19163
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19205
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19293
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19340
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19373
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19428
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19494
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19531
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19572
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19610
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19648
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19686
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19723
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19752
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19787
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19850
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19888
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19929
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19987
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20125
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20174
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20325
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20356
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20387
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20447
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20584
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20633
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20784
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20818
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20849
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20898
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21001
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21033
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21078
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21096
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21098
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21129
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21146
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21148
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21180
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21195
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21197
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21247
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21259
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21261
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21287
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21303
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21305
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21331
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21343
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21345
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21394
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21396
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21424
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
21436
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
21437
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21476
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21494
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21496
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21545
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21615
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21662
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21735
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21774
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21805
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21864
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21934
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21981
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22054
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22096
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22127
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
22175
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22238
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22278
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22331
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22349
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22351
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22390
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22407
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22409
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22449
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22464
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22466
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22514
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22526
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22528
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22554
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22570
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22572
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22598
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22610
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22612
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22659
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22661
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22687
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22699
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
22700
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22737
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22755
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22757
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22778
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22811
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22838
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22862
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
22881
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
22918
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22941
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22977
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23005
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23027
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23060
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23093
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23115
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23137
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23166
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23192
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23272
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23295
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
23322
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23323
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23503
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
Semantics\LockTests.cs (31)
177
var compilation =
CreateCompilation
([source, LockTypeDefinition]);
205
CreateCompilation
(source).VerifyDiagnostics(
226
CreateCompilation
(source).VerifyDiagnostics(
252
CreateCompilation
(source).VerifyDiagnostics(
278
CreateCompilation
(source).VerifyDiagnostics(
304
CreateCompilation
(source).VerifyDiagnostics(
330
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
565
CreateCompilation
(source).VerifyDiagnostics(
588
CreateCompilation
(source).VerifyDiagnostics(
614
CreateCompilation
(source).VerifyDiagnostics(
640
CreateCompilation
(source).VerifyDiagnostics(
666
CreateCompilation
(source).VerifyDiagnostics(
692
CreateCompilation
(source).VerifyDiagnostics(
718
CreateCompilation
(source).VerifyDiagnostics(
745
CreateCompilation
(source).VerifyDiagnostics(
867
CreateCompilation
(source).VerifyDiagnostics(
1107
CreateCompilation
(source).VerifyDiagnostics(
1133
CreateCompilation
(source).VerifyDiagnostics(
1159
CreateCompilation
(source).VerifyDiagnostics(
1198
CreateCompilation
(source).VerifyDiagnostics(
1224
CreateCompilation
(source).VerifyDiagnostics(
1250
CreateCompilation
(source).VerifyDiagnostics(
1276
CreateCompilation
(source).VerifyDiagnostics(
1511
var lib =
CreateCompilation
(LockTypeDefinition)
1554
var lib1 =
CreateCompilation
(source1)
1585
var lib2 =
CreateCompilation
(source2)
1630
CreateCompilation
(sources, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1919
CreateCompilation
([source, LockTypeDefinition]).VerifyDiagnostics(
3504
CreateCompilation
([source, LockTypeDefinition]).VerifyEmitDiagnostics(
4476
CreateCompilation
([source, LockTypeDefinition]).VerifyDiagnostics(
Semantics\OutVarTests.cs (152)
50
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
82
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
110
compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
155
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
378
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
416
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
454
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
492
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
530
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
568
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
599
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6));
653
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
690
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
729
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
770
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
809
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
903
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1400
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1458
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1492
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1527
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1561
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1595
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1635
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1673
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1707
var compilation =
CreateCompilation
(text,
1744
var compilation =
CreateCompilation
(text,
1783
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1820
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1852
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1879
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1916
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
5014
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17575
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17634
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17669
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17702
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17735
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17774
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17806
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17851
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17882
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17915
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17947
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17987
var compilation =
CreateCompilation
(text,
18017
var compilation =
CreateCompilation
(text,
18061
var compilation =
CreateCompilation
(text,
18092
var compilation =
CreateCompilation
(text,
18131
var compilation =
CreateCompilation
(text,
18172
var compilation =
CreateCompilation
(text,
18215
var compilation =
CreateCompilation
(text,
18258
var compilation =
CreateCompilation
(text,
18297
var compilation =
CreateCompilation
(text,
18342
var compilation =
CreateCompilation
(text,
18373
var compilation =
CreateCompilation
(text,
18425
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18438
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18489
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18502
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18536
var compilation =
CreateCompilation
(text,
18581
var compilation =
CreateCompilation
(text,
18633
var compilation =
CreateCompilation
(text,
18679
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18721
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18766
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18788
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular)
18864
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18908
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18950
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18995
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19048
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19091
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19137
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19196
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19243
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19280
var compilation =
CreateCompilation
(text,
19322
var compilation =
CreateCompilation
(text,
19356
var compilation =
CreateCompilation
(text,
19415
var compilation =
CreateCompilation
(text,
19458
var compilation =
CreateCompilation
(text,
19496
var compilation =
CreateCompilation
(text,
19535
var compilation =
CreateCompilation
(text,
19576
var compilation =
CreateCompilation
(text,
19621
var compilation =
CreateCompilation
(text,
19644
compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
19682
var compilation =
CreateCompilation
(text,
19725
var compilation =
CreateCompilation
(text,
19764
var compilation =
CreateCompilation
(text,
19805
var compilation =
CreateCompilation
(source,
19834
var compilation =
CreateCompilation
(text,
19867
var compilation =
CreateCompilation
(text,
19900
var compilation =
CreateCompilation
(text,
19935
var compilation =
CreateCompilation
(text,
19970
var compilation =
CreateCompilation
(text,
20001
var compilation =
CreateCompilation
(text,
20039
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20179
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, references: new[] { CSharpRef });
20199
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
20219
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20247
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20355
var compilation =
CreateCompilation
(source2, references: new[] { reference1 });
20539
var compilation =
CreateCompilation
(source2, references: new[] { reference1 }, options: TestOptions.DebugExe);
20610
var compilation =
CreateCompilation
(text,
20655
var compilation =
CreateCompilation
(text);
20770
var compilation =
CreateCompilation
(text,
20823
var compilation =
CreateCompilation
(text,
23077
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
32513
var compilation =
CreateCompilation
(new[] { tree });
33056
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33116
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33170
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33228
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33305
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33328
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33372
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33395
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33422
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33444
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33502
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
34237
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34343
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
34452
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34557
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.DebugExe);
34653
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35174
var compilation =
CreateCompilation
(source);
35213
var compilation =
CreateCompilation
(source);
35257
var compilation =
CreateCompilation
(source);
35288
var compilation =
CreateCompilation
(source);
35327
var compilation =
CreateCompilation
(source);
35359
var compilation =
CreateCompilation
(source);
35395
var compilation =
CreateCompilation
(source);
35434
var compilation =
CreateCompilation
(source);
35464
var compilation =
CreateCompilation
(source);
35501
var compilation =
CreateCompilation
(source);
35536
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
35659
var comp =
CreateCompilation
(source);
35692
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
35733
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35760
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35796
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35837
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35883
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35977
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36117
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36225
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36318
var compilation =
CreateCompilation
(text);
36349
var comp =
CreateCompilation
(source);
36396
var comp =
CreateCompilation
(source);
36435
var comp =
CreateCompilation
(source);
36477
var comp =
CreateCompilation
(source);
36517
var comp =
CreateCompilation
(source).VerifyDiagnostics(
36555
var comp =
CreateCompilation
(source).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (338)
97
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
199
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
277
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
315
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
459
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
495
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
590
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
643
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
721
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
779
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
828
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
878
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
937
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
978
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
1010
var myCollection_v0 =
CreateCompilation
(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
1022
var builder =
CreateCompilation
(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
1037
var myCollection =
CreateCompilation
(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
1064
var comp =
CreateCompilation
(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1075
comp =
CreateCompilation
(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1130
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1195
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1262
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
1320
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1387
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1465
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1514
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1563
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1600
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1648
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1696
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1738
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1791
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1845
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1897
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1942
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2030
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2070
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2111
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2146
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2197
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2246
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2296
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2354
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2414
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2461
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2511
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2602
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2647
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2708
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2735
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2772
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2786
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2919
CreateCompilation
(src).VerifyEmitDiagnostics();
2937
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2970
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2981
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
3182
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3307
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3531
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3848
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3976
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
3979
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
3982
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4016
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4023
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4026
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4029
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4070
var comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4073
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4076
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4083
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4090
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4093
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4096
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4138
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4141
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4144
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4185
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4188
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4191
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4198
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4205
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4242
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4246
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4309
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4312
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4315
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4322
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4329
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4332
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4335
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All), parseOptions: TestOptions.Regular12);
4398
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4405
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
4408
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
4411
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
4442
var comp =
CreateCompilation
(src1 + src2, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4445
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4446
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4449
var comp3 =
CreateCompilation
(src1 + ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4450
var comp4 =
CreateCompilation
(src2, references: [comp3.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4453
var comp5 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseModule);
4511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4514
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4515
var comp2 =
CreateCompilation
(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4619
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4664
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4667
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4668
var comp2 =
CreateCompilation
(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4741
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4742
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4770
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4771
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4808
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4859
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4897
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4937
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
5068
var comp =
CreateCompilation
(
5178
var comp =
CreateCompilation
(
5283
var comp =
CreateCompilation
(
5354
var comp =
CreateCompilation
(
5390
comp =
CreateCompilation
(
5451
var comp =
CreateCompilation
(
5494
var comp =
CreateCompilation
(
5515
comp =
CreateCompilation
(
5551
CreateCompilation
(
5669
var comp =
CreateCompilation
(
5700
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5764
CreateCompilation
(source).VerifyDiagnostics(
5840
var comp =
CreateCompilation
(
5879
var comp =
CreateCompilation
(
5924
var comp =
CreateCompilation
(
5961
var comp =
CreateCompilation
(
6012
var comp =
CreateCompilation
(
6056
var comp =
CreateCompilation
(
6091
var comp =
CreateCompilation
(source);
6129
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6156
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6229
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6262
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6311
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6347
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6361
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6365
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6369
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6397
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6429
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6439
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6442
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6480
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6540
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6562
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6577
var comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6585
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6593
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6618
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6640
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6655
var comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6663
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6671
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6696
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6733
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6770
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6812
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6854
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6875
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
6900
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6936
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6971
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7002
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7047
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7074
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7103
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7128
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7155
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7180
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7257
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7277
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7281
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7285
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7342
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7381
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7393
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7397
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7401
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7434
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7464
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7474
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7477
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7513
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7579
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7620
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7661
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7707
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7753
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7774
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
7802
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7846
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7889
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7938
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7980
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7992
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7996
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
8000
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8066
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
8068
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8078
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
8081
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8117
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8152
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8184
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8221
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8249
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8383
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8466
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8531
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8565
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8666
comp =
CreateCompilation
(
8688
comp =
CreateCompilation
(
8712
comp =
CreateCompilation
(
8737
comp =
CreateCompilation
(
8767
comp =
CreateCompilation
(
8787
comp =
CreateCompilation
(
8811
comp =
CreateCompilation
(
8836
comp =
CreateCompilation
(
8866
comp =
CreateCompilation
(
8889
comp =
CreateCompilation
(
8909
comp =
CreateCompilation
(
8930
comp =
CreateCompilation
(
8950
comp =
CreateCompilation
(
8972
comp =
CreateCompilation
(
9273
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9314
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9366
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9420
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9478
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9535
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9605
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9693
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9760
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9801
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9853
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9914
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9961
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10014
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10068
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10124
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10170
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10254
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10300
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12523
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12654
CreateCompilation
(source).VerifyDiagnostics(
12758
IEnumerable<MetadataReference> references = src2 is null ? [] : [
CreateCompilation
(src2).ToMetadataReference()];
12760
var comp =
CreateCompilation
(src1, references, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
12764
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12766
var comp2 =
CreateCompilation
(src1, references: references.Concat([comp1Ref]), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
12770
var comp3 =
CreateCompilation
(src1, references, options: TestOptions.ReleaseModule);
12774
var comp4 =
CreateCompilation
(src1, references: references.Concat([comp1Ref]), options: TestOptions.ReleaseModule.WithMetadataImportOptions(MetadataImportOptions.All));
12788
var comp5 =
CreateCompilation
(brokenParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12790
var comp6 =
CreateCompilation
(src1, references: references.Concat([comp5Ref]), options: TestOptions.ReleaseDll);
12797
var comp7 =
CreateCompilation
(src1, references: references.Concat([comp5Ref]), options: TestOptions.ReleaseModule);
12944
CreateCompilation
(src).VerifyEmitDiagnostics(
13021
CreateCompilation
(src).VerifyEmitDiagnostics(
13337
var comp1 =
CreateCompilation
(src1);
13344
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13403
var comp1 =
CreateCompilation
(src1);
13410
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13467
var comp1 =
CreateCompilation
(src1);
13474
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13507
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13519
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugDll);
13539
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.DebugDll);
13554
var comp4 =
CreateCompilation
(source4, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.ReleaseExe);
13579
var comp5 =
CreateCompilation
(source5, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.UnsafeReleaseExe);
13608
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13620
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugDll);
13640
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.DebugDll);
13655
var comp4 =
CreateCompilation
(source4, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.ReleaseExe);
13680
var comp5 =
CreateCompilation
(source5, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.UnsafeReleaseExe);
13724
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13772
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13828
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13870
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13918
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13974
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14016
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14072
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14114
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14186
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14266
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14340
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14390
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14438
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14501
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14550
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14641
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14725
CreateCompilation
(source).VerifyEmitDiagnostics(
14761
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
14840
CreateCompilation
(source).VerifyEmitDiagnostics();
14862
CreateCompilation
(source).VerifyEmitDiagnostics(
14887
CreateCompilation
(source).VerifyEmitDiagnostics(
14913
CreateCompilation
(source).VerifyEmitDiagnostics();
14935
CreateCompilation
(source).VerifyEmitDiagnostics(
14964
CreateCompilation
(source).VerifyEmitDiagnostics(
15000
CreateCompilation
(source).VerifyEmitDiagnostics(
15033
CreateCompilation
(source).VerifyEmitDiagnostics(
15064
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15107
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15179
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15248
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15270
var comp =
CreateCompilation
(src);
15294
var comp =
CreateCompilation
(src);
15346
var comp =
CreateCompilation
(src);
15421
var comp =
CreateCompilation
(src);
15634
CreateCompilation
(src).VerifyEmitDiagnostics(
15828
CreateCompilation
(src).VerifyEmitDiagnostics(
15977
CreateCompilation
(src).VerifyEmitDiagnostics(
16041
CreateCompilation
(src).VerifyDiagnostics(
16064
CreateCompilation
([source, ParamCollectionAttributeSource]).VerifyDiagnostics(
16095
CreateCompilation
(src).VerifyDiagnostics(
16127
CreateCompilation
(src).VerifyDiagnostics(
16146
CreateCompilation
(src).VerifyDiagnostics(
16166
CreateCompilation
(src).VerifyDiagnostics(
16196
CreateCompilation
(src).VerifyDiagnostics(
16320
var comp =
CreateCompilation
([sourceA, sourceB2]);
16354
var comp =
CreateCompilation
(source);
16398
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16435
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16473
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16567
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
Semantics\PatternMatchingTestBase.cs (1)
432
return
CreateCompilation
(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
Semantics\PatternMatchingTests.cs (168)
49
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
73
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
112
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
141
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
175
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
212
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
292
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
327
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
363
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
399
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
437
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
465
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
511
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
564
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
606
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
640
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
681
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
731
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
772
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
824
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
883
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
918
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
947
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1042
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1101
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1213
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1263
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1309
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1372
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1422
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1476
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1528
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1584
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1641
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1718
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1822
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1871
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1924
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1979
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2027
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2071
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2121
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2168
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2224
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2284
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2341
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2400
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
2453
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2491
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2536
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2574
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
2607
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2656
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2696
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2740
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
2785
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2835
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2877
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2923
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2964
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3005
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3029
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
3076
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
3112
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3162
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3222
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3254
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3329
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3360
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6);
3387
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3412
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3438
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3474
var compilation =
CreateCompilation
(text,
3520
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3544
CreateCompilation
(source).VerifyDiagnostics(
3567
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
3610
CreateCompilation
(source).VerifyDiagnostics(
3641
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3689
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
3714
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3736
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3773
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3795
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3844
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3877
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3910
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3989
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4026
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4064
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe,
4084
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4138
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4169
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4220
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4536
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4563
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4593
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4618
var comp =
CreateCompilation
(source);
4662
CreateCompilation
(program).VerifyDiagnostics(
4692
CreateCompilation
(program).VerifyDiagnostics(
4715
CreateCompilation
(program).VerifyDiagnostics(
4748
CreateCompilation
(program).VerifyDiagnostics(
4775
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
4819
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
4848
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
4864
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
5055
CreateCompilation
(program).GetDiagnostics();
5100
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe).VerifyDiagnostics(
5143
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5169
var compilation =
CreateCompilation
(program).VerifyDiagnostics(
5221
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
5250
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
5258
CreateCompilation
(program, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
5297
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5317
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5677
var compilation =
CreateCompilation
(source);
5715
var compilation =
CreateCompilation
(source);
5777
var compilation =
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }, options: TestOptions.ReleaseExe);
5810
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5819
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5853
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5862
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5896
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5905
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5942
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5951
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
5988
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7);
5997
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_1);
6025
var compilation =
CreateCompilation
(source);
6072
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6105
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe);
6128
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
6133
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_1);
6159
var compilation =
CreateCompilation
(program, options: TestOptions.DebugDll.WithAllowUnsafe(true));
6224
var compilation =
CreateCompilation
(program, options: TestOptions.DebugExe.WithAllowUnsafe(true));
6277
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6279
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6298
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6321
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6347
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6368
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6389
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6414
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6438
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6477
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6521
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
6547
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6659
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6711
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7314
var comp =
CreateCompilation
(source);
7331
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7366
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
8557
var comp =
CreateCompilation
(sourceA);
8572
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10161
var comp =
CreateCompilation
(sourceA);
10176
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10966
var comp =
CreateCompilation
(sourceA);
11008
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11324
var comp =
CreateCompilation
(sourceA);
11343
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11523
var comp =
CreateCompilation
(source);
11589
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11859
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11899
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11942
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12205
CreateCompilation
(@"
12264
CreateCompilation
(@"
Semantics\PatternMatchingTests_ListPatterns.cs (106)
970
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithListPatterns);
1650
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1797
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1827
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
2598
var compilation =
CreateCompilation
(new[] { source, TestSources.Index }, options: TestOptions.ReleaseExe);
2642
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2740
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2883
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2999
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3059
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3256
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3267
var lib2Ref =
CreateCompilation
(lib2_cs, references: new[] { missingRef })
3282
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range },
3351
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3365
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
3378
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
3428
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3431
var rangeComp =
CreateCompilation
(new[] { range_cs, TestSources.Index }, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "range");
3435
var libComp =
CreateCompilation
(lib_cs, references: new[] { rangeRef }, assemblyName: "lib");
3450
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference(), rangeRef });
3479
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3549
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3552
var libComp =
CreateCompilation
(lib_cs, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "lib");
3555
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range }, references: new[] { libComp.EmitToImageReference() });
3615
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3672
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3708
var compilation =
CreateCompilation
(source);
3830
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3863
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3893
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3924
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3960
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3995
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4052
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4139
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4222
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4284
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4336
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4466
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4526
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4592
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4625
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5027
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
5121
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5162
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5257
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5307
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5328
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5347
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
5359
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
5374
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
5412
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5451
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5492
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5536
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5624
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5686
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5734
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
5796
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5809
comp =
CreateCompilation
(src);
5883
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5932
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5959
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5983
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6022
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6052
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6076
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6097
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
6120
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6144
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6174
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6612
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
7081
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe);
7149
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7451
var comp =
CreateCompilation
(src);
7486
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7525
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7550
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7576
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7602
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7609
comp =
CreateCompilation
(src);
7862
var compilation =
CreateCompilation
(source);
7892
compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7951
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
7977
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8012
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8057
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8128
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8172
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8192
var comp =
CreateCompilation
(source);
8218
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8232
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8247
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8268
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8289
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8310
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8324
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8345
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseExe);
8437
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
8459
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseDll);
8502
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8538
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8560
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.ITuple });
9074
var comp =
CreateCompilation
(source);
9099
var comp =
CreateCompilation
(source);
9167
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests_NullableTypes.cs (8)
33
var comp =
CreateCompilation
(source);
102
var comp =
CreateCompilation
(source);
185
var comp =
CreateCompilation
(source);
274
var comp =
CreateCompilation
(source);
350
var comp =
CreateCompilation
(source);
432
var comp =
CreateCompilation
(source);
510
var comp =
CreateCompilation
(source);
576
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests_Scope.cs (130)
66
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
170
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
279
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
325
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
362
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
441
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
546
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
703
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
819
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
936
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
972
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1118
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1241
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1276
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1390
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1448
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
1721
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2029
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2165
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2175
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2301
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2311
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2409
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2463
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2530
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2669
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2771
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2778
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
2892
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2935
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7_3);
3057
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3098
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3225
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3335
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
3504
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3592
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3677
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3768
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3858
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3959
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4055
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4130
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4165
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4446
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4831
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5168
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5297
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5332
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5465
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5672
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5879
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6006
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6090
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6173
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6260
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6331
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6404
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6462
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6507
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
6574
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
6662
var compilation =
CreateCompilation
(source,
6735
var compilation =
CreateCompilation
(source,
6810
var compilation =
CreateCompilation
(source,
6874
var compilation =
CreateCompilation
(source,
6919
var compilation =
CreateCompilation
(source,
7050
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7167
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7202
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7490
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7525
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7684
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7916
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8145
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8403
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8635
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
8873
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9121
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
9266
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9596
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9631
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
9764
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
9908
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
10043
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10155
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10194
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10337
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10516
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10668
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10710
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
10943
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11173
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11223
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11266
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11309
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11355
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11442
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11489
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11539
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11601
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11654
var compilation =
CreateCompilation
(
11713
var compilation =
CreateCompilation
(
11783
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11874
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
11968
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12059
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12137
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12183
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12243
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12396
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12589
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12788
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
12934
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13023
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13185
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13345
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13432
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13510
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13598
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13675
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
13739
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular);
13807
var comp =
CreateCompilation
(source);
13914
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
Semantics\PatternMatchingTests2.cs (35)
484
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
492
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
1195
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1198
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1445
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
1970
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1991
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2015
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2056
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2093
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2145
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2182
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2204
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2247
var compilation =
CreateCompilation
(source);
2291
var compilation =
CreateCompilation
(source);
2327
var compilation =
CreateCompilation
(source);
2399
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2400
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2434
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2435
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2461
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2519
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2560
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2598
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2636
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2666
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2701
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2733
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2852
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2985
CreateCompilation
(source).VerifyDiagnostics(
3003
CreateCompilation
(source).VerifyDiagnostics(
3025
CreateCompilation
(source).VerifyDiagnostics(
3270
var comp =
CreateCompilation
(source);
3655
CreateCompilation
(source).VerifyDiagnostics(
Semantics\PatternMatchingTests3.cs (134)
420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
470
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
593
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
636
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
679
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
722
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
746
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
769
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
812
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
854
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
902
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
961
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
989
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1036
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1089
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1142
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1195
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1229
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1243
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1263
CreateCompilation
(source).VerifyDiagnostics(
1281
CreateCompilation
(source).VerifyDiagnostics(
1305
CreateCompilation
(source).VerifyDiagnostics(
1327
CreateCompilation
(source).VerifyDiagnostics(
1355
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "0");
1379
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "null");
1608
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1626
CreateCompilation
(source).VerifyDiagnostics(
1647
CreateCompilation
(source).VerifyDiagnostics(
1696
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1726
var comp =
CreateCompilation
(source);
1761
var comp =
CreateCompilation
(source);
1793
var comp =
CreateCompilation
(source);
1825
var comp =
CreateCompilation
(source);
1852
var compilation =
CreateCompilation
(source);
1918
var compilation =
CreateCompilation
(source);
1997
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2093
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2165
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2237
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2286
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2335
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2366
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2424
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2470
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2501
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2541
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2579
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2608
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2650
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2666
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2692
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2720
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2743
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2814
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2873
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2914
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3000
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3071
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3140
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3278
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3366
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3441
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3488
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
3579
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3673
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3707
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3760
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3956
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4058
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4617
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4783
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4875
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4969
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5046
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5093
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators);
5253
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5322
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5536
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5563
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5585
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5608
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5629
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5654
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5680
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5704
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators, targetFramework: TargetFramework.NetCoreApp);
5725
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5753
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5791
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5820
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5853
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5874
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5909
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5938
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5967
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5988
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6014
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6035
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6076
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6128
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6180
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6489
var comp =
CreateCompilation
(source);
6697
var comp =
CreateCompilation
(source);
6723
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6761
var comp =
CreateCompilation
(source);
6819
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6860
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6901
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6926
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6953
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6986
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7013
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7038
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7067
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7097
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7124
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7158
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7192
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7225
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7249
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7273
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7296
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7315
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7335
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7361
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7389
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7418
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7450
var compilation =
CreateCompilation
(source);
7485
var compilation =
CreateCompilation
(source);
7519
var compilation =
CreateCompilation
(source);
7555
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7587
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7613
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7641
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
Semantics\PatternMatchingTests4.cs (28)
23
var comp =
CreateCompilation
(@"
45
var comp =
CreateCompilation
(@"
90
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
105
comp =
CreateCompilation
(source);
130
var comp =
CreateCompilation
(@"
3077
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3107
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3485
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3503
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3522
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3831
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
3859
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3880
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3902
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3924
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3948
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3975
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
4013
var comp =
CreateCompilation
(source);
4075
var comp =
CreateCompilation
(source);
4227
var comp =
CreateCompilation
(source);
4271
var comp =
CreateCompilation
(source);
4317
var comp =
CreateCompilation
(source);
4399
var comp =
CreateCompilation
(source);
4481
var comp =
CreateCompilation
(source);
4563
var comp =
CreateCompilation
(source);
4645
var comp =
CreateCompilation
(source);
4729
var comp =
CreateCompilation
(source);
4822
var comp =
CreateCompilation
(source);
Semantics\PatternMatchingTests5.cs (56)
65
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
172
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
224
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
291
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
339
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
369
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
403
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
422
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
559
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
717
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
745
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
786
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
832
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
886
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
975
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1069
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.UnsafeDebugDll);
1427
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1477
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1558
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1595
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1629
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1660
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1695
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1738
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1768
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1800
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1873
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1914
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1936
var comp =
CreateCompilation
(source);
1982
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2026
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2073
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2074
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2076
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2120
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference(aliases: ImmutableArray.Create("A"));
2121
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2123
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2175
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2234
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2235
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2237
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2298
var ref1 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference(aliases: ImmutableArray.Create("A"));
2299
var ref2 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference();
2301
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2508
var comp =
CreateCompilation
(source);
2551
var comp =
CreateCompilation
(source);
2580
var comp =
CreateCompilation
(source);
2612
var comp =
CreateCompilation
(source);
2645
var comp =
CreateCompilation
(source);
2683
var comp =
CreateCompilation
(source);
2721
var comp =
CreateCompilation
(source);
2761
var comp =
CreateCompilation
(source);
2869
var comp =
CreateCompilation
(source);
3033
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3130
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3353
CreateCompilation
(source).VerifyDiagnostics(
Semantics\PatternSwitchTests.cs (77)
39
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
68
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
96
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
161
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
189
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
273
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
300
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
327
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
399
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
426
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
452
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
503
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
531
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
557
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
580
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
603
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
626
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
649
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
669
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
691
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
841
var compilation =
CreateCompilation
(new[] { source, _iTupleSource }, options: TestOptions.DebugExe);
900
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
928
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
954
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
978
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
983
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1016
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1032
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1078
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1125
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1217
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1348
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1478
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1512
var compilation =
CreateCompilation
(source);
1558
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1588
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1623
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1688
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
1862
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1885
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1920
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1966
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2006
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2049
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2080
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2109
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2156
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2218
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2274
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2332
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2381
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2706
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2748
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2778
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2809
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2837
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2865
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2894
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2925
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2956
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2987
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3053
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3100
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3138
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3229
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3276
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3318
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3380
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3439
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3464
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3491
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3521
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3533
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
Semantics\PrimaryConstructorTests.cs (455)
60
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
67
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
70
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
86
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
93
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
100
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
115
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
122
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
125
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
157
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
164
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
167
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
182
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
192
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
199
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
218
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
225
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
228
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
243
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
253
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
260
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
280
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
290
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
297
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
314
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
321
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
324
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
335
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
338
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
341
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
352
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
355
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
358
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
366
var comp =
CreateCompilation
(@"
401
var comp =
CreateCompilation
(keyword + @" C(int x, string y);");
469
var comp =
CreateCompilation
(@"
505
var comp =
CreateCompilation
(src + src2);
508
comp =
CreateCompilation
(src);
509
var comp2 =
CreateCompilation
(src2, references: new[] { comp.EmitToImageReference() });
517
var comp =
CreateCompilation
(@"
543
var comp =
CreateCompilation
(@"
566
var comp =
CreateCompilation
(@"
608
var comp =
CreateCompilation
(keyword + @" C();");
660
var comp =
CreateCompilation
(@"
694
var comp =
CreateCompilation
(@"
750
var comp =
CreateCompilation
(@"
794
var comp =
CreateCompilation
(@"
814
var comp =
CreateCompilation
(@"
855
var comp =
CreateCompilation
(src);
891
var comp =
CreateCompilation
(src);
927
var comp =
CreateCompilation
(src);
957
var comp =
CreateCompilation
(src);
986
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1068
var comp =
CreateCompilation
(src);
1290
var comp =
CreateCompilation
(src);
1356
var comp =
CreateCompilation
(src);
1402
var comp =
CreateCompilation
(src);
1455
var comp =
CreateCompilation
(src);
1517
var comp =
CreateCompilation
(src);
1606
var comp =
CreateCompilation
(src);
1691
var comp =
CreateCompilation
(src);
1718
var comp =
CreateCompilation
(src);
1744
var comp =
CreateCompilation
(src);
1776
var comp =
CreateCompilation
(src);
1802
var comp =
CreateCompilation
(src);
1844
var comp =
CreateCompilation
(src);
1884
var comp =
CreateCompilation
(src);
2033
var comp =
CreateCompilation
(src);
2067
var comp =
CreateCompilation
(src);
2101
var comp =
CreateCompilation
(src);
2283
var comp =
CreateCompilation
(src);
2413
var comp =
CreateCompilation
(src);
2452
var comp =
CreateCompilation
(src);
2504
var comp =
CreateCompilation
(src);
2523
var comp =
CreateCompilation
(src);
2545
var comp =
CreateCompilation
(src);
2564
var comp =
CreateCompilation
(src);
2580
var comp =
CreateCompilation
(src);
2607
var comp =
CreateCompilation
(src);
2637
var comp =
CreateCompilation
(src);
2670
var comp =
CreateCompilation
(src);
2704
var comp =
CreateCompilation
(src);
2748
var comp =
CreateCompilation
(src);
2838
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2860
var comp =
CreateCompilation
(src);
2890
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2915
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2941
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2954
var comp =
CreateCompilation
(src);
2983
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3007
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3087
var comp =
CreateCompilation
(source);
3136
var comp =
CreateCompilation
(source);
3190
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3194
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3198
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3242
var comp =
CreateCompilation
(source);
3268
var comp =
CreateCompilation
(source);
3301
var comp =
CreateCompilation
(source);
3345
var comp =
CreateCompilation
(source);
3376
var comp =
CreateCompilation
(source);
3397
var comp =
CreateCompilation
(source);
3432
var comp =
CreateCompilation
(source);
3488
var comp =
CreateCompilation
(source);
3533
var comp =
CreateCompilation
(source);
3551
var comp =
CreateCompilation
(source);
3577
var comp =
CreateCompilation
(source);
3600
var comp =
CreateCompilation
(source);
3622
var comp =
CreateCompilation
(source);
3644
var comp =
CreateCompilation
(source);
3681
var comp =
CreateCompilation
(text1);
4052
var comp =
CreateCompilation
(text1);
4130
var comp =
CreateCompilation
(text1);
4265
var comp =
CreateCompilation
(text1);
4481
var comp =
CreateCompilation
(text1);
4587
var comp =
CreateCompilation
(text1);
4795
var comp =
CreateCompilation
(text1);
4900
var comp =
CreateCompilation
(text1);
5113
var comp =
CreateCompilation
(text1);
5216
var comp =
CreateCompilation
(text1);
5455
var comp =
CreateCompilation
(text1);
5534
var comp =
CreateCompilation
(text1);
5659
var comp =
CreateCompilation
(text1);
5762
var comp =
CreateCompilation
(text1);
5818
var comp =
CreateCompilation
(text1);
5890
var comp =
CreateCompilation
(text1);
6048
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6081
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6128
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6165
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6187
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6208
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6231
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6258
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6283
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6321
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6351
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6385
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6419
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6454
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6489
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6529
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6569
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6612
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6653
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6698
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6740
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6786
var compilation1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net60);
6806
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
6828
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6854
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6880
var comp =
CreateCompilation
(source);
6905
var comp =
CreateCompilation
(src);
6933
var comp =
CreateCompilation
(src);
6961
var comp =
CreateCompilation
(src);
6989
var comp =
CreateCompilation
(src);
7108
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
7791
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8305
var comp =
CreateCompilation
(src);
8349
var comp =
CreateCompilation
(src);
8415
var comp =
CreateCompilation
(src);
8526
var comp =
CreateCompilation
(src);
8613
var comp =
CreateCompilation
(src);
8654
var comp =
CreateCompilation
(src);
8753
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9159
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9338
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9361
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9416
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9453
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9475
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9517
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9539
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
9573
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9878
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9908
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9938
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9991
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10014
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10036
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10146
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10185
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10220
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10263
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10305
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10336
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10376
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10408
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10444
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10483
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10522
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10558
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10594
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10633
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10672
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10715
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10747
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10783
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10819
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10870
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10914
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10958
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11001
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11044
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11086
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11131
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11166
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11193
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11231
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11258
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11296
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11331
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11363
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11394
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11437
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11480
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11512
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11555
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11598
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11778
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11829
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
11989
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12030
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe);
12056
var comp2 =
CreateCompilation
(source2);
12110
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12150
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12193
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12243
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12316
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12393
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12449
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12486
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12518
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12541
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12565
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12597
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12620
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12665
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12688
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12717
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12740
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12779
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12830
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12871
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12886
CreateCompilation
(@"
12922
CreateCompilation
(@"
12950
CreateCompilation
(@"
12976
CreateCompilation
(@"
13015
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13040
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
13059
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13086
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13118
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13150
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13184
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13222
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13266
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13299
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13336
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13397
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13427
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13490
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13521
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13563
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13616
CreateCompilation
(text).VerifyEmitDiagnostics();
13662
CreateCompilation
(text).VerifyEmitDiagnostics(
13731
CreateCompilation
(text).VerifyEmitDiagnostics(
13777
CreateCompilation
(text).VerifyEmitDiagnostics();
13792
CreateCompilation
(text).VerifyEmitDiagnostics(
13816
CreateCompilation
(text).VerifyEmitDiagnostics(
13862
CreateCompilation
(text).VerifyEmitDiagnostics();
13876
CreateCompilation
(text).VerifyEmitDiagnostics();
13897
CreateCompilation
(new[] { text1, text2 }).VerifyEmitDiagnostics(
13903
CreateCompilation
(new[] { text2, text1 }).VerifyEmitDiagnostics(
13938
var comp =
CreateCompilation
(source);
13975
var comp =
CreateCompilation
(source);
14008
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14049
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14198
CreateCompilation
(text).VerifyEmitDiagnostics(
14281
CreateCompilation
(text).VerifyEmitDiagnostics(
14370
var comp =
CreateCompilation
(source);
14413
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14450
var comp =
CreateCompilation
(source);
14474
var comp =
CreateCompilation
(source);
14495
var comp =
CreateCompilation
(source);
14521
var comp =
CreateCompilation
(source1 + source2);
14529
comp =
CreateCompilation
(source2 + source1);
14547
var comp =
CreateCompilation
(source);
14561
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14591
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14595
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14612
var comp =
CreateCompilation
(source);
14659
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
14685
var comp =
CreateCompilation
(source);
14714
var comp =
CreateCompilation
(source);
14743
var comp =
CreateCompilation
(source);
14772
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14799
var comp =
CreateCompilation
(source);
14836
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14853
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14875
var comp =
CreateCompilation
(source);
14895
var comp =
CreateCompilation
(source);
14937
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14976
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15009
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15061
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
15092
var comp =
CreateCompilation
(source);
15126
var comp =
CreateCompilation
(source);
15160
var comp =
CreateCompilation
(source);
15194
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15226
var comp =
CreateCompilation
(source);
15268
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15290
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15317
var comp =
CreateCompilation
(source);
15342
var comp =
CreateCompilation
(source);
15389
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15433
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15449
var comp =
CreateCompilation
(source);
15475
var comp =
CreateCompilation
(source);
15497
var comp =
CreateCompilation
(source);
15516
var comp =
CreateCompilation
(source);
15543
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15575
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15597
var comp =
CreateCompilation
(source);
15616
var comp =
CreateCompilation
(source);
15649
var comp =
CreateCompilation
(source);
15690
var comp =
CreateCompilation
(source);
15711
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15733
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15754
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15775
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15833
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16063
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16084
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16109
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16127
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16153
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16179
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16197
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16215
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16241
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16267
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16293
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16319
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16340
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16371
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16405
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16587
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
16819
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17079
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17370
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17428
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17524
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17613
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17744
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17953
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18215
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
18512
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18857
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19027
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19250
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19324
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19477
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19560
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19609
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19682
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19707
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19737
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19762
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19783
var comp =
CreateCompilation
(new[] { source1, source2 });
19813
var comp =
CreateCompilation
([source1, source2]);
19849
var comp =
CreateCompilation
([source1, source2]);
19881
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19916
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19952
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19978
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20001
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20113
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20178
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20213
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20256
var comp =
CreateCompilation
(src);
20286
var comp =
CreateCompilation
(source);
20310
var comp =
CreateCompilation
(source);
20352
var comp =
CreateCompilation
(new[] { source1, source2 });
20399
var comp =
CreateCompilation
(new[] { source1, source2 });
20432
var comp =
CreateCompilation
(new[] { source1, source2 });
20493
var comp =
CreateCompilation
(new[] { source1, source2, source3 });
20516
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20550
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20598
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended);
20622
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
20642
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20675
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20716
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20760
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20807
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20863
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20895
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20927
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20959
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20981
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21003
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21032
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21054
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21088
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21125
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21159
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21196
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21231
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21266
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21301
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21334
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21365
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21394
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21434
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21465
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21502
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21551
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21594
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21633
var comp =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.ReleaseDll);
21643
comp =
CreateCompilation
(source2 + source1 + source3, options: TestOptions.ReleaseDll);
21675
var comp =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.ReleaseDll);
21716
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21781
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21842
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21903
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21939
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
21958
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
21977
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22026
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22055
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22070
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22091
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22117
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22143
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22174
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22196
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22241
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseDll);
22307
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22345
var comp =
CreateCompilation
(source);
22390
var comp =
CreateCompilation
(source);
22431
var comp1 =
CreateCompilation
(
22436
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22439
var comp3 =
CreateCompilation
([source2], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22480
var comp1 =
CreateCompilation
(
22485
var comp2 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22488
var comp3 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22521
var comp1 =
CreateCompilation
(
22546
var comp0 =
CreateCompilation
(source0);
22574
var comp1 =
CreateCompilation
(
22579
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22605
var comp0 =
CreateCompilation
(source0);
22633
var comp1 =
CreateCompilation
(
22638
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Semantics\RecordTests.cs (264)
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) });
770
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
790
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
845
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
1044
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
1180
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1199
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
1244
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1300
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1353
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1418
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugExe);
1451
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugExe);
1508
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1774
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
2528
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2543
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9);
2871
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2878
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3215
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4271
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4296
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_12", parseOptions: TestOptions.Regular9).EmitToImageReference();
4302
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4316
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4331
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4337
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_13", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4343
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4355
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4371
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4401
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4426
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, assemblyName: "Clone_15", parseOptions: TestOptions.Regular9).EmitToImageReference();
4432
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4446
var comp3 =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp2Ref }, parseOptions: TestOptions.Regular9);
4488
var comp1Ref =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4494
var comp2Ref =
CreateCompilation
(new[] { source2, IsExternalInitTypeDefinition }, assemblyName: "Clone_16", references: new[] { comp1Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4500
var comp3Ref =
CreateCompilation
(new[] { source3, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp2Ref }, parseOptions: TestOptions.Regular9).EmitToImageReference();
4512
var comp4 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp1Ref, comp3Ref }, parseOptions: TestOptions.Regular9);
4537
var comp5 =
CreateCompilation
(new[] { source4, IsExternalInitTypeDefinition }, references: new[] { comp3Ref }, parseOptions: TestOptions.Regular9);
4976
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5051
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5128
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5295
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5327
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5362
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5387
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5407
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5434
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
5513
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5568
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5607
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5648
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5714
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5777
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5826
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5848
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
5943
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9, options: TestOptions.DebugExe);
5974
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5997
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6023
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6066
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6107
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6148
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
6188
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6212
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
6236
var comp =
CreateCompilation
(new[] { src1, src2, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7247
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
7360
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7380
var comp =
CreateCompilation
(src, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
7547
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7647
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
7672
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
8873
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9867
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
9985
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10645
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
10776
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
10856
var comp =
CreateCompilation
(new[] { sourceA, sourceB, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
10886
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
10934
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11018
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11089
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11179
var compB =
CreateCompilation
(new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9);
11391
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11605
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
11841
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12130
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12256
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12341
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12420
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12525
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12582
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12637
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
12655
var compA =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? sourceA : new[] { sourceA, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
12694
var compB =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? sourceB : new[] { sourceB, IsExternalInitTypeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.NetLatest);
12746
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
12780
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
12963
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13006
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);
13119
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13241
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13281
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
13368
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13381
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9);
13400
var compA =
CreateCompilation
(new[] { sourceA, IsExternalInitTypeDefinition }, assemblyName: "AssemblyA", parseOptions: TestOptions.Regular9);
13406
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13415
var compC =
CreateCompilation
(sourceC, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB");
13418
var compB2 =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9, assemblyName: "AssemblyB2");
13560
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
14040
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14066
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14099
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
14132
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
14139
var comp1 =
CreateCompilation
("""
14147
var comp2 =
CreateCompilation
("""
14554
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14567
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
15827
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: usePreview ? TestOptions.Regular10 : TestOptions.Regular9);
15901
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? source : new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
18143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18182
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18217
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18252
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18294
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18328
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18364
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18468
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18495
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18559
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18588
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18612
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18685
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18718
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18757
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18793
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18895
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
18926
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
18966
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
19010
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
19054
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19198
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: modifiers == "abstract " ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
19249
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19266
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19296
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19333
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
19604
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
20136
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20167
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
20236
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20388
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21097
var comp =
CreateCompilation
(RuntimeUtilities.IsCoreClrRuntime ? src : new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetLatest);
22629
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22798
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
22911
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23017
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23124
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23471
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23638
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23672
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23712
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetLatest);
23819
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23859
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23910
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
23936
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
23998
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
24014
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
24034
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseDll);
24103
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24163
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24221
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24284
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
24720
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
24974
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25019
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25046
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25066
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25103
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25137
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25668
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.Regular9);
25716
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
25758
CSharpCompilation c =
CreateCompilation
(@"
26084
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
27796
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9)
28001
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
28002
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
28024
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
28025
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
28214
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
28237
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28284
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
28327
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, assemblyName: "Test");
28389
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28440
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28475
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28505
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28534
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28565
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28598
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28644
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28682
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28729
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28776
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28824
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28872
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28924
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
28977
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29034
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29084
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29142
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29199
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
29270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29295
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29320
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29353
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
29385
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29420
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29445
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29473
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29511
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29549
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29580
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29590
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29653
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29684
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29705
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29718
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
29750
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29753
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29782
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
29785
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29803
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29830
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29868
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29891
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29928
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29960
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
29986
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
30015
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
30039
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
30063
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview);
30298
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions("CS1701", ReportDiagnostic.Suppress), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
30412
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
30471
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30495
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30546
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetCoreApp);
30549
comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Mscorlib461Extended);
Symbols\UserDefinedCompoundAssignmentOperatorsTests.cs (511)
38
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
41
comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net60);
44
comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net60);
56
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
98
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
120
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
144
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
162
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
180
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
204
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net90);
236
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net90);
278
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
323
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
354
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
391
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
413
comp =
CreateCompilation
(["class C2 : C1 {}", source, CompilerFeatureRequiredAttribute]);
449
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
501
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
556
var comp =
CreateCompilation
(source1 + source2, targetFramework: TargetFramework.Net90);
559
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net90);
561
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net90, parseOptions: TestOptions.Regular13);
623
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
680
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
707
comp =
CreateCompilation
(["class C1 : I3, I4 {}", source], targetFramework: TargetFramework.Net90);
729
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
757
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
784
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
811
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
849
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
892
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
914
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
948
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1000
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1054
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1109
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1151
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1178
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1205
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1243
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1286
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1323
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1345
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1379
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1394
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute]);
1460
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1494
comp =
CreateCompilation
(["class C4 : C2 {}", source, CompilerFeatureRequiredAttribute]);
1516
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1561
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1599
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1642
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1679
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1707
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1729
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
1758
comp =
CreateCompilation
([source2, source], targetFramework: TargetFramework.Net90);
1786
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1820
comp =
CreateCompilation
([source2, source, CompilerFeatureRequiredAttribute]);
1858
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1902
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
1946
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2002
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2069
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2106
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2128
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2170
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2207
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2244
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2266
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2314
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2368
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2422
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2476
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2510
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2550
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2591
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2632
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2688
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2709
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
2731
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2768
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2805
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2844
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2881
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
2919
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
2954
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
2993
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
3068
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
3256
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
3259
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
3262
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
3265
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
3289
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
3319
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
3394
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
3480
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
3517
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
3598
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
3817
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
3854
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
3935
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4044
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
4081
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4156
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4326
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
4329
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
4332
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4335
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
4358
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4388
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4463
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4537
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
4574
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.ReleaseExe);
4589
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4602
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4635
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4658
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4677
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4711
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
4750
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
4781
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
4822
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
4843
var comp1_1 =
CreateCompilation
([source1_1, CompilerFeatureRequiredAttribute], assemblyName: "C");
4860
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1_1.ToMetadataReference()]);
4894
var comp1_2 =
CreateCompilation
([source1_2, CompilerFeatureRequiredAttribute], assemblyName: "C");
4896
var comp3 =
CreateCompilation
([source3, CompilerFeatureRequiredAttribute], references: [comp1_2.EmitToImageReference(), comp2.EmitToImageReference()], options: TestOptions.DebugExe);
4938
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
4983
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
5013
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
5082
var comp1Ref =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]).EmitToImageReference();
5117
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe);
5129
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
5162
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
5190
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
5235
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
5268
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
5298
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5314
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
5347
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5366
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
5414
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5446
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5461
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
5487
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5501
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
5528
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5552
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
5590
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
5612
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
5667
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
5722
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
5768
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
5811
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
6030
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
6061
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
6082
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6103
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6127
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6160
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6202
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6236
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6270
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6304
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6337
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6380
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6425
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6468
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6504
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6538
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6581
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6618
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6655
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6691
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6726
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6769
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6815
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6860
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6885
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6913
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6940
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6968
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
6996
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7030
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
7070
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7103
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7131
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7165
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7221
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
7284
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
7329
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
7358
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
7386
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
7415
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
7498
var comp1 =
CreateCompilation
(source1);
7501
var comp2 =
CreateCompilation
("", references: [comp1Ref]);
7551
var comp1 =
CreateCompilation
(source1);
7554
var comp2 =
CreateCompilation
("", references: [comp1Ref], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
7584
var comp2 =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7609
var comp2 =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7731
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
7849
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
7901
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
7934
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
7979
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
7982
comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net60);
7985
comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net60);
8005
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
8072
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
8098
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
8146
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
8209
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
8244
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
8272
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
8321
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net60);
8339
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8357
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8379
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8401
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8438
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8463
comp =
CreateCompilation
(["class C2 : C1 {}", source, CompilerFeatureRequiredAttribute]);
8524
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
8593
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8659
var comp =
CreateCompilation
(source1 + source2, targetFramework: TargetFramework.Net90);
8662
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net90);
8664
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net90, parseOptions: TestOptions.Regular13);
8744
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8811
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8841
comp =
CreateCompilation
(["class C1 : I3 {}", source], targetFramework: TargetFramework.Net90);
8850
comp =
CreateCompilation
(["class C1 : I4 {}", source], targetFramework: TargetFramework.Net90);
8879
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8913
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8937
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
8968
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
8997
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9016
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9039
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9063
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9091
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9137
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9206
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9270
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9335
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9379
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9398
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9416
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9436
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9454
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9474
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9498
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9523
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9541
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9561
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9592
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9607
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute]);
9670
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9722
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9756
comp =
CreateCompilation
(["class C4 : C2 {}", source, CompilerFeatureRequiredAttribute]);
9787
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
9815
comp =
CreateCompilation
(["class C4 : C2 {}", source, CompilerFeatureRequiredAttribute]);
9834
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9873
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9915
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9936
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9970
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
9997
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10022
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10049
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10068
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10097
comp =
CreateCompilation
([source2, source], targetFramework: TargetFramework.Net90);
10118
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10145
comp =
CreateCompilation
([source2, source], targetFramework: TargetFramework.Net90);
10170
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10204
comp =
CreateCompilation
([source2, source, CompilerFeatureRequiredAttribute]);
10230
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10260
comp =
CreateCompilation
([source2, source, CompilerFeatureRequiredAttribute]);
10284
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10305
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10329
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10350
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10374
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10401
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10428
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10461
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10501
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10528
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10547
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10582
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10618
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10644
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10678
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10705
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10724
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10759
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10801
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10853
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
10902
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
10954
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11003
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11055
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11104
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11149
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11174
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11213
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11249
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11289
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11326
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11366
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11403
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11443
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11495
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11522
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11540
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
11577
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11604
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11640
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11668
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11704
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11732
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
11767
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
11794
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
11821
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
11848
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
11883
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
11964
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
12194
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
12197
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
12200
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12203
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
12226
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12269
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
12350
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
12568
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
12571
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
12574
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12577
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
12600
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12624
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
12705
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
12883
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
12964
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13132
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
13135
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
13138
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13141
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
13164
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13188
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
13269
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13435
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
13438
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
13441
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13444
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
13467
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13491
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
13572
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13692
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
13789
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
14049
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14052
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
14055
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
14058
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
14081
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
14105
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
14202
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
14460
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14463
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
14466
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
14469
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
14492
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
14516
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
14613
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
14825
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
14915
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
15119
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
15122
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
15125
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
15128
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
15151
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
15175
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
15265
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
15467
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
15470
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular14);
15473
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
15476
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
15499
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
15523
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
15546
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15582
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15612
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15642
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
15670
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
15693
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
15709
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15729
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15752
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
15768
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15789
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
15826
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
15887
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
15935
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16025
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
16170
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16201
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16251
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16272
var comp1_1 =
CreateCompilation
([source1_1, CompilerFeatureRequiredAttribute], assemblyName: "C");
16289
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1_1.ToMetadataReference()]);
16323
var comp1_2 =
CreateCompilation
([source1_2, CompilerFeatureRequiredAttribute], assemblyName: "C");
16325
var comp3 =
CreateCompilation
([source3, CompilerFeatureRequiredAttribute], references: [comp1_2.EmitToImageReference(), comp2.EmitToImageReference()], options: TestOptions.DebugExe);
16367
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16412
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16442
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
16511
var comp1Ref =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]).EmitToImageReference();
16538
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe);
16546
comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
16575
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16603
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
16648
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16681
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16719
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
16747
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16757
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16785
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16792
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16820
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16827
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16855
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16865
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16897
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16910
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16944
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16951
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
16989
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
16992
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
17023
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17033
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
17076
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17102
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17117
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.DebugExe);
17143
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17157
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
17184
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17208
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
17246
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
17268
var comp2 =
CreateCompilation
([source2, CompilerFeatureRequiredAttribute], references: [fromMetadata ? comp1.EmitToImageReference() : comp1.ToMetadataReference()]);
17323
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
17378
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
17424
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
17467
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
17686
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
17717
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
17736
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
17755
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
17784
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
17826
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
17860
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
17907
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
17941
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
17984
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18027
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18061
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18098
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18141
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18175
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18221
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18270
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18307
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18353
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18396
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18431
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
18456
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18476
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18503
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18534
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18562
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18593
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18618
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18648
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18685
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18721
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18754
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18779
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18807
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18843
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18881
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18916
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
18969
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
19056
var compilation =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net90);
19107
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19148
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19176
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19205
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19233
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19262
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics();
19354
var comp1 =
CreateCompilation
(source1);
19357
var comp2 =
CreateCompilation
("", references: [comp1Ref]);
19422
var comp1 =
CreateCompilation
(source1);
19425
var comp2 =
CreateCompilation
("", references: [comp1Ref]);
19454
var comp1 =
CreateCompilation
(source1);
19457
var comp2 =
CreateCompilation
("", references: [comp1Ref], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
19512
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
19578
var comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
19622
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute });
19679
var comp2 =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
19704
var comp2 =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
19861
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
19915
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20044
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20088
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20152
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20179
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
20235
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20297
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
20328
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
20366
var comp =
CreateCompilation
([source, CompilerFeatureRequiredAttribute]);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (11)
EndToEndTests.cs (11)
170
var compilation =
CreateCompilation
(source, options: options);
251
var compilation =
CreateCompilation
(source, options: options);
325
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
451
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
488
var comp =
CreateCompilation
(source);
580
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
605
var comp =
CreateCompilation
(sb.ToString());
697
var comp =
CreateCompilation
(source);
775
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
812
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
876
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithConcurrentBuild(false));
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (309)
IOperation\FunctionPointerOperations.cs (1)
19
return
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
IOperation\IOperationTests.cs (13)
24
var comp =
CreateCompilation
(@"
70
var comp =
CreateCompilation
(@"
104
var comp =
CreateCompilation
(@"
166
var comp =
CreateCompilation
(@"
258
var comp =
CreateCompilation
(tree);
350
var comp =
CreateCompilation
(tree);
405
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
505
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
553
var comp =
CreateCompilation
(text);
573
var compilation =
CreateCompilation
(@"
598
var compilation =
CreateCompilation
(@"
660
var compilation =
CreateCompilation
(source);
709
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IAnonymousFunctionExpression.cs (2)
844
var compilation =
CreateCompilation
(source);
899
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IArgument.cs (26)
1249
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(
CreateCompilation
(new[] { source1, source0 }), expectedOperationTree, expectedDiagnostics0And1);
1257
var lib0 =
CreateCompilation
(source0).ToMetadataReference();
1258
VerifyOperationTreeAndDiagnosticsForTest<InvocationExpressionSyntax>(
CreateCompilation
(new[] { source1 }, references: new[] { lib0 }), expectedOperationTree, expectedDiagnostics1);
1260
CreateCompilation
(new[] { source1 }, references: new[] { lib0 }).VerifyEmitDiagnostics(expectedDiagnostics1);
1466
var comp =
CreateCompilation
(new[] { source1, source0 });
1470
var comp0 =
CreateCompilation
(source0);
1473
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1512
var comp =
CreateCompilation
(new[] { source1, source0 });
1516
var comp0 =
CreateCompilation
(source0);
1519
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1558
var comp =
CreateCompilation
(new[] { source1, source0 });
1562
var comp0 =
CreateCompilation
(source0);
1565
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1603
var comp =
CreateCompilation
(new[] { source1, source0 });
1607
var comp0 =
CreateCompilation
(source0);
1610
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
1649
var comp =
CreateCompilation
(new[] { source1, source0 });
1653
var comp0 =
CreateCompilation
(source0);
1656
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() });
2852
var comp =
CreateCompilation
(source);
2898
var comp =
CreateCompilation
(source);
2947
var comp =
CreateCompilation
(source);
3065
var compilation =
CreateCompilation
(source);
4013
var comp =
CreateCompilation
(source);
4051
var comp =
CreateCompilation
(source);
4092
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IBlock.cs (13)
35
var compilation =
CreateCompilation
(source);
85
var compilation =
CreateCompilation
(source);
120
var compilation =
CreateCompilation
(source);
193
var compilation =
CreateCompilation
(source);
254
var compilation =
CreateCompilation
(source);
291
var compilation =
CreateCompilation
(source);
364
var compilation =
CreateCompilation
(source);
412
var compilation =
CreateCompilation
(source);
457
var compilation =
CreateCompilation
(source);
538
var compilation =
CreateCompilation
(source);
616
var compilation =
CreateCompilation
(source);
685
var compilation =
CreateCompilation
(source);
804
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IBranchOperation.cs (17)
30
var compilation =
CreateCompilation
(source);
65
var compilation =
CreateCompilation
(source);
129
var compilation =
CreateCompilation
(source);
197
var compilation =
CreateCompilation
(source);
265
var compilation =
CreateCompilation
(source);
326
var compilation =
CreateCompilation
(source);
369
var compilation =
CreateCompilation
(source);
420
var compilation =
CreateCompilation
(source);
470
var compilation =
CreateCompilation
(source);
541
var compilation =
CreateCompilation
(source);
594
var compilation =
CreateCompilation
(source);
667
var compilation =
CreateCompilation
(source);
721
var compilation =
CreateCompilation
(source);
1156
var compilation =
CreateCompilation
(source);
1199
var compilation =
CreateCompilation
(source);
1248
var compilation =
CreateCompilation
(source);
1311
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IBranchOperation.Extensions.cs (1)
377
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_ICoalesceAssignmentOperation.cs (2)
223
var comp =
CreateCompilation
(@"
309
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_ICoalesceOperation.cs (13)
31
var compilation =
CreateCompilation
(source);
142
var compilation =
CreateCompilation
(source);
257
var compilation =
CreateCompilation
(source);
372
var compilation =
CreateCompilation
(source);
484
var compilation =
CreateCompilation
(source);
601
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
716
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef }, targetFramework: TargetFramework.Mscorlib40AndSystemCore);
828
var compilation =
CreateCompilation
(source);
946
var compilation =
CreateCompilation
(source);
1048
var compilation =
CreateCompilation
(source);
1163
var compilation =
CreateCompilation
(source);
1271
var compilation =
CreateCompilation
(source);
1427
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IConditionalAccessExpression.cs (2)
131
var comp =
CreateCompilation
(source);
1382
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IConstructorBodyOperation.cs (18)
26
var compilation =
CreateCompilation
(source);
55
var compilation =
CreateCompilation
(source);
118
var compilation =
CreateCompilation
(source);
184
var compilation =
CreateCompilation
(source);
252
var compilation =
CreateCompilation
(source);
318
var compilation =
CreateCompilation
(source);
387
var compilation =
CreateCompilation
(source);
476
var compilation =
CreateCompilation
(source);
504
var compilation =
CreateCompilation
(source);
578
var compilation =
CreateCompilation
(source);
646
var compilation =
CreateCompilation
(source);
716
var compilation =
CreateCompilation
(source);
785
var compilation =
CreateCompilation
(source);
855
var compilation =
CreateCompilation
(source);
950
var compilation =
CreateCompilation
(source);
1061
var compilation =
CreateCompilation
(source);
1085
var compilation =
CreateCompilation
(source);
1152
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IConversionExpression.cs (3)
3402
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
5288
var compilation =
CreateCompilation
(source);
5319
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IDelegateCreationExpression.cs (1)
2045
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
IOperation\IOperationTests_IFieldReferenceExpression.cs (2)
696
var compWithoutNullable =
CreateCompilation
(program);
697
var compWithNullable =
CreateCompilation
(program, options: WithNullableEnable());
IOperation\IOperationTests_IFixedStatement.cs (1)
688
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
IOperation\IOperationTests_IForEachLoopStatement.cs (19)
2779
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
2911
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
3003
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net60);
5868
var compilation =
CreateCompilation
(@"
5992
var compilation =
CreateCompilation
(@"
6116
var compilation =
CreateCompilation
(@"
6234
var compilation =
CreateCompilation
(@"
6497
var compilation =
CreateCompilation
(@"
6773
var comp =
CreateCompilation
(@"
6915
var comp =
CreateCompilation
(@"
7009
var comp =
CreateCompilation
(@"
7341
var comp =
CreateCompilation
(@"
7591
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7675
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7721
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7808
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7859
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7954
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
8003
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IInlineArrayAccessOperation.cs (10)
48
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
90
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
180
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
273
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
399
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
426
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
472
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
568
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
657
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
800
var comp =
CreateCompilation
(source + Buffer10Definition, targetFramework: TargetFramework.Net80);
IOperation\IOperationTests_IInterpolatedStringOperation.cs (1)
4851
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
IOperation\IOperationTests_IIsPatternExpression.cs (12)
712
var compilation =
CreateCompilation
(source);
1317
var compilation =
CreateCompilation
(source, new[] { vbCompilation.EmitToImageReference() }, parseOptions: TestOptions.Regular8);
1390
var compilation =
CreateCompilation
(source, new[] { vbCompilation.EmitToImageReference() });
1433
var compilation =
CreateCompilation
(source);
1480
var compilation =
CreateCompilation
(source);
1524
var compilation =
CreateCompilation
(source);
1571
var compilation =
CreateCompilation
(source);
1616
var compilation =
CreateCompilation
(source);
1661
var compilation =
CreateCompilation
(source);
2330
var comp =
CreateCompilation
(source);
2437
var comp =
CreateCompilation
(source);
2478
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
IOperation\IOperationTests_ILocalFunctionStatement.cs (2)
1790
var compilation =
CreateCompilation
(source);
1845
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IMethodBodyOperation.cs (27)
28
var compilation =
CreateCompilation
(source);
51
var compilation =
CreateCompilation
(source);
104
var compilation =
CreateCompilation
(source);
160
var compilation =
CreateCompilation
(source);
238
var compilation =
CreateCompilation
(source);
280
var compilation =
CreateCompilation
(source);
323
var compilation =
CreateCompilation
(source);
390
var compilation =
CreateCompilation
(source);
439
var compilation =
CreateCompilation
(source);
496
var compilation =
CreateCompilation
(source);
551
var compilation =
CreateCompilation
(source);
576
var compilation =
CreateCompilation
(source);
608
var compilation =
CreateCompilation
(source);
646
var compilation =
CreateCompilation
(source);
693
var compilation =
CreateCompilation
(source);
718
var compilation =
CreateCompilation
(source);
750
var compilation =
CreateCompilation
(source);
788
var compilation =
CreateCompilation
(source);
835
var compilation =
CreateCompilation
(source);
860
var compilation =
CreateCompilation
(source);
892
var compilation =
CreateCompilation
(source);
927
var compilation =
CreateCompilation
(source);
971
var compilation =
CreateCompilation
(source);
995
var compilation =
CreateCompilation
(source);
1030
var compilation =
CreateCompilation
(source);
1069
var compilation =
CreateCompilation
(source);
1113
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_INoPiaObjectCreationOperation.cs (7)
43
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
102
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
159
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
209
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
301
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
391
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
458
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll);
IOperation\IOperationTests_IObjectCreationExpression.cs (15)
171
var comp =
CreateCompilation
(@"
705
var comp =
CreateCompilation
(@"
1017
var comp =
CreateCompilation
(@"
1249
var comp =
CreateCompilation
(@"
1377
var comp =
CreateCompilation
("_ = new int[/*<bind>*/new(bad)/*</bind>*/];");
1397
var comp =
CreateCompilation
(@"
1427
var comp =
CreateCompilation
(source);
1455
var comp =
CreateCompilation
(source);
1483
var comp =
CreateCompilation
(source);
1503
var comp =
CreateCompilation
(@"
2234
var comp =
CreateCompilation
(@"
2353
var comp =
CreateCompilation
(@"
15059
var comp =
CreateCompilation
(source);
15154
var comp =
CreateCompilation
(source);
15397
var comp =
CreateCompilation
(source);
IOperation\IOperationTests_IParameterReferenceExpression.cs (1)
982
var compilation0 =
CreateCompilation
(sources0);
IOperation\IOperationTests_IPropertyReferenceExpression.cs (2)
1013
var comp =
CreateCompilation
(@"
1051
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IReturnStatement.cs (28)
156
var compilation =
CreateCompilation
(source);
184
var compilation =
CreateCompilation
(source);
218
var compilation =
CreateCompilation
(source);
263
var compilation =
CreateCompilation
(source);
312
var compilation =
CreateCompilation
(source);
396
var compilation =
CreateCompilation
(source);
448
var compilation =
CreateCompilation
(source);
504
var compilation =
CreateCompilation
(source);
568
var compilation =
CreateCompilation
(source);
633
var compilation =
CreateCompilation
(source);
676
var compilation =
CreateCompilation
(source);
714
var compilation =
CreateCompilation
(source);
782
var compilation =
CreateCompilation
(source);
858
var compilation =
CreateCompilation
(source);
927
var compilation =
CreateCompilation
(source);
1000
var compilation =
CreateCompilation
(source);
1046
var compilation =
CreateCompilation
(source);
1097
var compilation =
CreateCompilation
(source);
1150
var compilation =
CreateCompilation
(source);
1178
var compilation =
CreateCompilation
(source);
1215
var compilation =
CreateCompilation
(source);
1260
var compilation =
CreateCompilation
(source);
1304
var compilation =
CreateCompilation
(source);
1391
var compilation =
CreateCompilation
(source);
1449
var compilation =
CreateCompilation
(source);
1505
var compilation =
CreateCompilation
(source);
1561
var compilation =
CreateCompilation
(source);
1602
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_ISymbolInitializer.cs (1)
30
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
IOperation\IOperationTests_IThrowOperation.cs (35)
30
var compilation =
CreateCompilation
(source);
68
var compilation =
CreateCompilation
(source);
127
var compilation =
CreateCompilation
(source);
162
var compilation =
CreateCompilation
(source);
228
var compilation =
CreateCompilation
(source);
302
var compilation =
CreateCompilation
(source);
373
var compilation =
CreateCompilation
(source);
448
var compilation =
CreateCompilation
(source);
523
var compilation =
CreateCompilation
(source);
595
var compilation =
CreateCompilation
(source);
685
var compilation =
CreateCompilation
(source);
750
var compilation =
CreateCompilation
(source);
839
var compilation =
CreateCompilation
(source);
966
var compilation =
CreateCompilation
(source);
1021
var compilation =
CreateCompilation
(source);
1085
var compilation =
CreateCompilation
(source);
1134
var compilation =
CreateCompilation
(source);
1197
var compilation =
CreateCompilation
(source);
1261
var compilation =
CreateCompilation
(source);
1341
var compilation =
CreateCompilation
(source);
1422
var compilation =
CreateCompilation
(source);
1498
var compilation =
CreateCompilation
(source);
1549
var compilation =
CreateCompilation
(source);
1615
var compilation =
CreateCompilation
(source);
1693
var compilation =
CreateCompilation
(source);
1772
var compilation =
CreateCompilation
(source);
1845
var compilation =
CreateCompilation
(source);
1911
var compilation =
CreateCompilation
(source);
1967
var compilation =
CreateCompilation
(source);
2043
var compilation =
CreateCompilation
(source);
2107
var compilation =
CreateCompilation
(source);
2171
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
2276
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()));
2375
var compilation =
CreateCompilation
(source);
2477
var compilation =
CreateCompilation
(source);
IOperation\IOperationTests_IUsingStatement.cs (2)
8544
var comp =
CreateCompilation
(@"
8730
var comp =
CreateCompilation
(@"
IOperation\IOperationTests_IVariableDeclaration.cs (1)
923
var comp =
CreateCompilation
(tree);
IOperation\IOperationTests_TryCatch.cs (31)
976
var compilation =
CreateCompilation
(source);
1026
var compilation =
CreateCompilation
(source);
1091
var compilation =
CreateCompilation
(source);
1331
var compilation =
CreateCompilation
(source);
1424
var compilation =
CreateCompilation
(source);
1482
var compilation =
CreateCompilation
(source);
1562
var compilation =
CreateCompilation
(source);
1677
var compilation =
CreateCompilation
(source);
1743
var compilation =
CreateCompilation
(source);
1840
var compilation =
CreateCompilation
(source);
1929
var compilation =
CreateCompilation
(source);
2020
var compilation =
CreateCompilation
(source);
2103
var compilation =
CreateCompilation
(source);
2194
var compilation =
CreateCompilation
(source);
2275
var compilation =
CreateCompilation
(source);
2340
var compilation =
CreateCompilation
(source);
2399
var compilation =
CreateCompilation
(source);
2490
var compilation =
CreateCompilation
(source);
2568
var compilation =
CreateCompilation
(source);
2630
var compilation =
CreateCompilation
(source);
2690
var compilation =
CreateCompilation
(source);
2744
var compilation =
CreateCompilation
(source);
2801
var compilation =
CreateCompilation
(source);
2876
var compilation =
CreateCompilation
(source);
2953
var compilation =
CreateCompilation
(source);
3145
var compilation =
CreateCompilation
(source);
3225
var compilation =
CreateCompilation
(source);
3301
var compilation =
CreateCompilation
(source);
3373
var compilation =
CreateCompilation
(source);
3421
var compilation =
CreateCompilation
(source);
8057
var comp =
CreateCompilation
(source);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11632)
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);
1377
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
1398
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular9);
Semantics\ArglistTests.cs (29)
224
var comp =
CreateCompilation
(text);
258
var comp =
CreateCompilation
(text);
295
var comp =
CreateCompilation
(text);
325
CreateCompilation
(text).VerifyDiagnostics();
377
var comp =
CreateCompilation
(text);
539
var comp =
CreateCompilation
(text);
602
CreateCompilation
(text).VerifyDiagnostics(
825
var comp =
CreateCompilation
(text);
957
var comp =
CreateCompilation
(tree);
982
var comp =
CreateCompilation
(text);
1068
var comp =
CreateCompilation
(text);
1100
var comp =
CreateCompilation
(text);
1120
var comp =
CreateCompilation
(text);
1140
var comp =
CreateCompilation
(text);
1160
var comp =
CreateCompilation
(text);
1180
var comp =
CreateCompilation
(text);
1198
var comp =
CreateCompilation
(text);
1216
var comp =
CreateCompilation
(text);
1234
var comp =
CreateCompilation
(text);
1252
var comp =
CreateCompilation
(text);
1278
var comp =
CreateCompilation
(text);
1304
var comp =
CreateCompilation
(text);
1330
var comp =
CreateCompilation
(text);
1370
var comp =
CreateCompilation
(text);
1451
CreateCompilation
(source).VerifyDiagnostics(
1543
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1567
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1583
CreateCompilation
(@"
1601
CreateCompilation
(@"
Semantics\AwaitExpressionTests.cs (5)
80
var csCompilation =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
150
var comp =
CreateCompilation
(src);
188
var comp =
CreateCompilation
(src);
231
var comp =
CreateCompilation
(src);
464
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)
1568
var compilation =
CreateCompilation
(source);
1607
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1612
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1644
var compilation =
CreateCompilation
(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.Net70);
Semantics\BindingAsyncTests.cs (3)
4015
var comp =
CreateCompilation
(src);
4117
var comp =
CreateCompilation
(src);
4176
var comp =
CreateCompilation
(src);
Semantics\BindingTests.cs (88)
36
CreateCompilation
(text).VerifyDiagnostics();
58
CreateCompilation
(source).VerifyDiagnostics();
81
CreateCompilation
(source).VerifyDiagnostics();
101
CreateCompilation
(source).VerifyDiagnostics();
126
CreateCompilation
(source).VerifyDiagnostics(
167
CreateCompilation
(source).VerifyDiagnostics(
201
CreateCompilation
(source).VerifyDiagnostics(
246
CreateCompilation
(source).VerifyDiagnostics(
318
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
384
CreateCompilation
(source).VerifyDiagnostics();
400
CreateCompilation
(source).VerifyDiagnostics(
432
CreateCompilation
(source).VerifyDiagnostics(
522
CreateCompilation
(source).VerifyDiagnostics();
546
CreateCompilation
(source).VerifyDiagnostics();
567
CreateCompilation
(source).VerifyDiagnostics( // (11,13): error CS0103: The name 'x' does not exist in the current context
611
CreateCompilation
(source).VerifyDiagnostics(
633
CreateCompilation
(source).VerifyDiagnostics(
660
CreateCompilation
(source).VerifyDiagnostics(
690
CreateCompilation
(source).VerifyDiagnostics(
705
CreateCompilation
(source).VerifyDiagnostics(
740
CreateCompilation
(source).VerifyDiagnostics(
763
var baseAssembly =
CreateCompilation
(
771
var derivedAssembly =
CreateCompilation
(
780
var testAssembly =
CreateCompilation
(
802
var baseAssembly =
CreateCompilation
(
810
var derivedAssembly =
CreateCompilation
(
819
var testAssembly =
CreateCompilation
(
841
var baseAssembly =
CreateCompilation
(
849
var derivedAssembly =
CreateCompilation
(
858
var testAssembly =
CreateCompilation
(
893
var testAssembly =
CreateCompilation
(scenarioCode);
918
var testAssembly =
CreateCompilation
(scenarioCode);
944
var testAssembly =
CreateCompilation
(scenarioCode);
976
var testAssembly =
CreateCompilation
(scenarioCode);
1008
var testAssembly =
CreateCompilation
(scenarioCode);
1038
var testAssembly =
CreateCompilation
(scenarioCode);
1066
var testAssembly =
CreateCompilation
(scenarioCode);
1097
var testAssembly =
CreateCompilation
(scenarioCode);
1125
var testAssembly =
CreateCompilation
(scenarioCode);
1153
var testAssembly =
CreateCompilation
(scenarioCode);
1182
var testAssembly =
CreateCompilation
(scenarioCode);
1220
var testAssembly =
CreateCompilation
(scenarioCode);
1261
var testAssembly =
CreateCompilation
(scenarioCode);
1311
var testAssembly =
CreateCompilation
(scenarioCode);
1356
var testAssembly =
CreateCompilation
(scenarioCode);
1399
var testAssembly =
CreateCompilation
(scenarioCode);
1441
var testAssembly =
CreateCompilation
(scenarioCode);
1455
var testAssembly =
CreateCompilation
(
1487
var testAssembly =
CreateCompilation
(
1513
var testAssembly =
CreateCompilation
(
1546
var testAssembly =
CreateCompilation
(
1800
CreateCompilation
(source).VerifyDiagnostics();
1829
CreateCompilation
(source).VerifyDiagnostics(
1853
CreateCompilation
(source).VerifyDiagnostics();
1869
CreateCompilation
(source).VerifyDiagnostics(
1889
CreateCompilation
(source).VerifyDiagnostics();
1910
CreateCompilation
(source).VerifyDiagnostics(
1940
CreateCompilation
(source).VerifyDiagnostics(
2008
CreateCompilation
(source).VerifyDiagnostics(
2038
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2064
var compilation =
CreateCompilation
(sourceCode);
2115
CreateCompilation
(source).VerifyDiagnostics(
2134
CreateCompilation
(source).VerifyDiagnostics(
2175
CreateCompilation
(source).VerifyDiagnostics(
2188
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2197
CreateCompilation
(source).VerifyDiagnostics(
2213
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2251
CreateCompilation
(source).VerifyDiagnostics();
2271
CreateCompilation
(source).VerifyDiagnostics();
2289
CreateCompilation
(source).VerifyDiagnostics(
2361
var comp =
CreateCompilation
(source);
2380
var comp =
CreateCompilation
(source);
2532
CreateCompilation
(source).VerifyDiagnostics(
2554
CreateCompilation
(source).VerifyDiagnostics();
2596
var comp =
CreateCompilation
(source);
2627
var comp =
CreateCompilation
(source);
2656
var comp =
CreateCompilation
(source);
2715
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2771
var compilation =
CreateCompilation
(sourceText, options: TestOptions.DebugDll);
2907
var comp =
CreateCompilation
(source);
2952
var comp =
CreateCompilation
(source);
3179
var comp =
CreateCompilation
(source);
3715
var comp =
CreateCompilation
(source);
3920
var compilation =
CreateCompilation
(@"
3948
var compilation =
CreateCompilation
(@"
3981
var comp =
CreateCompilation
(source);
4021
var comp =
CreateCompilation
(source);
Semantics\ColorColorTests.cs (27)
165
var comp =
CreateCompilation
(text);
589
var comp =
CreateCompilation
(tree);
629
var comp =
CreateCompilation
(tree);
976
CreateCompilation
(text).VerifyDiagnostics(
1006
CreateCompilation
(text).VerifyDiagnostics();
1032
CreateCompilation
(text).VerifyDiagnostics();
1059
var comp =
CreateCompilation
(tree);
1105
var comp =
CreateCompilation
(tree);
1151
var comp =
CreateCompilation
(tree);
1196
var comp =
CreateCompilation
(tree);
1237
var comp =
CreateCompilation
(tree);
1274
var comp =
CreateCompilation
(tree);
1464
CreateCompilation
(text).VerifyDiagnostics();
1488
CreateCompilation
(text).VerifyDiagnostics();
1580
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1621
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1659
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1700
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: System.Guid.NewGuid().ToString());
1878
var compilation =
CreateCompilation
(source);
1935
var compilation =
CreateCompilation
(source);
1992
var compilation =
CreateCompilation
(source);
2042
var compilation =
CreateCompilation
(source);
2179
var compilation =
CreateCompilation
(source, assemblyName: "Main");
2210
var compilation =
CreateCompilation
(source);
2271
var compilation =
CreateCompilation
(source);
2305
var compilation =
CreateCompilation
(source);
2390
CreateCompilation
(source).VerifyDiagnostics(
Semantics\ConditionalOperatorTests.cs (9)
226
CreateCompilation
(source).VerifyDiagnostics();
1232
CreateCompilation
(source).VerifyDiagnostics(
1285
var comp =
CreateCompilation
(tree);
1336
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1391
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1438
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe,
1522
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1538
var comp =
CreateCompilation
(source);
Semantics\ConstantTests.cs (56)
185
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
780
CreateCompilation
(source).VerifyDiagnostics(
1713
CreateCompilation
(source).VerifyDiagnostics(
1811
CreateCompilation
(source).VerifyDiagnostics(
1840
CreateCompilation
(source).VerifyDiagnostics(
1875
CreateCompilation
(source).VerifyDiagnostics(
1943
CreateCompilation
(text).VerifyDiagnostics(
1954
CreateCompilation
(text).VerifyDiagnostics(
1971
CreateCompilation
(text).VerifyDiagnostics(
1998
var comp =
CreateCompilation
(source);
2024
var comp =
CreateCompilation
(source);
2065
var comp =
CreateCompilation
(source);
2139
var comp =
CreateCompilation
(source);
2194
var comp =
CreateCompilation
(source);
2781
var compilation =
CreateCompilation
(source);
2814
var compilation =
CreateCompilation
(source);
2844
var compilation1 =
CreateCompilation
(source1);
2845
var compilation2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(compilation1) });
2885
var compilation1 =
CreateCompilation
(source1);
2887
var compilation2 =
CreateCompilation
(source2);
2889
var compilation3 =
CreateCompilation
(source3, new MetadataReference[] { reference1 });
2891
var compilation4 =
CreateCompilation
(source4, new MetadataReference[] { reference2, reference3 });
2924
var comp =
CreateCompilation
(tree);
2941
var compilation =
CreateCompilation
(tree);
2972
var compilation =
CreateCompilation
(tree);
2998
var compilation =
CreateCompilation
(source);
3030
var compilation =
CreateCompilation
(source);
3085
var compilation =
CreateCompilation
(source);
3117
var compilation =
CreateCompilation
(source);
3175
var compilation =
CreateCompilation
(source);
3210
var compilation =
CreateCompilation
(source);
3264
CreateCompilation
(source).VerifyDiagnostics();
3280
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
3311
CreateCompilation
(source).VerifyDiagnostics(
3330
CreateCompilation
(source).VerifyDiagnostics(
3348
CreateCompilation
(source).VerifyDiagnostics(
3362
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3412
CreateCompilation
(source).VerifyDiagnostics(
3516
var comp =
CreateCompilation
(source.ToString(), options: TestOptions.ReleaseExe);
3626
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3667
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3688
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3724
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3806
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3903
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3909
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4070
var comp =
CreateCompilation
(source);
4091
var comp =
CreateCompilation
(source);
4112
var comp =
CreateCompilation
(source);
4128
var comp =
CreateCompilation
(source);
4138
var comp =
CreateCompilation
(source);
4152
var comp =
CreateCompilation
(source);
4165
var comp =
CreateCompilation
(source);
4189
var comp =
CreateCompilation
(source);
4210
var comp =
CreateCompilation
(source);
Semantics\DeconstructionTests.cs (79)
799
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
857
var comp =
CreateCompilation
(source);
1284
var comp =
CreateCompilation
(source, assemblyName: "comp", options: TestOptions.DebugExe);
1486
var comp =
CreateCompilation
(source);
1603
var libMissingComp =
CreateCompilation
(new string[] { libMissingSource }, assemblyName: "libMissingComp").VerifyDiagnostics();
1606
var libComp =
CreateCompilation
(new string[] { libSource }, references: new[] { libMissingRef }, parseOptions: TestOptions.Regular).VerifyDiagnostics();
1609
var comp =
CreateCompilation
(new string[] { source }, references: new[] { libRef });
1944
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
3155
var comp =
CreateCompilation
(source);
3552
var comp =
CreateCompilation
(source);
3574
var comp =
CreateCompilation
(source);
3597
var comp =
CreateCompilation
(source);
3704
var comp =
CreateCompilation
(source);
3741
var comp =
CreateCompilation
(source);
3791
var comp =
CreateCompilation
(source);
3844
var comp =
CreateCompilation
(source);
3865
var comp =
CreateCompilation
(source);
3883
var comp =
CreateCompilation
(source);
3905
var comp =
CreateCompilation
(source);
3938
var comp =
CreateCompilation
(source);
4033
var comp =
CreateCompilation
(source);
4145
var comp =
CreateCompilation
(source);
4197
var comp1 =
CreateCompilation
(source1);
4228
var comp2 =
CreateCompilation
(source2);
4332
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4363
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4469
var comp1 =
CreateCompilation
(source1);
4497
var comp2 =
CreateCompilation
(source2);
4597
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4619
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4639
var comp1 =
CreateCompilation
(source1);
4655
var comp2 =
CreateCompilation
(source2);
4718
var comp1 =
CreateCompilation
(source1);
4739
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4749
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4811
var comp1 =
CreateCompilation
(source1);
4827
var comp2 =
CreateCompilation
(source2);
4886
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4896
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4916
var comp1 =
CreateCompilation
(source1);
4932
var comp2 =
CreateCompilation
(source2);
4968
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4978
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5020
var comp1 =
CreateCompilation
(source1);
5036
var comp2 =
CreateCompilation
(source2);
5075
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5085
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5104
var comp1 =
CreateCompilation
(source1);
5146
var comp1 =
CreateCompilation
(source1);
5177
var comp2 =
CreateCompilation
(source2);
5290
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5321
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5440
var comp1 =
CreateCompilation
(source1);
5468
var comp2 =
CreateCompilation
(source2);
5577
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5599
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5617
var comp1 =
CreateCompilation
(source1);
5645
var comp2 =
CreateCompilation
(source2);
5727
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5755
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5843
var comp1 =
CreateCompilation
(source1);
5868
var comp2 =
CreateCompilation
(source2);
5943
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5962
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5977
var comp =
CreateCompilation
(source);
6017
var comp =
CreateCompilation
(source);
6060
var comp =
CreateCompilation
(source);
6100
var comp =
CreateCompilation
(source);
6142
var comp =
CreateCompilation
(source);
6279
CreateCompilation
(text).VerifyEmitDiagnostics(
6317
CreateCompilation
(text).VerifyEmitDiagnostics(
6343
CreateCompilation
(text).VerifyEmitDiagnostics(
6378
CreateCompilation
(text).VerifyEmitDiagnostics(
6406
CreateCompilation
(source).VerifyEmitDiagnostics(
6440
CreateCompilation
(source).VerifyEmitDiagnostics(
6549
var comp =
CreateCompilation
(code);
6569
CreateCompilation
(source).VerifyDiagnostics(
6602
CreateCompilation
(source).VerifyDiagnostics(
Semantics\DelegateTypeTests.cs (500)
85
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
100
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
140
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
175
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
190
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
217
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
232
comp =
CreateCompilation
(source);
268
var comp =
CreateCompilation
(source);
308
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
352
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
393
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
426
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
460
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
481
comp =
CreateCompilation
(source);
535
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
538
comp =
CreateCompilation
(new[] { sourceA, sourceB });
585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
624
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
639
comp =
CreateCompilation
(source);
671
var comp =
CreateCompilation
(source);
737
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
783
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
880
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
923
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
981
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1021
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1068
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
1199
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1241
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1320
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1366
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1409
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1450
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
1542
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseExe);
1622
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular13, options: TestOptions.ReleaseExe);
1673
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1723
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1773
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1823
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1873
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1923
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
1974
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2019
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2068
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2075
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2122
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2132
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2187
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2197
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2250
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2257
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2307
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2310
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2349
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2389
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2392
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2429
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2431
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2446
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2504
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular14 : TestOptions.RegularPreview);
2555
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2562
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2603
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2610
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2651
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2658
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2700
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2707
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2753
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2756
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2787
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2797
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2845
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2849
comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
2874
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
2880
comp =
CreateCompilation
(source);
2900
var comp =
CreateCompilation
(source);
2928
var comp =
CreateCompilation
(source);
2956
var comp =
CreateCompilation
(source);
2987
var comp =
CreateCompilation
(source);
3013
var comp =
CreateCompilation
(source);
3045
var comp =
CreateCompilation
(source);
3080
var comp =
CreateCompilation
(source);
3111
var comp =
CreateCompilation
(source);
3139
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3144
var comp =
CreateCompilation
(source, parseOptions: useCSharp13 ? TestOptions.Regular13 : TestOptions.RegularPreview);
3172
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3177
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
3182
CreateCompilation
(source).VerifyDiagnostics(
3201
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3206
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
3211
CreateCompilation
(source).VerifyDiagnostics(
3241
CreateCompilation
(source).VerifyDiagnostics(
3283
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3286
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3289
comp =
CreateCompilation
(source);
3314
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3345
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3348
comp =
CreateCompilation
(source);
3366
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3391
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3394
comp =
CreateCompilation
(source);
3412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3434
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3437
comp =
CreateCompilation
(source);
3538
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3589
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3622
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3628
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
3670
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
3718
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3727
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
3752
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3810
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3927
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3930
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3954
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3957
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3989
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4023
var comp =
CreateCompilation
(new[] { sourceB, s_utils }, new[] { refA }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4055
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4089
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4932
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4987
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5019
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5028
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5143
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5168
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5171
comp =
CreateCompilation
(source);
5368
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5370
comp =
CreateCompilation
(source);
5395
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5397
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5399
comp =
CreateCompilation
(source);
5427
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5429
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5431
comp =
CreateCompilation
(source);
5461
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5463
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5465
comp =
CreateCompilation
(source);
5496
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5498
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5500
comp =
CreateCompilation
(source);
5765
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5783
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5785
comp =
CreateCompilation
(source);
5861
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5900
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5936
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5970
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6002
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6037
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6052
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6054
comp =
CreateCompilation
(source);
6075
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6087
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6089
comp =
CreateCompilation
(source);
6109
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6138
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6156
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6158
comp =
CreateCompilation
(source);
6239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6241
comp =
CreateCompilation
(source);
6351
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6353
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
6355
comp =
CreateCompilation
(source);
6375
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6454
CreateCompilation
(source).VerifyDiagnostics(
6475
CreateCompilation
(source).VerifyDiagnostics(
6499
CreateCompilation
(source).VerifyDiagnostics(
6559
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6598
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6643
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6688
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6733
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6778
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6817
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
6890
CreateCompilation
([source1, source2], parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
6891
CreateCompilation
([source1, source2], parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
6892
CreateCompilation
([source1, source2]).VerifyDiagnostics(expectedDiagnostics);
7069
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7207
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7243
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7279
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7328
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7371
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7410
CreateCompilation
(source).VerifyDiagnostics(
7580
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7613
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7657
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7660
comp =
CreateCompilation
(source);
7683
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7714
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7723
comp =
CreateCompilation
(source);
7752
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7796
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7802
comp =
CreateCompilation
(source);
7834
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7837
comp =
CreateCompilation
(source);
7861
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7932
comp =
CreateCompilation
(source);
7988
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8017
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8058
comp =
CreateCompilation
(source);
8095
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
8118
var comp =
CreateCompilation
(new[] { source, s_utils }, options: TestOptions.ReleaseExe);
8194
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8222
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8250
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8281
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8388
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8421
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8459
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8587
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8590
comp =
CreateCompilation
(source);
8610
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8619
comp =
CreateCompilation
(source);
8688
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8691
comp =
CreateCompilation
(source);
8724
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8727
comp =
CreateCompilation
(source);
8790
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8793
comp =
CreateCompilation
(source);
8826
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8829
comp =
CreateCompilation
(source);
8857
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8884
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8899
comp =
CreateCompilation
(source);
8930
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8967
comp =
CreateCompilation
(source);
8991
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
8998
comp =
CreateCompilation
(source);
9020
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9026
comp =
CreateCompilation
(source);
9049
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9055
comp =
CreateCompilation
(source);
9079
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9094
comp =
CreateCompilation
(source);
9123
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9133
comp =
CreateCompilation
(source);
9157
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9164
comp =
CreateCompilation
(source);
9185
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9192
comp =
CreateCompilation
(source);
9224
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9245
comp =
CreateCompilation
(source);
9271
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9306
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9342
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9367
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9370
comp =
CreateCompilation
(source);
9394
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9437
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9462
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9465
comp =
CreateCompilation
(source);
9500
var comp =
CreateCompilation
(source);
9535
var comp =
CreateCompilation
(source);
9585
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9628
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9631
comp =
CreateCompilation
(source);
9656
var comp =
CreateCompilation
(source);
9703
var comp =
CreateCompilation
(source);
9756
var comp =
CreateCompilation
(source);
9799
var comp =
CreateCompilation
(source);
9861
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9863
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9865
comp =
CreateCompilation
(source);
9964
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
9966
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
9968
comp =
CreateCompilation
(source);
10018
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10020
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10022
comp =
CreateCompilation
(source);
10200
var comp =
CreateCompilation
(source);
10224
var comp =
CreateCompilation
(source);
10250
var comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
10262
comp =
CreateCompilation
(new[] { source, s_utils }, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe);
10323
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9.WithKind(SourceCodeKind.Script));
10335
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10.WithKind(SourceCodeKind.Script));
10352
var comp =
CreateCompilation
(source);
10387
var comp =
CreateCompilation
(source);
10413
var comp =
CreateCompilation
(source);
10444
var comp =
CreateCompilation
(source);
10486
var comp =
CreateCompilation
(source);
10505
var comp =
CreateCompilation
(source);
10538
var comp =
CreateCompilation
(source);
10561
var comp =
CreateCompilation
(source);
10585
var comp =
CreateCompilation
(source);
10608
var comp =
CreateCompilation
(source);
10649
var comp =
CreateCompilation
(source);
10689
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10691
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10693
comp =
CreateCompilation
(source);
10736
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10771
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10789
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10791
comp =
CreateCompilation
(source);
10813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10849
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10864
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10866
comp =
CreateCompilation
(source);
10888
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10947
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10959
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10961
comp =
CreateCompilation
(source);
11019
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
11042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
11080
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11211
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11265
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11339
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11405
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
11456
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11482
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11547
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11626
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
11685
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11722
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11757
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11790
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11829
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
11870
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11911
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11967
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12000
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12031
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12070
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12101
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
12142
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
12178
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12332
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
13180
CreateCompilation
(source).VerifyDiagnostics(
13234
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
13290
CreateCompilation
(source).VerifyDiagnostics(
13635
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13644
var comp2 =
CreateCompilation
(source2, [comp1aRef]).VerifyDiagnostics();
13670
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13716
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
13752
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13762
var comp2 =
CreateCompilation
(source2, [comp1aRef]).VerifyDiagnostics();
13771
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13783
CreateCompilation
(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular12).VerifyDiagnostics(
13839
CreateCompilation
([source1, source2], parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
13885
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
13895
var comp2 =
CreateCompilation
(source2, [comp1aRef]).VerifyDiagnostics();
13904
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
13920
CreateCompilation
(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
14001
var comp1a =
CreateCompilation
(source1a, assemblyName: "Lib1").VerifyDiagnostics();
14010
var comp2 =
CreateCompilation
(source2, [comp1aRef]).VerifyDiagnostics();
14046
var comp1b =
CreateCompilation
(source1b, assemblyName: "Lib1").VerifyDiagnostics();
14298
var comp =
CreateCompilation
(UnscopedRefAttributeDefinition, targetFramework: TargetFramework.Net60, assemblyName: attributeAssemblyName);
14309
comp =
CreateCompilation
(sourceA, references: new[] { refAttribute }, targetFramework: TargetFramework.Net60);
14324
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net60);
14330
comp =
CreateCompilation
(sourceB, references: new[] { refA, refAttribute }, targetFramework: TargetFramework.Net60);
14373
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
14387
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
14411
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
14429
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
14443
comp =
CreateCompilation
(sourceB, references: [refA], parseOptions: TestOptions.Regular10);
14540
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
14571
var comp =
CreateCompilation
(source);
14612
var comp =
CreateCompilation
(source);
14681
var comp =
CreateCompilation
(source);
14745
var comp =
CreateCompilation
(source);
14799
var comp =
CreateCompilation
(source);
14844
var comp =
CreateCompilation
(source);
14924
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14927
comp =
CreateCompilation
(source);
14972
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14975
comp =
CreateCompilation
(source);
15042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15045
comp =
CreateCompilation
(source);
15131
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15134
comp =
CreateCompilation
(source);
15191
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15194
comp =
CreateCompilation
(source);
15268
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15271
comp =
CreateCompilation
(source);
15356
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15359
comp =
CreateCompilation
(source);
15421
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15424
comp =
CreateCompilation
(source);
15465
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15468
comp =
CreateCompilation
(source);
15518
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
15521
comp =
CreateCompilation
(source);
15553
var comp =
CreateCompilation
(source);
15583
var comp =
CreateCompilation
(source);
15613
var comp =
CreateCompilation
(source);
15636
var comp =
CreateCompilation
(source);
15660
var comp =
CreateCompilation
(source);
16081
CreateCompilation
(source).VerifyDiagnostics(
16143
CreateCompilation
(source).VerifyDiagnostics(
16168
CreateCompilation
(source).VerifyDiagnostics(
16189
CreateCompilation
(source).VerifyDiagnostics(
16208
CreateCompilation
(source).VerifyDiagnostics();
16227
CreateCompilation
(source).VerifyDiagnostics(
16250
CreateCompilation
(source).VerifyDiagnostics(
16271
CreateCompilation
(source).VerifyDiagnostics(
16296
CreateCompilation
(source).VerifyDiagnostics(
16324
CreateCompilation
(source).VerifyDiagnostics(
16461
CreateCompilation
(source).VerifyDiagnostics(
16482
CreateCompilation
(source).VerifyDiagnostics(
16609
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
16661
CreateCompilation
(source).VerifyDiagnostics(
16914
CreateCompilation
(source).VerifyDiagnostics();
16987
CreateCompilation
(source).VerifyDiagnostics(
17106
CreateCompilation
(source).VerifyDiagnostics(
17128
CreateCompilation
(source).VerifyDiagnostics(
17153
CreateCompilation
(source).VerifyDiagnostics(
17178
CreateCompilation
(source).VerifyDiagnostics(
17196
CreateCompilation
(source).VerifyDiagnostics();
17216
CreateCompilation
(source).VerifyDiagnostics(
17239
CreateCompilation
(source).VerifyDiagnostics(
17343
CreateCompilation
(source).VerifyDiagnostics();
17352
CreateCompilation
(source).VerifyDiagnostics(
17365
CreateCompilation
(source).VerifyDiagnostics();
17389
CreateCompilation
(new[] { source, handler }).VerifyDiagnostics(
17401
CreateCompilation
(source).VerifyDiagnostics(
17422
CreateCompilation
(source).VerifyDiagnostics(
17442
CreateCompilation
(source).VerifyDiagnostics(
17454
CreateCompilation
(source).VerifyDiagnostics(
17470
var comp1 =
CreateCompilation
(source1);
17476
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
17493
var comp1 =
CreateCompilation
(source1);
17499
var comp2 =
CreateCompilation
(source2, new[] { ref1 });
17580
CreateCompilation
(source).VerifyDiagnostics(
17874
CreateCompilation
(source).VerifyDiagnostics();
18490
CreateCompilation
(source).VerifyDiagnostics(
18586
var comp =
CreateCompilation
(source);
18590
comp =
CreateCompilation
(source);
18594
comp =
CreateCompilation
(source);
18609
var comp =
CreateCompilation
(source);
18627
var comp =
CreateCompilation
(source);
18645
var comp =
CreateCompilation
(source);
18669
var comp =
CreateCompilation
(source);
18689
var comp =
CreateCompilation
(source);
18706
var comp =
CreateCompilation
(source);
18727
var comp =
CreateCompilation
(source);
18743
var comp =
CreateCompilation
(source);
18763
var comp =
CreateCompilation
(source);
18781
var comp =
CreateCompilation
(source);
18808
var comp =
CreateCompilation
(source);
18834
var comp =
CreateCompilation
(source);
18854
var comp =
CreateCompilation
(source);
18879
var comp =
CreateCompilation
(source);
18895
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
18900
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18921
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
18926
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
18940
var comp =
CreateCompilation
(source);
18958
var comp =
CreateCompilation
(source);
18966
CreateCompilation
(source2, new[] { comp.EmitToImageReference() }).VerifyEmitDiagnostics(
18982
var comp =
CreateCompilation
(source);
18999
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19012
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19016
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19020
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19024
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19042
var comp =
CreateCompilation
(source);
19063
var comp =
CreateCompilation
(source);
19089
var comp =
CreateCompilation
(source);
19093
comp =
CreateCompilation
(source);
19112
var comp =
CreateCompilation
(source);
19132
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19137
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19162
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19167
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19188
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19205
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19209
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19213
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19223
var comp =
CreateCompilation
(source);
19237
var comp =
CreateCompilation
(source);
19255
var comp =
CreateCompilation
(source);
19272
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
19277
var comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() });
19294
var comp =
CreateCompilation
(source);
19311
var comp =
CreateCompilation
(source);
19541
CreateCompilation
(source).VerifyDiagnostics(
19561
CreateCompilation
(source).VerifyDiagnostics(
19583
CreateCompilation
(source).VerifyDiagnostics(
19602
CreateCompilation
(source).VerifyDiagnostics();
19624
CreateCompilation
(source).VerifyDiagnostics(
19645
CreateCompilation
(source).VerifyDiagnostics(
19689
CreateCompilation
(source).VerifyDiagnostics(
19730
CreateCompilation
(source).VerifyDiagnostics(
19771
CreateCompilation
(source).VerifyDiagnostics(
19808
CreateCompilation
(source).VerifyDiagnostics(
19829
CreateCompilation
(source).VerifyDiagnostics(
19854
var comp =
CreateCompilation
(source);
19893
var comp =
CreateCompilation
(source);
Semantics\DynamicTests.cs (160)
68
var c =
CreateCompilation
("", new[] { CSharpRef });
263
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics();
286
CreateCompilation
(source, new[] { CSharpRef }).VerifyDiagnostics(
616
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3747
var comp =
CreateCompilation
(source);
3971
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics(
4044
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
4067
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4094
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4271
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4294
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4395
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4411
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4676
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
4696
CreateCompilation
(code).VerifyDiagnostics(
4720
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4751
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4776
CreateCompilation
(code).VerifyDiagnostics(
4801
CreateCompilation
(code).VerifyDiagnostics(
4834
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4895
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4933
CreateCompilation
(code).VerifyDiagnostics(
4973
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5025
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5055
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5097
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5149
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5178
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5220
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5272
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5302
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5338
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5379
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5423
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5467
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5511
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5550
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
5575
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5613
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5652
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5688
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5729
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5774
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5819
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5864
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5905
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
5932
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5971
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6019
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6070
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6100
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6142
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6193
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6223
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6262
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
6313
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
6343
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6373
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6416
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6462
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6506
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6549
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6603
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6668
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6732
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6777
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6841
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6887
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6952
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6988
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7056
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7114
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7159
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7226
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7272
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7339
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7388
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7456
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7501
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7578
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7638
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7683
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7744
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7789
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7850
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7892
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7964
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8025
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8070
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8131
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8175
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8235
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8280
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8344
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8389
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8453
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8498
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8562
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8608
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8673
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8721
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8790
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8858
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8921
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8980
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9011
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9070
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9102
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9161
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9192
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9248
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9309
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9366
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9398
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9430
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9487
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9519
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9606
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9637
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9664
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9716
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9748
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9775
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9827
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9859
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9886
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9937
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9968
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10006
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10086
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10134
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10214
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10262
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10342
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10379
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10416
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10495
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10637
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10698
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10786
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10847
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10887
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
10923
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10968
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11054
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
11097
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11181
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11259
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11314
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11367
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11414
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11447
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11491
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11532
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11581
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11633
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11676
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11722
var comp1 =
CreateCompilation
(
Semantics\ExpressionBodiedMemberTests.cs (22)
438
var comp =
CreateCompilation
(@"
453
var comp =
CreateCompilation
(@"
484
var comp =
CreateCompilation
(@"
515
var comp =
CreateCompilation
(@"
553
var comp =
CreateCompilation
(@"
593
var comp =
CreateCompilation
(@"
622
var comp =
CreateCompilation
(@"
658
var comp =
CreateCompilation
(@"
689
var comp =
CreateCompilation
(@"
720
var comp =
CreateCompilation
(@"
751
var comp =
CreateCompilation
(@"
786
var comp =
CreateCompilation
(@"
817
var comp =
CreateCompilation
(@"
853
var comp =
CreateCompilation
(@"
888
var comp =
CreateCompilation
(@"
927
var comp =
CreateCompilation
(@"
949
var comp =
CreateCompilation
(@"
965
var comp =
CreateCompilation
(@"
981
var comp =
CreateCompilation
(@"
998
var comp =
CreateCompilation
(@"
1043
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics();
1044
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
Semantics\FieldInitializerBindingTests.cs (1)
245
var compilation =
CreateCompilation
(source);
Semantics\ForEachTests.cs (58)
41
CreateCompilation
(text).VerifyDiagnostics(
60
CreateCompilation
(text).VerifyDiagnostics(
80
CreateCompilation
(text).VerifyDiagnostics(
102
CreateCompilation
(text).VerifyDiagnostics(
121
CreateCompilation
(text).VerifyDiagnostics(
140
CreateCompilation
(text).VerifyDiagnostics(
159
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
221
CreateCompilation
(text).VerifyDiagnostics(
252
CreateCompilation
(text).VerifyDiagnostics(
285
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
290
CreateCompilation
(text).VerifyDiagnostics(
324
CreateCompilation
(text).VerifyDiagnostics(
357
CreateCompilation
(text).VerifyDiagnostics(
390
CreateCompilation
(text).VerifyDiagnostics(
423
CreateCompilation
(text).VerifyDiagnostics(
454
CreateCompilation
(text).VerifyDiagnostics(
485
CreateCompilation
(text).VerifyDiagnostics(
521
CreateCompilation
(text).VerifyDiagnostics(
554
CreateCompilation
(text).VerifyDiagnostics(
587
CreateCompilation
(text).VerifyDiagnostics(
620
CreateCompilation
(text).VerifyDiagnostics(
651
CreateCompilation
(text).VerifyDiagnostics(
687
CreateCompilation
(text).VerifyDiagnostics(
718
CreateCompilation
(text).VerifyDiagnostics(
749
CreateCompilation
(text).VerifyDiagnostics(
779
CreateCompilation
(text).VerifyDiagnostics(
809
CreateCompilation
(text).VerifyDiagnostics(
856
CreateCompilation
(text).VerifyDiagnostics(
905
CreateCompilation
(text).VerifyDiagnostics(
941
CreateCompilation
(text).VerifyDiagnostics(
959
CreateCompilation
(text).VerifyDiagnostics(
977
CreateCompilation
(text).VerifyDiagnostics(
996
CreateCompilation
(text).VerifyDiagnostics(
1039
CreateCompilation
(text).VerifyDiagnostics(
1058
CreateCompilation
(text).VerifyDiagnostics(
1091
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
1110
CreateCompilation
(source).VerifyDiagnostics(
1132
CreateCompilation
(source).VerifyDiagnostics(
1160
CreateCompilation
(source).VerifyDiagnostics(
1185
CreateCompilation
(source).VerifyDiagnostics(
1792
var compilation =
CreateCompilation
(text);
2052
CreateCompilation
(source, parseOptions: options).VerifyDiagnostics(
2062
CreateCompilation
(condDefSource).VerifyDiagnostics(
2106
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
2173
var comp =
CreateCompilation
(source);
2856
CreateCompilation
(source).VerifyDiagnostics(
2921
CreateCompilation
(source).VerifyDiagnostics(
2962
CreateCompilation
(source).VerifyDiagnostics(
2987
CreateCompilation
(source).VerifyDiagnostics(
3312
var comp =
CreateCompilation
("""
3334
var comp =
CreateCompilation
("""
3418
var compilation =
CreateCompilation
(source);
3511
CreateCompilation
(@"
3542
CreateCompilation
(@"
3573
CreateCompilation
(@"
3602
CreateCompilation
(@"
3655
CreateCompilation
(@"
Semantics\ForLoopErrorTests.cs (7)
27
CreateCompilation
(text).VerifyDiagnostics(
55
CreateCompilation
(text).
76
CreateCompilation
(text).
94
CreateCompilation
(text).VerifyDiagnostics(
115
CreateCompilation
(text).
146
CreateCompilation
(text).
199
var comp =
CreateCompilation
(text);
Semantics\FunctionPointerTests.cs (2)
21
return
CreateCompilation
(source, options: options ?? TestOptions.UnsafeReleaseDll, parseOptions: parseOptions, targetFramework: targetFramework ?? TargetFramework.Standard);
2107
var cComp =
CreateCompilation
(cDefinition, assemblyName: "cLib");
Semantics\GenericConstraintsTests.cs (165)
24
CreateCompilation
(@"
54
CreateCompilation
(@"
87
CreateCompilation
(@"
121
CreateCompilation
(@"
154
CreateCompilation
(@"
190
var reference =
CreateCompilation
(@"
214
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
226
var reference =
CreateCompilation
(@"
250
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
265
var reference =
CreateCompilation
(@"
289
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
304
var reference =
CreateCompilation
(@"
328
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
353
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
358
var reference =
CreateCompilation
(code).EmitToImageReference();
373
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
390
CreateCompilation
($@"
415
CreateCompilation
(@"
522
CreateCompilation
(@"
549
var reference =
CreateCompilation
(@"
555
CreateCompilation
(@"
578
CreateCompilation
(@"
595
var reference =
CreateCompilation
(@"
601
CreateCompilation
(@"
614
var comp =
CreateCompilation
(@"
705
CreateCompilation
(code).VerifyDiagnostics(
717
CreateCompilation
(@"
743
CreateCompilation
(@"
769
CreateCompilation
(@"
782
CreateCompilation
(@"
814
var reference =
CreateCompilation
(@"
819
CreateCompilation
(@"
842
var reference =
CreateCompilation
(@"
847
CreateCompilation
(@"
870
var reference =
CreateCompilation
(@"
875
CreateCompilation
(@"
910
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
915
var reference =
CreateCompilation
(code).EmitToImageReference();
929
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
938
CreateCompilation
(@"
989
var compilation =
CreateCompilation
("public class Test<T> where T : struct, System.Delegate { }")
1041
CreateCompilation
(@"
1066
var reference =
CreateCompilation
(@"
1072
CreateCompilation
(@"
1093
CreateCompilation
(@"
1110
var reference =
CreateCompilation
(@"
1116
CreateCompilation
(@"
1129
var comp =
CreateCompilation
(@"
1198
CreateCompilation
(@"
1224
CreateCompilation
(@"
1250
CreateCompilation
(@"
1263
CreateCompilation
(@"
1295
var reference =
CreateCompilation
(@"
1300
CreateCompilation
(@"
1323
var reference =
CreateCompilation
(@"
1328
CreateCompilation
(@"
1351
var reference =
CreateCompilation
(@"
1356
CreateCompilation
(@"
1392
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
1397
var reference =
CreateCompilation
(code).EmitToImageReference();
1411
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
1420
CreateCompilation
(@"
1474
var compilation =
CreateCompilation
("public class Test<T> where T : struct, System.MulticastDelegate { }")
1526
CreateCompilation
(@"
1551
var reference =
CreateCompilation
(@"
1557
CreateCompilation
(@"
1578
CreateCompilation
(@"
1595
var reference =
CreateCompilation
(@"
1601
CreateCompilation
(@"
1614
var comp =
CreateCompilation
(@"
1687
CreateCompilation
(code).VerifyDiagnostics();
1693
CreateCompilation
(code).VerifyDiagnostics(
1702
CreateCompilation
(@"
1734
CreateCompilation
(@"
1768
CreateCompilation
(@"
1795
CreateCompilation
(@"
1828
var c =
CreateCompilation
("public class Test<T> where T : class, unmanaged {}");
1846
var c =
CreateCompilation
("public class Test<T> where T : struct, unmanaged {}");
1864
CreateCompilation
("public class Test<T> where T : unmanaged, new() {}").VerifyDiagnostics(
1873
CreateCompilation
("public class Test<T> where T : unmanaged, System.Exception { }").VerifyDiagnostics(
1883
CreateCompilation
("public class Test<T> where T : System.Exception, unmanaged { }").VerifyDiagnostics(
1892
CreateCompilation
("public class Test<T> where T : System.Enum, System.IDisposable, unmanaged { }").VerifyDiagnostics(
1918
CreateCompilation
("public class Test<T, U> where T : U, unmanaged { }").VerifyDiagnostics(
1927
CreateCompilation
("public class Test<T, U> where T : unmanaged, U { }").VerifyDiagnostics();
1928
CreateCompilation
("public class Test<T, U> where U: class where T : unmanaged, U, System.IDisposable { }").VerifyDiagnostics();
1978
var reference =
CreateCompilation
(@"
1998
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2013
var reference =
CreateCompilation
(@"
2034
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2050
var reference =
CreateCompilation
(@"
2066
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
2088
CreateCompilation
(code, parseOptions: oldOptions).VerifyDiagnostics(
2093
var reference =
CreateCompilation
(code).EmitToImageReference();
2105
CreateCompilation
(legacyCode, parseOptions: oldOptions, references: new[] { reference }).VerifyDiagnostics(
2209
CreateCompilation
(@"
2241
var reference =
CreateCompilation
(@"
2247
CreateCompilation
(@"
2275
CreateCompilation
(@"
2292
CreateCompilation
(@"
2329
CreateCompilation
(@"
2363
var reference =
CreateCompilation
(@"
2370
CreateCompilation
(@"
2398
var reference =
CreateCompilation
(@"
2405
var reference1 =
CreateCompilation
(@"
2443
var reference =
CreateCompilation
(@"
2449
CreateCompilation
(@"
2462
CreateCompilation
(@"
2679
CreateCompilation
(@"
2740
CreateCompilation
(@"
2864
var compilation =
CreateCompilation
(@"
2888
CreateCompilation
(@"
2903
CreateCompilation
(@"
2920
CreateCompilation
(@"
3004
CreateCompilation
(code).VerifyDiagnostics(
3125
var compilation =
CreateCompilation
(@"
3152
var compilation =
CreateCompilation
(@"
3182
var compilation =
CreateCompilation
(@"
3208
var compilation =
CreateCompilation
(@"
3237
CreateCompilation
(@"
3296
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3320
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3350
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3385
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3414
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3417
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3457
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3464
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
3492
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3534
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
3558
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3578
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3599
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3623
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3654
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3679
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3707
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3735
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3763
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3794
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3830
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3862
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3890
var compilation =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll);
3979
var compilation =
CreateCompilation
(code);
4001
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4008
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4031
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4040
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4057
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4064
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4081
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4087
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4104
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4110
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4127
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4134
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4154
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4161
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4184
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4194
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4221
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3)
4231
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4284
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4341
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll)
4352
var comp =
CreateCompilation
(@"
4416
var comp =
CreateCompilation
(@"
Semantics\GlobalUsingDirectiveTests.cs (313)
36
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
47
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
66
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
86
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
108
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
134
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
166
var comp1 =
CreateCompilation
(source1);
191
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
234
var comp3 =
CreateCompilation
(source3, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
275
var comp1 =
CreateCompilation
(source1);
304
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Regular10, options: TestOptions.DebugExe, references: new[] { comp1Ref });
353
var comp3 =
CreateCompilation
(source3, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
385
var comp1 =
CreateCompilation
(source1);
404
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
421
var comp3 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
434
var extComp =
CreateCompilation
(ext);
541
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
544
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
547
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
550
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
553
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
556
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
563
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
580
var extComp =
CreateCompilation
(ext);
680
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
683
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
686
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
689
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
692
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
695
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
702
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
811
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
814
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
817
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
820
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
823
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
869
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.RegularPreview);
889
comp =
CreateCompilation
(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
892
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
895
comp =
CreateCompilation
(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.RegularPreview);
940
var comp =
CreateCompilation
(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.RegularPreview);
960
comp =
CreateCompilation
(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
963
comp =
CreateCompilation
(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.RegularPreview);
1020
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1061
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1111
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1139
var extComp =
CreateCompilation
(ext);
1235
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1238
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1241
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1244
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1247
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1250
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1257
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1274
var extComp =
CreateCompilation
(ext);
1363
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1366
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1369
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1372
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1375
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1378
comp =
CreateCompilation
(new[] { extAlias + source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1385
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, extAlias + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { extCompRef });
1483
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1486
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1489
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1492
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1495
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source, program }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1530
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source1 }, parseOptions: TestOptions.RegularPreview);
1550
comp =
CreateCompilation
(new[] { globalUsings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
1553
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
1556
comp =
CreateCompilation
(new[] { globalUsings2 + globalUsings1, source1 }, parseOptions: TestOptions.RegularPreview);
1590
var comp =
CreateCompilation
(new[] { globalUsings1 + usings2, source1 }, parseOptions: TestOptions.RegularPreview);
1610
comp =
CreateCompilation
(new[] { usings2, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview);
1613
comp =
CreateCompilation
(new[] { globalUsings1 + source1, usings2 }, parseOptions: TestOptions.RegularPreview);
1691
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1807
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source, source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1810
comp =
CreateCompilation
(new[] { globalUsings2 + source, globalUsings1 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1813
comp =
CreateCompilation
(new[] { globalUsings1 + source1, globalUsings2 + source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1816
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 + source1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1819
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source1, source }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1893
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
1927
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
1963
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
2026
var comp =
CreateCompilation
(new[] { source2, source1, source3, source6, source4, "", source5 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
2044
var comp1 =
CreateCompilation
(source1);
2073
var comp2 =
CreateCompilation
(new[] { source2 + source3, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2083
var comp3 =
CreateCompilation
(new[] { source2 + source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2096
var comp4 =
CreateCompilation
(new[] { source2 + source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2109
var comp5 =
CreateCompilation
(new[] { source2 + source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2129
var comp6 =
CreateCompilation
(new[] { source2, source3, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2139
var comp7 =
CreateCompilation
(new[] { source2, source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2152
var comp8 =
CreateCompilation
(new[] { source2 + source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2155
var comp9 =
CreateCompilation
(new[] { source2 + source5, source3, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2168
var comp10 =
CreateCompilation
(new[] { source2 + source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2194
var comp1 =
CreateCompilation
(source1);
2207
var comp2 =
CreateCompilation
(new[] { source1, source2, source3 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2218
comp2 =
CreateCompilation
(new[] { source1, source3, source2 }, parseOptions: TestOptions.RegularPreview, references: new[] { comp1Ref });
2242
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2253
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2267
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2270
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2273
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2276
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2279
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2282
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2300
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2307
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2329
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2340
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2343
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2384
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2398
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2415
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2418
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2421
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2424
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2427
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2430
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2480
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2494
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2511
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2514
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2517
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2520
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2523
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2526
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2548
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2559
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2570
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2577
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2587
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2597
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2607
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2610
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2634
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2641
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2662
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2673
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2676
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2702
var comp2 =
CreateCompilation
(new[] { source3, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2713
var comp3 =
CreateCompilation
(new[] { source3 + source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2724
var comp4 =
CreateCompilation
(new[] { source3 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2731
var comp5 =
CreateCompilation
(new[] { source3 + source4 + source5, source6 }, parseOptions: TestOptions.RegularPreview);
2741
var comp6 =
CreateCompilation
(new[] { source3, source4, source5, source6 }, parseOptions: TestOptions.RegularPreview);
2751
var comp7 =
CreateCompilation
(new[] { source3 + source5, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2761
var comp8 =
CreateCompilation
(new[] { source5, source3, source6 }, parseOptions: TestOptions.RegularPreview);
2764
var comp9 =
CreateCompilation
(new[] { source5, source3, source4, source6 }, parseOptions: TestOptions.RegularPreview);
2788
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2795
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2816
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2827
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2830
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2871
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2905
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2909
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2913
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
2917
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
2957
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2991
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2995
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
2999
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
3003
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
3043
var comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3077
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3081
comp2 =
CreateCompilation
(new[] { source2, source3 }, parseOptions: TestOptions.RegularPreview);
3085
comp2 =
CreateCompilation
(new[] { source3, source2 }, parseOptions: TestOptions.RegularPreview);
3089
comp2 =
CreateCompilation
(source2 + source3, parseOptions: TestOptions.RegularPreview);
3170
var comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3254
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3283
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3300
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3311
comp2 =
CreateCompilation
(new[] { source2, source3, source4 }, parseOptions: TestOptions.RegularPreview);
3353
var origLibComp =
CreateCompilation
(origLib_cs, assemblyName: "lib");
3356
var newComp =
CreateCompilation
(origLib_cs, assemblyName: "new");
3359
var compWithReferenceToLib =
CreateCompilation
(reference_cs, references: new[] { origLibComp.EmitToImageReference() });
3363
var newLibComp =
CreateCompilation
(alias1 + newLib_cs,
3368
var newLibComp2 =
CreateCompilation
(alias1 + newLib_cs,
3372
newLibComp =
CreateCompilation
(new[] { alias1, newLib_cs },
3376
newLibComp2 =
CreateCompilation
(new[] { alias1, newLib_cs },
3380
newLibComp =
CreateCompilation
(alias1 + alias2 + newLib_cs,
3388
newLibComp2 =
CreateCompilation
(alias1 + alias2 + newLib_cs,
3396
newLibComp =
CreateCompilation
(new[] { alias1, alias2 + newLib_cs },
3404
newLibComp2 =
CreateCompilation
(new[] { alias1, alias2 + newLib_cs },
3412
newLibComp =
CreateCompilation
(alias3 + alias4 + newLib_cs,
3420
newLibComp2 =
CreateCompilation
(alias3 + alias4 + newLib_cs,
3428
newLibComp =
CreateCompilation
(new[] { alias3, alias4 + newLib_cs },
3436
newLibComp2 =
CreateCompilation
(new[] { alias3, alias4 + newLib_cs },
3453
var extComp =
CreateCompilation
(ext, assemblyName: "Extern");
3506
var comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions, references: new[] { extCompRef });
3509
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3512
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3515
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3540
comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + source, parseOptions: parseOptions, references: new[] { extCompRef });
3543
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3546
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3549
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3573
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions);
3576
comp =
CreateCompilation
(new[] { globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions);
3579
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3582
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3605
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + source, parseOptions: parseOptions);
3608
comp =
CreateCompilation
(new[] { globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions);
3611
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3614
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3617
comp =
CreateCompilation
(source, parseOptions: parseOptions);
3644
var extComp =
CreateCompilation
(ext, assemblyName: "Extern");
3702
var comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions, references: new[] { extCompRef });
3705
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3708
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3711
comp =
CreateCompilation
(new[] { externAlias + usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3736
comp =
CreateCompilation
(externAlias + globalUsings1 + globalUsings2 + source, parseOptions: parseOptions, references: new[] { extCompRef });
3739
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3742
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3745
comp =
CreateCompilation
(new[] { externAlias + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions, references: new[] { extCompRef });
3769
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + usings + source, parseOptions: parseOptions);
3772
comp =
CreateCompilation
(new[] { globalUsings1 + filler + usings + source, globalUsings2 }, parseOptions: parseOptions);
3775
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3778
comp =
CreateCompilation
(new[] { usings + filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3801
comp =
CreateCompilation
(globalUsings1 + globalUsings2 + source, parseOptions: parseOptions);
3804
comp =
CreateCompilation
(new[] { globalUsings1 + filler + source, globalUsings2 }, parseOptions: parseOptions);
3807
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1 + globalUsings2 }, parseOptions: parseOptions);
3810
comp =
CreateCompilation
(new[] { filler + filler + source, globalUsings1, globalUsings2 }, parseOptions: parseOptions);
3839
var comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.RegularPreview);
3865
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3896
comp =
CreateCompilation
(new[] { externAlias + usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3929
comp =
CreateCompilation
(new[] { externAlias + globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3949
comp =
CreateCompilation
(new[] { externAlias + globalUsings1, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
3974
comp =
CreateCompilation
(new[] { externAlias, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4001
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + usings, source }, parseOptions: TestOptions.RegularPreview);
4021
comp =
CreateCompilation
(new[] { globalUsings1 + usings, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4046
comp =
CreateCompilation
(new[] { usings, globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4073
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4087
comp =
CreateCompilation
(new[] { globalUsings1, globalUsings2, source }, parseOptions: TestOptions.RegularPreview);
4108
comp =
CreateCompilation
(new[] { externAlias + usings, source }, parseOptions: TestOptions.RegularPreview);
4130
comp =
CreateCompilation
(new[] { externAlias, source }, parseOptions: TestOptions.RegularPreview);
4146
comp =
CreateCompilation
(new[] { usings, source }, parseOptions: TestOptions.RegularPreview);
4212
var comp =
CreateCompilation
(new[] { externAlias1 + globalUsings1 + source }, parseOptions: TestOptions.RegularPreview);
4223
comp =
CreateCompilation
(new[] { externAlias1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4226
comp =
CreateCompilation
(new[] { externAlias1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4240
comp =
CreateCompilation
(new[] { globalUsings1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4248
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4256
comp =
CreateCompilation
(new[] { externAlias1 + globalUsings1 + usings1 + source }, parseOptions: TestOptions.RegularPreview);
4259
comp =
CreateCompilation
(new[] { externAlias1 + usings1 + source, globalUsings1 }, parseOptions: TestOptions.RegularPreview);
4262
comp =
CreateCompilation
(new[] { externAlias1 + externAlias2 + source }, parseOptions: TestOptions.RegularPreview);
4276
comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4284
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4292
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4300
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4308
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4366
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4377
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4380
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4383
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4386
comp =
CreateCompilation
(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4393
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4400
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4462
var comp =
CreateCompilation
(new[] { globalUsings1 + globalUsings2 + source }, parseOptions: TestOptions.RegularPreview);
4473
comp =
CreateCompilation
(new[] { globalUsings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4476
comp =
CreateCompilation
(new[] { source, globalUsings1 + globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4479
comp =
CreateCompilation
(new[] { source, globalUsings1, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4482
comp =
CreateCompilation
(new[] { globalUsings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4489
comp =
CreateCompilation
(new[] { usings1 + source, globalUsings2 }, parseOptions: TestOptions.RegularPreview);
4496
comp =
CreateCompilation
(new[] { usings1 + usings2 + source }, parseOptions: TestOptions.RegularPreview);
4513
var comp1 =
CreateCompilation
(source1);
4562
var comp2 =
CreateCompilation
(externAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4573
comp2 =
CreateCompilation
(new[] { externAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4576
comp2 =
CreateCompilation
(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4580
var comp2 =
CreateCompilation
(externAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4591
comp2 =
CreateCompilation
(new[] { externAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4594
comp2 =
CreateCompilation
(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4598
var comp2 =
CreateCompilation
(externAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4605
comp2 =
CreateCompilation
(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4609
var comp2 =
CreateCompilation
(externAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4616
comp2 =
CreateCompilation
(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe, references: new[] { comp1Ref });
4678
var comp2 =
CreateCompilation
(globalAlias + globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4689
comp2 =
CreateCompilation
(new[] { globalAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4692
comp2 =
CreateCompilation
(new[] { source2, globalAlias + globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4695
comp2 =
CreateCompilation
(new[] { source2, globalAlias, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4698
comp2 =
CreateCompilation
(new[] { source2, globalUsing1, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4701
comp2 =
CreateCompilation
(globalUsing1 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4704
comp2 =
CreateCompilation
(new[] { regularAlias + source2, globalUsing1 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4707
comp2 =
CreateCompilation
(globalUsing1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4711
var comp2 =
CreateCompilation
(globalAlias + globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4722
comp2 =
CreateCompilation
(new[] { globalAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4725
comp2 =
CreateCompilation
(new[] { source2, globalAlias + globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4728
comp2 =
CreateCompilation
(new[] { source2, globalAlias, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4731
comp2 =
CreateCompilation
(new[] { source2, globalUsing2, globalAlias }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4734
comp2 =
CreateCompilation
(globalUsing2 + regularAlias + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4737
comp2 =
CreateCompilation
(new[] { regularAlias + source2, globalUsing2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4740
comp2 =
CreateCompilation
(globalUsing2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4744
var comp2 =
CreateCompilation
(globalAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4755
comp2 =
CreateCompilation
(new[] { globalAlias, using1 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4758
comp2 =
CreateCompilation
(regularAlias + using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4761
comp2 =
CreateCompilation
(using1 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4765
var comp2 =
CreateCompilation
(globalAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4776
comp2 =
CreateCompilation
(new[] { globalAlias, using2 + source2 }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4779
comp2 =
CreateCompilation
(regularAlias + using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4782
comp2 =
CreateCompilation
(using2 + source2, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4865
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4925
CreateCompilation
(new[] { globalUsing1 + globalUsing2 + regularUsings + source }, parseOptions: TestOptions.RegularPreview).
4928
CreateCompilation
(new[] { globalUsing1 + regularUsings + source, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4931
CreateCompilation
(new[] { regularUsings + source, globalUsing1, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4944
CreateCompilation
(new[] { globalUsing1 + globalUsing2 + source }, parseOptions: TestOptions.RegularPreview).
4947
CreateCompilation
(new[] { globalUsing1 + source, globalUsing2 }, parseOptions: TestOptions.RegularPreview).
4950
CreateCompilation
(new[] { regularUsings + source }, parseOptions: TestOptions.RegularPreview).
4974
var comp =
CreateCompilation
(new[] { globalUsings1, source }, parseOptions: TestOptions.RegularPreview);
5001
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5006
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
5022
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5044
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5063
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5082
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5101
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
Semantics\HideByNameTests.cs (3)
757
CreateCompilation
(@"
780
CreateCompilation
(@"
801
CreateCompilation
(@"
Semantics\ImplicitlyTypeArraysTests.cs (3)
22
var compilation =
CreateCompilation
(@"
64
var comp =
CreateCompilation
(tree);
90
var comp =
CreateCompilation
(tree);
Semantics\ImplicitlyTypedLocalsTests.cs (6)
19
var compilation =
CreateCompilation
(@"
36
var compilation =
CreateCompilation
(@"
73
CreateCompilation
(text).VerifyDiagnostics(
105
CreateCompilation
(text).VerifyDiagnostics(
152
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics();
153
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
Semantics\ImplicitObjectCreationTests.cs (18)
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) },
4599
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4631
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4663
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4701
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\ImportsTests.cs (2)
103
var comp =
CreateCompilation
(
146
var comp =
CreateCompilation
(trees, targetFramework: TargetFramework.Mscorlib40, references: new[] { SystemCoreRef.WithAliases(externAliases) });
Semantics\IndexAndRangeTests.cs (10)
491
var comp =
CreateCompilation
(src);
533
var comp =
CreateCompilation
(src);
713
var comp =
CreateCompilation
(source + @"
726
comp =
CreateCompilation
(source + @"
803
var compilation =
CreateCompilation
(@"
822
var compilation =
CreateCompilation
(@"
877
var compilation =
CreateCompilation
(@"
1057
var compilation =
CreateCompilation
(@"
1752
var comp =
CreateCompilation
(@"
1783
var comp =
CreateCompilation
(@"
Semantics\InheritanceBindingTests.cs (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)
40
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
65
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
77
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
103
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
136
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
148
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
173
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
186
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
208
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
216
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
227
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
252
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
279
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8);
300
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular8, assemblyName: "lib");
312
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, references: new[] { lib.ToMetadataReference() }, assemblyName: "comp");
334
var lib =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8,
367
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
389
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
453
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
494
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
546
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
575
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
604
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
635
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
688
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
745
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
771
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
870
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
945
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
971
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1003
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
1045
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1046
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1050
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1051
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1081
var libComp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1082
var comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1129
var libComp =
CreateCompilation
(new[] { parent, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1130
var comp =
CreateCompilation
(new[] { source, main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1134
libComp =
CreateCompilation
(new[] { parent, source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1135
comp =
CreateCompilation
(new[] { main }, references: new[] { emitImage ? libComp.EmitToImageReference() : libComp.ToMetadataReference() },
1149
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1212
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1251
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1281
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1308
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1335
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1362
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1389
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1409
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1441
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
1523
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1617
var comp =
CreateCompilation
(source,
1687
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1715
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.DebugExe);
1764
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1788
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
1866
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1906
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1949
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1995
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2034
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2065
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2086
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2104
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2125
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2157
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2192
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2213
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2230
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9,
2282
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2375
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2418
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2448
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2468
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2490
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2514
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2536
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2611
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2680
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2737
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition },
2786
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
2823
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2876
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
2957
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3009
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9, options: TestOptions.DebugExe);
3036
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3058
var libComp =
CreateCompilation
(new[] { lib_cs, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3084
var comp =
CreateCompilation
(source,
3109
var compilation =
CreateCompilation
(@"
3172
var comp =
CreateCompilation
(new[] { @"
3257
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3348
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3466
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9,
3565
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9,
3629
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3688
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3738
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3806
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3884
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
3972
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4055
var comp =
CreateCompilation
(source, references: new[] { reference }, parseOptions: TestOptions.Regular9);
4102
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
4125
var comp =
CreateCompilation
(new[] { @"
4193
var comp1 =
CreateCompilation
(new[] { source0, source1, IsExternalInitTypeDefinition },
4200
var comp7 =
CreateCompilation
(source2, references: comp1Ref,
4367
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4390
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, @"
4483
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4512
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source });
4536
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
4562
var comp =
CreateCompilation
(new[] { IsExternalInitTypeDefinition, source }, options: TestOptions.DebugExe);
Semantics\InteractiveSemanticModelTests.cs (2)
25
var compilation =
CreateCompilation
(@"
357
var compilation =
CreateCompilation
(testSrc, parseOptions: TestOptions.Script);
Semantics\InteractiveUsingTests.cs (9)
142
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
161
CreateCompilation
(source, options: options).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
179
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
251
CreateCompilation
(source).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
270
CreateCompilation
(source, options: options).GetDiagnostics().Where(d => d.Severity > DiagnosticSeverity.Hidden).Verify(expectedDiagnostics);
322
var lib1 =
CreateCompilation
(string.Format(libSourceTemplate, 1), assemblyName: "Lib1").EmitToImageReference();
323
var lib2 =
CreateCompilation
(string.Format(libSourceTemplate, 2), assemblyName: "Lib2").EmitToImageReference();
515
var lib =
CreateCompilation
(libSource).EmitToImageReference();
556
var lib =
CreateCompilation
(libSource).EmitToImageReference();
Semantics\InterceptorsTests.cs (172)
43
var comp =
CreateCompilation
(source);
74
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: TestOptions.DebugExe.WithWarningLevel(8));
77
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: TestOptions.DebugExe.WithWarningLevel(9));
83
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
118
var comp =
CreateCompilation
([source, interceptors, s_attributesSource]);
121
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview-experimental"));
124
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "false"));
127
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("interceptorspreview"));
130
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "Global"));
133
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsPreview", "global.a"));
166
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "NS"));
172
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "NS1.NS2"));
213
var comp =
CreateCompilation
(source);
234
comp =
CreateCompilation
([source, interceptors, attributesTree]);
295
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", featureValue));
332
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", ""));
398
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "global.A"));
495
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
623
var comp1 =
CreateCompilation
((source1, "Program.cs"), parseOptions: RegularWithInterceptors);
780
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
831
var comp =
CreateCompilation
(new[] { source0, source1, source2, s_attributesSource }, parseOptions: RegularWithInterceptors);
867
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
914
var comp =
CreateCompilation
(new[] { (source0, "Program.cs"), (source1, "File1.cs"), (source2, "File2.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
990
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1078
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1113
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1188
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1222
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
1254
var comp0 =
CreateCompilation
(new[] { (source0, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
1314
var compilation =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
1347
var compilation =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1459
var compilation =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1509
var compilation =
CreateCompilation
([(source, "Program.cs"), interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1626
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1693
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1869
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
1944
var comp1 =
CreateCompilation
(new[] { (source1, "File1.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
1991
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
2020
var comp =
CreateCompilation
(source);
2047
comp =
CreateCompilation
([source, interceptors, s_attributesTree]);
2086
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors, options: TestOptions.UnsafeDebugExe);
2128
var comp =
CreateCompilation
(source);
2153
comp =
CreateCompilation
([source, interceptors, s_attributesTree]);
2207
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: TestOptions.UnsafeDebugExe);
2254
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
2293
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
2321
var comp =
CreateCompilation
(source);
2338
comp =
CreateCompilation
([source, interceptors, s_attributesTree]);
2380
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
2453
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
2541
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
2615
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
2736
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
2942
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
3001
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3046
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3085
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"C:\Users\me\projects\Program.cs" : "/Users/me/projects/Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3123
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3161
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3202
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3255
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3306
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3345
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3388
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3433
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3475
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3516
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
3601
var comp =
CreateCompilation
([sourceTree, interceptorTree, s_attributesTree]);
3651
var comp =
CreateCompilation
([sourceTree, interceptorTree, s_attributesTree]);
3691
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
3733
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
3774
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
3812
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors, options: WithNullableEnable());
3854
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: WithNullableEnable());
3864
comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors, options: WithNullableDisable());
3912
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
4084
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors);
4118
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
4194
var comp =
CreateCompilation
(new[] { source, interceptor, s_attributesSource }, parseOptions: RegularWithInterceptors);
4231
var comp =
CreateCompilation
([source, interceptor, s_attributesSource], parseOptions: RegularWithInterceptors, options: WithNullableEnable());
4354
var comp =
CreateCompilation
([source, interceptor, s_attributesSource, UnscopedRefAttributeDefinition], parseOptions: RegularWithInterceptors, options: WithNullableEnable());
4633
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
4918
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5041
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularWithInterceptors);
5179
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5213
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5246
var comp =
CreateCompilation
(new[] { (source, "Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5269
var comp =
CreateCompilation
(source, options: options);
5389
var comp =
CreateCompilation
(
5461
var comp =
CreateCompilation
(
5533
var comp =
CreateCompilation
(
5676
var comp =
CreateCompilation
(new[] { (source, @"src\Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5718
var comp =
CreateCompilation
(new[] { (source, @"/src/Program.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5762
var comp =
CreateCompilation
(new[] { (source, @"/src/Program.`cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5836
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs"), (source2, PlatformInformation.IsWindows ? @"Generator\Generated.cs" : "Generator/Generated.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5874
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"src\Program.cs" : "src/Program.cs"), (source2, PlatformInformation.IsWindows ? @"C:\obj\Generated.cs" : "/obj/Generated.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5913
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs"), (source2, PlatformInformation.IsWindows ? @"C:\obj\Generated.cs" : "/obj/Generated.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5947
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs"), (source2, PlatformInformation.IsWindows ? @"C:\obj\Generated.cs" : "/obj/Generated.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
5981
var comp =
CreateCompilation
(new[] { (source, PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs"), (source2, PlatformInformation.IsWindows ? @"C:\obj\Generated.cs" : "/obj/Generated.cs"), s_attributesSource }, parseOptions: RegularWithInterceptors);
6057
var comp =
CreateCompilation
(
6118
var comp =
CreateCompilation
([source1, source2, source3, s_attributesSource],
6166
var comp =
CreateCompilation
([source, interceptors, s_attributesSource, UnmanagedCallersOnlyAttributeDefinition], parseOptions: RegularWithInterceptors);
6188
var comp =
CreateCompilation
(source);
6205
comp =
CreateCompilation
([source, interceptors, s_attributesTree, CSharpTestSource.Parse(UnmanagedCallersOnlyAttributeDefinition, "UnmanagedCallersOnlyAttribute.cs", RegularWithInterceptors)]);
6594
var comp =
CreateCompilation
(new[] { source, s_attributesSource }, parseOptions: RegularWithInterceptors);
6597
comp =
CreateCompilation
(new[] { source, interceptor, s_attributesSource }, parseOptions: RegularWithInterceptors);
6641
var comp =
CreateCompilation
(new[] { source, s_attributesSource }, parseOptions: RegularWithInterceptors);
6644
comp =
CreateCompilation
(new[] { source, interceptor, s_attributesSource }, parseOptions: RegularWithInterceptors);
6683
var comp =
CreateCompilation
(new[] { source, s_attributesSource }, parseOptions: RegularWithInterceptors);
6686
comp =
CreateCompilation
(new[] { source, interceptor, s_attributesSource }, parseOptions: RegularWithInterceptors);
6717
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: RegularWithInterceptors);
6766
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: RegularWithInterceptors);
6826
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
6873
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
6926
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
6975
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
7031
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
7079
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
7126
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: featureExists ? TestOptions.Regular.WithFeature("InterceptorsNamespaces", "") : TestOptions.Regular);
7170
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors;Interceptors"));
7198
var comp =
CreateCompilation
(new[] { source, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
7217
var comp =
CreateCompilation
([], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors"));
7257
var comp =
CreateCompilation
(new[] { source, interceptorSource, s_attributesSource }, parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", @namespace));
7300
var comp =
CreateCompilation
([source, interceptorSource, s_attributesSource], parseOptions: TestOptions.Regular.WithFeature("InterceptorsNamespaces", "Interceptors.Nested"));
7334
var comp =
CreateCompilation
(source);
7384
var comp =
CreateCompilation
(tree);
7434
var comp =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7466
var comp =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7490
var comp =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7512
var comp =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7536
var comp =
CreateCompilation
(source);
7552
var comp1 =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7577
var comp =
CreateCompilation
(sourceTree1);
7593
var comp1 =
CreateCompilation
([
7623
var comp =
CreateCompilation
(source);
7638
comp =
CreateCompilation
([source, interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7664
var comp =
CreateCompilation
(source);
7695
var comp =
CreateCompilation
([interceptors, CSharpTestSource.Parse(s_attributesSource.text, s_attributesSource.path, RegularWithInterceptors)]);
7720
var comp =
CreateCompilation
(tree);
7745
var comp =
CreateCompilation
(source);
7791
var comp =
CreateCompilation
(source);
7832
var comp =
CreateCompilation
(source);
7848
comp =
CreateCompilation
([source, interceptors, s_attributesTree]);
7873
var comp =
CreateCompilation
(source);
7917
var comp =
CreateCompilation
(source);
7958
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
8011
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
8059
var comp =
CreateCompilation
(source);
8118
var comp =
CreateCompilation
(source);
8178
var comp =
CreateCompilation
(source);
8233
var comp =
CreateCompilation
(source);
8288
var comp =
CreateCompilation
(source);
8338
var comp =
CreateCompilation
(source);
8396
var comp =
CreateCompilation
(source);
8455
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
8475
comp =
CreateCompilation
([source, interceptors, s_attributesTree], targetFramework: TargetFramework.Net90);
8576
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8606
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8635
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8664
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8755
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8797
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8921
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
8954
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9097
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9173
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9224
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9279
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9321
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9365
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9408
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
9568
var comp =
CreateCompilation
([source, interceptors, s_attributesSource], parseOptions: RegularPreviewWithInterceptors);
Semantics\InterpolationTests.cs (285)
939
CreateCompilation
(source).VerifyDiagnostics(
968
CreateCompilation
(source).VerifyDiagnostics(
989
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1000
CreateCompilation
(source).VerifyDiagnostics(
1170
var comp =
CreateCompilation
(text, targetFramework: framework,
1273
var comp =
CreateCompilation
(text, targetFramework: framework,
1374
var comp =
CreateCompilation
(text, targetFramework: framework,
1426
var comp =
CreateCompilation
(text, targetFramework: framework,
1465
CreateCompilation
(text).VerifyDiagnostics(
1507
CreateCompilation
(text).VerifyDiagnostics(
1646
CreateCompilation
(text).VerifyDiagnostics(
1844
var comp1 =
CreateCompilation
(interpolatedStringBuilder);
1848
var comp2 =
CreateCompilation
(source, new[] { reference });
2222
var comp =
CreateCompilation
(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
2260
var comp1 =
CreateCompilation
(interpolatedStringBuilder, targetFramework: TargetFramework.Net50);
2264
var comp2 =
CreateCompilation
(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.Regular10);
3282
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3312
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3342
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3373
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3402
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3430
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3458
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
3660
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
3742
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, parseOptions: TestOptions.Regular9);
4054
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder },
4107
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp);
4209
var comp =
CreateCompilation
(source);
4234
var comp =
CreateCompilation
(new[] { code, handler });
4275
var comp =
CreateCompilation
(new[] { code, handler });
4317
var comp =
CreateCompilation
(new[] { code, handler });
4378
var comp =
CreateCompilation
(source);
4404
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
4425
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4429
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4442
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
4455
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
4487
var comp =
CreateCompilation
(source);
4525
var comp =
CreateCompilation
(source);
4641
var comp =
CreateCompilation
(new[] { code, builder });
4779
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
4822
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
4891
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
4929
comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular9);
4984
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5014
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5043
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5067
var comp =
CreateCompilation
(new[]
5098
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5152
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5203
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5226
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.Regular10);
5252
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5280
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5338
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
5385
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5441
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
5500
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5565
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
5575
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
5623
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5691
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5761
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5824
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
5852
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5858
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5878
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
5940
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6013
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6039
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6099
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6126
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6183
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6211
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6292
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6356
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6421
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6448
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6504
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6549
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
6570
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6613
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6659
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6705
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6752
var comp =
CreateCompilation
(new[]
6829
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
6859
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
6887
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6919
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6953
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
6994
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7028
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7069
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7106
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7147
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7181
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7222
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7255
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7289
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7329
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7369
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7409
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7450
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7486
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7527
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7563
var comp =
CreateCompilation
(@"_ = new C($"""");", references: new[] { vbComp.EmitToImageReference() });
7604
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7644
var comp =
CreateCompilation
(@"C<CustomHandler>.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7697
var comp =
CreateCompilation
(new[] { code, goodCode, InterpolatedStringHandlerArgumentAttribute, handler });
7714
comp =
CreateCompilation
(new[] { code, badCode, InterpolatedStringHandlerArgumentAttribute, handler });
7816
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
7854
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7892
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7920
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7923
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
7969
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
7976
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7981
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
7991
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
8027
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: parseOptions);
8095
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8259
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8263
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8268
comp =
CreateCompilation
(executableCode, new[] { d });
8313
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8321
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8432
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8443
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8576
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8740
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8873
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9010
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9111
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9174
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9178
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
9239
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9355
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9472
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9595
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9669
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9713
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9938
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9985
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
10038
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10141
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe);
10288
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10387
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10485
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10539
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10638
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10737
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10835
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10879
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10934
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11019
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11131
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11383
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11568
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11668
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11735
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11823
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11899
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11961
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12095
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12192
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12484
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12748
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13005
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13074
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13129
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13358
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13410
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
13444
var comp =
CreateCompilation
(new[] { code, handler });
13461
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13520
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13580
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13642
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13704
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13796
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13915
var comp =
CreateCompilation
(code);
13937
var comp =
CreateCompilation
(code);
13970
var comp =
CreateCompilation
(new[] { code, customHandler });
14015
var comp =
CreateCompilation
(new[] { code, customHandler });
14052
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
14081
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
14113
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14158
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14203
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14246
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14295
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14351
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14447
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14546
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14669
var comp =
CreateCompilation
([source, InterpolatedStringHandlerAttribute], targetFramework: TargetFramework.StandardAndCSharp);
14721
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14778
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14821
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14824
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14853
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14890
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14893
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14930
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14933
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14970
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14982
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15028
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15031
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15062
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15065
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15096
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15099
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15133
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15171
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15184
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15226
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15229
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15277
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15318
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15354
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15405
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15448
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15470
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15510
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15538
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15571
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15607
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15652
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15693
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15733
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15785
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15824
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15863
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15903
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15986
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16029
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16090
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16132
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16171
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16196
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16242
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16297
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16359
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16393
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16448
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16475
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16520
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16576
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
16600
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16675
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17192
var comp =
CreateCompilation
(code);
17356
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
17370
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17434
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17607
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17628
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17692
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17765
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17797
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
18065
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
18099
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18268
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18303
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: TestOptions.Regular11);
18355
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
18407
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18462
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18538
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18557
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18571
var comp =
CreateCompilation
(text).VerifyDiagnostics(
18625
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18662
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18699
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18736
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18771
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18798
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
18834
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
18887
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
18969
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
19068
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
19181
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
19292
CreateCompilation
(source).VerifyDiagnostics(
19311
CreateCompilation
(source).VerifyEmitDiagnostics(
19327
var comp =
CreateCompilation
(source);
19389
var comp =
CreateCompilation
(source);
19444
var comp =
CreateCompilation
(source);
Semantics\IteratorTests.cs (14)
36
var comp =
CreateCompilation
(text);
65
var comp =
CreateCompilation
(text);
86
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
117
var sourceComp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
120
var userComp =
CreateCompilation
("", references: [sourceComp.EmitToImageReference()]);
153
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
179
var comp =
CreateCompilation
(text);
202
var comp =
CreateCompilation
(text);
338
CreateCompilation
(source).VerifyDiagnostics();
371
var comp =
CreateCompilation
(text);
609
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll);
668
var comp =
CreateCompilation
(text);
789
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
830
var comp1 =
CreateCompilation
(
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 (260)
29
var comp =
CreateCompilation
(@"
258
var compilation =
CreateCompilation
(code);
281
CreateCompilation
(source).VerifyDiagnostics(
305
CreateCompilation
(source).VerifyDiagnostics(
334
var comp =
CreateCompilation
(Parse(text));
412
var comp1 =
CreateCompilation
(
428
var comp2 =
CreateCompilation
(
440
var comp3 =
CreateCompilation
(
471
var comp =
CreateCompilation
(Parse(text1));
526
var csProject =
CreateCompilation
(
574
var csProject =
CreateCompilation
(Parse(csSource), new[] { MetadataReference.CreateFromImage(vbMetadata) });
595
var comp =
CreateCompilation
(source);
614
var comp =
CreateCompilation
(source);
635
var comp =
CreateCompilation
(source);
659
var csProject =
CreateCompilation
(csSource);
686
CreateCompilation
(csSource).VerifyDiagnostics(
723
CreateCompilation
(csSource).VerifyDiagnostics(
751
CreateCompilation
(csSource).VerifyDiagnostics(
775
CreateCompilation
(csSource).VerifyDiagnostics(
794
CreateCompilation
(csSource).VerifyDiagnostics(
812
CreateCompilation
(source).VerifyDiagnostics(
837
var comp =
CreateCompilation
(tree);
884
CreateCompilation
(csSource).VerifyDiagnostics(
936
var compilation =
CreateCompilation
(source);
1169
var comp =
CreateCompilation
(tree);
1202
var comp =
CreateCompilation
(tree);
1234
var comp =
CreateCompilation
(tree);
1427
var comp =
CreateCompilation
(@"
1450
var comp =
CreateCompilation
(@"
1469
var comp =
CreateCompilation
(@"
1501
var compilation =
CreateCompilation
(src);
1536
var compilation =
CreateCompilation
(src);
1573
var compilation =
CreateCompilation
(src);
1605
var compilation =
CreateCompilation
(src);
1884
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1922
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.ReleaseExe);
1941
CreateCompilation
(source).VerifyDiagnostics(
2710
var comp =
CreateCompilation
(source);
2812
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll);
2836
var comp =
CreateCompilation
(src);
2862
var comp =
CreateCompilation
(src);
2891
var comp =
CreateCompilation
(src);
2917
var comp =
CreateCompilation
(src);
2994
var comp =
CreateCompilation
(tree);
3036
var comp =
CreateCompilation
(tree);
3077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3095
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3098
comp =
CreateCompilation
(source);
3121
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3136
comp =
CreateCompilation
(source);
3159
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3177
comp =
CreateCompilation
(source);
3200
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3215
comp =
CreateCompilation
(source);
3238
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3253
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3256
comp =
CreateCompilation
(source);
3278
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3290
comp =
CreateCompilation
(source);
3312
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3327
comp =
CreateCompilation
(source);
3354
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3369
comp =
CreateCompilation
(source);
3387
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3393
comp =
CreateCompilation
(source);
3411
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3417
comp =
CreateCompilation
(source);
3435
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3444
comp =
CreateCompilation
(source);
3462
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3474
comp =
CreateCompilation
(source);
3500
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3509
comp =
CreateCompilation
(source);
3539
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3554
comp =
CreateCompilation
(source);
3608
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
3676
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3694
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3730
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3733
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3760
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
3777
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3812
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3872
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3928
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3971
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4022
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4087
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4113
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4148
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
4204
var comp =
CreateCompilation
(
4237
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4284
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4358
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4405
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4485
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4532
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4581
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition, NotNullWhenAttributeDefinition, MaybeNullAttributeDefinition });
4638
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition, NotNullAttributeDefinition });
4685
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4724
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4752
var comp =
CreateCompilation
(source);
4777
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4813
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4843
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4863
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4897
CreateCompilation
(source).VerifyDiagnostics(
4921
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4948
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4974
var comp =
CreateCompilation
(
5015
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
5047
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5059
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5080
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5135
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5161
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5185
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5211
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5245
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5283
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5324
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5360
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5386
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5431
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5456
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5484
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5508
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5535
var comp =
CreateCompilation
(source);
5566
var comp =
CreateCompilation
(source);
5597
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5630
var comp =
CreateCompilation
(source);
5710
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5744
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5766
var comp =
CreateCompilation
(source);
5800
var comp =
CreateCompilation
(source);
5832
var comp =
CreateCompilation
(source);
5865
var comp =
CreateCompilation
(source);
5892
var comp =
CreateCompilation
(source);
5915
var comp =
CreateCompilation
(source);
5937
var comp =
CreateCompilation
(source);
5962
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5990
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6034
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6037
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6096
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6123
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6190
var comp =
CreateCompilation
(source);
6213
var comp =
CreateCompilation
(source);
6238
var comp =
CreateCompilation
(source);
6260
var comp =
CreateCompilation
(source);
6281
var comp =
CreateCompilation
(source);
6303
var comp =
CreateCompilation
(source);
6324
var comp =
CreateCompilation
(source);
6345
var comp =
CreateCompilation
(source);
6367
var comp =
CreateCompilation
(source);
6388
var comp =
CreateCompilation
(source);
6409
var comp =
CreateCompilation
(source);
6430
var comp =
CreateCompilation
(source);
6451
var comp =
CreateCompilation
(source);
6471
var comp =
CreateCompilation
(source);
6491
var comp =
CreateCompilation
(source);
6523
var comp =
CreateCompilation
(@"
6559
var comp =
CreateCompilation
(@"
6594
var comp =
CreateCompilation
(@"
6628
var comp =
CreateCompilation
(@"
6664
var comp =
CreateCompilation
(@"
6696
var comp =
CreateCompilation
(@"
6719
var comp =
CreateCompilation
(@"
6752
var comp =
CreateCompilation
(@"
6776
var comp =
CreateCompilation
(@"
6800
var comp =
CreateCompilation
(@"
6829
var comp =
CreateCompilation
(@"
6870
var comp =
CreateCompilation
(source);
6903
CreateCompilation
("""
6923
CreateCompilation
("""
6958
CreateCompilation
("""
7004
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7030
var comp =
CreateCompilation
(source);
7059
var comp =
CreateCompilation
(source);
7090
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7129
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7134
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
7153
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
7172
var comp =
CreateCompilation
(source);
7194
var comp =
CreateCompilation
(source);
7217
var comp =
CreateCompilation
(source);
7237
var comp =
CreateCompilation
(source);
7259
var comp =
CreateCompilation
(source);
7278
var comp =
CreateCompilation
(source);
7300
var comp =
CreateCompilation
(source);
7319
var comp =
CreateCompilation
(source);
7351
var comp =
CreateCompilation
(source);
7380
var comp =
CreateCompilation
(source);
7404
var comp =
CreateCompilation
(source);
7424
var comp =
CreateCompilation
(source);
7453
var comp =
CreateCompilation
(source);
7476
var comp =
CreateCompilation
(source);
7497
var comp =
CreateCompilation
(source);
7515
var comp =
CreateCompilation
(source);
7535
var comp =
CreateCompilation
(source);
7551
var comp =
CreateCompilation
(source);
7567
var comp =
CreateCompilation
(source);
7583
var comp =
CreateCompilation
(source);
7602
var comp =
CreateCompilation
(source);
7620
var comp =
CreateCompilation
(source);
7658
var comp =
CreateCompilation
(source);
7680
var comp =
CreateCompilation
(source);
7702
var comp =
CreateCompilation
(source);
7721
var comp =
CreateCompilation
(source);
7740
var comp =
CreateCompilation
(source);
7763
var comp =
CreateCompilation
(source);
7780
var comp =
CreateCompilation
(source);
7804
var comp =
CreateCompilation
(source);
7828
var comp =
CreateCompilation
(source);
7852
var comp =
CreateCompilation
(source);
7878
CreateCompilation
(source).VerifyDiagnostics(
7904
CreateCompilation
(source).VerifyDiagnostics(
7922
CreateCompilation
(source).VerifyDiagnostics(
7936
CreateCompilation
(source).VerifyDiagnostics(
7948
CreateCompilation
(source).VerifyDiagnostics(
7966
CreateCompilation
(source).VerifyDiagnostics();
7982
CreateCompilation
(source).VerifyDiagnostics(
7998
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8046
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8071
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8103
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8143
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8194
CreateCompilation
(source).VerifyDiagnostics(
8220
var comp =
CreateCompilation
(tree);
8245
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8250
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
8262
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
8296
CreateCompilation
(source).VerifyDiagnostics(
8308
CreateCompilation
(source).VerifyDiagnostics(
8331
CreateCompilation
(source).VerifyDiagnostics(
8348
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8381
var comp =
CreateCompilation
(source);
8457
CreateCompilation
(source).VerifyDiagnostics(
8469
CreateCompilation
(source).VerifyDiagnostics(
8481
CreateCompilation
(source).VerifyDiagnostics(
8494
CreateCompilation
(source).VerifyDiagnostics(
8507
CreateCompilation
(source).VerifyDiagnostics();
8519
CreateCompilation
(source).VerifyDiagnostics(
8531
CreateCompilation
(source).VerifyDiagnostics(
8543
CreateCompilation
(source).VerifyDiagnostics(
8563
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8593
CreateCompilation
(source).VerifyDiagnostics(
8621
var compilation =
CreateCompilation
(source, parseOptions: options);
8671
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
8700
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8730
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
8757
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
8787
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
8822
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
8861
var comp1 =
CreateCompilation
(
Semantics\LocalFunctionTests.cs (243)
50
var comp =
CreateCompilation
(source);
344
var comp =
CreateCompilation
(tree);
392
var comp = (Compilation)
CreateCompilation
(tree);
439
var comp =
CreateCompilation
(tree);
484
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
532
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
603
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
656
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
710
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
758
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
796
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
843
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
886
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
901
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
946
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1016
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1050
var comp =
CreateCompilation
(text);
1081
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1118
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1202
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1283
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1348
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1379
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1415
var comp =
CreateCompilation
(text);
1444
var comp =
CreateCompilation
(source);
1452
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1489
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1518
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1525
var comp =
CreateCompilation
(@"
1544
var comp =
CreateCompilation
(@"
1570
var comp =
CreateCompilation
(@"
1598
var comp =
CreateCompilation
(@"
1614
var comp =
CreateCompilation
(@"
1634
var comp =
CreateCompilation
(@"
1655
var comp =
CreateCompilation
(@"
1692
var comp =
CreateCompilation
(tree);
1739
var comp = (Compilation)
CreateCompilation
(@"
1814
var comp = (Compilation)
CreateCompilation
(@"
1899
var comp =
CreateCompilation
(tree);
1955
var comp =
CreateCompilation
(tree);
2023
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2063
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2156
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular7_3);
2186
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2211
var comp =
CreateCompilation
(@"
2369
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12.WithFeature("run-nullable-analysis", "never"));
2443
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular13.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2444
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2451
var comp =
CreateCompilation
(@"
2536
var comp =
CreateCompilation
(@"
2585
var comp =
CreateCompilation
(source);
2846
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
3034
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3040
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3067
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3207
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true));
3656
var comp =
CreateCompilation
(source);
3677
var comp =
CreateCompilation
(source);
3735
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3739
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3742
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4014
CreateCompilation
(source, options: option, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
4752
CreateCompilation
(source).VerifyDiagnostics();
5103
var comp =
CreateCompilation
(src);
5256
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5259
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5262
comp =
CreateCompilation
(source);
5305
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5323
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5326
comp =
CreateCompilation
(source);
5349
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5367
comp =
CreateCompilation
(source);
5390
var comp =
CreateCompilation
(source);
5412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5429
comp =
CreateCompilation
(source);
5451
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5469
comp =
CreateCompilation
(source);
5495
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5513
comp =
CreateCompilation
(source);
5543
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5546
comp =
CreateCompilation
(source);
5582
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5600
comp =
CreateCompilation
(source);
5622
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5634
comp =
CreateCompilation
(source);
5665
var comp =
CreateCompilation
(source);
5695
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5704
comp =
CreateCompilation
(source);
5729
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5737
comp =
CreateCompilation
(source);
5757
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5762
comp =
CreateCompilation
(source);
5783
var comp =
CreateCompilation
(source);
5814
var comp =
CreateCompilation
(source);
5844
var comp =
CreateCompilation
(source);
5869
var comp =
CreateCompilation
(source);
5948
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithPreprocessorSymbols("MyDefine"));
5951
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular);
5989
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6060
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6096
var comp =
CreateCompilation
(new[] { NotNullIfNotNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6127
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6165
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6195
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6224
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6265
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6292
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6321
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6339
var comp =
CreateCompilation
(source);
6358
var comp =
CreateCompilation
(source);
6379
var comp =
CreateCompilation
(source);
6407
var comp =
CreateCompilation
(source);
6440
var comp =
CreateCompilation
(source);
6484
var comp =
CreateCompilation
(source);
6531
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
6602
var comp =
CreateCompilation
(source);
6625
var comp =
CreateCompilation
(source);
6654
var comp =
CreateCompilation
(source);
6680
var comp =
CreateCompilation
(source);
6709
var comp =
CreateCompilation
(source);
6741
var comp =
CreateCompilation
(source);
6796
var comp =
CreateCompilation
(source);
6826
var comp =
CreateCompilation
(source);
6870
var comp =
CreateCompilation
(source);
7029
var comp =
CreateCompilation
(source);
7083
var comp =
CreateCompilation
(source);
7142
var comp =
CreateCompilation
(source);
7191
var comp =
CreateCompilation
(source);
7254
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7284
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7312
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7342
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7416
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7511
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7561
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7620
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7684
var comp =
CreateCompilation
(@"
7720
var comp =
CreateCompilation
(@"
7755
var comp =
CreateCompilation
(@"
7792
var comp =
CreateCompilation
(@"
7828
var comp =
CreateCompilation
(@"
7864
var comp =
CreateCompilation
(@"
7899
var comp =
CreateCompilation
(@"
7926
var comp =
CreateCompilation
(@"
7960
var comp =
CreateCompilation
(@"
7994
var comp =
CreateCompilation
(@"
8021
var comp =
CreateCompilation
(@"
8050
var comp =
CreateCompilation
(@"
8069
var comp =
CreateCompilation
(@"
8088
var comp =
CreateCompilation
(@"
8115
var comp =
CreateCompilation
(@"
8151
var comp =
CreateCompilation
(@"
8187
var comp =
CreateCompilation
(@"
8214
var comp =
CreateCompilation
(@"
8241
var comp =
CreateCompilation
(@"
8275
var comp =
CreateCompilation
(@"
8302
var comp =
CreateCompilation
(@"
8338
var comp =
CreateCompilation
(@"
8373
var comp =
CreateCompilation
(@"
8400
var comp =
CreateCompilation
(@"
8435
var comp =
CreateCompilation
(@"
8454
var comp =
CreateCompilation
(@"
8483
var comp =
CreateCompilation
(@"
8514
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8518
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8534
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
8538
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
8560
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8581
var comp =
CreateCompilation
(source);
8593
var comp =
CreateCompilation
(source);
8614
var comp =
CreateCompilation
(source);
8640
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8672
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8730
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8769
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8810
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8852
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8886
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
8917
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
8985
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9006
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9030
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9054
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9078
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9101
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9124
var comp =
CreateCompilation
(source);
9151
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9168
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9188
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9197
var comp =
CreateCompilation
(@"
9233
var comp =
CreateCompilation
(@"
9268
var comp =
CreateCompilation
(@"
9305
var comp =
CreateCompilation
(@"
9357
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9385
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9421
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9464
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9484
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9511
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9542
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9576
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9593
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9613
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9633
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9656
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9679
var comp =
CreateCompilation
(source);
9710
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9739
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9779
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9788
var comp =
CreateCompilation
(@"
9822
var comp =
CreateCompilation
(@"
9848
var comp =
CreateCompilation
(@"
9874
var comp =
CreateCompilation
(@"
9915
var comp =
CreateCompilation
(@"
9955
var comp =
CreateCompilation
(@"
9989
var comp =
CreateCompilation
(@"
10020
var comp =
CreateCompilation
(@"
10044
var comp =
CreateCompilation
(@"
10075
var comp =
CreateCompilation
(@"
10099
var comp =
CreateCompilation
(@"
10132
var comp =
CreateCompilation
(@"
10170
var comp =
CreateCompilation
(text);
10219
CreateCompilation
(text).VerifyDiagnostics(
10256
CreateCompilation
(text).VerifyDiagnostics();
10291
CreateCompilation
(text).VerifyDiagnostics(
10328
CreateCompilation
(text).VerifyDiagnostics(
10365
CreateCompilation
(text).VerifyDiagnostics(
10375
var compilation =
CreateCompilation
("""
10419
var comp =
CreateCompilation
(src);
10455
var comp =
CreateCompilation
(src);
10485
var comp =
CreateCompilation
(src);
10515
var comp =
CreateCompilation
(src);
10548
var comp =
CreateCompilation
(src);
10578
var comp =
CreateCompilation
(src);
10619
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10648
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10677
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10707
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10742
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
10783
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
Semantics\LockTests.cs (28)
39
var compilation =
CreateCompilation
(source);
76
CreateCompilation
(source).VerifyDiagnostics(
96
CreateCompilation
(source).VerifyDiagnostics(
116
CreateCompilation
(source).VerifyDiagnostics();
135
CreateCompilation
(source).VerifyDiagnostics(
162
CreateCompilation
(source).VerifyDiagnostics(
194
CreateCompilation
(source).VerifyDiagnostics(
219
CreateCompilation
(source).VerifyDiagnostics(
240
CreateCompilation
(source).VerifyDiagnostics(
261
CreateCompilation
(source).VerifyDiagnostics(
289
CreateCompilation
(source).VerifyDiagnostics(
316
CreateCompilation
(source).VerifyDiagnostics(// (6,19): error CS1026: ) expected
352
CreateCompilation
(source).VerifyDiagnostics(
382
CreateCompilation
(source).VerifyDiagnostics(
431
CreateCompilation
(source).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_UseDefViolation, "i").WithArguments("i"));
449
CreateCompilation
(source).VerifyDiagnostics(
474
var compilation =
CreateCompilation
(
498
var compilation =
CreateCompilation
(
517
var compilation =
CreateCompilation
(
536
var compilation =
CreateCompilation
(
584
var compilation =
CreateCompilation
(
612
var compilation =
CreateCompilation
(
636
var compilation =
CreateCompilation
(
655
var compilation =
CreateCompilation
(
674
var compilation =
CreateCompilation
(
734
CreateCompilation
(source).VerifyDiagnostics(
774
var regularCompilation =
CreateCompilation
(source);
775
var strictCompilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature());
Semantics\LookupPositionTests.cs (2)
2269
var compilation =
CreateCompilation
(source);
2298
var compilation =
CreateCompilation
(source);
Semantics\LookupTests.cs (14)
424
var comp =
CreateCompilation
(testSrc);
580
var comp =
CreateCompilation
(testSrc);
1318
CreateCompilation
(testSrc).VerifyDiagnostics();
1498
var compilation =
CreateCompilation
(source);
1515
CreateCompilation
(source).VerifyDiagnostics(
1615
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
1639
var compilation =
CreateCompilation
(source);
1666
var compilation =
CreateCompilation
(source);
1707
var comp =
CreateCompilation
(source);
1753
var comp =
CreateCompilation
(source);
1781
var comp =
CreateCompilation
(source);
1816
var comp =
CreateCompilation
(source);
1977
var comp =
CreateCompilation
(source);
2117
var comp =
CreateCompilation
(source);
Semantics\MethodBodyModelTests.cs (34)
55
var comp =
CreateCompilation
(tree);
77
var comp =
CreateCompilation
(tree);
100
var comp =
CreateCompilation
(tree);
123
var comp =
CreateCompilation
(tree);
163
var comp =
CreateCompilation
(tree);
203
var comp =
CreateCompilation
(tree);
243
var comp =
CreateCompilation
(tree);
266
var comp =
CreateCompilation
(tree);
294
var comp =
CreateCompilation
(tree);
344
CreateCompilation
(text).VerifyDiagnostics(
370
var comp =
CreateCompilation
(tree);
394
var comp =
CreateCompilation
(tree);
417
var comp =
CreateCompilation
(tree);
441
var comp =
CreateCompilation
(tree);
464
var comp =
CreateCompilation
(tree);
487
var comp =
CreateCompilation
(tree);
510
var comp =
CreateCompilation
(tree);
533
var comp =
CreateCompilation
(tree);
564
var comp =
CreateCompilation
(tree);
616
var comp =
CreateCompilation
(tree);
640
var comp =
CreateCompilation
(tree);
667
var comp =
CreateCompilation
(tree);
699
var comp =
CreateCompilation
(tree);
726
var comp =
CreateCompilation
(tree);
751
var comp =
CreateCompilation
(tree);
771
var comp =
CreateCompilation
(tree);
796
var comp =
CreateCompilation
(tree);
833
var comp =
CreateCompilation
(tree);
860
var comp =
CreateCompilation
(tree);
885
var comp =
CreateCompilation
(tree);
912
var comp =
CreateCompilation
(tree);
933
var comp =
CreateCompilation
(tree);
954
var comp =
CreateCompilation
(tree);
993
var comp =
CreateCompilation
(tree);
Semantics\MethodTypeInferenceTests.cs (13)
490
CreateCompilation
(source).VerifyDiagnostics(
574
CreateCompilation
(source).VerifyDiagnostics();
633
CreateCompilation
(source).VerifyDiagnostics(
696
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
751
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
797
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
828
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
887
CreateCompilation
(source).VerifyDiagnostics(
913
CreateCompilation
(source).VerifyDiagnostics(
993
CreateCompilation
(source).VerifyDiagnostics();
1014
CreateCompilation
(source).VerifyDiagnostics(
1041
var comp =
CreateCompilation
(source);
1071
var comp =
CreateCompilation
(source);
Semantics\MultiDimensionalArrayTests.cs (1)
198
CreateCompilation
(text).VerifyDiagnostics(
Semantics\NameCollisionTests.cs (34)
259
CreateCompilation
(source).VerifyDiagnostics(
347
CreateCompilation
(source).VerifyDiagnostics();
389
CreateCompilation
(source).VerifyDiagnostics();
417
CreateCompilation
(source).VerifyDiagnostics();
455
CreateCompilation
(source).VerifyDiagnostics(
538
CreateCompilation
(source).VerifyDiagnostics();
582
CreateCompilation
(source).VerifyDiagnostics(
607
CreateCompilation
(source).VerifyDiagnostics();
632
CreateCompilation
(source).VerifyDiagnostics();
760
CreateCompilation
(source).VerifyDiagnostics(
834
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
861
CreateCompilation
(source).VerifyDiagnostics(
894
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
909
CreateCompilation
(source).VerifyDiagnostics(
934
CreateCompilation
(source).VerifyDiagnostics(
1032
CreateCompilation
(source).VerifyDiagnostics(
1099
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1125
CreateCompilation
(source).VerifyDiagnostics(
1168
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1173
CreateCompilation
(source).VerifyDiagnostics();
1234
CreateCompilation
(source).VerifyDiagnostics(
1337
CreateCompilation
(source).VerifyDiagnostics(
1378
CreateCompilation
(source).VerifyDiagnostics();
1428
CreateCompilation
(source).VerifyDiagnostics(
1560
CreateCompilation
(source).VerifyDiagnostics(
1776
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1797
CreateCompilation
(source).VerifyDiagnostics(
1839
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1860
CreateCompilation
(source).VerifyDiagnostics(
1919
CreateCompilation
(source).VerifyDiagnostics();
1938
CreateCompilation
(source).VerifyDiagnostics(
1967
CreateCompilation
(source).VerifyDiagnostics(
1996
CreateCompilation
(source).VerifyDiagnostics(
2031
CreateCompilation
(source).VerifyDiagnostics(
Semantics\NamedAndOptionalTests.cs (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 (74)
515
var comp =
CreateCompilation
(@"
592
var compilation =
CreateCompilation
(
616
var compilation =
CreateCompilation
(
635
var compilation =
CreateCompilation
(
657
var compilation =
CreateCompilation
(
683
var compilation =
CreateCompilation
(source);
709
var compilation =
CreateCompilation
(source);
969
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1040
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1123
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1203
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1709
CreateCompilation
(source, options: option).VerifyDiagnostics(
1726
CreateCompilation
(source, options: option).VerifyDiagnostics();
1739
CreateCompilation
(source, options: option).VerifyDiagnostics();
1754
CreateCompilation
(source, options: option).VerifyDiagnostics();
1768
CreateCompilation
(source, options: option).VerifyDiagnostics(
1793
CreateCompilation
(source, options: option).VerifyDiagnostics();
1852
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1908
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1949
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1969
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1992
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1993
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
1994
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2013
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2039
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2058
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2077
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2098
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2117
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2129
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2143
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2159
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2175
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2195
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2211
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2273
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2298
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2323
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2345
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2346
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
2347
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2366
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2367
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
2368
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2386
CreateCompilation
("""
2413
CreateCompilation
("""
2429
CreateCompilation
("""
2445
CreateCompilation
("""
2527
CreateCompilation
("""
2545
CreateCompilation
("""
2563
CreateCompilation
("""
2578
CreateCompilation
("""
2593
CreateCompilation
("""
2610
CreateCompilation
("""
2651
CreateCompilation
("""
2666
CreateCompilation
("""
2794
CreateCompilation
("""
2813
CreateCompilation
("""
2832
CreateCompilation
("""
2861
CreateCompilation
("""
2892
CreateCompilation
("""
2914
CreateCompilation
("""
2939
CreateCompilation
("""
2973
CreateCompilation
("""
3001
CreateCompilation
("""
3030
var compilation =
CreateCompilation
($$"""
3083
var comp =
CreateCompilation
(source);
3098
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3117
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3147
var comp =
CreateCompilation
(source);
3177
var comp =
CreateCompilation
(source);
3202
var comp =
CreateCompilation
(source);
3237
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
Semantics\NativeIntegerTests.cs (240)
75
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
90
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
781
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib40);
796
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461);
1069
comp =
CreateCompilation
(sourceB, references: new[] { refA1 }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard);
1085
comp =
CreateCompilation
(sourceC, references: new[] { refA2, refB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Standard);
1575
var comp =
CreateCompilation
("");
2930
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
2939
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
2977
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
2986
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
3019
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
3117
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3120
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3125
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3128
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3164
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3169
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3172
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3199
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3204
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3207
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3258
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3261
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3266
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3269
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3304
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3325
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3328
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3363
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3384
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3387
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3431
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3455
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3464
comp =
CreateCompilation
(source2, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3478
comp =
CreateCompilation
(source3, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3494
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.Regular9);
3497
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.Regular9);
3532
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
3535
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3540
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3543
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3568
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
3573
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular9);
3576
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular9);
3601
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
3606
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, parseOptions: TestOptions.Regular8);
3609
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, parseOptions: TestOptions.Regular8);
3625
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3632
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3675
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.ReleaseExe);
3678
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
3707
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3714
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3741
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3748
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3777
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3791
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3799
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics();
3820
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
3823
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
3826
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.RegularPreview);
3838
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular8);
3847
comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3856
comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
3884
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular8);
3893
comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
3902
comp =
CreateCompilation
(source1, parseOptions: TestOptions.RegularPreview);
3938
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3941
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3970
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
3973
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4006
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4009
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4028
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
4031
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4056
var comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular8);
4059
comp =
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular9);
4076
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4111
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4115
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4148
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4157
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4175
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
4184
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4207
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4216
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4236
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4245
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4268
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4271
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4287
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4293
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4314
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4345
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
4378
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4387
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4406
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
4407
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
4421
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular9);
4457
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4493
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.StandardAndCSharp);
4549
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4692
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
4763
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4767
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4889
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
4892
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
4895
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5001
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5004
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5068
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5149
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5152
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5208
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5211
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5231
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5252
comp =
CreateCompilation
(sourceB, references: new[] { AsReference(comp, useCompilationReference) }, parseOptions: useLatest ? TestOptions.Regular9 : TestOptions.Regular8);
5343
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5362
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5452
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5492
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5508
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5511
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5540
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5555
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5558
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5584
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5611
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5614
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5676
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5689
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5692
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5718
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5739
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5742
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5787
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5828
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5831
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5849
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
5873
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
5876
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
5894
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
6006
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
6009
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
6024
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
6038
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
6041
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
6062
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6110
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6191
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6291
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6365
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6392
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6415
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6432
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6550
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6597
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6736
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
6845
var comp =
CreateCompilation
(source);
6900
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6921
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6946
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6958
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
6975
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
6989
comp =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular9, options: TestOptions.ReleaseExe);
7008
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7027
comp =
CreateCompilation
(source1, references: new[] { ref0 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7047
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7087
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7121
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular9);
7151
var comp =
CreateCompilation
(source);
7219
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7222
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
7226
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7229
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7232
comp =
CreateCompilation
(sourceB, references: new[] { ref1 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7235
comp =
CreateCompilation
(sourceB, references: new[] { ref2 }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular8);
7292
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
7459
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
9495
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
9730
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10104
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10331
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
10498
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
12381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(useUnsafeContext), parseOptions: TestOptions.Regular9);
12442
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12667
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12870
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
12945
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13269
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
13287
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13313
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13341
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13371
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13388
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13406
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13436
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13453
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13492
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13521
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13545
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9);
13574
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13610
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
13669
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13732
var comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular9);
13877
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular9);
14015
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular9);
14223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14306
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14375
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll);
14424
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14446
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14479
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14515
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14603
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14632
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14655
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14709
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14734
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
14769
var comp =
CreateCompilation
(source);
14820
var comp =
CreateCompilation
(source);
15069
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15125
var comp =
CreateCompilation
(source);
15167
var comp =
CreateCompilation
(source);
15234
var comp =
CreateCompilation
(source);
15302
var comp =
CreateCompilation
(source);
15317
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15338
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15361
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15389
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15412
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15438
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
15837
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
15861
var comp =
CreateCompilation
(source);
15882
var comp =
CreateCompilation
(source);
Semantics\NonTrailingNamedArgumentsTests.cs (32)
89
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
197
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
228
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
264
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
300
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
334
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular7);
358
var comp =
CreateCompilation
(source);
414
var comp =
CreateCompilation
(source);
446
var comp =
CreateCompilation
(source);
475
var comp =
CreateCompilation
(source);
525
var comp =
CreateCompilation
(source);
558
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
589
var comp =
CreateCompilation
(source);
618
var comp =
CreateCompilation
(source);
640
var comp =
CreateCompilation
(source);
673
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
701
var comp =
CreateCompilation
(source);
815
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
822
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
843
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
874
var comp =
CreateCompilation
(source);
906
var comp =
CreateCompilation
(source);
925
var comp =
CreateCompilation
(source);
971
var comp =
CreateCompilation
(source);
1009
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1044
var comp =
CreateCompilation
(source);
1072
var comp =
CreateCompilation
(source);
1090
var comp =
CreateCompilation
(source);
1143
var comp =
CreateCompilation
(source);
1159
var comp =
CreateCompilation
(source);
1177
var comp =
CreateCompilation
(source);
1197
var comp =
CreateCompilation
(source);
Semantics\NullableContextTests.cs (31)
63
var comp =
CreateCompilation
(source, options: WithNullable(globalContext));
95
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
196
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
245
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
275
var refA =
CreateCompilation
(sourceA).EmitToImageReference();
304
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: parseOptions);
346
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
385
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
420
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
542
var refA =
CreateCompilation
(sourceA).EmitToImageReference();
560
var comp =
CreateCompilation
(sourceB, options: options, references: new[] { refA });
723
var comp =
CreateCompilation
(source);
983
var comp =
CreateCompilation
(source);
1064
var comp =
CreateCompilation
(source, options: options);
1148
var comp =
CreateCompilation
(source);
1207
var comp =
CreateCompilation
(source);
1298
var comp =
CreateCompilation
(source);
1355
var comp =
CreateCompilation
(source);
1450
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
1484
var comp =
CreateCompilation
(new[] { source1, source2 });
1514
var comp =
CreateCompilation
(source);
1585
var comp =
CreateCompilation
(source);
1737
var comp =
CreateCompilation
(source, options: options);
1767
var comp =
CreateCompilation
(source);
1836
var comp =
CreateCompilation
(source);
1874
var comp =
CreateCompilation
(source);
1923
var comp =
CreateCompilation
(source);
1965
var comp =
CreateCompilation
(source);
2005
var comp =
CreateCompilation
(source);
2044
var comp =
CreateCompilation
(source);
2225
var comp =
CreateCompilation
(source, options: options);
Semantics\NullableConversionTests.cs (2)
653
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithWarningLevel(0));
747
var compilation =
CreateCompilation
(source);
Semantics\NullableReferenceTypesTests.cs (3739)
101
return
CreateCompilation
(source, options: WithNullableEnable(), references: references, parseOptions: parseOptions);
117
CreateCompilation
(source).VerifyDiagnostics();
177
var comp =
CreateCompilation
(@"
231
var comp =
CreateCompilation
(@"
273
var comp =
CreateCompilation
(@"
315
var comp =
CreateCompilation
(@"
357
var comp =
CreateCompilation
(@"
381
var comp =
CreateCompilation
(@"
424
var comp =
CreateCompilation
(@"
441
var comp =
CreateCompilation
(@"
468
var comp =
CreateCompilation
(@"
513
var comp =
CreateCompilation
(@"
533
var comp =
CreateCompilation
(@"
557
var comp =
CreateCompilation
(@"
579
var comp =
CreateCompilation
(@"
602
var comp =
CreateCompilation
(@"
629
var comp =
CreateCompilation
(@"
652
var comp =
CreateCompilation
(@"
677
var comp =
CreateCompilation
(@"
707
var comp =
CreateCompilation
(@"
740
var comp =
CreateCompilation
(@"
770
var comp =
CreateCompilation
(@"
800
var comp =
CreateCompilation
(@"
834
var comp =
CreateCompilation
(@"
863
var comp =
CreateCompilation
(@"
895
var comp =
CreateCompilation
(@"
934
var comp =
CreateCompilation
(@"
967
var comp =
CreateCompilation
(@"
998
var comp =
CreateCompilation
(@"
1031
var comp =
CreateCompilation
(@"
1061
var comp =
CreateCompilation
(@"
1101
var comp =
CreateCompilation
(@"
1125
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1150
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1189
var compilation =
CreateCompilation
(source);
1243
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
1302
var comp =
CreateCompilation
(@"
1332
var comp =
CreateCompilation
(@"
1346
var comp =
CreateCompilation
(@"
1396
var comp =
CreateCompilation
(@"
1433
var comp =
CreateCompilation
(@"
1473
var comp =
CreateCompilation
(source);
1509
var comp =
CreateCompilation
(source);
1516
var comp =
CreateCompilation
(@"
1557
CreateCompilation
(text).VerifyDiagnostics(
1609
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1641
var comp =
CreateCompilation
(@"
1747
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1781
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
1834
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1862
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1918
CSharpCompilation c =
CreateCompilation
(new[] { @"
1952
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2001
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2087
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
2104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2134
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2237
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2259
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2298
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2337
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2370
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2413
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2455
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
2516
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2582
CreateCompilation
(source).VerifyDiagnostics(
2667
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2693
var comp =
CreateCompilation
(source, options: WithNullable(TestOptions.UnsafeReleaseDll, NullableContextOptions.Enable));
2734
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2763
var comp =
CreateCompilation
(@"
2782
var comp =
CreateCompilation
(@"
2815
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2821
comp =
CreateCompilation
(source, options: WithNullableEnable());
2842
comp =
CreateCompilation
(source, options: WithNullableEnable());
2859
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2897
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2914
var comp =
CreateCompilation
(@"
2998
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3040
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3099
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3122
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3212
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3254
var comp =
CreateCompilation
(source.Replace("FIELDTYPE", fieldType), options: WithNullableEnable());
3289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3357
var comp =
CreateCompilation
(source);
3377
var comp =
CreateCompilation
(source);
3434
var comp =
CreateCompilation
(src);
3474
var comp =
CreateCompilation
(src);
3496
CreateCompilation
(text).VerifyDiagnostics(
3600
CreateCompilation
(source).VerifyDiagnostics(
3632
var comp =
CreateCompilation
(source);
3678
var comp =
CreateCompilation
(source);
3726
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3756
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3816
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3880
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3945
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4020
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4104
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4138
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
4148
var c2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4399
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4434
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4457
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4481
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4497
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4554
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4586
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4615
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4639
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4674
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4929
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4973
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5018
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5104
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5145
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5189
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll);
5285
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5331
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5393
var comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll);
5406
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5419
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5460
var comp =
CreateCompilation
(source);
5486
var comp =
CreateCompilation
(source);
5511
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5536
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5556
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5576
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5598
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5616
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5638
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5667
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5701
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5736
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5813
var comp =
CreateCompilation
(new[] { source1, source2, source3, source4 },
5856
var comp =
CreateCompilation
(source);
5882
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5902
var comp =
CreateCompilation
(source);
5920
var comp =
CreateCompilation
(source);
5938
var comp =
CreateCompilation
(source);
5954
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Annotations));
5972
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5990
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6015
var comp =
CreateCompilation
(source);
6035
var comp =
CreateCompilation
(source);
6055
var comp =
CreateCompilation
(source);
6074
var comp =
CreateCompilation
(source);
6093
var comp =
CreateCompilation
(source);
6112
var comp =
CreateCompilation
(source);
6135
var comp =
CreateCompilation
(source);
6159
var comp =
CreateCompilation
(source);
6178
var comp =
CreateCompilation
(source);
6201
var comp =
CreateCompilation
(source);
6222
var comp =
CreateCompilation
(source);
6246
var comp =
CreateCompilation
(source);
6270
var comp =
CreateCompilation
(source);
6292
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Warnings));
6316
var comp =
CreateCompilation
(source, options: WithNullableDisable());
6340
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6357
var comp1 =
CreateCompilation
(source);
6364
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress));
6381
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6398
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6418
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6442
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6465
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6487
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6509
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6532
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6554
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6576
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6601
var comp =
CreateCompilation
(source);
6623
var comp =
CreateCompilation
(source);
6643
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6667
var comp =
CreateCompilation
(source);
6704
var comp =
CreateCompilation
(source);
6735
var comp =
CreateCompilation
(source);
6789
var comp =
CreateCompilation
(source);
6851
var comp =
CreateCompilation
(source);
6882
var comp =
CreateCompilation
(source);
6904
var comp =
CreateCompilation
(source);
6922
var comp =
CreateCompilation
(source);
6947
var comp =
CreateCompilation
(source);
6965
var comp =
CreateCompilation
(source);
6987
var comp =
CreateCompilation
(source);
7014
var comp =
CreateCompilation
(source);
7045
var comp =
CreateCompilation
(source);
7067
var comp =
CreateCompilation
(source);
7094
var comp =
CreateCompilation
(source);
7124
var comp =
CreateCompilation
(source);
7153
var comp =
CreateCompilation
(source);
7180
var comp =
CreateCompilation
(source);
7209
var comp =
CreateCompilation
(source);
7238
var comp =
CreateCompilation
(source);
7259
var comp =
CreateCompilation
(source);
7280
var comp =
CreateCompilation
(source);
7311
var comp =
CreateCompilation
(source);
7352
var comp =
CreateCompilation
(source);
7424
var comp =
CreateCompilation
(source);
7528
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7577
comp =
CreateCompilation
(source, options: WithNullableEnable());
7620
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7644
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7672
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7702
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7724
var c =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
7748
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7796
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7811
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7853
var c =
CreateCompilation
(new[] { source });
7856
c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7866
var c2 =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
7887
var c =
CreateCompilation
(new[] { source });
7906
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7940
var c =
CreateCompilation
(new[] { source });
7943
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7961
var c =
CreateCompilation
(new[] { source });
7964
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7985
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8007
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8048
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8107
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8129
var c =
CreateCompilation
(source);
8143
CSharpCompilation c =
CreateCompilation
(new[] { @"
8166
CSharpCompilation c =
CreateCompilation
(new[] { @"
8183
CSharpCompilation c =
CreateCompilation
(new[] { @"
8205
CSharpCompilation c =
CreateCompilation
(new[] { @"
8227
CSharpCompilation c =
CreateCompilation
(new[] { @"
8252
CSharpCompilation c =
CreateCompilation
(new[] { @"
8424
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8427
var c2 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
8461
var c3 =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
8486
CSharpCompilation c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8517
var comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8524
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8527
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.EmitToImageReference() });
8534
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8560
var comp =
CreateCompilation
(source);
8572
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8582
var comp =
CreateCompilation
("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7);
8589
var comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8595
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8601
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8604
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8607
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8610
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8613
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8616
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8619
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8622
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8625
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8628
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8679
CSharpCompilation c =
CreateCompilation
(new[] { @"
8811
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8818
var comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8821
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8826
comp1 =
CreateCompilation
(source1, references: compRefs0);
8829
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8834
comp0 =
CreateCompilation
(source0);
8841
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8844
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8849
comp1 =
CreateCompilation
(source1, references: compRefs0);
8852
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8856
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8859
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8864
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
8871
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8874
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8879
comp1 =
CreateCompilation
(source1, references: compRefs0);
8882
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8886
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8892
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8928
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8945
var comp1A =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
8948
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
8975
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8995
var comp1A =
CreateCompilation
(source1, references: new[] { new CSharpCompilationReference(comp0) });
8998
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9017
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9043
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9081
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9083
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9155
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9158
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9174
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9242
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9246
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9250
var comp2A =
CreateCompilation
(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7);
9253
var comp2B =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9256
var comp2C =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9277
var comp2D =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 });
9325
var comp0 =
CreateCompilation
(source0);
9336
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9340
var comp2 =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9368
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9372
comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9376
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9424
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9427
var comp1 =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
9430
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9448
var comp =
CreateCompilation
(new[] { source });
9467
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9478
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9492
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9500
var lib =
CreateCompilation
(lib_cs, assemblyName: "lib");
9503
var lib2 =
CreateCompilation
(lib2_cs, references: new[] { lib.EmitToImageReference() }, assemblyName: "lib2");
9509
var comp =
CreateCompilation
(source_cs, references: new[] { lib2.EmitToImageReference() });
9534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9548
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9566
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9653
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9698
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9717
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9735
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9804
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9854
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9863
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9923
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9956
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9967
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10032
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10083
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10095
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10161
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10203
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10213
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10278
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10312
var obliviousComp =
CreateCompilation
(new[] { obliviousLib });
10315
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
10330
var comp =
CreateCompilation
(new[] { source });
10349
var comp =
CreateCompilation
(new[] { source });
10379
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10382
comp =
CreateCompilation
(new[] { source });
10385
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10404
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10407
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
10413
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10427
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10441
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10511
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10611
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10684
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10770
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10845
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10933
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10976
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11027
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11078
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11123
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
11170
var comp =
CreateCompilation
(new[] { source });
11245
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
11330
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11361
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11385
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11406
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11429
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11450
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11488
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11563
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11622
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11689
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11728
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11756
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11816
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
11881
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11919
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11995
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12077
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12172
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12243
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12304
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12394
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12450
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
12484
var comp =
CreateCompilation
(new[] { source });
12511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12559
var comp =
CreateCompilation
(new[] { source });
12603
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12661
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12760
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12866
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12948
var compilation =
CreateCompilation
(new[] { source });
13014
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13105
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13184
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13246
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13308
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13376
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13449
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13507
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13554
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13587
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13625
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13662
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13724
var compilation =
CreateCompilation
(new[] { source });
13849
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource, prependDefaultHeader: false) },
13892
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13962
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14013
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14070
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14126
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14170
var compilation =
CreateCompilation
(new[] { source });
14223
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14279
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14333
var compilation1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
14338
var compilation2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(),
14385
var compilation1 =
CreateCompilation
(new[] { source1 }, options: options1);
14392
var compilation2 =
CreateCompilation
(new[] { source2 }, options: options2,
14399
var compilation3 =
CreateCompilation
(new[] { source1, source2 }, options: options1);
14403
var compilation4 =
CreateCompilation
(new[] { source2, source1 }, options: options1);
14435
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14485
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14561
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14663
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14690
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14763
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14869
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14900
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14930
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14946
var comp =
CreateCompilation
(@"
14990
var comp =
CreateCompilation
(@"
15052
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15106
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15171
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15213
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15246
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15271
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15319
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15340
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15361
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15382
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15403
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15436
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15469
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15495
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15537
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15558
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15579
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15600
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15621
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15669
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15726
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15794
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15853
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15899
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15927
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15948
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15982
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16038
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16059
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16087
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16134
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16178
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16232
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16260
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16298
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16342
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16399
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16441
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16492
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16548
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16620
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16705
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16790
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16996
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17071
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17143
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17169
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
17185
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: WithNullableEnable());
17229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17405
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17473
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17554
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17638
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17722
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17783
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17833
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
17864
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17888
compilation =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
17909
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17982
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
18034
var compilation =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
18103
CreateCompilation
(new[] { source }, options: WithNullableEnable()).
18129
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18136
CSharpCompilation c =
CreateCompilation
(
18635
CSharpCompilation c =
CreateCompilation
(new[] { @"
18783
CSharpCompilation c =
CreateCompilation
(new[] { @"
18815
CSharpCompilation c =
CreateCompilation
(new[] { @"
18877
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18941
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18963
var c2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable());
18974
CSharpCompilation c =
CreateCompilation
(new[] { @"
19019
CSharpCompilation c =
CreateCompilation
(new[] { @"
19064
CSharpCompilation c =
CreateCompilation
(new[] { @"
19096
CSharpCompilation c =
CreateCompilation
(new[] { @"
19131
CSharpCompilation c =
CreateCompilation
(new[] { @"
19194
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19248
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19272
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19308
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19352
CSharpCompilation c =
CreateCompilation
(new[] { @"
19417
CSharpCompilation c =
CreateCompilation
(new[] { @"
19494
CSharpCompilation c =
CreateCompilation
(new[] { @"
19537
CSharpCompilation c =
CreateCompilation
(new[] { @"
19601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19630
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19649
CSharpCompilation c0 =
CreateCompilation
(@"
19671
CSharpCompilation c =
CreateCompilation
(new[] { @"
19800
CSharpCompilation c0 =
CreateCompilation
(@"
19807
CSharpCompilation c =
CreateCompilation
(new[] { @"
19868
CSharpCompilation c0 =
CreateCompilation
(@"
19875
CSharpCompilation c =
CreateCompilation
(new[] { @"
19913
CSharpCompilation c0 =
CreateCompilation
(@"
19920
CSharpCompilation c =
CreateCompilation
(new[] { @"
19984
CSharpCompilation c0 =
CreateCompilation
(@"
19991
CSharpCompilation c =
CreateCompilation
(new[] { @"
20034
CSharpCompilation c0 =
CreateCompilation
(@"
20041
CSharpCompilation c =
CreateCompilation
(new[] { @"
20114
CSharpCompilation c0 =
CreateCompilation
(@"
20121
CSharpCompilation c =
CreateCompilation
(new[] { @"
20169
CSharpCompilation c0 =
CreateCompilation
(@"
20189
CSharpCompilation c =
CreateCompilation
(new[] { @"
20296
CSharpCompilation c =
CreateCompilation
(new[] { @"
20334
CSharpCompilation c =
CreateCompilation
(new[] { @"
20370
CSharpCompilation c =
CreateCompilation
(new[] { @"
20403
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20437
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20457
CSharpCompilation c =
CreateCompilation
(new[] { @"
20515
CSharpCompilation c =
CreateCompilation
(new[] { @"
20559
CSharpCompilation c =
CreateCompilation
(new[] { @"
20603
CSharpCompilation c =
CreateCompilation
(new[] { @"
20638
CSharpCompilation c =
CreateCompilation
(new[] { @"
20684
CSharpCompilation c =
CreateCompilation
(new[] { @"
20730
CSharpCompilation c =
CreateCompilation
(new[] { @"
20771
CSharpCompilation c =
CreateCompilation
(new[] { @"
20813
CSharpCompilation c =
CreateCompilation
(new[] { @"
21888
var c =
CreateCompilation
(["""
21907
var c =
CreateCompilation
(["""
21929
var c =
CreateCompilation
(["""
21948
var c =
CreateCompilation
(["""
23695
var c =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8);
23714
var c2 =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9);
26895
var c =
CreateCompilation
(@"
26926
var c =
CreateCompilation
(new[] { @"
26959
var c =
CreateCompilation
(new[] { @"
26998
var c =
CreateCompilation
(new[] { @"
27037
var c =
CreateCompilation
(new[] { @"
27073
var c =
CreateCompilation
(new[] { @"
27107
var c =
CreateCompilation
(new[] { @"
27139
var c =
CreateCompilation
(new[] { @"
27170
var c =
CreateCompilation
(new[] { @"
27199
var c =
CreateCompilation
(new[] { @"
27280
var comp =
CreateCompilation
(src);
27313
var comp =
CreateCompilation
(src);
27340
var comp =
CreateCompilation
(src);
27363
var comp =
CreateCompilation
(src);
27395
var comp =
CreateCompilation
(src);
27420
var comp =
CreateCompilation
(src);
27462
var comp =
CreateCompilation
(src);
27500
var comp =
CreateCompilation
(src);
27562
var comp =
CreateCompilation
(src);
27585
var c =
CreateCompilation
(new[] { @"
27616
var c =
CreateCompilation
(new[] { @"
27647
var c =
CreateCompilation
(new[] { @"
27683
var c =
CreateCompilation
(new[] { @"
27722
var c =
CreateCompilation
(new[] { @"
27759
var c =
CreateCompilation
(new[] { @"
27792
var c =
CreateCompilation
(new[] { @"
27825
var c =
CreateCompilation
(new[] { @"
27858
var c =
CreateCompilation
(new[] { @"
27896
var c =
CreateCompilation
(new[] { @"
27927
var c =
CreateCompilation
(new[] { @"
27962
var c =
CreateCompilation
(new[] { @"
28000
var c =
CreateCompilation
(new[] { @"
28029
var c =
CreateCompilation
(new[] { @"
28064
var c =
CreateCompilation
(new[] { @"
28105
var c =
CreateCompilation
(new[] { @"
28135
var c =
CreateCompilation
(new[] { @"
28169
var c =
CreateCompilation
(new[] { @"
28203
var c =
CreateCompilation
(new[] { @"
28237
var c =
CreateCompilation
(new[] { @"
28271
var c =
CreateCompilation
(new[] { @"
28305
var c =
CreateCompilation
(new[] { @"
28338
var c =
CreateCompilation
(new[] { @"
28365
var c =
CreateCompilation
(new[] { @"
28392
var c =
CreateCompilation
(new[] { @"
28419
var c =
CreateCompilation
(new[] { @"
28442
var c =
CreateCompilation
(new[] { @"
28469
var c =
CreateCompilation
(new[] { @"
28586
var c =
CreateCompilation
(new[] { @"
28617
var c =
CreateCompilation
(new[] { @"
28874
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }).VerifyDiagnostics(
29635
var c =
CreateCompilation
(new[] { @"
29798
var c =
CreateCompilation
(new[] { @"
29893
var c =
CreateCompilation
(new[] { @"
29924
var c =
CreateCompilation
(new[] { @"
29952
var c =
CreateCompilation
(new[] { @"
29982
var c =
CreateCompilation
(new[] { @"
30018
var c =
CreateCompilation
(new[] { @"
30047
var c =
CreateCompilation
(new[] { @"
30939
var c =
CreateCompilation
(new[] { @"
30967
var c =
CreateCompilation
(new[] { @"
31364
var c =
CreateCompilation
(new[] { @"
31396
var c =
CreateCompilation
(new[] { @"
31762
CSharpCompilation c =
CreateCompilation
(new[] { @"
31793
CSharpCompilation c =
CreateCompilation
(new[] { @"
31822
CSharpCompilation c =
CreateCompilation
(new[] { @"
31850
CSharpCompilation c =
CreateCompilation
(new[] { @"
31888
CSharpCompilation c =
CreateCompilation
(new[] { @"
31920
CSharpCompilation c =
CreateCompilation
(new[] { @"
31951
CSharpCompilation c =
CreateCompilation
(new[] { @"
31967
CSharpCompilation c =
CreateCompilation
(new[] { @"
32069
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition },
33935
CSharpCompilation c =
CreateCompilation
(new[] { @"
34716
CSharpCompilation c =
CreateCompilation
(new[] { @"
34753
CSharpCompilation c =
CreateCompilation
(new[] { @"
34793
CSharpCompilation c =
CreateCompilation
(new[] { @"
34811
CSharpCompilation c =
CreateCompilation
(new[] { @"
34829
CSharpCompilation c =
CreateCompilation
(new[] { @"
34848
CSharpCompilation c =
CreateCompilation
(new[] { @"
34870
CSharpCompilation c =
CreateCompilation
(new[] { @"
34889
CSharpCompilation c =
CreateCompilation
(new[] { @"
34914
CSharpCompilation c =
CreateCompilation
(new[] { @"
34940
CSharpCompilation c =
CreateCompilation
(new[] { @"
35020
CSharpCompilation c =
CreateCompilation
(new[] { @"
35044
CSharpCompilation c =
CreateCompilation
(new[] { @"
35064
CSharpCompilation c =
CreateCompilation
(new[] { @"
35099
var comp =
CreateCompilation
(source);
35106
CSharpCompilation c =
CreateCompilation
(new[] { @"
35131
CSharpCompilation c =
CreateCompilation
(new[] { @"
35153
CSharpCompilation c =
CreateCompilation
(new[] { @"
35177
CSharpCompilation c =
CreateCompilation
(new[] { @"
35204
CSharpCompilation c =
CreateCompilation
(new[] { @"
35229
CSharpCompilation c =
CreateCompilation
(new[] { @"
35253
CSharpCompilation c =
CreateCompilation
(new[] { @"
35280
CSharpCompilation c =
CreateCompilation
(new[] { @"
35301
var c =
CreateCompilation
(@"
35325
var c =
CreateCompilation
(@"
35350
var c =
CreateCompilation
(@"
35378
var c =
CreateCompilation
(@"
35407
var c =
CreateCompilation
(@"
35451
var c =
CreateCompilation
(@"
35486
var c =
CreateCompilation
(@"
35510
var c =
CreateCompilation
(@"
35534
var c =
CreateCompilation
(@"
35580
var c =
CreateCompilation
(@"
35617
var c =
CreateCompilation
(@"
35733
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition });
35765
var comp =
CreateCompilation
(source);
35789
var comp =
CreateCompilation
(source);
35824
var comp =
CreateCompilation
(source);
35859
var comp =
CreateCompilation
(source);
35954
var c =
CreateCompilation
(@"
35974
var c =
CreateCompilation
(@"
35999
var c =
CreateCompilation
(@"
36047
var c =
CreateCompilation
(@"
36074
var c =
CreateCompilation
(@"
36099
var c =
CreateCompilation
(@"
36133
var c =
CreateCompilation
(@"
36165
var c =
CreateCompilation
(@"
36189
var c =
CreateCompilation
(@"
36213
var c =
CreateCompilation
(@"
36233
var c =
CreateCompilation
(@"
36259
var c =
CreateCompilation
(@"
36303
CSharpCompilation c =
CreateCompilation
(new[] { @"
36324
CSharpCompilation c =
CreateCompilation
(new[] { @"
36345
CSharpCompilation c =
CreateCompilation
(new[] { @"
36370
CSharpCompilation c =
CreateCompilation
(new[] { @"
36397
CSharpCompilation c =
CreateCompilation
(new[] { @"
36418
CSharpCompilation c =
CreateCompilation
(new[] { @"
36445
CSharpCompilation c =
CreateCompilation
(new[] { @"
36469
CSharpCompilation c =
CreateCompilation
(new[] { @"
36493
CSharpCompilation c =
CreateCompilation
(new[] { @"
36513
CSharpCompilation c =
CreateCompilation
(new[] { @"
36537
CSharpCompilation c =
CreateCompilation
(new[] { @"
36558
CSharpCompilation c =
CreateCompilation
(new[] { @"
36585
CSharpCompilation c =
CreateCompilation
(new[] { @"
36611
CSharpCompilation c =
CreateCompilation
(@"
36631
CSharpCompilation c =
CreateCompilation
(new[] { @"
36653
CSharpCompilation c =
CreateCompilation
(new[] { @"
36673
var libComp =
CreateCompilation
(@"
36680
var comp =
CreateCompilation
(new[] { @"
36702
var comp =
CreateCompilation
(new[] { @"
36729
var obliviousComp =
CreateCompilation
(@"
36736
var comp =
CreateCompilation
(new[] { @"
36794
CSharpCompilation c =
CreateCompilation
(new[] { @"
36818
CSharpCompilation c =
CreateCompilation
(new[] { @"
36842
CSharpCompilation c =
CreateCompilation
(new[] { @"
36876
CSharpCompilation c =
CreateCompilation
(new[] { @"
36906
CSharpCompilation c =
CreateCompilation
(new[] { @"
36935
CSharpCompilation c =
CreateCompilation
(new[] { @"
37016
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
37288
CSharpCompilation c =
CreateCompilation
(new[] { @"
37334
CSharpCompilation c =
CreateCompilation
(new[] { @"
37355
CSharpCompilation c =
CreateCompilation
(new[] { @"
37379
CSharpCompilation c =
CreateCompilation
(new[] { @"
37401
CSharpCompilation c =
CreateCompilation
(new[] { @"
37426
CSharpCompilation c =
CreateCompilation
(new[] { @"
37453
CSharpCompilation c =
CreateCompilation
(new[] { @"
37494
CSharpCompilation c =
CreateCompilation
(new[] { @"
37520
CSharpCompilation c =
CreateCompilation
(new[] { @"
37539
CSharpCompilation c =
CreateCompilation
(new[] { @"
37562
CSharpCompilation c =
CreateCompilation
(new[] { @"
37585
CSharpCompilation c =
CreateCompilation
(new[] { @"
37612
CSharpCompilation c =
CreateCompilation
(new[] { @"
37640
CSharpCompilation c =
CreateCompilation
(new[] { @"
37660
CSharpCompilation c =
CreateCompilation
(new[] { @"
37686
CSharpCompilation c =
CreateCompilation
(new[] { $@"
37783
var comp =
CreateCompilation
(source);
37809
CSharpCompilation c =
CreateCompilation
(new[] { @"
37843
CSharpCompilation c =
CreateCompilation
(new[] { @"
37859
CSharpCompilation c =
CreateCompilation
(new[] { @"
37898
CSharpCompilation c =
CreateCompilation
(new[] { @"
37937
CSharpCompilation c =
CreateCompilation
(new[] { @"
37968
CSharpCompilation c =
CreateCompilation
(new[] { @"
37997
CSharpCompilation c =
CreateCompilation
(new[] { @"
38026
CSharpCompilation c =
CreateCompilation
(new[] { @"
38077
var compilation2 =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() });
38084
CSharpCompilation c =
CreateCompilation
(new[] { @"
38127
CSharpCompilation c =
CreateCompilation
(new[] { @"
38158
CSharpCompilation c =
CreateCompilation
(new[] { @"
38176
CSharpCompilation c =
CreateCompilation
(new[] { @"
38207
CSharpCompilation c =
CreateCompilation
(new[] { @"
38241
CSharpCompilation c =
CreateCompilation
(new[] { @"
38264
CSharpCompilation c =
CreateCompilation
(new[] { @"
38290
CSharpCompilation c =
CreateCompilation
(new[] { @"
38319
CSharpCompilation c =
CreateCompilation
(new[] { @"
38353
CSharpCompilation c =
CreateCompilation
(new[] { @"
38471
CSharpCompilation c =
CreateCompilation
(new[] { @"
38503
CSharpCompilation c =
CreateCompilation
(new[] { @"
38535
CSharpCompilation c =
CreateCompilation
(new[] { @"
38560
CSharpCompilation c =
CreateCompilation
(new[] { @"
38585
CSharpCompilation c =
CreateCompilation
(new[] { @"
38614
CSharpCompilation c =
CreateCompilation
(new[] { @"
38643
CSharpCompilation c =
CreateCompilation
(new[] { @"
38664
CSharpCompilation c =
CreateCompilation
(new[] { @"
38683
CSharpCompilation c =
CreateCompilation
(new[] { @"
38756
CSharpCompilation c =
CreateCompilation
(new[] { @"
38780
CSharpCompilation c =
CreateCompilation
(new[] { @"
38804
CSharpCompilation c =
CreateCompilation
(new[] { @"
38827
CSharpCompilation c =
CreateCompilation
(new[] { @"
38846
CSharpCompilation c =
CreateCompilation
(@"
38865
CSharpCompilation c =
CreateCompilation
(new[] { @"
38884
CSharpCompilation c =
CreateCompilation
(new[] { @"
38908
CSharpCompilation c =
CreateCompilation
(new[] { @"
38947
CSharpCompilation c =
CreateCompilation
(new[] { @"
38979
CSharpCompilation c =
CreateCompilation
(new[] { @"
38998
CSharpCompilation c =
CreateCompilation
(new[] { @"
39179
CSharpCompilation c =
CreateCompilation
(new[] { @"
39206
CSharpCompilation c =
CreateCompilation
(@"
39224
CSharpCompilation c =
CreateCompilation
(new[] { @"
39251
CSharpCompilation c =
CreateCompilation
(new[] { @"
39275
CSharpCompilation c =
CreateCompilation
(new[] { @"
39300
CSharpCompilation c =
CreateCompilation
(new[] { @"
39326
CSharpCompilation c =
CreateCompilation
(new[] { @"
39350
CSharpCompilation c =
CreateCompilation
(new[] { @"
39369
CSharpCompilation c =
CreateCompilation
(new[] { @"
39392
CSharpCompilation c =
CreateCompilation
(new[] { @"
39431
CSharpCompilation c =
CreateCompilation
(new[] { @"
39456
CSharpCompilation c =
CreateCompilation
(new[] { @"
39476
CSharpCompilation c =
CreateCompilation
(new[] { @"
39501
CSharpCompilation c =
CreateCompilation
(new[] { @"
39520
CSharpCompilation c =
CreateCompilation
(new[] { @"
39584
var comp =
CreateCompilation
(
39655
var comp =
CreateCompilation
(
39713
var comp =
CreateCompilation
(
39780
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
39857
var comp =
CreateCompilation
(
39895
var comp =
CreateCompilation
(
39941
var comp =
CreateCompilation
(
39993
var comp =
CreateCompilation
(
40069
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40187
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40221
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40291
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40305
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source0 }, options: WithNullableEnable());
40323
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
41256
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41301
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41725
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
42169
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
42221
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
43059
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43143
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43459
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43488
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43887
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44076
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, AllowNullAttributeDefinition, source }, options: WithNullableEnable());
44168
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44228
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44268
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44287
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source0 }, options: WithNullableEnable());
45847
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
45967
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46093
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable());
46191
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46217
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46235
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46252
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46285
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46302
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46345
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46373
var c =
CreateCompilation
(new[] { @"
47214
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source });
47243
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, MaybeNullWhenAttributeDefinition, source });
47298
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47374
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47420
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47439
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47453
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source0 }, options: WithNullableEnable());
47470
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
47633
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
48800
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
48843
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
48862
CSharpCompilation c =
CreateCompilation
(new[] { @"
48965
CSharpCompilation c =
CreateCompilation
(new[] { @"
49068
CSharpCompilation c =
CreateCompilation
(new[] { @"
49143
CSharpCompilation c =
CreateCompilation
(new[] { @"
49206
CSharpCompilation c =
CreateCompilation
(new[] { @"
49260
CSharpCompilation c =
CreateCompilation
(new[] { @"
49333
CSharpCompilation c =
CreateCompilation
(new[] { @"
49407
CSharpCompilation c =
CreateCompilation
(@"
49437
CSharpCompilation c =
CreateCompilation
(new[] { @"
49463
CSharpCompilation c =
CreateCompilation
(new[] { @"
49490
CSharpCompilation c =
CreateCompilation
(new[] { @"
49513
CSharpCompilation c =
CreateCompilation
(new[] { @"
49549
CSharpCompilation c =
CreateCompilation
(new[] { @"
49585
var compilation =
CreateCompilation
(new[] { @"
49726
var compilation =
CreateCompilation
(new[] { @"
49759
var compilation =
CreateCompilation
(new[] { @"
49785
var compilation =
CreateCompilation
(new[] { @"
49812
var compilation =
CreateCompilation
(new[] { @"
49837
CSharpCompilation c =
CreateCompilation
(@"
49870
CSharpCompilation c =
CreateCompilation
(@"
51236
CreateCompilation
(source).VerifyDiagnostics(
51946
CreateCompilation
(source).VerifyDiagnostics(
52213
CreateCompilation
(source).VerifyDiagnostics(
52241
CreateCompilation
(source).VerifyDiagnostics(
52286
CreateCompilation
(source).VerifyDiagnostics(
54233
CreateCompilation
(source, targetFramework: targetFramework, options: WithNullableEnable()).VerifyDiagnostics(
54255
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics();
54274
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics(
54349
CSharpCompilation c =
CreateCompilation
(new[] { @"
54376
CSharpCompilation c =
CreateCompilation
(new[] { @"
54404
CSharpCompilation c =
CreateCompilation
(new[] { @"
54431
CSharpCompilation c =
CreateCompilation
(new[] { @"
54458
CSharpCompilation c =
CreateCompilation
(new[] { @"
54485
CSharpCompilation c =
CreateCompilation
(new[] { @"
54503
CSharpCompilation c =
CreateCompilation
(new[] { @"
54536
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54563
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54587
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54614
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54653
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54690
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54739
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54772
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54825
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54863
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54885
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54901
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54982
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55073
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55150
CreateCompilation
(source).VerifyDiagnostics(
55229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55268
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55308
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55355
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55408
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55452
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55501
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55521
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55579
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55636
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55692
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55748
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55813
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55823
var comp =
CreateCompilation
(@"
55844
var comp =
CreateCompilation
(@"
55869
var comp =
CreateCompilation
(@"
55894
var comp =
CreateCompilation
(@"
55913
var comp =
CreateCompilation
(@"
55931
var comp =
CreateCompilation
(@"
55952
var comp =
CreateCompilation
(@"
55980
var comp =
CreateCompilation
(@"
56005
var comp =
CreateCompilation
(@"
56024
var comp =
CreateCompilation
(@"
56039
var comp =
CreateCompilation
(@"
56054
var comp =
CreateCompilation
(@"
56115
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56145
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56178
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56215
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56250
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56284
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56315
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56343
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56382
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56416
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56447
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56476
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56511
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56547
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56588
var comp =
CreateCompilation
(source);
56626
var comp =
CreateCompilation
(source);
56658
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56687
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56704
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56726
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56753
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56803
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56828
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56892
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56918
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56939
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56959
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
56985
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57032
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
57109
CreateCompilation
(source).VerifyDiagnostics(
57135
CreateCompilation
(source).VerifyDiagnostics(
57173
CreateCompilation
(source).VerifyDiagnostics(
57219
CreateCompilation
(source).VerifyDiagnostics();
57235
CreateCompilation
(source).VerifyDiagnostics(
57257
CreateCompilation
(source).VerifyDiagnostics();
57278
CreateCompilation
(source).VerifyDiagnostics(
57311
CreateCompilation
(source).VerifyDiagnostics(
57346
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57350
var comp =
CreateCompilation
(@"
57438
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57498
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57530
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57576
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57592
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57607
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
57651
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
57727
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57767
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57796
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57823
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57851
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57879
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57907
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57935
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57952
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57969
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57986
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58003
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58036
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable(TestOptions.ReleaseExe));
58089
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58179
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58229
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58281
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58378
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58475
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58490
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
58570
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
58616
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58677
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58727
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58753
CSharpCompilation c =
CreateCompilation
(new[] { @"
58819
CSharpCompilation c =
CreateCompilation
(new[] { @"
58868
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58903
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58927
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58961
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58993
CreateCompilation
(source).VerifyDiagnostics(
59002
CSharpCompilation c =
CreateCompilation
(new[] { @"
59049
var comp =
CreateCompilation
(
59086
var comp =
CreateCompilation
(
59113
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59141
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59177
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59207
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59272
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59306
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59334
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59359
var comp =
CreateCompilation
(
59391
var comp =
CreateCompilation
(
59431
var comp =
CreateCompilation
(
59458
var comp =
CreateCompilation
(
59470
CSharpCompilation c =
CreateCompilation
(new[] { @"
59542
CSharpCompilation c =
CreateCompilation
(new[] { @"
59601
CSharpCompilation c =
CreateCompilation
(new[] { @"
59634
CSharpCompilation c =
CreateCompilation
(new[] { @"
59734
CSharpCompilation c =
CreateCompilation
(new[] { @"
59806
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
59813
CSharpCompilation c =
CreateCompilation
(new[] { @"
59955
CSharpCompilation c =
CreateCompilation
(new[] { @"
60060
CSharpCompilation c =
CreateCompilation
(new[] { @"
60123
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60162
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60264
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60286
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60309
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60341
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60383
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60446
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60490
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60508
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60532
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60570
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60591
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60625
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60675
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60703
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60757
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60792
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60857
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60897
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60930
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60956
var comp =
CreateCompilation
(source);
61063
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61110
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61184
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
61217
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
61287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61335
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61364
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61393
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61422
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61451
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61458
CSharpCompilation c =
CreateCompilation
(
61515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61542
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61688
var comp =
CreateCompilation
(src);
61728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61756
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61769
CSharpCompilation c =
CreateCompilation
(new[] { @"
61850
CSharpCompilation c =
CreateCompilation
(new[] { @"
62027
CSharpCompilation c =
CreateCompilation
(new[] { @"
62089
CSharpCompilation c =
CreateCompilation
(new[] { @"
62125
CSharpCompilation c =
CreateCompilation
(new[] { @"
62298
CSharpCompilation c =
CreateCompilation
(new[] { @"
62347
CSharpCompilation c =
CreateCompilation
(new[] { @"
62376
CSharpCompilation c =
CreateCompilation
(new[] { @"
62447
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62489
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62508
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62531
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62567
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62600
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62636
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62667
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62704
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62736
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62763
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62784
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62828
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62849
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62872
var comp =
CreateCompilation
(source).VerifyDiagnostics(
62896
CSharpCompilation c =
CreateCompilation
(new[] { @"
62921
CSharpCompilation c =
CreateCompilation
(new[] { @"
63007
CSharpCompilation c =
CreateCompilation
(new[] { @"
63094
CSharpCompilation c =
CreateCompilation
(new[] { @"
63149
CSharpCompilation c =
CreateCompilation
(new[] { @"
63192
CSharpCompilation c =
CreateCompilation
(new[] { @"
63225
CSharpCompilation c =
CreateCompilation
(new[] { @"
63280
CSharpCompilation c =
CreateCompilation
(new[] { @"
63319
CSharpCompilation c =
CreateCompilation
(new[] { @"
63380
CSharpCompilation c =
CreateCompilation
(new[] { @"
63429
CSharpCompilation c =
CreateCompilation
(new[] { @"
63489
CSharpCompilation c =
CreateCompilation
(new[] { @"
63537
CSharpCompilation c =
CreateCompilation
(new[] { @"
63595
CSharpCompilation c =
CreateCompilation
(new[] { @"
63647
CSharpCompilation c =
CreateCompilation
(new[] { @"
63702
CSharpCompilation c =
CreateCompilation
(new[] { @"
63769
CSharpCompilation c =
CreateCompilation
(new[] { @"
63824
CSharpCompilation c =
CreateCompilation
(new[] { @"
63867
CSharpCompilation notAnnotated =
CreateCompilation
(@"
63884
CSharpCompilation c =
CreateCompilation
(new[] { @"
63927
CSharpCompilation c =
CreateCompilation
(new[] { @"
63962
CSharpCompilation c =
CreateCompilation
(new[] { @"
64013
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64087
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64116
var comp =
CreateCompilation
(source);
64156
var comp =
CreateCompilation
(@"
64180
var comp =
CreateCompilation
(@"
64204
var comp =
CreateCompilation
("""
64255
var comp =
CreateCompilation
(source, options: WithNullableEnable());
64460
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64524
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64553
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64580
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64625
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64645
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64670
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64703
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64752
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64776
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64814
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64861
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64943
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64968
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65285
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65370
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65399
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65502
var comp =
CreateCompilation
(
65536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65558
var comp =
CreateCompilation
(
65603
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65623
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65688
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65769
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65800
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65907
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65928
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
65981
CreateCompilation
(source).VerifyDiagnostics();
66014
CreateCompilation
(source).VerifyDiagnostics();
66048
CreateCompilation
(source).VerifyDiagnostics();
66076
CreateCompilation
(source).VerifyDiagnostics(
66107
CreateCompilation
(source).VerifyDiagnostics(
66143
CreateCompilation
(source).VerifyDiagnostics(
66179
CreateCompilation
(source).VerifyDiagnostics(
66209
CreateCompilation
(source).VerifyDiagnostics(
66233
CreateCompilation
(source).VerifyDiagnostics(
66259
CreateCompilation
(source).VerifyDiagnostics(
66288
CreateCompilation
(source).VerifyDiagnostics(
66317
CreateCompilation
(source).VerifyDiagnostics();
66340
CreateCompilation
(source).VerifyDiagnostics(
66368
CreateCompilation
(source).VerifyDiagnostics(
66396
CreateCompilation
(source).VerifyDiagnostics(
66432
CreateCompilation
(source).VerifyDiagnostics(
66461
CreateCompilation
(source).VerifyDiagnostics(
66502
CreateCompilation
(source).VerifyDiagnostics();
66531
CreateCompilation
(source).VerifyDiagnostics(
66565
CreateCompilation
(source).VerifyDiagnostics();
66594
CreateCompilation
(source).VerifyDiagnostics();
66623
CreateCompilation
(source).VerifyDiagnostics();
66652
CreateCompilation
(source).VerifyDiagnostics();
66686
CreateCompilation
(source).VerifyDiagnostics();
66723
CreateCompilation
(source).VerifyDiagnostics();
66750
CreateCompilation
(source).VerifyDiagnostics(
66786
CreateCompilation
(source).VerifyDiagnostics(
66828
CreateCompilation
(source).VerifyDiagnostics(
66867
CreateCompilation
(source).VerifyDiagnostics(
66917
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
66994
CSharpCompilation c =
CreateCompilation
(new[] { @"
67035
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67064
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67158
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67205
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67230
CSharpCompilation c =
CreateCompilation
(new[] { @"
67308
CSharpCompilation c =
CreateCompilation
(new[] { @"
67347
CSharpCompilation c =
CreateCompilation
(new[] { @"
67386
CSharpCompilation c =
CreateCompilation
(new[] { @"
67425
CSharpCompilation c =
CreateCompilation
(new[] { @"
67464
CSharpCompilation c =
CreateCompilation
(new[] { @"
67504
CSharpCompilation c =
CreateCompilation
(new[] { @"
67544
CSharpCompilation c =
CreateCompilation
(new[] { @"
67569
CSharpCompilation c =
CreateCompilation
(new[] { @"
67611
CSharpCompilation c =
CreateCompilation
(new[] { @"
67664
CSharpCompilation c =
CreateCompilation
(new[] { @"
67710
CSharpCompilation c =
CreateCompilation
(new[] { @"
67748
CSharpCompilation c =
CreateCompilation
(new[] { @"
67785
CSharpCompilation c =
CreateCompilation
(new[] { @"
67822
CSharpCompilation c =
CreateCompilation
(new[] { @"
67859
CSharpCompilation c =
CreateCompilation
(new[] { @"
67897
CSharpCompilation c =
CreateCompilation
(new[] { @"
67935
CSharpCompilation c =
CreateCompilation
(new[] { @"
67960
CSharpCompilation c =
CreateCompilation
(new[] { @"
67999
CSharpCompilation c =
CreateCompilation
(new[] { @"
68043
CSharpCompilation c =
CreateCompilation
(new[] { @"
68095
CSharpCompilation c =
CreateCompilation
(new[] { @"
68180
CSharpCompilation c =
CreateCompilation
(new[] { @"
68207
CSharpCompilation c =
CreateCompilation
(new[] { @"
68232
CSharpCompilation c =
CreateCompilation
(new[] { @"
68258
CSharpCompilation c =
CreateCompilation
(new[] { @"
68285
CSharpCompilation c =
CreateCompilation
(new[] { @"
68321
CSharpCompilation c =
CreateCompilation
(new[] { @"
68351
CSharpCompilation c =
CreateCompilation
(new[] { @"
68387
CSharpCompilation c =
CreateCompilation
(new[] { @"
68434
CSharpCompilation c =
CreateCompilation
(new[] { @"
68508
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68541
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68575
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68605
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68631
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68668
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68695
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68729
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68765
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68798
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68832
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68866
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68897
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68931
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68962
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68990
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69018
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69046
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69074
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69097
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
69132
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
69143
CSharpCompilation c =
CreateCompilation
(new[] { @"
69169
CSharpCompilation c =
CreateCompilation
(new[] { @"
69237
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69271
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69320
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69359
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69380
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69414
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69457
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69500
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69553
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69596
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69649
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69692
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69787
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69839
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70881
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70923
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70968
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71043
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71117
CSharpCompilation c =
CreateCompilation
(new[] { @"
71150
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71171
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71185
CSharpCompilation c =
CreateCompilation
(new[] { @"
71212
CSharpCompilation c =
CreateCompilation
(new[] { @"
71248
CSharpCompilation c =
CreateCompilation
(new[] { @"
71284
var comp =
CreateCompilation
(
71321
var comp =
CreateCompilation
(source, options: WithNullableEnable());
71354
var comp =
CreateCompilation
(
71395
var comp =
CreateCompilation
(
71432
var comp =
CreateCompilation
(
71469
var comp =
CreateCompilation
(
71502
var comp =
CreateCompilation
(
71534
var comp =
CreateCompilation
(
71585
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71620
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71647
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71673
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71702
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71760
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71788
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
72041
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72072
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72080
CSharpCompilation c =
CreateCompilation
(new[] { @"
72106
CSharpCompilation c =
CreateCompilation
(new[] { @"
72132
CSharpCompilation c =
CreateCompilation
(new[] { @"
72326
CSharpCompilation c =
CreateCompilation
(new[] { @"
72378
CSharpCompilation c =
CreateCompilation
(new[] { @"
72423
CSharpCompilation c =
CreateCompilation
(new[] { @"
72462
CSharpCompilation c =
CreateCompilation
(new[] { @"
72504
CSharpCompilation c =
CreateCompilation
(new[] { @"
72543
CSharpCompilation c =
CreateCompilation
(new[] { @"
72593
CSharpCompilation c =
CreateCompilation
(new[] { @"
72642
CSharpCompilation c =
CreateCompilation
(new[] { @"
72704
CSharpCompilation c =
CreateCompilation
(new[] { @"
72756
CSharpCompilation c =
CreateCompilation
(new[] { @"
72820
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72840
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72872
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable());
72912
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72919
CSharpCompilation c =
CreateCompilation
(new[] { @"
72953
CSharpCompilation c =
CreateCompilation
(new[] { @"
73004
CSharpCompilation c =
CreateCompilation
(new[] { @"
73039
CSharpCompilation c =
CreateCompilation
(new[] { @"
73090
CSharpCompilation c =
CreateCompilation
(new[] { @"
73156
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73172
CSharpCompilation c =
CreateCompilation
(new[] { @"
73254
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73261
CSharpCompilation c =
CreateCompilation
(new[] { @"
73414
CSharpCompilation c =
CreateCompilation
(new[] { @"
73470
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73526
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73570
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73593
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73649
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73729
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73757
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73800
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73834
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73929
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73963
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73998
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74038
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74100
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74153
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74190
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74203
CSharpCompilation c =
CreateCompilation
(new[] { @"
74305
CSharpCompilation c =
CreateCompilation
(
74392
CSharpCompilation c =
CreateCompilation
(new[] { @"
74499
CSharpCompilation c =
CreateCompilation
(new[] { @"
74548
CSharpCompilation c =
CreateCompilation
(new[] { @"
74596
CSharpCompilation c =
CreateCompilation
(new[] { @"
74643
CSharpCompilation c =
CreateCompilation
(new[] { @"
74691
CSharpCompilation c =
CreateCompilation
(new[] { @"
74733
CSharpCompilation c =
CreateCompilation
(new[] { @"
74775
CSharpCompilation c =
CreateCompilation
(new[] { @"
74855
CSharpCompilation c =
CreateCompilation
(new[] { @"
74956
CSharpCompilation c =
CreateCompilation
(new[] { @"
74994
CSharpCompilation c =
CreateCompilation
(
75047
CSharpCompilation c =
CreateCompilation
(new[] { @"
75140
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75181
var comp =
CreateCompilation
(source);
75214
var comp =
CreateCompilation
(source);
75248
var comp =
CreateCompilation
(source);
75288
var comp =
CreateCompilation
(source);
75329
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75360
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75390
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition });
75397
CSharpCompilation c =
CreateCompilation
(new[] { @"
75482
CSharpCompilation c =
CreateCompilation
(new[] { @"
75527
CSharpCompilation c =
CreateCompilation
(new[] { @"
75559
CSharpCompilation c =
CreateCompilation
(new[] { @"
75608
CSharpCompilation c =
CreateCompilation
(new[] { @"
75687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75929
CSharpCompilation c =
CreateCompilation
(new[] { @"
76012
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76031
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76053
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76073
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76101
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76135
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76159
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76181
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76208
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76231
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76260
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76278
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76293
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76484
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76504
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76524
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76549
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76586
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76659
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76710
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76763
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76785
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76817
var comp =
CreateCompilation
(source.Replace("OPERATOR", op), options: WithNullableEnable());
76854
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76890
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
77006
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77070
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77107
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77144
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77149
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77158
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77185
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77190
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77219
var compilation =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, options: WithNullableEnable());
77355
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77386
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77413
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77419
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77520
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77536
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77548
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77554
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77581
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77587
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77688
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77707
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77720
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77726
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77829
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77848
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77861
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77867
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77975
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
78006
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
78022
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
78038
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
78067
var comp =
CreateCompilation
(
78091
var comp =
CreateCompilation
(
78127
var comp =
CreateCompilation
(
78163
var comp =
CreateCompilation
(
78222
CSharpCompilation c =
CreateCompilation
(new[] { source },
78268
var comp =
CreateCompilation
(source);
78316
var comp =
CreateCompilation
(source);
78342
var comp =
CreateCompilation
(source);
78363
var comp =
CreateCompilation
(source);
78395
var comp =
CreateCompilation
(source);
78863
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
78890
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78911
var compA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular7);
78922
var compB =
CreateCompilation
(
78950
var comp =
CreateCompilation
(
78986
var comp =
CreateCompilation
(
79116
var comp =
CreateCompilation
(
79180
var comp =
CreateCompilation
(
79236
var comp =
CreateCompilation
(
79262
comp =
CreateCompilation
(
79286
var comp =
CreateCompilation
(
79340
var comp =
CreateCompilation
(
79366
var comp =
CreateCompilation
(
79455
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79479
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79521
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79547
var comp =
CreateCompilation
(source);
79575
var comp =
CreateCompilation
(
79609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79675
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79712
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79738
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79767
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79796
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79836
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79873
var comp =
CreateCompilation
(
79904
var comp =
CreateCompilation
(
79972
var comp =
CreateCompilation
(
80003
var comp =
CreateCompilation
(
80033
var comp =
CreateCompilation
(
80066
var comp =
CreateCompilation
(
80119
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80186
var comp =
CreateCompilation
(
80230
var comp =
CreateCompilation
(
80294
var comp =
CreateCompilation
(src, options: WithNullableEnable(TestOptions.DebugDll));
80321
var comp =
CreateCompilation
(
80366
var comp =
CreateCompilation
(
80392
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80559
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80630
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80660
var comp =
CreateCompilation
(
80666
comp =
CreateCompilation
(
80672
comp =
CreateCompilation
(
80698
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80737
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80757
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80761
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
80765
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
80806
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80878
var comp =
CreateCompilation
(
80901
var comp =
CreateCompilation
(
80924
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80933
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80955
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80961
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81003
var comp =
CreateCompilation
(
81038
var comp =
CreateCompilation
(
81063
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81115
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81142
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81167
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
81173
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81193
var comp =
CreateCompilation
(
81204
comp =
CreateCompilation
(
81215
comp =
CreateCompilation
(
81249
var comp =
CreateCompilation
(
81258
comp =
CreateCompilation
(
81285
var comp =
CreateCompilation
(
81323
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81341
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81367
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81393
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81436
var comp0 =
CreateCompilation
(
81455
var comp1 =
CreateCompilation
(
81475
var comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
81511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81578
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81714
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81809
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
81849
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
81896
var libComp =
CreateCompilation
(new[] { libSource });
81916
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3);
81923
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
81948
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81993
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
82021
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82059
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable());
82103
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: WithNullableEnable());
82151
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
82196
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82238
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82271
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82306
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82336
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable()).VerifyDiagnostics(
82365
var comp =
CreateCompilation
(
82383
var comp =
CreateCompilation
(
82438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82460
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82485
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82513
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82560
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82585
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82603
var comp =
CreateCompilation
(
82634
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82656
var comp =
CreateCompilation
(
82677
var comp =
CreateCompilation
(
82692
var comp =
CreateCompilation
(
82723
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82750
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82780
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82815
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82859
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82894
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82917
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82940
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82963
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82988
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83013
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83034
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83054
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83121
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeReleaseDll));
83255
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83302
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
83341
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83367
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83431
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83456
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83475
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83491
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83524
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83582
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83647
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83685
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83765
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83848
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83963
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84041
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84116
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84203
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84293
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84366
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84426
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84483
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84596
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84659
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84706
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84759
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84788
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84817
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84847
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84870
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84914
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84965
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84999
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85039
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85076
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85117
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85161
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85223
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85402
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85481
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85557
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85613
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85658
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85689
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85726
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85841
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85865
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85909
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85944
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86055
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86083
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86109
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86132
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86165
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86199
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86235
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86277
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86315
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86366
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86425
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86465
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86498
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86524
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86579
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86634
var comp =
CreateCompilation
(source);
86681
var comp =
CreateCompilation
(source);
86749
var comp =
CreateCompilation
(source);
86817
var comp =
CreateCompilation
(source);
86855
var comp =
CreateCompilation
(source);
86883
var comp =
CreateCompilation
(source);
86916
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
86937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86963
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86993
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87016
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87044
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87098
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87144
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87174
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87201
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87260
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87286
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87309
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87336
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87370
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87407
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87434
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87464
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87491
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87525
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87561
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87596
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87626
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87657
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87723
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87769
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
87794
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87834
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87878
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87913
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87943
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87995
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88036
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88071
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88107
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88131
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88161
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88188
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88221
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88250
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88320
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88380
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88410
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88468
var comp =
CreateCompilation
(source);
88491
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88535
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88584
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88636
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88665
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88718
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88761
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88820
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88925
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88931
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88957
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88985
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88988
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89012
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89037
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89057
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89074
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89085
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89087
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89098
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89100
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89112
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89139
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89184
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89225
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89256
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89278
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
89354
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89453
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89582
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89659
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89724
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89810
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89867
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89911
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89943
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89982
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90014
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90137
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90161
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90190
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90253
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90316
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90360
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90455
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90490
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90556
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90683
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90739
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90824
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90904
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
90974
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91038
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91102
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91140
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91182
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
91269
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics(
91339
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91517
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91544
var comp =
CreateCompilation
(src);
91580
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91620
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91659
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91686
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
91714
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
91738
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91765
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91794
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91832
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91864
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91893
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91923
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91950
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91980
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92010
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92037
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92069
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92096
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92130
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92160
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92184
var comp =
CreateCompilation
(source);
92211
var comp =
CreateCompilation
(source);
92691
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92716
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92731
CreateCompilation
(source).VerifyDiagnostics(
92757
CreateCompilation
(source).VerifyDiagnostics(
92777
var comp =
CreateCompilation
(
92803
var comp =
CreateCompilation
(
92838
var comp =
CreateCompilation
(
92862
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92884
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92906
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
92920
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92942
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92962
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93010
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93033
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93057
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93077
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93128
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93150
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93172
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93194
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93234
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93295
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93315
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93336
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93361
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93383
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93418
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93449
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93518
var comp =
CreateCompilation
(
93551
var comp =
CreateCompilation
(
93578
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93603
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93634
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93659
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93693
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93707
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93729
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93750
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93780
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeDebugDll));
93835
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93860
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93873
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93927
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93959
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93988
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
94052
var comp =
CreateCompilation
(
94123
var comp =
CreateCompilation
(
94171
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94185
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
94230
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
94281
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94315
var comp =
CreateCompilation
(source);
94344
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94368
var comp =
CreateCompilation
(
94392
var comp =
CreateCompilation
(
94416
var comp =
CreateCompilation
(
94440
var comp =
CreateCompilation
(
94463
var comp =
CreateCompilation
(
94484
var comp =
CreateCompilation
(
94513
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94541
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94571
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94590
var comp =
CreateCompilation
(
94609
var comp =
CreateCompilation
(
94630
var comp =
CreateCompilation
(
94662
var comp =
CreateCompilation
(
94700
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94763
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94795
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94831
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94859
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94974
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95047
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95113
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95148
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95175
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95190
var comp0 =
CreateCompilation
(source0);
95206
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
95229
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95257
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95364
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95458
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95491
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95528
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95572
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95606
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95641
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95671
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95705
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95769
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95792
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95820
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95856
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95886
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95913
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95945
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95983
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96025
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96060
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96091
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96120
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96153
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96182
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96268
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96302
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96342
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96376
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96407
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96455
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96574
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96626
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96719
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96834
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96861
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96934
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96984
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97037
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97078
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97108
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97137
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97158
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97202
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97225
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97253
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97279
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97311
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97347
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97397
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97429
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97462
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97492
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97561
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97586
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97632
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97673
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97733
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97790
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97831
var comp =
CreateCompilation
(source);
97876
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97890
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97898
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, skipUsesIsNullable: true);
97901
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9, skipUsesIsNullable: true);
97924
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97957
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97987
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98027
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98055
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98089
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98129
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98160
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98185
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98219
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98253
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98283
var comp =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, parseOptions: TestOptions.Regular9);
98324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98350
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98366
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() })
98392
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98408
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
98435
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98451
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
98518
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98624
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
98687
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98691
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
98713
var comp4 =
CreateCompilation
(new[] { source1 });
98715
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
98748
var comp =
CreateCompilation
(new[] { source },
98800
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98815
var comp2 =
CreateCompilation
(new[] { source2 },
98869
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98871
var comp2 =
CreateCompilation
(NullableContextAttributeDefinition);
98886
var comp3 =
CreateCompilation
(new[] { source3 },
98941
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98957
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
99018
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99046
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99079
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99119
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99154
var comp =
CreateCompilation
(source);
99170
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99173
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
99176
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
99199
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99224
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99312
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
99375
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99379
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
99401
var comp4 =
CreateCompilation
(new[] { source1 });
99403
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
99479
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99481
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
99495
var comp3 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
99498
var comp4 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() });
99501
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() });
99504
var comp6 =
CreateCompilation
(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
99514
var comp7 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp6.ToMetadataReference() });
99517
var comp9 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() });
99584
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99661
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99744
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99827
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99904
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99978
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100034
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100116
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100152
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100156
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100187
var comp4 =
CreateCompilation
(new[] { source1 });
100189
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100201
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100249
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100271
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100275
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100298
var comp4 =
CreateCompilation
(new[] { source1 });
100300
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100306
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100362
var comp =
CreateCompilation
(new[] { source });
100405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100449
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3);
100470
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
100502
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100525
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100569
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100611
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100694
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100789
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100878
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100950
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100977
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101003
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101026
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101064
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101147
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101263
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101327
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
101331
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { reference });
101408
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
101412
var comp2 =
CreateCompilation
(source2, options: WithNullable(NullableContextOptions.Warnings), references: new[] { reference });
101448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101474
var compilation =
CreateCompilation
(source);
101508
var compilation =
CreateCompilation
(source);
101575
var compilation =
CreateCompilation
(source);
101641
var compilation =
CreateCompilation
(source);
101674
var compilation =
CreateCompilation
(source);
101697
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101725
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101754
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib46);
101787
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101833
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101883
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101903
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
101960
var comp1 =
CreateCompilation
(source1);
101983
var comp2 =
CreateCompilation
(source2);
102012
var comp1 =
CreateCompilation
(source1);
102039
var comp1 =
CreateCompilation
(source1);
102066
var comp1 =
CreateCompilation
(source1);
102093
var comp1 =
CreateCompilation
(source1);
102120
var comp1 =
CreateCompilation
(source1);
102147
var comp1 =
CreateCompilation
(source1);
102189
var comp1 =
CreateCompilation
(source1);
102220
var comp1 =
CreateCompilation
(source1);
102254
var comp2 =
CreateCompilation
(source2);
102294
var comp1 =
CreateCompilation
(source1);
102332
var comp1 =
CreateCompilation
(source1);
102370
var comp1 =
CreateCompilation
(source1);
102398
var comp1 =
CreateCompilation
(source1);
102426
var comp1 =
CreateCompilation
(source1);
102454
var comp1 =
CreateCompilation
(source1);
102493
var comp1 =
CreateCompilation
(source1);
102520
var comp1 =
CreateCompilation
(source1);
102542
var comp2 =
CreateCompilation
(source2);
102570
var comp1 =
CreateCompilation
(source1);
102596
var comp1 =
CreateCompilation
(source1);
102622
var comp1 =
CreateCompilation
(source1);
102648
var comp1 =
CreateCompilation
(source1);
102674
var comp1 =
CreateCompilation
(source1);
102700
var comp1 =
CreateCompilation
(source1);
102741
var comp1 =
CreateCompilation
(source1);
102771
var comp1 =
CreateCompilation
(source1);
102804
var comp2 =
CreateCompilation
(source2);
102843
var comp1 =
CreateCompilation
(source1);
102880
var comp1 =
CreateCompilation
(source1);
102917
var comp1 =
CreateCompilation
(source1);
102944
var comp1 =
CreateCompilation
(source1);
102971
var comp1 =
CreateCompilation
(source1);
102998
var comp1 =
CreateCompilation
(source1);
103035
var comp1 =
CreateCompilation
(source1);
103067
var comp1 =
CreateCompilation
(source1);
103098
var comp1 =
CreateCompilation
(source1);
103141
var comp1 =
CreateCompilation
(source1);
103185
var comp1 =
CreateCompilation
(source1);
103226
var comp1 =
CreateCompilation
(source1);
103246
var comp2 =
CreateCompilation
(source2);
103271
var comp3 =
CreateCompilation
(source3);
103300
var comp1 =
CreateCompilation
(source1);
103320
var comp2 =
CreateCompilation
(source2);
103351
var comp1 =
CreateCompilation
(source1);
103371
var comp2 =
CreateCompilation
(source2);
103398
var comp3 =
CreateCompilation
(source3);
103429
var comp1 =
CreateCompilation
(source1);
103450
var comp2 =
CreateCompilation
(source2);
103478
var comp1 =
CreateCompilation
(source1);
103504
var comp2 =
CreateCompilation
(source2);
103531
var comp3 =
CreateCompilation
(source3);
103565
var comp1 =
CreateCompilation
(source1);
103588
var comp2 =
CreateCompilation
(source2);
103612
var comp3 =
CreateCompilation
(source3);
103645
var comp1 =
CreateCompilation
(source1);
103669
var comp2 =
CreateCompilation
(source2);
103694
var comp3 =
CreateCompilation
(source3);
103727
var comp1 =
CreateCompilation
(source1);
103754
var comp2 =
CreateCompilation
(source2);
103782
var comp3 =
CreateCompilation
(source3);
103816
var comp1 =
CreateCompilation
(source1);
103842
var comp2 =
CreateCompilation
(source2);
103869
var comp3 =
CreateCompilation
(source3);
103903
var comp1 =
CreateCompilation
(source1);
103926
var comp2 =
CreateCompilation
(source2);
103950
var comp3 =
CreateCompilation
(source3);
103983
var comp1 =
CreateCompilation
(source1);
104010
var comp2 =
CreateCompilation
(source2);
104038
var comp3 =
CreateCompilation
(source3);
104075
var comp1 =
CreateCompilation
(source1);
104100
var comp2 =
CreateCompilation
(source2);
104126
var comp3 =
CreateCompilation
(source3);
104159
var comp1 =
CreateCompilation
(source1);
104179
var comp1 =
CreateCompilation
(source1);
104201
var comp1 =
CreateCompilation
(source1);
104223
var comp2 =
CreateCompilation
(source2);
104249
var comp1 =
CreateCompilation
(source1);
104270
var comp2 =
CreateCompilation
(source2);
104295
var comp1 =
CreateCompilation
(source1);
104316
var comp1 =
CreateCompilation
(source1);
104346
var comp1 =
CreateCompilation
(source1);
104372
var comp1 =
CreateCompilation
(source1);
104401
var comp1 =
CreateCompilation
(source1);
104433
var comp1 =
CreateCompilation
(source1);
104459
var comp1 =
CreateCompilation
(source1);
104488
var comp1 =
CreateCompilation
(source1);
104516
var comp1 =
CreateCompilation
(source1);
104536
var comp1 =
CreateCompilation
(source1);
104558
var comp1 =
CreateCompilation
(source1);
104585
var comp1 =
CreateCompilation
(source1);
104610
var comp1 =
CreateCompilation
(source1);
104631
var comp1 =
CreateCompilation
(source1);
104661
var comp1 =
CreateCompilation
(source1);
104688
var comp1 =
CreateCompilation
(source1);
104717
var comp1 =
CreateCompilation
(source1);
104748
var comp1 =
CreateCompilation
(source1);
104774
var comp1 =
CreateCompilation
(source1);
104803
var comp1 =
CreateCompilation
(source1);
104842
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104922
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
104938
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
104995
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
104997
var comp2 =
CreateCompilation
(NullableAttributeDefinition);
105013
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
105070
var comp =
CreateCompilation
(new[] { source });
105116
var comp1 =
CreateCompilation
(new[] { source1 });
105167
var comp1 =
CreateCompilation
(new[] { source1 });
105209
var comp1 =
CreateCompilation
(new[] { source1 });
105252
var comp1 =
CreateCompilation
(new[] { source1 });
105291
var comp1 =
CreateCompilation
(new[] { source1 });
105331
var comp1 =
CreateCompilation
(new[] { source1 });
105371
var comp1 =
CreateCompilation
(new[] { source1 });
105417
var comp1 =
CreateCompilation
(new[] { source1 });
105454
var comp1 =
CreateCompilation
(new[] { source1 });
105484
var comp1 =
CreateCompilation
(new[] { source1 });
105570
var comp1 =
CreateCompilation
(new[] { source1 });
105642
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
105678
var comp1 =
CreateCompilation
(new[] { source1 });
105711
var comp1 =
CreateCompilation
(new[] { source1 });
105744
var comp1 =
CreateCompilation
(new[] { source1 });
105774
var comp1 =
CreateCompilation
(new[] { source1 });
105804
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105831
var comp1 =
CreateCompilation
(new[] { source1 });
105852
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105881
var comp =
CreateCompilation
(source);
105906
var comp1 =
CreateCompilation
(new[] { source }, options: options);
105935
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105946
var comp2 =
CreateCompilation
(new[] { source }, options: WithNullableDisable());
106010
var comp1 =
CreateCompilation
(new[] { source1 });
106151
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { reference }, parseOptions: TestOptions.Regular8);
106193
var comp1 =
CreateCompilation
(new[] { source1 });
106224
var comp1 =
CreateCompilation
(new[] { source1 });
106255
var comp1 =
CreateCompilation
(new[] { source1 });
106287
var comp1 =
CreateCompilation
(new[] { source1 });
106320
var comp1 =
CreateCompilation
(new[] { source1 });
106353
var comp1 =
CreateCompilation
(new[] { source1 });
106385
var comp1 =
CreateCompilation
(new[] { source1 });
106417
var comp1 =
CreateCompilation
(new[] { source1 });
106450
var comp1 =
CreateCompilation
(new[] { source1 });
106480
var comp1 =
CreateCompilation
(new[] { source1 });
106511
var comp1 =
CreateCompilation
(new[] { source1 });
106542
var comp1 =
CreateCompilation
(new[] { source1 });
106574
var comp1 =
CreateCompilation
(new[] { source1 });
106606
var comp1 =
CreateCompilation
(new[] { source1 });
106639
var comp1 =
CreateCompilation
(new[] { source1 });
106670
var comp1 =
CreateCompilation
(new[] { source1 });
106702
var comp1 =
CreateCompilation
(new[] { source1 });
106733
var comp1 =
CreateCompilation
(new[] { source1 });
106765
var comp1 =
CreateCompilation
(new[] { source1 });
106795
var comp1 =
CreateCompilation
(new[] { source1 });
106825
var comp1 =
CreateCompilation
(new[] { source1 });
106855
var comp1 =
CreateCompilation
(new[] { source1 });
106885
var comp1 =
CreateCompilation
(new[] { source1 });
107212
var comp1 =
CreateCompilation
(new[] { source1 });
107249
var comp1 =
CreateCompilation
(new[] { source1 });
107285
var comp1 =
CreateCompilation
(new[] { source1 });
107322
var comp1 =
CreateCompilation
(new[] { source1 });
107358
var comp1 =
CreateCompilation
(new[] { source1 });
107396
var comp1 =
CreateCompilation
(new[] { source1 });
107440
var comp1 =
CreateCompilation
(new[] { source1 });
107443
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
107481
var comp1 =
CreateCompilation
(new[] { source1 });
107522
var comp1 =
CreateCompilation
(new[] { source1 });
107558
var comp1 =
CreateCompilation
(new[] { source1 });
107595
var comp1 =
CreateCompilation
(new[] { source1 });
107631
var comp1 =
CreateCompilation
(new[] { source1 });
107667
var comp1 =
CreateCompilation
(new[] { source1 });
107703
var comp1 =
CreateCompilation
(new[] { source1 });
107739
var comp1 =
CreateCompilation
(new[] { source1 });
107764
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107820
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107895
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107956
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107999
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108050
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108120
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108177
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108222
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108267
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108311
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108369
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108434
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108486
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108540
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108581
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108654
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108743
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108813
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108872
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108925
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108957
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108989
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109027
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109065
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109115
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109173
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109234
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109291
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
109295
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { reference });
109350
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109389
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109450
var comp1 =
CreateCompilation
(source);
109501
var comp1 =
CreateCompilation
(source);
109573
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109689
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109744
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109778
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109805
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109873
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109922
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109949
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110013
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110054
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110129
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110175
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110206
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110236
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110270
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110329
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110385
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110457
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110483
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110513
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110536
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110579
var comp =
CreateCompilation
(source1, new[] { ref0 });
110659
var comp =
CreateCompilation
(source1, new[] { ref0 });
110674
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110722
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110759
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110823
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110867
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110914
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110948
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110995
var comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111028
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
111041
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111044
comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111047
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111074
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111097
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111150
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
111152
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111163
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111179
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111217
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111249
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111281
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111307
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111364
var comp0 =
CreateCompilation
(source0);
111371
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111383
var comp0 =
CreateCompilation
(source0);
111394
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111412
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111430
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111448
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111466
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111481
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111517
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111535
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111550
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111584
var comp0 =
CreateCompilation
(new[] { source0 });
111606
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111636
var comp0 =
CreateCompilation
(new[] { source0 }, parseOptions: TestOptions.Regular8);
111692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111700
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111710
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111721
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
111787
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111841
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111888
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111906
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111930
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111940
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111950
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111992
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112024
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112066
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112112
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112124
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
112167
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112223
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112252
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112293
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112320
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112341
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112421
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112460
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112530
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112574
var comp0 =
CreateCompilation
(source0);
112576
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112597
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable());
112599
comp =
CreateCompilation
(source, references: new[] { ref0 });
112609
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112612
comp =
CreateCompilation
(source, references: new[] { ref0 });
112628
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112672
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
112683
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112692
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
112702
comp =
CreateCompilation
(source, references: new[] { ref0 });
112711
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112714
comp =
CreateCompilation
(source, references: new[] { ref0 });
112722
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112757
var comp =
CreateCompilation
(source);
112759
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112822
var comp =
CreateCompilation
(new[] { source });
112912
var comp =
CreateCompilation
(new[] { source });
112949
var comp =
CreateCompilation
(new[] { source });
112969
var comp =
CreateCompilation
(new[] { source });
113029
var comp =
CreateCompilation
(new[] { source });
113111
var comp =
CreateCompilation
(new[] { source });
113147
var comp =
CreateCompilation
(new[] { source });
113218
var comp1 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "") });
113221
var comp2 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "annotations") });
113273
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113302
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113339
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113370
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113411
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113433
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113463
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113518
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113543
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113573
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113598
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113631
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113662
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113689
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113708
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113732
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113754
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113787
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113808
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113840
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114065
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114289
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114314
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114347
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114375
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114408
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114436
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114466
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114502
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114539
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114575
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114605
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114637
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114668
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114699
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114729
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114760
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114790
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114819
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114903
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
114906
comp =
CreateCompilation
(new[] { source });
114953
var comp =
CreateCompilation
(new[] { source });
114993
var comp =
CreateCompilation
(new[] { source });
115018
var comp =
CreateCompilation
(new[] { source });
115041
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115073
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115116
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
115159
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115192
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115241
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115270
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115297
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115326
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115367
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115439
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115477
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115522
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115562
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115593
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115628
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115647
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115683
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115995
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116023
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116055
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116087
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116132
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics(
116171
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116190
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116201
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116204
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116227
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116239
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116242
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116265
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116276
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116279
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116302
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116313
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116316
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116339
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116355
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116358
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116381
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116397
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116400
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116420
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116438
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116441
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116461
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116482
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116485
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116508
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116523
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116526
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116549
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116566
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116569
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116586
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll)).VerifyEmitDiagnostics();
116587
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
116837
var comp =
CreateCompilation
(source2, new[] { ref1.WithEmbedInteropTypes(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
116855
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116876
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116901
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116918
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116936
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116954
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116985
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117032
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117061
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117083
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117117
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117139
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117171
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117199
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117232
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117260
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117293
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117316
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117343
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117370
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117397
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117421
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117559
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117648
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117699
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117729
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117757
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117793
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117819
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117836
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117857
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117880
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117903
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117924
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117948
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117974
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117997
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118018
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118041
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118064
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118081
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118102
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118122
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118150
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118177
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118205
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118229
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118249
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118273
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118293
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118318
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118341
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118364
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118389
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118414
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118456
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118479
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118502
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118528
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118548
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118569
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118587
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118613
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118646
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118678
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118703
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118727
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118752
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118777
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118806
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118837
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118864
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118890
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118912
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118930
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118948
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118971
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118998
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119024
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119056
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119081
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119103
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119130
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119167
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119204
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119233
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119270
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119297
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119326
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119348
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119371
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119392
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119416
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119463
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119487
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119514
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119538
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119562
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119591
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119612
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119635
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119665
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119702
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119736
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119773
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119806
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119822
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119845
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119872
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119901
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119923
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119946
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119975
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120004
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120033
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120062
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120087
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120113
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120139
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120164
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120197
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120230
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120260
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120296
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120332
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120415
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120439
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120463
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
120486
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120514
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120545
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120572
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120595
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120621
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120657
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120673
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120714
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120735
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120756
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120783
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120810
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120833
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120855
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120877
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120904
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120928
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120945
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120966
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120986
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121009
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121039
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121067
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121096
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121122
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121149
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121169
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121189
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121206
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121233
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121264
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121294
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121320
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121347
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121374
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121398
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121426
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
121451
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121478
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121507
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121538
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121568
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121597
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121624
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121652
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121679
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121707
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121734
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121759
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121783
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121806
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121831
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121856
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121880
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121905
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121929
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121957
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121982
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122008
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122030
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122056
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122077
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122098
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122120
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122141
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122162
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122184
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122206
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122227
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122246
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122271
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122297
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122322
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122347
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122373
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122398
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122424
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122448
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122470
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122491
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122513
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122538
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122564
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122589
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122614
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122639
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122657
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122678
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122697
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122723
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122748
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122775
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122802
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122822
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122845
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122866
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122894
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122921
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122946
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122968
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122986
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123005
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123027
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123045
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123063
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123082
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123104
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123122
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123141
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123167
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123192
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123216
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123238
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123260
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123284
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123306
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123328
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123354
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123384
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123403
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123423
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123447
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123476
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123506
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123532
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
123551
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123588
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123622
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123657
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123694
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123724
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123763
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123794
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123849
var comp =
CreateCompilation
(new[] { source });
123852
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Warnings));
123855
comp =
CreateCompilation
(new[] { @"#nullable enable warnings
123859
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123862
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations));
123865
comp =
CreateCompilation
(new[] { @"#nullable enable annotations
124173
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource) });
124264
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124335
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124375
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124418
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124465
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124553
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124595
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124635
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124875
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124922
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124960
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125013
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125116
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125149
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125154
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
125157
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125168
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125177
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125186
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125195
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125206
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125215
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125226
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125236
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125241
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125247
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125252
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125261
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125272
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125282
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125332
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125337
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option));
125340
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125353
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125356
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Default));
125359
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125362
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125367
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Error));
125370
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125375
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125379
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125383
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125388
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125392
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Hidden));
125395
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125400
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125404
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125503
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
125512
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125521
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125530
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125541
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125550
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125561
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125571
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125576
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125582
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125587
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125596
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125607
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125617
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125923
var comp =
CreateCompilation
(source);
126042
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126046
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126050
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126054
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126060
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126064
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126070
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126075
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126080
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126086
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126091
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126095
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126101
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126106
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126117
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126122
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
126125
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
126188
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
126192
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126196
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126200
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126206
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126210
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126216
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126221
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126226
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126232
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126237
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126241
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126247
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126252
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126722
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126756
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126833
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126865
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127165
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
127185
var comp =
CreateCompilation
(source);
127201
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127221
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127236
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127261
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127284
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127304
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127330
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127370
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127400
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127464
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127515
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127573
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127615
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127666
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127702
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127731
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127794
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127888
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127970
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128031
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128096
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128162
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128311
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128368
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128416
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128488
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128529
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128593
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128646
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128709
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128881
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128948
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129051
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129100
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129154
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129205
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129252
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129300
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129401
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129441
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129464
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129516
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129569
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129633
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129681
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129739
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129780
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129829
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129877
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129917
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129948
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129995
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130028
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130062
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130104
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130136
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130166
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130197
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130228
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130265
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130288
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130307
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130324
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130351
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130395
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130457
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130496
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130571
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130614
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130653
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130732
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130857
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130880
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130954
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130978
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131002
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131029
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, options: WithNullableEnable());
131100
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
131135
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131170
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131209
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131248
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131331
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131361
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131388
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131414
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131440
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131458
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131476
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131495
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131514
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131570
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131605
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131643
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131665
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131733
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131800
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131833
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131858
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131891
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131926
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131961
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
131996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132024
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132103
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132147
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132243
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132262
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132288
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132313
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132331
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132379
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
132405
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132431
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132459
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132485
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132543
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132569
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132595
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132621
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132650
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132703
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132728
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132777
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132801
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132849
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132874
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132899
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132930
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132957
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132987
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133017
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133048
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133080
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133113
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133148
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133171
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133196
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133222
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133250
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133334
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133394
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133424
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133448
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133474
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133510
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133574
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133610
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133641
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133712
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133794
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133821
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133849
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133880
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133909
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133942
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133978
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134015
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134046
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134193
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134235
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134289
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134559
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134618
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134653
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134679
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134711
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134747
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134765
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134831
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134896
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134930
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134959
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134976
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134994
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135016
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135043
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135068
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135119
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135149
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135178
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135210
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135230
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135286
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135387
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135406
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135587
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135680
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135711
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135735
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135757
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135799
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135822
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135885
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135952
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136019
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
136074
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136123
var comp =
CreateCompilation
(source);
136163
var comp =
CreateCompilation
(source);
136197
var comp =
CreateCompilation
(source);
136218
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136233
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136263
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136281
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136315
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136379
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136558
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136582
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136643
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136684
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136691
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136714
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136720
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136793
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136822
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136847
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136872
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136931
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136958
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136980
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136999
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
137018
var comp =
CreateCompilation
(new[] { source1, source2 });
137022
comp =
CreateCompilation
(new[] { source2, source1 });
137050
var comp =
CreateCompilation
(new[] { source1, source2 });
137054
comp =
CreateCompilation
(new[] { source2, source1 });
137084
var comp =
CreateCompilation
(new[] { source1, source2 });
137117
var comp =
CreateCompilation
(new[] { source1, source2 });
137121
comp =
CreateCompilation
(new[] { source2, source1 });
137146
var comp =
CreateCompilation
(new[] { source1, source2 });
137150
comp =
CreateCompilation
(new[] { source2, source1 });
137176
var comp =
CreateCompilation
(new[] { source1 });
137198
var comp =
CreateCompilation
(new[] { source1 });
137220
var comp =
CreateCompilation
(new[] { source1 });
137242
var comp =
CreateCompilation
(new[] { source1 });
137268
var comp =
CreateCompilation
(new[] { source1 });
137295
var comp =
CreateCompilation
(new[] { source1 });
137320
var comp =
CreateCompilation
(new[] { source1 });
137347
var comp =
CreateCompilation
(new[] { source1, source2 });
137351
comp =
CreateCompilation
(new[] { source2, source1 });
137404
var comp1 =
CreateCompilation
(new[] { source0, source1 });
137410
var comp2 =
CreateCompilation
(new[] { source0, source2 });
137416
var comp3 =
CreateCompilation
(new[] { source0, source3 });
137422
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137426
comp =
CreateCompilation
(new[] { source0, source1, source3, source2 });
137430
comp =
CreateCompilation
(new[] { source0, source2, source1, source3 });
137434
comp =
CreateCompilation
(new[] { source0, source2, source3, source1 });
137438
comp =
CreateCompilation
(new[] { source0, source3, source1, source2 });
137442
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137482
var comp1 =
CreateCompilation
(new[] { source });
137523
var comp1 =
CreateCompilation
(new[] { source });
137562
var comp1 =
CreateCompilation
(new[] { source });
137601
var comp1 =
CreateCompilation
(new[] { source });
137650
var comp1 =
CreateCompilation
(new[] { source });
137686
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137689
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137726
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137729
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137770
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137773
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137813
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137816
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137855
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137858
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137891
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137894
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137934
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137937
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137985
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137988
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138030
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138033
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138083
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138086
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138136
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138181
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138184
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138236
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138552
var comp2 =
CreateCompilation
(source2, [verifier1.Compilation.ToMetadataReference()]);
138760
var comp1 =
CreateCompilation
(source1, assemblyName: nameof(source1)).VerifyDiagnostics().EmitToImageReference();
138805
var comp =
CreateCompilation
(new[] { source1, source2 });
138829
var comp =
CreateCompilation
(new[] { source1, source2 });
138867
var comp =
CreateCompilation
(new[] { source1 });
138905
var comp =
CreateCompilation
(new[] { source1 });
138930
CreateCompilation
(text).VerifyDiagnostics(
138956
CreateCompilation
(text).VerifyDiagnostics(
138982
CreateCompilation
(text).VerifyDiagnostics(
139013
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139046
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139079
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139111
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139137
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139164
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139191
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139232
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139264
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139288
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139312
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139333
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139357
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139377
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139401
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139431
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139459
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139487
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139515
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139543
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139575
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139603
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139631
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139658
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139681
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139704
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139731
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139754
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139777
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139806
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139861
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
139928
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
139972
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140011
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140052
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140099
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140234
var comp =
CreateCompilation
(source);
140259
var comp =
CreateCompilation
(source);
140288
var comp =
CreateCompilation
(source);
140325
var comp =
CreateCompilation
(source);
140355
var comp =
CreateCompilation
(source);
140388
var comp =
CreateCompilation
(source);
140421
var comp =
CreateCompilation
(source);
140461
var comp =
CreateCompilation
(source);
140508
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable());
140537
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
140559
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140657
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140730
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140827
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140860
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140895
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140934
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140976
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics();
141008
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141092
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141134
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141176
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141266
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141307
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141342
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141424
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141467
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141512
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141549
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141580
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141608
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141667
var comp =
CreateCompilation
(source);
141732
var comp =
CreateCompilation
(source);
141800
var comp =
CreateCompilation
(source);
141855
var comp =
CreateCompilation
(source);
141909
var comp =
CreateCompilation
(source);
141968
var comp =
CreateCompilation
(source);
142005
var comp =
CreateCompilation
(source);
142035
var comp =
CreateCompilation
(source);
142070
var comp =
CreateCompilation
(source);
142134
var comp =
CreateCompilation
(source);
142156
var comp =
CreateCompilation
(source);
142194
var comp =
CreateCompilation
(source);
142242
var comp =
CreateCompilation
(source);
142260
var comp =
CreateCompilation
(source);
142303
var comp =
CreateCompilation
(source);
142363
var comp =
CreateCompilation
(source);
142399
var comp =
CreateCompilation
(source);
142447
var comp =
CreateCompilation
(source);
142511
var comp =
CreateCompilation
(source);
142557
var comp =
CreateCompilation
(source);
142603
var comp =
CreateCompilation
(source);
142641
var comp =
CreateCompilation
(source);
142686
var comp =
CreateCompilation
(source);
142721
var comp =
CreateCompilation
(source);
142747
var comp =
CreateCompilation
(source);
142782
var comp =
CreateCompilation
(source);
142786
comp =
CreateCompilation
(source);
142824
var comp =
CreateCompilation
(source);
142863
var comp =
CreateCompilation
(source);
142894
var comp =
CreateCompilation
(source);
142922
var comp =
CreateCompilation
(source);
142950
var comp =
CreateCompilation
(source);
142980
var comp =
CreateCompilation
(source);
143013
var comp =
CreateCompilation
(source);
143039
var comp =
CreateCompilation
(source);
143072
var comp =
CreateCompilation
(source);
143103
var comp =
CreateCompilation
(source);
143133
var comp =
CreateCompilation
(source);
143165
var comp =
CreateCompilation
(source);
143196
var comp =
CreateCompilation
(source);
143270
var comp =
CreateCompilation
(source);
143321
var comp =
CreateCompilation
(source);
143347
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143376
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143406
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143450
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143484
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143518
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143554
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143596
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143630
var comp =
CreateCompilation
(source);
143661
var comp =
CreateCompilation
(source);
143687
var comp =
CreateCompilation
(source);
143713
var comp =
CreateCompilation
(source);
143742
var comp =
CreateCompilation
(source);
143774
var comp =
CreateCompilation
(source);
143810
var comp =
CreateCompilation
(source);
143848
var comp =
CreateCompilation
(source);
143886
var comp =
CreateCompilation
(source);
143915
var comp =
CreateCompilation
(source);
143944
var comp =
CreateCompilation
(source);
143980
var comp =
CreateCompilation
(source);
144013
var comp =
CreateCompilation
(source);
144043
var comp =
CreateCompilation
(source);
144072
var comp =
CreateCompilation
(source);
144099
var comp =
CreateCompilation
(source);
144131
var comp =
CreateCompilation
(source);
144166
var comp =
CreateCompilation
(source);
144196
var comp =
CreateCompilation
(source);
144271
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144346
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144369
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144435
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
144457
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144513
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144545
comp =
CreateCompilation
(source, options: WithNullableEnable());
144570
comp =
CreateCompilation
(source, options: WithNullableEnable());
144606
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144642
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144676
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144705
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144744
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144776
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144814
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144856
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144886
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144929
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144960
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145001
var spanRef =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
145003
var comp =
CreateCompilation
(def + @"
145039
var defComp =
CreateCompilation
(def,
145043
var useComp =
CreateCompilation
(@"
145123
var comp =
CreateCompilation
(@"
145154
var comp =
CreateCompilation
(@"
145198
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145228
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145352
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145388
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145414
var comp =
CreateCompilation
(source);
145451
var comp =
CreateCompilation
(source);
145491
var comp =
CreateCompilation
(source);
145528
var comp =
CreateCompilation
(source);
145567
var comp =
CreateCompilation
(source);
145609
var comp =
CreateCompilation
(source);
145642
var comp =
CreateCompilation
(source);
145674
var comp =
CreateCompilation
(source);
145709
var comp =
CreateCompilation
(source);
145748
var comp =
CreateCompilation
(source);
145779
var comp =
CreateCompilation
(source);
145806
var comp =
CreateCompilation
(source);
145828
var comp =
CreateCompilation
(source);
145842
var comp =
CreateCompilation
(source);
145871
var comp =
CreateCompilation
(source);
145900
var comp =
CreateCompilation
(source);
145929
var comp =
CreateCompilation
(source);
145956
var comp =
CreateCompilation
(source);
145989
var comp =
CreateCompilation
(source);
146020
var comp =
CreateCompilation
(source);
146049
var comp =
CreateCompilation
(source);
146082
var comp =
CreateCompilation
(source);
146107
var comp =
CreateCompilation
(source);
146131
var comp =
CreateCompilation
(source);
146152
var comp =
CreateCompilation
(source);
146178
var comp =
CreateCompilation
(source);
146201
var comp =
CreateCompilation
(source);
146226
var comp =
CreateCompilation
(source);
146250
var comp =
CreateCompilation
(source);
146274
var comp =
CreateCompilation
(source);
146298
var comp =
CreateCompilation
(source);
146333
var comp =
CreateCompilation
(text);
146372
var comp =
CreateCompilation
(text);
146412
var comp =
CreateCompilation
(text);
146451
var comp =
CreateCompilation
(text);
146537
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146570
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146599
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146639
var comp =
CreateCompilation
(source);
146677
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
146717
var comp =
CreateCompilation
(source);
146766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
146817
var comp =
CreateCompilation
(source);
146886
var comp =
CreateCompilation
(source);
146968
var comp =
CreateCompilation
(source);
147033
var comp =
CreateCompilation
(source);
147133
var comp =
CreateCompilation
(source, options: WithNullableEnable());
147220
var comp =
CreateCompilation
(source);
147276
var comp =
CreateCompilation
(source);
147318
var comp =
CreateCompilation
(source);
147341
var comp =
CreateCompilation
(source);
147369
var comp =
CreateCompilation
(source);
147582
var comp =
CreateCompilation
(source);
147607
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
147689
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147780
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147962
var comp =
CreateCompilation
(source);
148081
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148096
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148148
var comp =
CreateCompilation
(source);
148189
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148252
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148353
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148371
comp =
CreateCompilation
(source);
148424
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148436
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148470
var comp =
CreateCompilation
(source);
148508
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148523
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148576
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148603
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148627
comp =
CreateCompilation
(source);
148676
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148682
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148713
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148762
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148794
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148828
var comp =
CreateCompilation
(source);
148854
var comp =
CreateCompilation
(source);
148876
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148897
var comp =
CreateCompilation
(source);
148918
var comp =
CreateCompilation
(source);
148942
var comp =
CreateCompilation
(source);
148980
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149027
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149067
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149111
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149135
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149170
var comp =
CreateCompilation
(source);
149194
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149226
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149250
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149280
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149316
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149373
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149404
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149427
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149449
var comp =
CreateCompilation
(source);
149488
var comp =
CreateCompilation
(source);
149527
var comp =
CreateCompilation
(source);
149567
var comp =
CreateCompilation
(source);
149610
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149639
var comp =
CreateCompilation
(source);
149680
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149720
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
149785
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149833
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149870
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149915
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149957
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
149979
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
149988
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150002
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
150008
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150018
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
150028
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150138
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150281
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150298
comp =
CreateCompilation
(sourceB0, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150314
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150366
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150400
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150440
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150517
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150547
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150570
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150613
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150670
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150706
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular);
150754
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150834
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150914
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150994
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151077
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151157
comp =
CreateCompilation
(sourceB6, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151249
comp =
CreateCompilation
(sourceB7, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151312
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151348
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular8);
151450
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151530
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151622
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151687
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151712
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151772
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
151820
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151880
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
151925
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151973
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152021
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152063
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152088
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152148
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152196
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152256
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152301
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152349
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152397
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152436
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152457
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152507
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152548
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152598
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152630
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152671
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152712
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152742
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
152767
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152827
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152881
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152941
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152986
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153033
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153059
comp =
CreateCompilation
(new[] { sourceB1, AllowNullAttributeDefinition }, references: new[] { refA });
153120
comp =
CreateCompilation
(new[] { sourceB3, AllowNullAttributeDefinition }, references: new[] { refA });
153181
comp =
CreateCompilation
(new[] { sourceB5, AllowNullAttributeDefinition }, references: new[] { refA });
153230
comp =
CreateCompilation
(new[] { sourceB6, AllowNullAttributeDefinition }, references: new[] { refA });
153284
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
153308
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153349
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153462
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153491
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153515
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
153557
comp =
CreateCompilation
(new[] { sourceB2, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, references: new[] { refA });
153597
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153625
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
153649
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
153661
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
153685
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
153723
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153825
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153862
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153901
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153945
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154010
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154049
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154074
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154099
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154124
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154150
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154176
comp =
CreateCompilation
(source6, parseOptions: TestOptions.Regular9);
154203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154223
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154241
comp =
CreateCompilation
(source2);
154256
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154274
comp =
CreateCompilation
(source4);
154289
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154313
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154343
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154365
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154390
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154413
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154436
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154474
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154524
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154571
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154599
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154649
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154753
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154782
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154849
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154917
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154985
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155030
var comp =
CreateCompilation
(new[] { sourceA, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
155054
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155083
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155130
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155155
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155191
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155216
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155261
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155293
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155317
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155354
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
155374
comp =
CreateCompilation
(sourceB, references: new[] { refA });
155403
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155427
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
155447
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
155459
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
155470
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
155481
comp =
CreateCompilation
(sourceB3, references: new[] { refA });
155492
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
155517
var comp =
CreateCompilation
(source);
155543
var comp =
CreateCompilation
(source);
155570
var comp =
CreateCompilation
(source);
155603
var comp =
CreateCompilation
(source);
155639
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155651
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155698
var comp =
CreateCompilation
(source);
155763
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition });
155800
var comp =
CreateCompilation
(source);
155861
var comp =
CreateCompilation
(source);
155881
var nullableAttrComp =
CreateCompilation
(NullableAttributeDefinition);
155900
var lib =
CreateCompilation
(lib_cs, references: new[] { nullableAttrRef });
155913
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
155925
var executeComp =
CreateCompilation
(executable_cs,
156009
var comp =
CreateCompilation
(source);
156035
var comp =
CreateCompilation
(source);
156060
var comp =
CreateCompilation
(source);
156093
var comp =
CreateCompilation
(source);
156122
var comp =
CreateCompilation
(
156157
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156190
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156224
var comp =
CreateCompilation
(source);
156264
var comp =
CreateCompilation
(source);
156298
var comp =
CreateCompilation
(source);
156332
var comp =
CreateCompilation
(source);
156343
var comp =
CreateCompilation
(@"
156519
var comp =
CreateCompilation
(source);
156537
var comp =
CreateCompilation
(source);
156555
var comp =
CreateCompilation
(source);
156574
var comp =
CreateCompilation
(source);
156593
var comp =
CreateCompilation
(source);
156614
var comp =
CreateCompilation
(source0);
156644
var comp =
CreateCompilation
(source);
156662
var comp =
CreateCompilation
(source0);
156709
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156742
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156810
var comp =
CreateCompilation
(source);
156852
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156874
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156921
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156948
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
156990
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157026
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157060
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157076
var comp =
CreateCompilation
(source0);
157090
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157112
var comp =
CreateCompilation
(source0);
157126
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157159
var comp =
CreateCompilation
(source0);
157236
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157267
var comp =
CreateCompilation
(sourceA);
157396
comp =
CreateCompilation
(new[] { sourceB2 }, references: new[] { refA });
157488
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157514
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157550
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157581
var comp =
CreateCompilation
(src);
157602
var comp =
CreateCompilation
(src);
157620
var comp =
CreateCompilation
(src);
157644
var comp =
CreateCompilation
(src);
157692
var comp =
CreateCompilation
(src);
157743
var comp =
CreateCompilation
(src);
157766
var comp =
CreateCompilation
(src);
157789
var comp =
CreateCompilation
(src);
157812
var comp =
CreateCompilation
(src);
157835
var comp =
CreateCompilation
(src);
157858
var comp =
CreateCompilation
(src);
157881
var comp =
CreateCompilation
(src);
157904
var comp =
CreateCompilation
(src);
157939
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
157977
var comp =
CreateCompilation
(src);
158014
var comp =
CreateCompilation
(src);
158052
var comp =
CreateCompilation
(src);
158086
var comp =
CreateCompilation
(src);
158119
var comp =
CreateCompilation
(src);
158160
var comp =
CreateCompilation
(src);
158195
var comp =
CreateCompilation
(src);
158228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158255
var comp =
CreateCompilation
(src);
158288
var comp =
CreateCompilation
(src);
158329
var comp =
CreateCompilation
(src);
158369
var comp =
CreateCompilation
(src);
158408
var comp =
CreateCompilation
(src);
158445
var comp =
CreateCompilation
(src);
158480
var comp =
CreateCompilation
(src);
158513
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158540
var comp =
CreateCompilation
(src);
158579
var comp =
CreateCompilation
(src);
158621
var comp =
CreateCompilation
(src);
158663
var comp =
CreateCompilation
(src);
158702
var comp =
CreateCompilation
(src);
158738
var comp =
CreateCompilation
(src);
158768
var comp =
CreateCompilation
(src);
158804
var comp =
CreateCompilation
(src);
158839
var comp =
CreateCompilation
(src);
158878
var comp =
CreateCompilation
(src);
158911
var comp =
CreateCompilation
(src);
158946
CreateCompilation
(source).VerifyDiagnostics();
158974
CreateCompilation
(source).VerifyDiagnostics();
159000
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
159019
var comp =
CreateCompilation
(source);
159045
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
159072
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159110
var comp =
CreateCompilation
(source);
159132
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159170
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159211
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159246
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159272
var comp =
CreateCompilation
(source);
159279
var comp =
CreateCompilation
(@"
159332
var comp =
CreateCompilation
(@"
159375
var comp =
CreateCompilation
(@"
159461
var comp =
CreateCompilation
(@"
159502
var comp =
CreateCompilation
(@"
159560
var comp =
CreateCompilation
(@"
159618
var comp =
CreateCompilation
(@"
159671
var comp =
CreateCompilation
(@"
159714
var comp =
CreateCompilation
(@"
159800
var comp =
CreateCompilation
(@"
159841
var comp =
CreateCompilation
(@"
159899
var comp =
CreateCompilation
(@"
159957
var comp =
CreateCompilation
(@"
159998
var comp =
CreateCompilation
(@"
160048
var comp =
CreateCompilation
(@"
160091
var comp =
CreateCompilation
(@"
160177
var comp =
CreateCompilation
(@"
160218
var comp =
CreateCompilation
(@"
160276
var comp =
CreateCompilation
(@"
160334
var comp =
CreateCompilation
(@"
160551
CSharpCompilation c =
CreateCompilation
(new[] { @"
160619
var comp =
CreateCompilation
(source, options: WithNullableEnable());
160674
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
160724
var comp =
CreateCompilation
(source);
160744
var comp =
CreateCompilation
(@"
160765
var comp =
CreateCompilation
(@"
160796
var comp =
CreateCompilation
(@"
160825
var comp =
CreateCompilation
(@"
160877
var comp =
CreateCompilation
($$"""
160939
var comp =
CreateCompilation
($$"""
160988
var comp =
CreateCompilation
(@"
161013
var comp =
CreateCompilation
(@"
161040
var comp =
CreateCompilation
(@"
161085
var comp =
CreateCompilation
("""
161127
CreateCompilation
(source).VerifyDiagnostics(
161160
CreateCompilation
(source).VerifyDiagnostics();
161193
CreateCompilation
(source).VerifyDiagnostics();
161267
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
161301
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161347
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161387
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161411
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161449
var comp =
CreateCompilation
(source);
161474
var comp =
CreateCompilation
(source);
161500
var comp =
CreateCompilation
(source);
161529
var comp =
CreateCompilation
(source);
161567
CreateCompilation
(source).VerifyDiagnostics(
Semantics\NullableReferenceTypesVsPatterns.cs (37)
19
return
CreateCompilation
(new[] { source }, options: WithNullableEnable());
515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
1019
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2211
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
2282
var comp =
CreateCompilation
(source);
2311
var comp =
CreateCompilation
(source);
2336
var comp =
CreateCompilation
(source);
2365
var comp =
CreateCompilation
(source);
2372
var comp =
CreateCompilation
(@"
2396
var comp =
CreateCompilation
(@"
2421
var comp =
CreateCompilation
(@"
2446
var comp =
CreateCompilation
(@"
2464
var comp =
CreateCompilation
(@"
2497
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2509
comp =
CreateCompilation
(source);
2519
var comp =
CreateCompilation
(@"
2551
var comp =
CreateCompilation
(@"
2576
var comp =
CreateCompilation
(@"
2595
var comp =
CreateCompilation
(@"
2610
var comp =
CreateCompilation
(@"
2629
var comp =
CreateCompilation
(@"
2767
var comp =
CreateCompilation
(source);
2806
var comp =
CreateCompilation
(source);
2843
var comp =
CreateCompilation
(source);
2885
var comp =
CreateCompilation
(source);
2921
var comp =
CreateCompilation
(source);
2951
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2980
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3016
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3050
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3096
var comp =
CreateCompilation
(source);
3127
var comp =
CreateCompilation
(source);
3161
var comp =
CreateCompilation
(source);
3196
var comp =
CreateCompilation
(source);
3223
var comp =
CreateCompilation
(source);
3250
var comp =
CreateCompilation
(source);
3281
var comp =
CreateCompilation
(source);
Semantics\NullableTests.cs (16)
33
var comp =
CreateCompilation
(src);
66
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
68
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
92
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
137
var comp =
CreateCompilation
(source1);
1793
var complib =
CreateCompilation
(
1798
var comp =
CreateCompilation
(
1832
CreateCompilation
(source).VerifyDiagnostics();
1886
CreateCompilation
(source).VerifyDiagnostics(
2094
CreateCompilation
(source).VerifyDiagnostics(
2122
CreateCompilation
(source).VerifyEmitDiagnostics(
2147
CreateCompilation
(source).VerifyDiagnostics(
2169
CreateCompilation
(source).VerifyDiagnostics(
2191
CreateCompilation
(source).VerifyDiagnostics(
2211
var comp =
CreateCompilation
(source);
2244
var comp =
CreateCompilation
(source);
Semantics\NullCoalesceAssignmentTests.cs (5)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
68
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
111
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
152
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
178
var comp =
CreateCompilation
(source);
Semantics\NullConditionalAssignmentTests.cs (28)
33
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
42
comp =
CreateCompilation
(source);
68
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
77
comp =
CreateCompilation
(source);
113
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
121
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
309
var comp =
CreateCompilation
(source);
445
var comp =
CreateCompilation
(source);
508
var comp =
CreateCompilation
(source);
543
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
797
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
904
var comp =
CreateCompilation
(source);
952
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
986
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1012
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1849
var comp =
CreateCompilation
(source);
2261
var comp =
CreateCompilation
(source);
2284
var comp =
CreateCompilation
(source);
2419
var comp =
CreateCompilation
(source);
2444
var comp =
CreateCompilation
(source);
2478
var comp =
CreateCompilation
(source);
2512
var comp =
CreateCompilation
(source);
2586
var comp =
CreateCompilation
(source);
2635
var comp =
CreateCompilation
(source);
2685
var comp =
CreateCompilation
(source);
2710
var comp =
CreateCompilation
(source);
2738
var comp =
CreateCompilation
(source);
2832
var comp =
CreateCompilation
(source);
Semantics\ObjectAndCollectionInitializerTests.cs (22)
256
CreateCompilation
(source, references: new MetadataReference[] { CSharpRef }).VerifyDiagnostics();
3221
CreateCompilation
(source).VerifyDiagnostics(
3466
var compilation =
CreateCompilation
(source);
3514
var compilation =
CreateCompilation
(source);
3559
var compilation =
CreateCompilation
(source);
3607
var compilation =
CreateCompilation
(source);
3644
var compilation =
CreateCompilation
(source);
3685
var compilation =
CreateCompilation
(source);
3735
var compilation =
CreateCompilation
(source);
3779
var compilation =
CreateCompilation
(source);
3810
var comp =
CreateCompilation
(source);
3833
var comp =
CreateCompilation
(source);
3857
var comp =
CreateCompilation
(source);
3888
CreateCompilation
(source).VerifyDiagnostics(
3909
CreateCompilation
(source).VerifyDiagnostics(
3930
var compilation =
CreateCompilation
(source);
4012
var compilation =
CreateCompilation
(source);
4047
var compilation =
CreateCompilation
(source);
4122
var compilation =
CreateCompilation
(source);
4193
CreateCompilation
(source).VerifyDiagnostics(
4220
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
4274
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
Semantics\OperatorTests.cs (97)
43
var compilation =
CreateCompilation
(source);
2969
var compilation =
CreateCompilation
(source);
3038
CreateCompilation
(source).VerifyDiagnostics(
3096
CreateCompilation
(source).VerifyDiagnostics(
3201
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4755
CreateCompilation
(@"
4828
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
4840
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef });
4908
var compilation =
CreateCompilation
(source);
4945
var compilation =
CreateCompilation
(source);
4983
var compilation =
CreateCompilation
(source);
5028
CreateCompilation
(source).VerifyDiagnostics(
5048
CreateCompilation
(source).VerifyDiagnostics(
5104
CreateCompilation
(source).VerifyDiagnostics(
5141
CreateCompilation
(source).VerifyDiagnostics(
5175
CreateCompilation
(source).VerifyDiagnostics(
5431
var comp =
CreateCompilation
(source);
5458
var comp =
CreateCompilation
(source);
5500
var comp =
CreateCompilation
(source);
5534
var comp =
CreateCompilation
(source);
5590
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5645
CreateCompilation
(source).VerifyDiagnostics(
5682
CreateCompilation
(source).VerifyDiagnostics(
5713
CreateCompilation
(source).VerifyDiagnostics(
5764
CreateCompilation
(source).VerifyDiagnostics(
5934
var comp =
CreateCompilation
(source);
5982
CreateCompilation
(text).VerifyDiagnostics(
6007
CreateCompilation
(text).VerifyDiagnostics(
6033
CreateCompilation
(text).VerifyDiagnostics(
6165
CreateCompilation
(source2).VerifyDiagnostics(
6191
CreateCompilation
(text).VerifyDiagnostics();
6215
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoImplicitConvCast, "b++").WithArguments("A", "B"));
6233
CreateCompilation
(text).VerifyDiagnostics();
6251
CreateCompilation
(text).VerifyDiagnostics(
6272
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify(
6293
CreateCompilation
(text).GetDiagnostics().Where(d => d.Severity == DiagnosticSeverity.Error).Verify();
6362
CreateCompilation
(source).VerifyDiagnostics(
6407
CreateCompilation
(source).VerifyDiagnostics(
6506
CreateCompilation
(source).VerifyDiagnostics();
6563
CreateCompilation
(source).VerifyDiagnostics();
6580
CreateCompilation
(source).VerifyDiagnostics();
6597
CreateCompilation
(source).VerifyDiagnostics();
6614
CreateCompilation
(source).VerifyDiagnostics(
6634
CreateCompilation
(source).VerifyDiagnostics(
6654
CreateCompilation
(source).VerifyDiagnostics();
6671
CreateCompilation
(source).VerifyDiagnostics();
6688
CreateCompilation
(source).VerifyDiagnostics(
6763
CreateCompilation
(source).VerifyDiagnostics(
6829
CreateCompilation
(source).VerifyDiagnostics(
6930
var comp =
CreateCompilation
(source);
6980
CreateCompilation
(source).VerifyDiagnostics(
7015
CreateCompilation
(source).VerifyDiagnostics(
7050
var comp =
CreateCompilation
(source);
7092
CreateCompilation
(source).VerifyDiagnostics(
7130
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7177
var comp =
CreateCompilation
(source, new[] { CSharpRef }, TestOptions.ReleaseExe);
7205
var comp =
CreateCompilation
(source);
7242
CreateCompilation
(source).VerifyDiagnostics(
7275
CreateCompilation
(source).VerifyDiagnostics();
7325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
7484
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
7700
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
7853
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8013
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40Extended, options: TestOptions.ReleaseDll.WithOverflowChecks(true));
8550
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8585
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8629
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8679
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false));
8744
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8809
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8848
CreateCompilation
(source1, options: TestOptions.ReleaseDll).VerifyDiagnostics(
8850
CreateCompilation
(source1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8963
var compilation =
CreateCompilation
(source);
9036
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9124
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9183
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9231
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9272
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9317
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9369
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9417
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9465
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9513
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9561
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9609
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
10357
CreateCompilation
(source).VerifyDiagnostics(
10864
CreateCompilation
(source).VerifyDiagnostics(
11860
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
11921
var compilation =
CreateCompilation
(source)
11970
var compilation =
CreateCompilation
(source);
12045
var comp =
CreateCompilation
(source);
12095
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
12117
var comp =
CreateCompilation
(code);
12138
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
12161
var comp =
CreateCompilation
(code);
12184
var comp =
CreateCompilation
(code);
12208
var comp =
CreateCompilation
(code);
Semantics\OverloadResolutionPerfTests.cs (23)
235
var comp =
CreateCompilation
(source);
287
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
311
var comp =
CreateCompilation
(source);
344
var comp =
CreateCompilation
(source);
383
var comp =
CreateCompilation
(source);
411
var comp =
CreateCompilation
(source);
444
var comp =
CreateCompilation
(source);
477
var comp =
CreateCompilation
(source);
498
var comp =
CreateCompilation
(source);
528
var comp =
CreateCompilation
(source);
558
var comp =
CreateCompilation
(source);
589
var comp =
CreateCompilation
(source);
616
var comp =
CreateCompilation
(source);
652
var comp =
CreateCompilation
(source);
682
var comp =
CreateCompilation
(source);
715
var comp =
CreateCompilation
(source);
755
var comp =
CreateCompilation
(sourceBuilder.ToString());
846
var comp =
CreateCompilation
(source);
886
var comp =
CreateCompilation
(source);
922
var comp =
CreateCompilation
(source);
965
var comp =
CreateCompilation
(source);
1056
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
1089
var comp =
CreateCompilation
(source);
Semantics\OverloadResolutionTests.cs (136)
158
CreateCompilation
(source2).VerifyDiagnostics(
306
CreateCompilation
(source2).VerifyDiagnostics(
339
CreateCompilation
(source2).VerifyDiagnostics(
389
var comp =
CreateCompilation
(source2);
438
CreateCompilation
(source1).VerifyDiagnostics(
478
CreateCompilation
(source2).VerifyDiagnostics(
1165
CreateCompilation
(source2).VerifyDiagnostics(
1246
CreateCompilation
(source).VerifyDiagnostics(
1303
CreateCompilation
(source).VerifyDiagnostics(
1375
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
1467
CreateCompilation
(source, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
1490
CreateCompilation
(source).VerifyDiagnostics(
1524
CreateCompilation
(source).VerifyDiagnostics(
1543
CreateCompilation
(source).VerifyDiagnostics(
1786
CreateCompilation
(source).VerifyDiagnostics(
1820
CreateCompilation
(source).VerifyDiagnostics(
1852
CreateCompilation
(source).VerifyDiagnostics(
2003
CreateCompilation
(source).VerifyDiagnostics(
2032
CreateCompilation
(source).VerifyDiagnostics(
2077
CreateCompilation
(source).VerifyDiagnostics(
2216
CreateCompilation
(source).VerifyDiagnostics(
2299
var cCommon =
CreateCompilation
(@"
2304
var cCS =
CreateCompilation
(@"
2310
var cFinal =
CreateCompilation
(@"
2675
CreateCompilation
(source).VerifyDiagnostics();
2779
CreateCompilation
(source).VerifyDiagnostics(
2815
CreateCompilation
(source).VerifyDiagnostics(
2851
CreateCompilation
(source).VerifyDiagnostics(
2891
CreateCompilation
(source).VerifyDiagnostics(
2974
CreateCompilation
(source).VerifyDiagnostics(
3057
CreateCompilation
(source).VerifyDiagnostics(
3129
CreateCompilation
(source).VerifyDiagnostics(
3162
CreateCompilation
(source).VerifyDiagnostics(
3197
CreateCompilation
(source).VerifyDiagnostics();
3233
CreateCompilation
(source).VerifyDiagnostics(
3712
CreateCompilation
(source).VerifyDiagnostics(
5906
CreateCompilation
(source).VerifyDiagnostics(
6282
CreateCompilation
(source).VerifyDiagnostics(
6372
CreateCompilation
(source).VerifyDiagnostics(
6428
CreateCompilation
(source).VerifyDiagnostics(
6486
CreateCompilation
(source).VerifyDiagnostics(
6564
CreateCompilation
(source).VerifyDiagnostics(
6883
CreateCompilation
(source).VerifyDiagnostics(
6914
CreateCompilation
(source).VerifyDiagnostics(
7021
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
7143
var comp =
CreateCompilation
(source);
7253
var comp =
CreateCompilation
(source);
7427
var comp =
CreateCompilation
(source);
7468
var comp =
CreateCompilation
(source);
7552
var comp =
CreateCompilation
(source);
7575
var comp =
CreateCompilation
(source);
7874
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7912
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7917
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
7954
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7992
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7997
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8034
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8039
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8076
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8081
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8116
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8121
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8157
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8265
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8311
var comp =
CreateCompilation
(source);
8373
var comp =
CreateCompilation
(source);
8407
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8493
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8541
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8588
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8627
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8662
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8688
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8718
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8838
var compilation =
CreateCompilation
(source1);
8923
var compilation =
CreateCompilation
(source);
9060
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9099
CreateCompilation
(source).VerifyDiagnostics(
9123
CreateCompilation
(source).VerifyDiagnostics(
9147
CreateCompilation
(source).VerifyDiagnostics(
9468
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9522
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9523
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9524
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9551
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9552
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9553
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9572
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
9590
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9602
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9603
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
9622
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9661
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9694
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9729
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9831
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9862
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9895
CreateCompilation
(code).VerifyDiagnostics(
9941
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9971
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9972
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9993
CreateCompilation
(code).VerifyDiagnostics(
10461
CreateCompilation
(code).VerifyDiagnostics(
10495
CreateCompilation
(code).VerifyDiagnostics(
10529
CreateCompilation
(code).VerifyDiagnostics(
10563
CreateCompilation
(code).VerifyDiagnostics(
10575
CreateCompilation
(@"
10600
CreateCompilation
(@"
10753
CreateCompilation
(code).VerifyDiagnostics(
10818
CreateCompilation
(code).VerifyDiagnostics(
10915
CreateCompilation
(code).VerifyDiagnostics(
11210
CreateCompilation
(@"
11299
CreateCompilation
(code).VerifyDiagnostics(
11447
var comp =
CreateCompilation
(code);
11474
CreateCompilation
(code).VerifyDiagnostics(
11523
CreateCompilation
(code, references: new[] { libComp.EmitToImageReference() }).VerifyDiagnostics(
11532
CreateCompilation
(code, references: new[] { libComp.ToMetadataReference() }).VerifyDiagnostics(
11563
CreateCompilation
(code).VerifyDiagnostics(
11655
CreateCompilation
(code).VerifyDiagnostics
11687
CreateCompilation
(code).VerifyDiagnostics
11750
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11754
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11755
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11756
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11799
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11803
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11804
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11805
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11849
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11853
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11854
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11855
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11890
var comp =
CreateCompilation
(source);
11918
var comp =
CreateCompilation
(source);
11949
CreateCompilation
(source).VerifyDiagnostics();
Semantics\QueryTests.cs (9)
1449
var compilation =
CreateCompilation
(csSource);
1657
var compilation =
CreateCompilation
(csSource);
1718
var compilation =
CreateCompilation
(csSource);
1756
var compilation =
CreateCompilation
(csSource);
2946
var comp =
CreateCompilation
(@"
3416
var compilation =
CreateCompilation
(csSource);
3460
var compilation =
CreateCompilation
(csSource);
4475
var comp =
CreateCompilation
(@"
4737
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
Semantics\RawInterpolationTests.cs (9)
318
CreateCompilation
(source).VerifyDiagnostics(
344
CreateCompilation
(source).VerifyDiagnostics(
952
CreateCompilation
(source).VerifyDiagnostics(
980
CreateCompilation
(source).VerifyDiagnostics(
1000
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
1146
CreateCompilation
(text).VerifyDiagnostics();
1181
CreateCompilation
(text).VerifyDiagnostics(
1300
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
1319
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
Semantics\RawInterpolationTests_Handler.cs (188)
212
var comp1 =
CreateCompilation
(interpolatedStringBuilder);
216
var comp2 =
CreateCompilation
(source, new[] { reference });
590
var comp =
CreateCompilation
(new[] { source, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: true, useDefaultParameters: false, useBoolReturns: false) }, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
630
var comp1 =
CreateCompilation
(interpolatedStringBuilder, targetFramework: TargetFramework.Net50);
634
var comp2 =
CreateCompilation
(source, new[] { reference }, targetFramework: TargetFramework.Net50, parseOptions: TestOptions.RegularPreview);
1654
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1683
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1712
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1742
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1770
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1797
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
1824
var comp =
CreateCompilation
(new[] { code, interpolatedStringBuilder });
2023
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.NetCoreApp);
2118
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, parseOptions: TestOptions.Regular9);
2455
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder },
2508
var comp =
CreateCompilation
(new[] { source, interpolatedStringBuilder }, targetFramework: TargetFramework.NetCoreApp);
2610
var comp =
CreateCompilation
(source);
2643
var comp =
CreateCompilation
(source);
2682
var comp =
CreateCompilation
(new[] { source, InterpolatedStringHandlerAttribute });
2702
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2706
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2718
var handlerRef =
CreateCompilation
(handlerSource).EmitToImageReference();
2731
var comp =
CreateCompilation
(source, references: new[] { handlerRef });
2763
var comp =
CreateCompilation
(source);
2814
var comp =
CreateCompilation
(source);
2942
var comp =
CreateCompilation
(new[] { code, builder });
3080
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3123
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) });
3190
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3220
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3248
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3278
var comp =
CreateCompilation
(new[]
3308
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3362
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3413
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3435
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) }, parseOptions: TestOptions.RegularPreview);
3460
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3487
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3545
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: true) });
3592
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3648
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: true) });
3709
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3776
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Net50);
3804
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.NetCoreApp);
3852
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
3920
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
3990
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4053
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4080
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4100
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4130
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4192
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4265
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4290
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4350
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4376
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4433
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4460
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4541
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4605
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4670
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4696
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4752
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4797
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.Net50);
4817
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "class", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4860
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4906
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4952
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
4999
var comp =
CreateCompilation
(new[]
5082
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
5111
var comp =
CreateCompilation
(@"C.M(1, $""""""
5147
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5184
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5217
var comp =
CreateCompilation
(@"C.M($""""""
5271
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5304
var comp =
CreateCompilation
(@"C.M(1, $""""""
5358
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5394
var comp =
CreateCompilation
(@"C.M(1, $""""""
5448
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5481
var comp =
CreateCompilation
(@"C.M($""""""
5535
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5568
var comp =
CreateCompilation
(@"C.M(1, $""""""
5615
var comp =
CreateCompilation
(@"C.M(1, $""""""
5662
var comp =
CreateCompilation
(@"C.M(1, $""""""
5716
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5751
var comp =
CreateCompilation
(@"C.M($""""""
5805
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
5840
var comp =
CreateCompilation
(@"_ = new C($""""""
5894
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
5933
var comp =
CreateCompilation
(@"C<CustomHandler>.M($""""""
5980
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
6024
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6066
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
6099
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6102
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
6153
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6159
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6164
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
6173
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
6208
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6430
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6434
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6439
comp =
CreateCompilation
(executableCode, new[] { d });
6486
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6494
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6607
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
6618
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6753
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
6919
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7054
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7193
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7298
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7365
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
7369
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
7432
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7550
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7670
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7795
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7872
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7920
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8156
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8246
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8292
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8360
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8499
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8597
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8890
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9155
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9414
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9485
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9539
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9770
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9824
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
9864
var comp =
CreateCompilation
(new[] { code, handler });
9880
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9939
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
9999
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10061
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10123
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
10220
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10339
var comp =
CreateCompilation
(code);
10360
var comp =
CreateCompilation
(code);
10392
var comp =
CreateCompilation
(new[] { code, customHandler });
10440
var comp =
CreateCompilation
(new[] { code, customHandler });
10482
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10516
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
10553
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10604
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10655
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10700
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10751
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10812
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
10911
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
11016
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11054
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11089
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
11131
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11179
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11212
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11245
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11279
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11317
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11358
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
11374
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11420
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11474
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11512
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11550
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11589
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11651
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11687
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
11745
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
11768
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
11843
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12360
var comp =
CreateCompilation
(code);
12523
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12590
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12761
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12830
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12905
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
12940
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
13219
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
13254
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13432
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13467
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13488
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
13543
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
13597
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
Semantics\ReadOnlyStructsTests.cs (75)
40
CreateCompilation
(text).VerifyDiagnostics(
75
CreateCompilation
(text).VerifyDiagnostics(
149
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
221
var comp =
CreateCompilation
(csharp);
253
var comp =
CreateCompilation
(csharp);
279
var comp =
CreateCompilation
(csharp);
315
var comp =
CreateCompilation
(csharp);
351
var comp =
CreateCompilation
(csharp);
382
var comp =
CreateCompilation
(csharp);
411
var comp =
CreateCompilation
(csharp);
444
var comp =
CreateCompilation
(csharp);
474
var comp =
CreateCompilation
(csharp);
513
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeReleaseDll);
543
var comp =
CreateCompilation
(csharp);
574
var comp =
CreateCompilation
(csharp);
703
var comp =
CreateCompilation
(csharp);
726
var comp =
CreateCompilation
(csharp);
756
var comp =
CreateCompilation
(csharp);
828
var comp =
CreateCompilation
(csharp);
850
var verifier =
CreateCompilation
(csharp);
879
var verifier =
CreateCompilation
(csharp);
908
var verifier =
CreateCompilation
(csharp);
932
var comp =
CreateCompilation
(csharp);
960
var comp =
CreateCompilation
(csharp);
1150
var comp =
CreateCompilation
(csharp);
1189
Compilation comp =
CreateCompilation
(csharp);
1262
Compilation comp =
CreateCompilation
(csharp);
1310
var comp =
CreateCompilation
(csharp);
1345
var comp =
CreateCompilation
(csharp);
1377
var comp =
CreateCompilation
(csharp);
1398
var comp =
CreateCompilation
(csharp);
1426
var comp =
CreateCompilation
(csharp);
1452
var comp =
CreateCompilation
(csharp);
1479
var comp =
CreateCompilation
(csharp);
1503
var comp =
CreateCompilation
(csharp);
1520
var comp =
CreateCompilation
(csharp);
1537
var comp =
CreateCompilation
(csharp);
1551
var comp =
CreateCompilation
(csharp);
1571
var comp =
CreateCompilation
(csharp);
1611
var moduleMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1612
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1616
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1617
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1639
var moduleMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1640
var moduleComp =
CreateCompilation
("", new[] { moduleMetadata });
1644
var dllMetadata =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461).EmitToImageReference();
1645
var dllComp =
CreateCompilation
("", new[] { dllMetadata });
1667
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461);
1673
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
1689
var moduleComp =
CreateCompilation
(csharp, options: TestOptions.DebugModule, targetFramework: TargetFramework.Mscorlib461);
1695
var dllComp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461);
1708
var comp =
CreateCompilation
(csharp);
1725
var comp =
CreateCompilation
(csharp);
1757
var comp =
CreateCompilation
(csharp);
1774
var comp =
CreateCompilation
(csharp);
1803
var comp =
CreateCompilation
(csharp);
1842
var comp =
CreateCompilation
(csharp);
1861
var comp =
CreateCompilation
(csharp);
1949
var comp =
CreateCompilation
(csharp);
1998
var comp =
CreateCompilation
(csharp);
2017
var comp =
CreateCompilation
(csharp);
2042
var comp =
CreateCompilation
(csharp);
2062
var comp =
CreateCompilation
(csharp);
2078
var comp =
CreateCompilation
(csharp);
2103
var comp =
CreateCompilation
(csharp);
2129
var comp =
CreateCompilation
(csharp);
2218
var comp =
CreateCompilation
(csharp);
2246
var comp =
CreateCompilation
(csharp);
2268
var comp =
CreateCompilation
(csharp);
2287
var comp =
CreateCompilation
(csharp);
2309
var comp =
CreateCompilation
(csharp);
2339
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular7_3);
2363
comp =
CreateCompilation
(csharp);
2395
var comp =
CreateCompilation
(csharp);
Semantics\RecordStructTests.cs (93)
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);
1511
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1569
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1625
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1678
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1742
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.UnsafeDebugExe);
1781
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Mscorlib461);
1964
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2228
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2495
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
2929
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3268
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3307
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3348
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3393
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
3441
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
4067
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4077
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
4125
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4164
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4210
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
5190
var compDebug =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
5191
var compRelease =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
6970
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
7606
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
7774
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
7931
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
8330
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
8337
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular10);
8513
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8688
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
8859
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9056
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9225
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9411
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9605
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9718
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9865
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
9991
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10112
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10221
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular9);
10254
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10413
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10516
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10531
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview);
10611
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
10620
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10667
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.RegularPreview);
11267
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11279
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
11309
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11316
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11323
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11335
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11342
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11349
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11361
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11368
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11375
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11387
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11394
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11401
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11416
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11423
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11430
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11445
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11452
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11459
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11474
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
11481
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
11488
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11506
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
Semantics\RefEscapingTests.cs (152)
1360
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1491
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1525
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
3146
var comp =
CreateCompilation
([code], targetFramework: TargetFramework.Net90);
3364
var comp =
CreateCompilation
(tree, targetFramework: TargetFramework.Net90, options: TestOptions.UnsafeDebugDll);
3886
var comp =
CreateCompilation
([code], targetFramework: TargetFramework.Net90);
4443
CreateCompilation
([source, UnscopedRefAttributeDefinition], options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4518
CreateCompilation
([source, UnscopedRefAttributeDefinition], options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
4584
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
4642
CreateCompilation
(source).VerifyDiagnostics();
4677
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
4703
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
4786
CreateCompilation
([source, UnscopedRefAttributeDefinition, InterpolatedStringHandlerAttribute], options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4861
CreateCompilation
([source, UnscopedRefAttributeDefinition, InterpolatedStringHandlerAttribute]).VerifyDiagnostics(
4917
CreateCompilation
([source, InterpolatedStringHandlerAttribute]).VerifyDiagnostics();
4958
CreateCompilation
([source, InterpolatedStringHandlerAttribute]).VerifyDiagnostics();
6202
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
6237
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.NetCoreApp);
6663
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
6675
CreateCompilation
([source, UnscopedRefAttributeDefinition], parseOptions: TestOptions.Regular10).VerifyDiagnostics(
6711
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
6743
CreateCompilation
(source).VerifyDiagnostics();
6744
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
6777
CreateCompilation
(source).VerifyDiagnostics(
6819
CreateCompilation
(source).VerifyDiagnostics();
6854
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
6886
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
6912
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
6940
CreateCompilation
(source).VerifyDiagnostics();
6962
CreateCompilation
(source).VerifyDiagnostics();
6989
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
7018
CreateCompilation
(source).VerifyDiagnostics();
7042
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
7077
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
7309
CreateCompilation
(@"
7338
CreateCompilation
(@"
7464
var comp =
CreateCompilation
(@"
7558
CreateCompilation
(code).VerifyEmitDiagnostics(
7570
CreateCompilation
(@"
7597
CreateCompilation
(@"
7624
CreateCompilation
(@"
7677
CreateCompilation
(@"
7707
CreateCompilation
(@"
7734
CreateCompilation
(@"
7772
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
7790
CreateCompilation
(@"
7872
var compilation =
CreateCompilation
(
7932
var compilation =
CreateCompilation
(
8045
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8112
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8161
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8206
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8260
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8305
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8352
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8406
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8450
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8491
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8577
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8621
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8697
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8747
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8800
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8872
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8934
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8990
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9063
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9136
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9193
var comp =
CreateCompilation
(source);
9246
var comp =
CreateCompilation
(source);
9282
var comp =
CreateCompilation
(source);
9326
var comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular11);
9329
comp =
CreateCompilation
(new[] { source0, source1 }, parseOptions: TestOptions.Regular10);
9333
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10);
9336
var comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular11);
9339
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular11);
9343
comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular11);
9346
comp1 =
CreateCompilation
(source1, references: new[] { comp0.ToMetadataReference() }, parseOptions: TestOptions.Regular10);
9349
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
9446
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
9473
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
9536
var comp =
CreateCompilation
(source);
9652
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9685
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9727
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9750
CreateCompilation
(source).VerifyDiagnostics();
9768
CreateCompilation
(source).VerifyDiagnostics();
9784
CreateCompilation
(source).VerifyDiagnostics(
9813
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
9883
CreateCompilation
(source).VerifyDiagnostics(
9982
CreateCompilation
(source).VerifyDiagnostics(
10039
CreateCompilation
(source).VerifyDiagnostics(
10072
CreateCompilation
(source).VerifyDiagnostics();
10087
CreateCompilation
(source).VerifyDiagnostics();
10149
CreateCompilation
(source).VerifyDiagnostics(
10203
CreateCompilation
(source).VerifyDiagnostics();
10219
CreateCompilation
(source).VerifyDiagnostics();
10241
CreateCompilation
(source).VerifyDiagnostics(
10272
CreateCompilation
(source).VerifyDiagnostics(
10300
CreateCompilation
(source).VerifyDiagnostics(
10452
CreateCompilation
(source).VerifyDiagnostics(
10504
CreateCompilation
(source).VerifyDiagnostics(
10534
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10564
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10594
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10615
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10644
CreateCompilation
(source).VerifyDiagnostics(
10684
CreateCompilation
(source).VerifyDiagnostics(
10726
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10764
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10784
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10810
CreateCompilation
(source).VerifyDiagnostics();
10832
CreateCompilation
(source).VerifyDiagnostics(
10870
CreateCompilation
(source).VerifyDiagnostics(
10908
CreateCompilation
(source).VerifyDiagnostics(
10935
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10955
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10975
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11187
CreateCompilation
(source).VerifyDiagnostics(
11238
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11267
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11297
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11326
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11359
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11409
CreateCompilation
(source).VerifyDiagnostics(
11452
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11498
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11544
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11572
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12694
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
12715
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12741
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12770
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12797
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12826
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
12848
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
12873
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
12898
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
12922
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
12947
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
12969
CreateCompilation
(source).VerifyDiagnostics();
12991
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13013
CreateCompilation
(source).VerifyDiagnostics();
13035
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13057
CreateCompilation
(source).VerifyDiagnostics();
13078
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13099
CreateCompilation
(source).VerifyDiagnostics();
13129
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13161
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13202
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13252
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
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 (818)
85
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
97
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
126
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
150
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
167
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
175
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
197
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
211
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
236
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
244
comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
271
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
285
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
312
var comp =
CreateCompilation
(sourceB, new[] { refA });
329
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
338
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
370
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
391
var comp =
CreateCompilation
(code, references: [], parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70);
420
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
451
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
532
var comp =
CreateCompilation
(sourceB, targetFramework: TargetFramework.Mscorlib40, references: new[] { refA });
567
var comp =
CreateCompilation
(sourceB, references: new[] { refA, CSharpRef });
570
comp =
CreateCompilation
("", new[] { refB });
590
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
628
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net70);
658
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
682
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
752
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
798
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
847
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
930
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1028
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1121
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1186
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1262
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1305
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1342
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1376
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1421
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1466
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1513
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1514
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1569
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1570
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1621
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1622
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1677
var spanReference =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll);
1678
var comp =
CreateCompilation
(source, references: new[] { spanReference.EmitToImageReference() }, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
1715
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1753
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
1789
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1825
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1868
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
1912
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1944
var comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Net70);
1984
var comp =
CreateCompilation
(sourceC, new[] { refB }, targetFramework: TargetFramework.Net70);
2014
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2032
var comp =
CreateCompilation
("", references: new[] { refA, refB });
2082
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2091
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2112
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2124
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2160
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
2289
var compA =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2308
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2351
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net70);
2399
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
2425
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2501
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
2539
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net70);
2565
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2574
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2596
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
2647
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
2663
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2702
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2758
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2794
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2844
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
2889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2892
comp =
CreateCompilation
(source);
2909
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2957
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2960
comp =
CreateCompilation
(source);
3095
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3098
comp =
CreateCompilation
(source);
3201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3204
comp =
CreateCompilation
(source);
3462
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3465
comp =
CreateCompilation
(source);
3516
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3519
comp =
CreateCompilation
(source);
3562
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3565
comp =
CreateCompilation
(source);
3680
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3683
comp =
CreateCompilation
(source);
3795
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3798
comp =
CreateCompilation
(source);
3880
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3883
comp =
CreateCompilation
(source);
4066
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4069
comp =
CreateCompilation
(source);
4095
var comp =
CreateCompilation
(source);
4139
var comp =
CreateCompilation
(source);
4188
var comp =
CreateCompilation
(source);
4227
var comp =
CreateCompilation
(source);
4258
var comp =
CreateCompilation
(source);
4298
var comp =
CreateCompilation
(source);
4353
var comp =
CreateCompilation
(source);
4372
var comp =
CreateCompilation
(source);
4393
var comp =
CreateCompilation
(source);
4415
var comp =
CreateCompilation
(source);
4453
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4483
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
4518
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4521
comp =
CreateCompilation
(source);
4563
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4566
comp =
CreateCompilation
(source);
4606
var comp =
CreateCompilation
(source);
4632
var comp =
CreateCompilation
(source);
4658
var comp =
CreateCompilation
(source);
4704
var comp =
CreateCompilation
(new[] { source });
4755
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4825
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4877
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4916
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
4961
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5099
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5102
comp =
CreateCompilation
(source);
5134
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
5185
var comp =
CreateCompilation
(source);
5241
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
5257
var comp =
CreateCompilation
(source);
5276
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5333
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5408
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
5446
var comp =
CreateCompilation
(source);
5499
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5527
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
5546
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(9), targetFramework: TargetFramework.Net70).VerifyDiagnostics();
5555
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(10), targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
5556
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
5562
var comp =
CreateCompilation
("""
5585
var comp =
CreateCompilation
("""
5606
var comp =
CreateCompilation
("""
5627
var comp =
CreateCompilation
("""
5651
var comp =
CreateCompilation
("""
5686
var comp =
CreateCompilation
("""
5718
var comp =
CreateCompilation
("""
5742
var comp =
CreateCompilation
("""
5765
var comp =
CreateCompilation
("""
5788
var comp =
CreateCompilation
("""
5811
var comp =
CreateCompilation
("""
5834
var comp =
CreateCompilation
("""
5854
var comp =
CreateCompilation
("""
5877
var comp =
CreateCompilation
("""
5929
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
5997
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6035
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6094
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6132
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6190
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6236
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6276
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6322
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
6443
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
6688
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6848
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7093
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7177
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7250
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7300
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7375
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
7436
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7520
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7607
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7645
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7719
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7750
var comp =
CreateCompilation
(source);
7790
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7818
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7861
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7889
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7951
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
7995
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
8057
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
8101
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.Net70);
8163
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8210
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8281
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8328
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8390
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("peverify-compat"), targetFramework: TargetFramework.Net70);
8424
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8470
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8542
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
8570
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
8627
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8696
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8733
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8770
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8815
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8865
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
8934
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9005
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9068
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9142
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9205
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9457
var comp =
CreateCompilation
(source);
9531
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9761
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
9808
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9856
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
9878
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
9926
var comp =
CreateCompilation
(source);
9997
var comp =
CreateCompilation
(source);
10076
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
10126
var comp =
CreateCompilation
(source);
10159
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
10219
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseDll);
10237
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
10263
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10302
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10342
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70);
10478
var comp =
CreateCompilation
(source,
10532
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
10597
var comp =
CreateCompilation
(source);
10627
var comp =
CreateCompilation
(source,
10659
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
10662
comp =
CreateCompilation
(source);
10681
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10695
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10712
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10726
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10746
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10763
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10805
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10822
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10861
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
10874
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB), options: TestOptions.UnsafeReleaseDll);
10903
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
10916
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
10936
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular10);
10953
comp =
CreateCompilation
(sourceA);
10967
comp =
CreateCompilation
(sourceB, references: new[] { refA });
11011
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11024
comp =
CreateCompilation
(source);
11054
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11079
comp =
CreateCompilation
(source);
11125
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular10);
11153
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
11204
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
11214
comp =
CreateCompilation
(source);
11242
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, options: TestOptions.UnsafeReleaseExe);
11265
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
11305
var comp =
CreateCompilation
(source);
11328
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
11372
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
11419
var comp =
CreateCompilation
(source);
11448
var comp =
CreateCompilation
(source);
11501
var comp =
CreateCompilation
(source1, references: new[] { ref0 });
11518
var comp =
CreateCompilation
(sourceA);
11534
comp =
CreateCompilation
(sourceB, references: new[] { refA });
11572
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11613
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
11653
var comp =
CreateCompilation
(source);
11684
var comp =
CreateCompilation
(source);
11711
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11736
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
11806
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10));
11852
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp11));
11902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11914
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11936
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
11948
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
11972
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
12013
var comp =
CreateCompilation
(source);
12031
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
12042
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
12097
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12120
comp =
CreateCompilation
(source);
12176
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12244
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12257
comp =
CreateCompilation
(source);
12329
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12395
comp =
CreateCompilation
(source);
12546
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
12725
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
12800
comp =
CreateCompilation
(source);
12956
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
13116
var comp =
CreateCompilation
(source);
13154
var comp =
CreateCompilation
(source);
13189
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13206
comp =
CreateCompilation
(source);
13244
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13261
comp =
CreateCompilation
(source);
13306
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13320
comp =
CreateCompilation
(source);
13356
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
13367
comp =
CreateCompilation
(source);
13396
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13420
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13444
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13466
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
13490
var comp =
CreateCompilation
(source);
13499
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13554
var comp =
CreateCompilation
(source);
13563
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13630
var comp =
CreateCompilation
(source);
13639
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13701
var comp =
CreateCompilation
(source);
13710
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
13766
var comp =
CreateCompilation
(source);
13805
var comp =
CreateCompilation
(source);
13839
var comp =
CreateCompilation
(source);
13867
var comp =
CreateCompilation
(source);
13881
var comp =
CreateCompilation
(source);
13895
var comp =
CreateCompilation
(source);
13913
var comp =
CreateCompilation
(source);
13930
var comp =
CreateCompilation
(source);
13948
var comp =
CreateCompilation
(source);
13971
var comp =
CreateCompilation
(source);
13993
var comp =
CreateCompilation
(source);
14027
var comp =
CreateCompilation
(source);
14067
var comp =
CreateCompilation
(source);
14106
var comp =
CreateCompilation
(source);
14147
var comp =
CreateCompilation
(source);
14189
var comp =
CreateCompilation
(source);
14230
var comp =
CreateCompilation
(source);
14291
var comp =
CreateCompilation
(source);
14369
var comp =
CreateCompilation
(source);
14405
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14414
comp =
CreateCompilation
(source);
14447
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14456
comp =
CreateCompilation
(source);
14492
var comp =
CreateCompilation
(source);
14522
var comp =
CreateCompilation
(source);
14551
var comp =
CreateCompilation
(source);
14584
var comp =
CreateCompilation
(source);
14642
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14657
comp =
CreateCompilation
(source);
14742
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
14794
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
14859
comp =
CreateCompilation
(source);
15032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
15096
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
15110
comp =
CreateCompilation
(source);
15139
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(langVersion));
15187
var comp =
CreateCompilation
(source);
15192
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
15254
var comp =
CreateCompilation
(source);
15283
var comp =
CreateCompilation
(source);
15312
var comp =
CreateCompilation
(source);
15344
var comp =
CreateCompilation
(source);
15404
var comp =
CreateCompilation
(source);
15463
var comp =
CreateCompilation
(source);
15526
var comp =
CreateCompilation
(source);
15578
var comp =
CreateCompilation
(source);
15627
var comp =
CreateCompilation
(source);
15682
var comp =
CreateCompilation
(source);
15728
var comp =
CreateCompilation
(source);
15768
var comp =
CreateCompilation
(source);
15809
var comp =
CreateCompilation
(sourceA);
15846
var comp =
CreateCompilation
(source);
15889
var comp =
CreateCompilation
(source);
15948
var comp =
CreateCompilation
(source);
15996
var comp =
CreateCompilation
(source);
16037
var comp =
CreateCompilation
(source);
16089
var comp =
CreateCompilation
(source);
16138
var comp =
CreateCompilation
(source);
16269
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16324
var comp =
CreateCompilation
(source);
16359
var comp =
CreateCompilation
(source);
16395
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16438
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16509
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
16538
var comp =
CreateCompilation
(source);
16562
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16599
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16646
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16689
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16724
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16751
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16785
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16831
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16880
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
16939
var comp =
CreateCompilation
(source);
17011
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
17043
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
17061
var comp =
CreateCompilation
(source);
17092
var comp =
CreateCompilation
(source);
17151
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
17176
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
17179
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
17216
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
17235
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
17238
comp =
CreateCompilation
(new[] { sourceB2, sourceA });
17270
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, UnscopedRefAttributeDefinition });
17273
comp =
CreateCompilation
(new[] { sourceA, sourceB2, UnscopedRefAttributeDefinition });
17276
comp =
CreateCompilation
(new[] { sourceB2, sourceA, UnscopedRefAttributeDefinition });
17294
var comp =
CreateCompilation
(sourceA);
17315
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17349
var comp =
CreateCompilation
(sourceA);
17372
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17399
var comp =
CreateCompilation
(sourceA);
17422
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17451
var comp =
CreateCompilation
(source);
17480
var comp =
CreateCompilation
(source);
17507
var comp =
CreateCompilation
(sourceA);
17534
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
17572
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
17602
var comp =
CreateCompilation
(sourceA);
17625
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
17653
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
17676
var comp =
CreateCompilation
(sourceA);
17690
comp =
CreateCompilation
(sourceB, references: new[] { refA });
17708
var comp =
CreateCompilation
(source);
17731
var comp =
CreateCompilation
(source);
17755
var comp =
CreateCompilation
(source);
17794
var comp =
CreateCompilation
(source);
17843
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17879
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
17905
var comp =
CreateCompilation
(source);
17925
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
17944
var comp =
CreateCompilation
(source);
17969
var comp =
CreateCompilation
(source);
18001
var comp =
CreateCompilation
(source);
18045
var comp =
CreateCompilation
(source);
18070
var comp =
CreateCompilation
(source);
18089
var comp =
CreateCompilation
(source);
18119
var comp =
CreateCompilation
(source);
18141
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
18165
var comp =
CreateCompilation
(source);
18184
var comp =
CreateCompilation
(source);
18241
var comp =
CreateCompilation
(source);
18272
var comp =
CreateCompilation
(source);
18312
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
18362
var comp =
CreateCompilation
(source);
18381
var comp =
CreateCompilation
(source);
18422
var comp =
CreateCompilation
(source);
18457
var comp =
CreateCompilation
(source);
18501
var comp =
CreateCompilation
(source);
18545
var comp =
CreateCompilation
(source);
18589
var comp =
CreateCompilation
(source);
18624
var comp =
CreateCompilation
(source);
18660
var comp =
CreateCompilation
(source);
18695
var comp =
CreateCompilation
(source);
18725
var comp =
CreateCompilation
(source);
18746
var comp =
CreateCompilation
(source);
18767
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18785
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18811
var comp =
CreateCompilation
(source);
18830
var comp =
CreateCompilation
(source);
18866
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
18894
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
18916
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
18971
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18997
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19027
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19062
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19088
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19131
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19159
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19197
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19241
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19294
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19341
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19389
var comp =
CreateCompilation
(source);
19480
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19558
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19643
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19738
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19819
var comp =
CreateCompilation
(source);
19861
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19917
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19959
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19988
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20009
var comp =
CreateCompilation
(source);
20048
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20105
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20170
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20196
var comp =
CreateCompilation
(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
20227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20230
comp =
CreateCompilation
(source);
20265
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20268
comp =
CreateCompilation
(source);
20296
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20318
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20365
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20393
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20400
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20421
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20423
var comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20436
comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
20482
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20528
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20553
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20583
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20607
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20629
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20652
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20672
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20696
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20727
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20754
var comp =
CreateCompilation
(source);
20781
var comp =
CreateCompilation
(source);
20808
var comp =
CreateCompilation
(source);
20835
var comp =
CreateCompilation
(source);
20865
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20892
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20913
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20942
var comp =
CreateCompilation
(source);
20966
var comp =
CreateCompilation
(source);
20992
var comp =
CreateCompilation
(source);
21018
var comp =
CreateCompilation
(source);
21044
var comp =
CreateCompilation
(source);
21078
var comp =
CreateCompilation
(source);
21112
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
21138
var comp =
CreateCompilation
(source);
21161
var comp =
CreateCompilation
(source);
21193
var comp =
CreateCompilation
(source);
21226
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21278
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21311
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21346
var comp =
CreateCompilation
(source);
21369
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21401
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21523
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21525
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21565
var comp =
CreateCompilation
(source);
21597
var comp =
CreateCompilation
(source);
21624
var comp =
CreateCompilation
(source);
21682
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21743
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21814
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21853
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21929
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21953
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21980
comp =
CreateCompilation
(source);
22021
comp =
CreateCompilation
(source);
22044
comp =
CreateCompilation
(source);
22067
comp =
CreateCompilation
(source);
22093
comp =
CreateCompilation
(source);
22111
comp =
CreateCompilation
(source);
22141
comp =
CreateCompilation
(source);
22168
comp =
CreateCompilation
(source);
22197
comp =
CreateCompilation
(source);
22222
comp =
CreateCompilation
(source);
22249
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22256
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22273
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22305
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22318
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22338
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22348
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22365
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22372
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22392
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22401
CreateCompilation
(source,
22404
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22406
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22421
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22430
CreateCompilation
(source,
22433
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22435
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22452
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22465
CreateCompilation
(source,
22468
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22470
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22489
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22494
CreateCompilation
(source,
22497
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22499
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22514
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22529
CreateCompilation
(source,
22546
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22548
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22561
var ref1a =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22566
var ref1b =
CreateCompilation
(source1,
22569
var ref1c =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22571
var ref1d =
CreateCompilation
([source1, UnscopedRefAttributeDefinition]).VerifyDiagnostics().EmitToImageReference();
22583
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10).VerifyDiagnostics();
22584
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
22585
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular11).VerifyDiagnostics();
22586
CreateCompilation
(source2, [ref1a]).VerifyDiagnostics();
22597
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(expectedDiagnostics);
22598
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
22599
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
22600
CreateCompilation
(source2, [ref1]).VerifyDiagnostics(expectedDiagnostics);
22614
var ref1a =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22619
var ref1b =
CreateCompilation
(source1,
22622
var ref1c =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22624
var ref1d =
CreateCompilation
([source1, UnscopedRefAttributeDefinition]).VerifyDiagnostics().EmitToImageReference();
22636
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10).VerifyDiagnostics();
22637
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
22638
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular11).VerifyDiagnostics();
22639
CreateCompilation
(source2, [ref1a]).VerifyDiagnostics();
22650
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(expectedDiagnostics);
22651
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
22652
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
22653
CreateCompilation
(source2, [ref1]).VerifyDiagnostics(expectedDiagnostics);
22667
var ref1 =
CreateCompilation
([source1, UnscopedRefAttributeDefinition])
22707
var ref1 =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22760
var ref1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net70)
22771
CreateCompilation
([source2, UnscopedRefAttributeDefinition], [ref1],
22794
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22819
CreateCompilation
(source,
22822
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22824
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22838
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22854
CreateCompilation
(source,
22857
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22859
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22873
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition],
22889
CreateCompilation
(source,
22892
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition],
22894
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22910
var ref1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net70)
22924
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(
22946
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22973
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22992
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23010
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23052
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23091
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23110
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23128
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23156
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition });
23187
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23220
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23256
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23291
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
23336
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23376
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23406
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23427
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23471
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
23495
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
23546
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23559
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
23584
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23602
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23632
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23659
var comp =
CreateCompilation
(source);
23692
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23712
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23759
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23802
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23895
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
23915
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23946
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23979
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24002
comp =
CreateCompilation
(sourceB, references: new[] { refA });
24052
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24118
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24205
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24255
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24288
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24316
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24347
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24385
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24426
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24470
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24500
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24536
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24573
var comp =
CreateCompilation
(source);
24625
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24689
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24750
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24788
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
24821
var comp =
CreateCompilation
(source);
24864
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24905
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24994
var comp =
CreateCompilation
(sourceB, new[] { refA });
25096
var comp =
CreateCompilation
(sourceB, new[] { refA });
25204
var comp =
CreateCompilation
(sourceB, new[] { refA });
25242
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseDll);
25270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25307
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25313
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25343
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25391
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
25397
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25433
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25500
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25513
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25551
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25572
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25610
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25621
comp =
CreateCompilation
(sourceB, references: new[] { refA });
25640
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25657
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25678
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25699
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25737
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25755
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular10);
25782
comp =
CreateCompilation
(new[] { sourceB2, UnscopedRefAttributeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular);
25815
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25833
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25886
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25913
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
26002
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular);
26028
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
26049
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
26074
comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
26146
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26224
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26262
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26307
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26334
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26369
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26395
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26441
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
26496
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26547
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
26580
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
26624
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26686
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26731
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26815
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26848
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26882
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26957
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26990
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
27033
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27079
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27118
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27149
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: targetFramework);
27398
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27450
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27502
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27592
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27629
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27649
comp =
CreateCompilation
(source);
27719
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27739
comp =
CreateCompilation
(source);
27803
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27841
comp =
CreateCompilation
(source);
27904
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27942
comp =
CreateCompilation
(source);
28008
var comp =
CreateCompilation
(source);
28013
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
28068
var comp =
CreateCompilation
(source);
28073
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
28122
var comp =
CreateCompilation
(source);
28141
var comp =
CreateCompilation
(source);
28162
var comp =
CreateCompilation
(source);
28181
var comp =
CreateCompilation
(source);
28216
var comp =
CreateCompilation
(source);
28263
var comp =
CreateCompilation
(source);
28293
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
28302
comp =
CreateCompilation
(source);
28341
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
28350
comp =
CreateCompilation
(source);
28395
var comp =
CreateCompilation
(source);
28434
var comp =
CreateCompilation
(source);
28521
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28600
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28716
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
28796
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28865
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
28909
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28934
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeReleaseExe);
28968
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28997
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29026
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29058
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29093
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29125
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
29167
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29199
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29282
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29311
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29340
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29366
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29388
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29427
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29566
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29598
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29627
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29667
var comp =
CreateCompilation
(source);
29724
var comp =
CreateCompilation
(source);
29786
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29863
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29933
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29993
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30028
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30066
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30096
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30141
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30406
var comp =
CreateCompilation
(source);
30512
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30549
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30587
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30609
var comp =
CreateCompilation
(source);
30636
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
30664
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
30706
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
30862
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
30913
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
31143
var comp =
CreateCompilation
("""
31209
var comp =
CreateCompilation
("""
31282
var comp =
CreateCompilation
("""
31653
var comp =
CreateCompilation
("""
31678
var comp =
CreateCompilation
("""
31703
var comp =
CreateCompilation
("""
31730
var comp =
CreateCompilation
("""
31755
var comp =
CreateCompilation
("""
31783
var comp =
CreateCompilation
("""
31808
var comp =
CreateCompilation
("""
31836
var comp =
CreateCompilation
("""
31864
var comp =
CreateCompilation
("""
31889
var comp =
CreateCompilation
("""
31917
var comp =
CreateCompilation
("""
31945
var comp =
CreateCompilation
("""
31970
var comp =
CreateCompilation
("""
Semantics\RefLocalsAndReturnsTests.cs (128)
25
var comp =
CreateCompilation
(@"
46
var comp =
CreateCompilation
(@"
73
var comp =
CreateCompilation
(@"
91
var comp =
CreateCompilation
(@"
112
var comp =
CreateCompilation
(@"
128
var comp =
CreateCompilation
(@"
146
var comp =
CreateCompilation
(@"
165
var comp =
CreateCompilation
(@"
186
var comp =
CreateCompilation
(@"
205
var comp =
CreateCompilation
(@"
259
var comp =
CreateCompilation
(@"
294
var comp =
CreateCompilation
(@"
332
CreateCompilation
(source).VerifyDiagnostics(
354
CreateCompilation
(source).VerifyDiagnostics();
360
var comp =
CreateCompilation
(@"
399
var comp =
CreateCompilation
(@"
418
var comp =
CreateCompilation
(@"
435
var comp =
CreateCompilation
(@"
460
var comp =
CreateCompilation
(@"
512
var comp =
CreateCompilation
(@"
553
CreateCompilation
(tree).VerifyDiagnostics(
601
var comp =
CreateCompilation
(@"
619
var comp =
CreateCompilation
(@"
638
var comp =
CreateCompilation
(@"
654
var comp =
CreateCompilation
(@"
671
var comp =
CreateCompilation
(@"
704
var comp =
CreateCompilation
(@"
724
var comp =
CreateCompilation
(@"
752
var comp =
CreateCompilation
(@"
781
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
790
comp =
CreateCompilation
(source);
800
var comp =
CreateCompilation
(@"
824
var comp =
CreateCompilation
(@"
849
var comp =
CreateCompilation
(@"
899
var comp =
CreateCompilation
(@"
916
var comp =
CreateCompilation
(@"
934
var comp =
CreateCompilation
(@"
952
var comp =
CreateCompilation
(@"
971
var comp =
CreateCompilation
(@"
991
var comp =
CreateCompilation
(@"
1011
var comp =
CreateCompilation
(@"
1043
CreateCompilation
(source).VerifyDiagnostics(
1061
CreateCompilation
(source).VerifyDiagnostics(
1070
CreateCompilation
(@"
1092
var comp =
CreateCompilation
(tree);
1102
var comp =
CreateCompilation
(@"
1120
var comp =
CreateCompilation
(@"
1138
var comp =
CreateCompilation
(@"
1155
var comp =
CreateCompilation
(@"
1177
var comp =
CreateCompilation
(@"
1196
var comp =
CreateCompilation
(@"
1218
var comp =
CreateCompilation
(@"
1254
var comp =
CreateCompilation
(@"
1295
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1307
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
1309
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
1336
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1351
var comp =
CreateCompilation
(@"
1382
var comp =
CreateCompilation
(@"
1410
var comp =
CreateCompilation
(@"
1434
var comp =
CreateCompilation
(@"
1455
var comp =
CreateCompilation
(@"
1476
var comp =
CreateCompilation
(@"
1511
var comp =
CreateCompilation
(@"
1529
var comp =
CreateCompilation
(@"
1565
var comp =
CreateCompilation
(@"
1605
var comp =
CreateCompilation
(@"
1645
var comp =
CreateCompilation
(text);
1669
var comp =
CreateCompilation
(text);
1690
var comp =
CreateCompilation
(text);
1734
var comp =
CreateCompilation
(text);
1775
var comp =
CreateCompilation
(text);
1848
var comp =
CreateCompilation
(text);
1902
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
1956
var comp =
CreateCompilation
(text);
1998
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef, SystemCoreRef });
2049
var comp =
CreateCompilation
(text);
2166
var comp =
CreateCompilation
(text);
2265
var comp =
CreateCompilation
(text);
2373
var comp =
CreateCompilation
(text);
2446
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2529
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2623
var comp =
CreateCompilation
(text);
2956
CreateCompilation
(code).VerifyDiagnostics(
2991
CreateCompilation
(code).VerifyDiagnostics(
3151
CreateCompilation
(code).VerifyDiagnostics(
3191
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3199
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3200
CreateCompilation
(code).VerifyEmitDiagnostics();
3227
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3256
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3268
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3269
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3329
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3330
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3331
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3352
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3360
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3361
CreateCompilation
(code).VerifyEmitDiagnostics();
3386
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3416
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3428
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3429
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3454
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3484
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3496
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3497
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3838
CreateCompilation
(code).VerifyEmitDiagnostics(
4548
CreateCompilation
(@"
4565
CreateCompilation
(@"
4584
CreateCompilation
(@"
4617
CreateCompilation
(@"
4650
CreateCompilation
(@"
4673
CreateCompilation
(@"
4703
CreateCompilation
(@"
4720
CreateCompilation
(@"
4737
var compilation =
CreateCompilation
(@"
4765
var compilation =
CreateCompilation
(@"
4793
var compilation =
CreateCompilation
(@"
4821
var compilation =
CreateCompilation
(@"
4849
var compilation =
CreateCompilation
(@"
4877
var compilation =
CreateCompilation
(@"
4905
var compilation =
CreateCompilation
(@"
5142
CreateCompilation
(code).VerifyEmitDiagnostics(
5167
CreateCompilation
(code).VerifyEmitDiagnostics(
5193
var comp =
CreateCompilation
(code).VerifyEmitDiagnostics(
5239
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
5278
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
Semantics\ScriptSemanticsTests.cs (1)
275
var compilation =
CreateCompilation
("namespace System { public struct Int32 { } }");
Semantics\SemanticAnalyzerTests.cs (20)
61
var comp =
CreateCompilation
(source);
82
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
89
CreateCompilation
(source).VerifyDiagnostics();
107
CreateCompilation
(source).VerifyDiagnostics(
137
CreateCompilation
(source).VerifyDiagnostics(
161
CreateCompilation
(source).VerifyDiagnostics(
194
CreateCompilation
(source).VerifyDiagnostics(
591
CreateCompilation
(source).VerifyDiagnostics(
684
CreateCompilation
(source).VerifyDiagnostics(
746
CreateCompilation
(source).VerifyDiagnostics(
804
CreateCompilation
(source).VerifyDiagnostics(
845
CreateCompilation
(source).VerifyDiagnostics(
880
CreateCompilation
(source).VerifyDiagnostics(
909
CreateCompilation
(source).VerifyDiagnostics();
928
CreateCompilation
(source).VerifyDiagnostics(
1005
CreateCompilation
(source).VerifyDiagnostics(
1134
CreateCompilation
(source).VerifyDiagnostics(
1220
CreateCompilation
(source).VerifyDiagnostics(
1240
CreateCompilation
(source).VerifyDiagnostics(
1276
CreateCompilation
(source).VerifyDiagnostics(
Semantics\SemanticErrorTests.cs (552)
103
CreateCompilation
(text).
150
CreateCompilation
(text).VerifyDiagnostics(
190
CreateCompilation
(text).VerifyDiagnostics(
214
CreateCompilation
(text).VerifyDiagnostics(
246
CreateCompilation
(text).VerifyDiagnostics(
283
CreateCompilation
(text).VerifyDiagnostics(
338
CreateCompilation
(text).VerifyDiagnostics(
386
CreateCompilation
(text).VerifyDiagnostics(
444
CreateCompilation
(text).VerifyDiagnostics(
470
CreateCompilation
(text).VerifyDiagnostics(
496
CreateCompilation
(text).VerifyDiagnostics(
560
CreateCompilation
(text).VerifyDiagnostics(
635
CreateCompilation
(text).VerifyDiagnostics(
804
CreateCompilation
(text).VerifyDiagnostics(
872
CreateCompilation
(text).VerifyDiagnostics(
939
CreateCompilation
(text).VerifyDiagnostics(
984
CreateCompilation
(text).VerifyDiagnostics(
1003
CreateCompilation
(text).VerifyDiagnostics(
1023
CreateCompilation
(text).VerifyDiagnostics(
1041
CreateCompilation
(text).VerifyDiagnostics(
1072
CreateCompilation
(text).VerifyDiagnostics(
1118
CreateCompilation
(text).VerifyDiagnostics(
1152
CreateCompilation
(text).VerifyDiagnostics(
1171
CreateCompilation
(text).VerifyDiagnostics(
1188
CreateCompilation
(text).VerifyDiagnostics(
1206
CreateCompilation
(text).VerifyDiagnostics(
1225
CreateCompilation
(text).VerifyDiagnostics(
1269
CreateCompilation
(text).VerifyDiagnostics(
1297
CreateCompilation
(text).VerifyDiagnostics(
1347
CreateCompilation
(text).VerifyDiagnostics(
1447
CreateCompilation
(source).VerifyDiagnostics(
1472
CreateCompilation
(source).VerifyDiagnostics(
1492
CreateCompilation
(text).VerifyDiagnostics(
1512
CreateCompilation
(text).VerifyDiagnostics(
1532
CreateCompilation
(text).VerifyDiagnostics(
1552
CreateCompilation
(text).VerifyDiagnostics(
1573
CreateCompilation
(text).VerifyDiagnostics(
1593
CreateCompilation
(text).VerifyDiagnostics(
1613
CreateCompilation
(text).VerifyDiagnostics(
1633
CreateCompilation
(text).VerifyDiagnostics(
1653
CreateCompilation
(text).VerifyDiagnostics(
1673
CreateCompilation
(text).VerifyDiagnostics(
1693
var diagnostics =
CreateCompilation
(text).GetDiagnostics();
1729
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_NoExplicitConv, "foreach").WithArguments("int[]", "int"));
1741
CreateCompilation
(text).VerifyDiagnostics(
1773
CreateCompilation
(text).VerifyDiagnostics(
1876
CreateCompilation
(text3).VerifyDiagnostics();
1937
CreateCompilation
(text).VerifyDiagnostics(
1975
CreateCompilation
(text).VerifyDiagnostics(
2005
CreateCompilation
(source).VerifyDiagnostics(
2049
CreateCompilation
(source).VerifyDiagnostics(
2086
CreateCompilation
(text).VerifyDiagnostics(Diagnostic(ErrorCode.ERR_ValueCantBeNull, "(MyEnum)null").WithArguments("Program.MyEnum").WithLocation(12, 20));
2115
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(new Dictionary<string, ReportDiagnostic>()
2153
CreateCompilation
(text).VerifyDiagnostics(
2174
CreateCompilation
(text).VerifyDiagnostics(
2199
CreateCompilation
(text).VerifyDiagnostics(
2215
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
2358
CreateCompilation
(text).VerifyDiagnostics(
2392
CreateCompilation
(text).VerifyDiagnostics(
2412
CreateCompilation
(text).VerifyDiagnostics(
2425
CreateCompilation
(
2445
CreateCompilation
(@"
2487
CreateCompilation
(source).VerifyDiagnostics(
2502
CreateCompilation
(
2537
CreateCompilation
(source).VerifyDiagnostics(
2563
CreateCompilation
(source).VerifyDiagnostics(
2583
CreateCompilation
(
2612
CreateCompilation
(source).VerifyDiagnostics(
2625
CreateCompilation
(source).VerifyDiagnostics(
2641
CreateCompilation
(source).VerifyDiagnostics(
2653
CreateCompilation
(source).VerifyDiagnostics(
2665
CreateCompilation
(source).VerifyDiagnostics(
2681
CreateCompilation
(source).VerifyDiagnostics(
2698
CreateCompilation
(source).VerifyDiagnostics(
2717
CreateCompilation
(source).VerifyDiagnostics(
2729
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2793
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2813
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2829
CreateCompilation
(
2849
CreateCompilation
(
2888
CreateCompilation
(
2929
CreateCompilation
(source, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
2937
CreateCompilation
(source, parseOptions: TestOptions.Regular).VerifyDiagnostics(
2951
CreateCompilation
(
2975
CreateCompilation
(
3040
CreateCompilation
(
3079
CreateCompilation
(
3172
CreateCompilation
(text).VerifyDiagnostics(
3196
CreateCompilation
(text).VerifyDiagnostics(
3223
CreateCompilation
(text).VerifyDiagnostics(
3251
var comp =
CreateCompilation
(text);
3289
CreateCompilation
(text).VerifyDiagnostics(
3323
var compilation =
CreateCompilation
(tree);
3383
CreateCompilation
(text).VerifyDiagnostics(
3404
CreateCompilation
(text).VerifyDiagnostics(
3447
CreateCompilation
(text).VerifyDiagnostics(
3478
CreateCompilation
(text).VerifyDiagnostics(
3530
CreateCompilation
(text).VerifyDiagnostics(
3558
CreateCompilation
(source).VerifyDiagnostics(
3629
CreateCompilation
(source).VerifyDiagnostics(
3652
CreateCompilation
(source).VerifyDiagnostics(
3674
CreateCompilation
(text).VerifyDiagnostics(
3695
CreateCompilation
(text).
3709
CreateCompilation
(
3751
CreateCompilation
(source).VerifyDiagnostics(
3803
CreateCompilation
(source).VerifyDiagnostics(
3841
CreateCompilation
(source).VerifyDiagnostics(
3869
CreateCompilation
(source).VerifyDiagnostics(
3894
CreateCompilation
(source).VerifyDiagnostics(
4002
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3);
4017
comp =
CreateCompilation
(text);
4035
CreateCompilation
(
4070
CreateCompilation
(
4139
var comp =
CreateCompilation
(text);
4175
var comp =
CreateCompilation
(text);
4203
var comp =
CreateCompilation
(text);
4261
CreateCompilation
(test).VerifyDiagnostics(
4293
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
4330
CreateCompilation
(text).VerifyDiagnostics(
4349
var comp =
CreateCompilation
(text);
4375
var comp =
CreateCompilation
(text);
4385
CreateCompilation
(
4434
CreateCompilation
(source).VerifyDiagnostics(
4459
CreateCompilation
(source).VerifyDiagnostics(
4475
CreateCompilation
(source).VerifyDiagnostics(
4484
CreateCompilation
(
4515
CreateCompilation
(
4553
var compilation1 =
CreateCompilation
(source1);
4566
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
4595
CreateCompilation
(text).VerifyDiagnostics(
4624
CreateCompilation
(text).VerifyDiagnostics(
4653
CreateCompilation
(text).VerifyDiagnostics(
4681
CreateCompilation
(text).VerifyDiagnostics(
4727
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4733
CreateCompilation
(text).VerifyDiagnostics(
4755
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4758
CreateCompilation
(text).VerifyDiagnostics(); // dynamic conversion to Exception
4784
CreateCompilation
(text).VerifyDiagnostics(
4899
CreateCompilation
(text).VerifyDiagnostics(
4992
CreateCompilation
(text).VerifyDiagnostics(
5074
CreateCompilation
(text).VerifyDiagnostics(
5120
CreateCompilation
(text).
5144
CreateCompilation
(text).
5200
CreateCompilation
(text).
5249
CreateCompilation
(text).VerifyDiagnostics(
5276
CreateCompilation
(text).
5299
CreateCompilation
(text).
5326
CreateCompilation
(text).
5348
CreateCompilation
(text).
5397
CreateCompilation
(text).
5429
CreateCompilation
(text).
5465
CreateCompilation
(text).
5503
CreateCompilation
(text).VerifyDiagnostics(
5532
CreateCompilation
(text).VerifyDiagnostics(
5560
CreateCompilation
(text).VerifyDiagnostics(
5593
CreateCompilation
(text).VerifyDiagnostics(
5620
CreateCompilation
(text).VerifyDiagnostics(
5646
CreateCompilation
(text).VerifyDiagnostics(
5668
CreateCompilation
(text).VerifyDiagnostics(
5690
CreateCompilation
(text).VerifyDiagnostics(
5714
CreateCompilation
(text).VerifyDiagnostics(
5738
CreateCompilation
(text).VerifyDiagnostics(
5763
CreateCompilation
(text).VerifyDiagnostics(
5790
CreateCompilation
(text).VerifyDiagnostics(
5823
CreateCompilation
(text).VerifyDiagnostics(
5856
CreateCompilation
(text).VerifyDiagnostics(
5892
CreateCompilation
(source).VerifyDiagnostics(
5924
CreateCompilation
(source).VerifyDiagnostics(
6160
CreateCompilation
(
6201
CreateCompilation
(
6304
CreateCompilation
(
6338
CreateCompilation
(
6357
CreateCompilation
(
6377
CreateCompilation
(
6463
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
6511
var comp =
CreateCompilation
(text);
6542
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
6573
CreateCompilation
(text).VerifyDiagnostics(
6592
CreateCompilation
(text).
6612
CreateCompilation
(text).VerifyDiagnostics(
6639
CreateCompilation
(text).VerifyDiagnostics(
6681
CreateCompilation
(text).VerifyDiagnostics(
6704
CreateCompilation
(text).VerifyDiagnostics(
6726
CreateCompilation
(source).VerifyDiagnostics(
6750
CreateCompilation
(source).VerifyDiagnostics(
6782
CreateCompilation
(source).VerifyDiagnostics(
6810
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
6834
CreateCompilation
(source).VerifyDiagnostics(
6864
CreateCompilation
(text).VerifyDiagnostics(
6886
CreateCompilation
(text).VerifyDiagnostics(
6947
CreateCompilation
(text).
6979
CreateCompilation
(text, parseOptions: TestOptions.Regular10).
7239
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
7340
CreateCompilation
(source).Emit(new System.IO.MemoryStream()).Diagnostics
7387
CreateCompilation
(source).VerifyDiagnostics(
7482
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7571
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
7576
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
7643
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics();
7695
CreateCompilation
(source).VerifyDiagnostics(
7725
CreateCompilation
(source).VerifyDiagnostics(
7746
CreateCompilation
(source).VerifyDiagnostics(
7761
CreateCompilation
(source).VerifyDiagnostics(
7769
CreateCompilation
(
7801
var compilation1 =
CreateCompilation
(source1);
7814
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
7840
CreateCompilation
(text).VerifyDiagnostics(
7859
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithTuplesFeature()).VerifyDiagnostics(
7892
var comp =
CreateCompilation
(new[] { Parse(test, options: TestOptions.Regular6) }, new MetadataReference[] { });
8036
CreateCompilation
(text).VerifyDiagnostics(
8065
CreateCompilation
(text).VerifyDiagnostics(
8095
CreateCompilation
(text).VerifyDiagnostics(
8144
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8237
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8273
CreateCompilation
(text).VerifyDiagnostics(
8308
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8333
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8362
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8401
var comp =
CreateCompilation
(text);
8425
CreateCompilation
(text).VerifyDiagnostics(
8444
CreateCompilation
(text).VerifyDiagnostics(
8466
CreateCompilation
(text).VerifyDiagnostics(
8506
CreateCompilation
(text).VerifyDiagnostics(
8588
CreateCompilation
(text).VerifyDiagnostics(
8669
var comp =
CreateCompilation
(text);
8758
CreateCompilation
(
8782
CreateCompilation
(
8813
CreateCompilation
(
8854
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8890
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8920
CreateCompilation
(text).VerifyDiagnostics(
8929
CreateCompilation
(@"
8953
CreateCompilation
(@"
8979
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9001
CreateCompilation
(text).VerifyDiagnostics(
9043
CreateCompilation
(text).VerifyDiagnostics(
9079
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9103
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9127
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9162
CreateCompilation
(source).VerifyDiagnostics(
9180
CreateCompilation
(source).VerifyDiagnostics(
9205
CreateCompilation
(source).VerifyDiagnostics(
9230
CreateCompilation
(source).VerifyDiagnostics(
9246
CreateCompilation
(source).VerifyDiagnostics(
9257
CreateCompilation
(source).VerifyDiagnostics();
9268
CreateCompilation
(source).VerifyDiagnostics();
9285
CreateCompilation
(source).VerifyDiagnostics(
9311
CreateCompilation
(source).VerifyDiagnostics(
9329
CreateCompilation
(text).
9351
CreateCompilation
(text).VerifyDiagnostics(
9377
CreateCompilation
(text).
9403
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
9421
CreateCompilation
(source).VerifyDiagnostics(
9482
CreateCompilation
(source).VerifyDiagnostics(
9512
CreateCompilation
(source).VerifyDiagnostics(
9538
CreateCompilation
(source).VerifyDiagnostics(
9574
CreateCompilation
(source).VerifyDiagnostics(
9586
CreateCompilation
(
9643
CreateCompilation
(source).VerifyDiagnostics(
9679
CreateCompilation
(source).VerifyDiagnostics(
9687
CreateCompilation
(
9735
CreateCompilation
(source).VerifyDiagnostics(
9773
CreateCompilation
(source).VerifyDiagnostics(
9805
CreateCompilation
(source).VerifyDiagnostics(
9824
CreateCompilation
(text).VerifyDiagnostics(
9868
CreateCompilation
(text).VerifyDiagnostics(
10109
CreateCompilation
(text).VerifyDiagnostics(
10174
CreateCompilation
(text).VerifyDiagnostics(
10197
CreateCompilation
(source).VerifyDiagnostics(
10212
CreateCompilation
(source).VerifyDiagnostics(
10222
CreateCompilation
(source).VerifyDiagnostics(
10239
CreateCompilation
(source).VerifyDiagnostics(
10272
CreateCompilation
(source).VerifyDiagnostics(
10295
CreateCompilation
(source).VerifyDiagnostics(
10320
CreateCompilation
(source).VerifyDiagnostics(
10342
CreateCompilation
(source).VerifyDiagnostics(
10357
CreateCompilation
(source).VerifyDiagnostics(
10368
CreateCompilation
(source).VerifyDiagnostics(
10391
CreateCompilation
(source).VerifyDiagnostics(
10422
CreateCompilation
(text).VerifyDiagnostics(
10463
CreateCompilation
(source).VerifyDiagnostics(
10535
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10540
CreateCompilation
(text).VerifyDiagnostics(
10565
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10573
CreateCompilation
(text).VerifyDiagnostics(
10613
CreateCompilation
(text).VerifyDiagnostics(
10654
CreateCompilation
(text).VerifyDiagnostics(
10716
CreateCompilation
(source).VerifyDiagnostics(
10746
CreateCompilation
(source).VerifyDiagnostics(
10769
CreateCompilation
(source).VerifyDiagnostics(
10826
CreateCompilation
(text).VerifyDiagnostics(
10897
CreateCompilation
(code).VerifyDiagnostics(
10932
CreateCompilation
(text).VerifyDiagnostics(
10961
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
10999
CreateCompilation
(text).VerifyDiagnostics(
11040
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(noWarns)).VerifyDiagnostics(
11070
CreateCompilation
(text).VerifyDiagnostics(
11085
CreateCompilation
(text).VerifyDiagnostics(
11110
CreateCompilation
(text).VerifyDiagnostics(
11162
CreateCompilation
(text).VerifyDiagnostics(
11184
CreateCompilation
(source).VerifyDiagnostics(
11204
CreateCompilation
(source).VerifyDiagnostics(
11229
CreateCompilation
(source).VerifyDiagnostics(
11269
CreateCompilation
(source).VerifyDiagnostics(
11318
CreateCompilation
(source).VerifyDiagnostics(
11362
CreateCompilation
(source).VerifyDiagnostics(
11407
CreateCompilation
(source).VerifyDiagnostics();
11413
var compilation =
CreateCompilation
(
11449
CreateCompilation
(source).VerifyDiagnostics(
11511
CreateCompilation
(test).VerifyDiagnostics(
11528
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11553
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11589
CreateCompilation
(text).VerifyDiagnostics(
11629
var compilation =
CreateCompilation
(
11667
var compilation =
CreateCompilation
(text);
11686
CreateCompilation
(@"
11726
CreateCompilation
(text).VerifyDiagnostics(
11756
CreateCompilation
(text).VerifyDiagnostics(
11844
CreateCompilation
(code).VerifyDiagnostics(
11852
CreateCompilation
(
11917
CreateCompilation
(text).VerifyDiagnostics(
11965
CreateCompilation
(text).VerifyDiagnostics(
11988
CreateCompilation
(text).VerifyDiagnostics(
12031
var comp =
CreateCompilation
(source);
12054
var comp =
CreateCompilation
(source);
12112
CreateCompilation
(@"
12278
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12302
var comp =
CreateCompilation
(text);
12787
CreateCompilation
(text).VerifyDiagnostics(
12810
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
12838
CreateCompilation
(
12861
CreateCompilation
(
12885
CreateCompilation
(
12976
CreateCompilation
(text, parseOptions: TestOptions.Regular10)
13010
var comp =
CreateCompilation
(text);
13076
CreateCompilation
(text).VerifyDiagnostics(
13286
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseExe);
13382
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13434
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13517
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13568
CreateCompilation
(text).VerifyDiagnostics(
13617
CreateCompilation
(text).VerifyDiagnostics(
13672
CreateCompilation
(source).VerifyDiagnostics(
13681
CreateCompilation
(
13710
CreateCompilation
(
13913
CreateCompilation
(source, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(
14009
CreateCompilation
(text).VerifyDiagnostics(
14034
CreateCompilation
(source).VerifyDiagnostics(
14061
CreateCompilation
(source).VerifyDiagnostics(
14093
CreateCompilation
(source).VerifyDiagnostics(
14160
CreateCompilation
(text).VerifyDiagnostics(
14186
CreateCompilation
(text).VerifyDiagnostics(
14214
CreateCompilation
(text).VerifyDiagnostics(
14242
CreateCompilation
(text).VerifyDiagnostics(
14272
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
14333
CreateCompilation
(text).VerifyDiagnostics(
14394
CreateCompilation
(
14414
CreateCompilation
(
14430
CreateCompilation
(
14457
CreateCompilation
(
14508
CreateCompilation
(
14624
CreateCompilation
(text).VerifyDiagnostics(
14738
CreateCompilation
(text).
14816
CreateCompilation
(text).VerifyDiagnostics(
14838
CreateCompilation
(text).
14891
CreateCompilation
(text).VerifyDiagnostics(
14911
CreateCompilation
(text).
14961
CreateCompilation
(text).VerifyDiagnostics(
14987
CreateCompilation
(text).VerifyDiagnostics(
15065
CreateCompilation
(source).VerifyDiagnostics(
15111
CreateCompilation
(text).VerifyDiagnostics(
15140
CreateCompilation
(text).VerifyDiagnostics(
15190
var comp =
CreateCompilation
(text);
15218
var comp =
CreateCompilation
(text);
15254
var comp =
CreateCompilation
(text);
15310
var comp =
CreateCompilation
(text);
15345
var comp =
CreateCompilation
(text);
15396
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
15424
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
15425
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
15453
var comp =
CreateCompilation
(text);
15482
var comp =
CreateCompilation
(text);
15508
var comp =
CreateCompilation
(text);
15529
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15617
CreateCompilation
(text).
15641
CreateCompilation
(text).VerifyDiagnostics(
15662
CreateCompilation
(text).
15730
CreateCompilation
(text).VerifyDiagnostics(
15759
CreateCompilation
(text).VerifyDiagnostics(
15790
CreateCompilation
(text).VerifyDiagnostics(
15831
CreateCompilation
(text).VerifyDiagnostics(
15861
CreateCompilation
(text).VerifyDiagnostics(
15896
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15914
CreateCompilation
(text).VerifyDiagnostics(
15939
CreateCompilation
(text).
15962
CreateCompilation
(text).VerifyDiagnostics(
16021
CreateCompilation
(text).VerifyDiagnostics(
16074
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
16114
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
16213
CreateCompilation
(source).VerifyDiagnostics(
16234
CreateCompilation
(source).VerifyDiagnostics(
16353
CreateCompilation
(text).VerifyDiagnostics(
16375
var compilation =
CreateCompilation
(text);
16399
var compilation =
CreateCompilation
(text);
16450
CreateCompilation
(text).VerifyDiagnostics(
16479
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16509
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16538
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16563
CreateCompilation
(text).VerifyDiagnostics(
16603
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16637
var comp =
CreateCompilation
(text);
16680
var compilation =
CreateCompilation
(text);
16776
var comp =
CreateCompilation
(text);
16795
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
16854
var compilation = CSharpTestBase.
CreateCompilation
(text);
17006
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
17298
var comp =
CreateCompilation
(program);
17371
CreateCompilation
(text).VerifyDiagnostics(
17598
CreateCompilation
(program).VerifyDiagnostics(
17784
var comp =
CreateCompilation
(text);
17865
CreateCompilation
(text).VerifyDiagnostics(
17997
CreateCompilation
(text).VerifyDiagnostics(
18154
CreateCompilation
(text).VerifyDiagnostics(
18254
CreateCompilation
(text).VerifyDiagnostics(
18322
CreateCompilation
(text).VerifyDiagnostics(
18391
CreateCompilation
(text).VerifyDiagnostics(
18422
CreateCompilation
(text).VerifyDiagnostics(
18445
CreateCompilation
(source).VerifyDiagnostics();
18447
CreateCompilation
(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics();
18502
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18596
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18622
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18920
CreateCompilation
(text).VerifyDiagnostics(
18943
CreateCompilation
(text).VerifyDiagnostics(
18963
CreateCompilation
(text).VerifyDiagnostics(
18994
CreateCompilation
(text).VerifyDiagnostics();
19009
CreateCompilation
(text).VerifyDiagnostics(
19036
CreateCompilation
(text).VerifyDiagnostics(
19063
CreateCompilation
(text).VerifyDiagnostics(
19100
CreateCompilation
(text).VerifyDiagnostics(
19130
CreateCompilation
(text).VerifyDiagnostics(
19163
CreateCompilation
(text).VerifyDiagnostics(
19208
CreateCompilation
(text).VerifyDiagnostics(
19234
CreateCompilation
(text).
19251
CreateCompilation
(text).
19269
CreateCompilation
(text).VerifyDiagnostics(
19292
CreateCompilation
(text).VerifyDiagnostics(
19312
CreateCompilation
(text).VerifyDiagnostics(
19329
var comp =
CreateCompilation
(text);
19358
var comp =
CreateCompilation
(text);
19391
var comp =
CreateCompilation
(text);
19474
CreateCompilation
(text).VerifyDiagnostics(
19523
CreateCompilation
(text).VerifyDiagnostics(
19568
CreateCompilation
(text).VerifyDiagnostics(
19587
CreateCompilation
(text).VerifyDiagnostics(
19605
CreateCompilation
(text).VerifyDiagnostics(
19621
CreateCompilation
(text).VerifyDiagnostics(
19639
CreateCompilation
(text).VerifyDiagnostics(
19663
CreateCompilation
(text).VerifyDiagnostics(
19684
CreateCompilation
(text).VerifyDiagnostics(
19706
CreateCompilation
(text).VerifyDiagnostics();
19726
CreateCompilation
(text).VerifyDiagnostics(
19750
CreateCompilation
(text).VerifyDiagnostics(
19810
CreateCompilation
(text).VerifyDiagnostics();
19857
CreateCompilation
(text).VerifyDiagnostics(
19891
CreateCompilation
(text).VerifyDiagnostics(
19915
CreateCompilation
(text).VerifyDiagnostics();
19933
CreateCompilation
(text).VerifyDiagnostics(
19996
CreateCompilation
(text).VerifyDiagnostics(
20031
CreateCompilation
(text).VerifyDiagnostics(
20069
CreateCompilation
(text).VerifyDiagnostics(
20091
var comp =
CreateCompilation
(text);
20107
var comp =
CreateCompilation
(text);
20172
CreateCompilation
(text).VerifyDiagnostics(
20232
CreateCompilation
(text).VerifyDiagnostics(
20262
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
20296
CreateCompilation
(text).VerifyDiagnostics();
20323
CreateCompilation
(text).VerifyDiagnostics();
20390
var comp =
CreateCompilation
(text);
20601
CreateCompilation
(text).VerifyDiagnostics(
20927
CreateCompilation
(text).VerifyDiagnostics(
21165
CreateCompilation
(text).VerifyDiagnostics(
21195
CreateCompilation
(text).
21217
CreateCompilation
(text).
21244
var comp =
CreateCompilation
(text);
21267
CreateCompilation
(text).VerifyDiagnostics(
21294
CreateCompilation
(text).VerifyDiagnostics(
21319
CreateCompilation
(text).VerifyDiagnostics();
21342
CreateCompilation
(text).VerifyDiagnostics(
21361
CreateCompilation
(text).VerifyDiagnostics(
21384
CreateCompilation
(text).VerifyDiagnostics(
21443
CreateCompilation
(text).VerifyDiagnostics(
21514
var comp =
CreateCompilation
(text);
21552
CreateCompilation
(@"
21580
CreateCompilation
(
21633
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
21664
CreateCompilation
(text).VerifyDiagnostics(
21953
var c =
CreateCompilation
(
22131
CreateCompilation
(text).VerifyDiagnostics(
22190
CreateCompilation
(text).VerifyDiagnostics(
22225
CreateCompilation
(text).
22334
CreateCompilation
(text).VerifyDiagnostics();
22359
CreateCompilation
(text).VerifyDiagnostics(
22404
CreateCompilation
(text).VerifyDiagnostics(
22557
CreateCompilation
(text).VerifyDiagnostics(
22694
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
22717
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
22867
CreateCompilation
(text).VerifyDiagnostics(
22902
CreateCompilation
(text).VerifyDiagnostics(
22944
CreateCompilation
(text).VerifyDiagnostics(
22989
CreateCompilation
(text).VerifyDiagnostics(
23023
CreateCompilation
(text).VerifyEmitDiagnostics(
23070
var comp =
CreateCompilation
(text);
23123
CreateCompilation
(source).VerifyDiagnostics(
23147
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23212
CreateCompilation
(source).VerifyDiagnostics(
23226
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23271
CreateCompilation
(source).VerifyDiagnostics(
23387
CreateCompilation
(text).VerifyDiagnostics(
23531
CreateCompilation
(text).VerifyDiagnostics(
23576
CreateCompilation
(text).VerifyDiagnostics(
23595
CreateCompilation
(text).VerifyDiagnostics(
23612
CreateCompilation
(text).VerifyDiagnostics(
23632
CreateCompilation
(text).VerifyDiagnostics(
23649
CreateCompilation
(text).VerifyDiagnostics(
23674
CreateCompilation
(builder.ToString(), null, TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)).VerifyEmitDiagnostics(
23696
CreateCompilation
(@"
23713
CreateCompilation
(@"
23738
CreateCompilation
(@"
23764
CreateCompilation
(@"
23807
CreateCompilation
(text).VerifyDiagnostics(
23833
CreateCompilation
(text).VerifyDiagnostics(
23851
CreateCompilation
(text).VerifyDiagnostics(
23875
CreateCompilation
(source).VerifyDiagnostics();
23897
CreateCompilation
(source).VerifyDiagnostics(
23963
CreateCompilation
(source).VerifyDiagnostics(
24029
CreateCompilation
(source).VerifyDiagnostics(
24079
CreateCompilation
(text).VerifyDiagnostics(
24109
CreateCompilation
(text).VerifyDiagnostics(
24186
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
24738
var compilation =
CreateCompilation
(text);
24885
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
24922
var comp =
CreateCompilation
(source);
24943
var comp =
CreateCompilation
(source);
25001
var comp =
CreateCompilation
(source);
25025
var comp =
CreateCompilation
(source);
25057
var comp =
CreateCompilation
(source);
25087
var comp =
CreateCompilation
(source);
25118
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
25154
var comp =
CreateCompilation
(source);
25218
var comp =
CreateCompilation
(source);
25315
var comp =
CreateCompilation
(source);
Semantics\SimpleLambdaParametersWithModifiersTests.cs (37)
21
var compilation =
CreateCompilation
("""
48
var compilation =
CreateCompilation
("""
74
var compilation =
CreateCompilation
("""
108
var compilation =
CreateCompilation
("""
138
var compilation =
CreateCompilation
("""
177
var compilation =
CreateCompilation
($$"""
363
var compilation =
CreateCompilation
("""
394
var compilation =
CreateCompilation
("""
426
var compilation =
CreateCompilation
("""
458
var compilation =
CreateCompilation
("""
487
var compilation =
CreateCompilation
("""
519
var compilation =
CreateCompilation
("""
552
var compilation =
CreateCompilation
("""
619
var compilation =
CreateCompilation
("""
647
var compilation =
CreateCompilation
("""
675
var compilation =
CreateCompilation
("""
707
var compilation =
CreateCompilation
("""
736
var compilation =
CreateCompilation
("""
765
var compilation =
CreateCompilation
($$"""
796
var compilation =
CreateCompilation
($$"""
830
var compilation =
CreateCompilation
($$"""
864
var compilation =
CreateCompilation
($$"""
896
var compilation =
CreateCompilation
($$"""
942
var compilation =
CreateCompilation
($$"""
969
var compilation =
CreateCompilation
("""
1011
var compilation =
CreateCompilation
("""
1046
var compilation =
CreateCompilation
("""
1081
var compilation =
CreateCompilation
("""
1110
var compilation =
CreateCompilation
("""
1197
var compilation =
CreateCompilation
("""
1229
var compilation =
CreateCompilation
("""
1266
var compilation =
CreateCompilation
("""
1309
var compilation =
CreateCompilation
("""
1339
var compilation =
CreateCompilation
("""
1369
var compilation =
CreateCompilation
("""
1396
var compilation =
CreateCompilation
("""
1429
var compilation =
CreateCompilation
("""
Semantics\SpanStackSafetyTests.cs (7)
1497
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1541
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1595
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1657
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1694
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
2094
CreateCompilation
(code).VerifyDiagnostics(
2128
CreateCompilation
(code).VerifyDiagnostics(
Semantics\StackAllocInitializerTests.cs (10)
1244
CreateCompilation
(@"
1278
CreateCompilation
(@"
1497
CreateCompilation
(@"
1620
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1820
CreateCompilation
(@"
2119
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2704
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2747
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2776
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
Semantics\StackAllocSpanExpressionsTests.cs (5)
195
CreateCompilation
(@"
214
CreateCompilation
(@"
405
CreateCompilation
(@"
471
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
603
CreateCompilation
(@"
Semantics\StructConstructorTests.cs (74)
29
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
35
comp =
CreateCompilation
(sourceA);
101
var comp =
CreateCompilation
(source);
217
var comp =
CreateCompilation
(sourceA);
247
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
250
comp =
CreateCompilation
(sourceB, references: new[] { refA });
1325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1470
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1590
comp =
CreateCompilation
(source);
1626
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1661
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1676
comp =
CreateCompilation
(source);
1721
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1898
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1927
var comp =
CreateCompilation
(source, parseOptions: GetParseOptions(languageVersion));
1973
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2013
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2086
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2376
var comp =
CreateCompilation
(source);
2437
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2568
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2580
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2617
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2650
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
2662
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
2700
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2712
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
2753
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2855
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
2926
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3035
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
3038
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
3054
var comp =
CreateCompilation
(source);
3076
var comp =
CreateCompilation
(source);
3140
var comp =
CreateCompilation
(source);
3218
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
3235
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.Mscorlib461);
3276
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3297
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3326
var comp =
CreateCompilation
(source);
3356
var comp =
CreateCompilation
(source);
3406
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular10);
3418
comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11);
3456
var comp =
CreateCompilation
(source);
3524
var comp =
CreateCompilation
(source);
3547
var comp =
CreateCompilation
(source);
3574
var comp =
CreateCompilation
(source);
3615
var comp =
CreateCompilation
(source);
3719
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3792
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3819
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3846
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
3870
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Script, targetFramework: TargetFramework.NetCoreApp);
3889
CreateCompilation
(source, parseOptions: TestOptions.Regular10)
3895
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11)
3901
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(GetIdForErrorCode(ErrorCode.WRN_UnassignedThisSupportedVersion), ReportDiagnostic.Error), parseOptions: TestOptions.Regular11)
3940
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
3978
CreateCompilation
(source, parseOptions: TestOptions.Regular10)
3990
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings), parseOptions: TestOptions.Regular11)
4015
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
4107
var comp =
CreateCompilation
(source);
4129
var comp =
CreateCompilation
(source);
4149
var comp =
CreateCompilation
(source);
4527
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4533
comp =
CreateCompilation
(source);
4549
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4552
comp =
CreateCompilation
(source);
4699
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular10);
4827
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4870
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
Semantics\StructsTests.cs (13)
30
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
59
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
67
CreateCompilation
(text).VerifyDiagnostics(
86
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
94
CreateCompilation
(text).VerifyDiagnostics();
117
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
570
CreateCompilation
(csSource).VerifyDiagnostics(
596
CreateCompilation
(csSource).VerifyDiagnostics(
613
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
638
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
652
CreateCompilation
(source).VerifyDiagnostics(
669
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
681
comp =
CreateCompilation
(text);
Semantics\SuppressAccessibilityChecksTests.cs (5)
20
var compilationA =
CreateCompilation
(@"
33
var compilationB =
CreateCompilation
(@"
120
var comp =
CreateCompilation
(tree);
155
var compilationB =
CreateCompilation
(@"
184
var compilation =
CreateCompilation
(@"
Semantics\SwitchTests.cs (119)
40
CreateCompilation
(source).VerifyDiagnostics();
79
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
84
CreateCompilation
(text).VerifyDiagnostics(
114
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
119
CreateCompilation
(text).VerifyDiagnostics(
150
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
155
CreateCompilation
(text).VerifyDiagnostics(
192
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
200
CreateCompilation
(text).VerifyDiagnostics(
255
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
281
CreateCompilation
(text).VerifyDiagnostics(
331
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
336
CreateCompilation
(text).VerifyDiagnostics(
365
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
396
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
404
CreateCompilation
(text).VerifyDiagnostics(
437
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
442
CreateCompilation
(text).VerifyDiagnostics(
462
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
467
CreateCompilation
(text).VerifyDiagnostics(
492
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
497
CreateCompilation
(text).VerifyDiagnostics(
522
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
527
CreateCompilation
(text).VerifyDiagnostics(
550
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
554
CreateCompilation
(text).VerifyDiagnostics(
593
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
597
CreateCompilation
(text).VerifyDiagnostics();
633
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
638
CreateCompilation
(text).VerifyDiagnostics(
675
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
680
CreateCompilation
(text).VerifyDiagnostics(
725
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
730
CreateCompilation
(text).VerifyDiagnostics(
779
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
783
CreateCompilation
(text).VerifyDiagnostics(
832
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
837
CreateCompilation
(text).VerifyDiagnostics(
887
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
888
CreateCompilation
(text).VerifyDiagnostics();
920
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
925
CreateCompilation
(text).VerifyDiagnostics(
959
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
964
CreateCompilation
(text).VerifyDiagnostics(
1001
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1005
CreateCompilation
(text).VerifyDiagnostics(
1037
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1051
CreateCompilation
(text).VerifyDiagnostics(
1083
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1088
CreateCompilation
(text).VerifyDiagnostics(
1202
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1203
CreateCompilation
(text).VerifyDiagnostics();
1243
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1244
CreateCompilation
(text).VerifyDiagnostics();
1293
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1294
CreateCompilation
(text).VerifyDiagnostics();
1336
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1337
CreateCompilation
(text).VerifyDiagnostics();
1374
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1375
CreateCompilation
(text).VerifyDiagnostics();
1417
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
1418
CreateCompilation
(text).VerifyDiagnostics();
1461
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1465
CreateCompilation
(text).VerifyDiagnostics(
1511
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1516
CreateCompilation
(text).VerifyDiagnostics(
1562
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1569
CreateCompilation
(text).VerifyDiagnostics(
1615
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1620
CreateCompilation
(text).VerifyDiagnostics(
1666
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1671
CreateCompilation
(text).VerifyDiagnostics(
1717
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1722
CreateCompilation
(text).VerifyDiagnostics(
1768
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1773
CreateCompilation
(text).VerifyDiagnostics(
1825
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1830
CreateCompilation
(text).VerifyDiagnostics(
1883
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1891
CreateCompilation
(text).VerifyDiagnostics(
1943
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1948
CreateCompilation
(text).VerifyDiagnostics(
2000
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2008
CreateCompilation
(text).VerifyDiagnostics(
2067
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2075
CreateCompilation
(text).VerifyDiagnostics(
2227
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2232
CreateCompilation
(text).VerifyDiagnostics(
2267
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2272
CreateCompilation
(text).VerifyDiagnostics(
2304
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2309
CreateCompilation
(text).VerifyDiagnostics(
2359
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2370
CreateCompilation
(text).VerifyDiagnostics(
2462
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2467
CreateCompilation
(text).VerifyDiagnostics(
2519
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2530
CreateCompilation
(text).VerifyDiagnostics(
2579
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2583
CreateCompilation
(text).VerifyDiagnostics(
2613
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2623
CreateCompilation
(text).VerifyDiagnostics(
2682
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2686
CreateCompilation
(text).VerifyDiagnostics(
2714
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2719
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2724
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
2749
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2753
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2754
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
2780
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2791
CreateCompilation
(text).VerifyDiagnostics(
2821
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics();
2822
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp1)).VerifyDiagnostics(
2912
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2917
CreateCompilation
(text).VerifyDiagnostics(
2945
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics();
2946
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2947
CreateCompilation
(text).VerifyDiagnostics(
Semantics\SynthesizedStaticConstructorTests.cs (1)
290
var compilation =
CreateCompilation
(source);
Semantics\TargetTypedConditionalOperatorTests.cs (21)
182
var comp =
CreateCompilation
(
207
var comp =
CreateCompilation
(
229
var comp =
CreateCompilation
(
265
var comp =
CreateCompilation
(
333
var comp =
CreateCompilation
(tree, options: TestOptions.DebugDll.WithAllowUnsafe(true));
412
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe)
415
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugExe)
432
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll.WithAllowUnsafe(true))
434
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll.WithAllowUnsafe(true))
451
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll)
453
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll)
525
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics(expectedDiagnostics);
526
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(expectedDiagnostics);
613
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics();
614
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics();
639
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
647
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(
664
var comp =
CreateCompilation
(source);
685
var comp =
CreateCompilation
(source);
707
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
713
comp =
CreateCompilation
(source);
Semantics\TargetTypedDefaultTests.cs (113)
31
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
117
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
136
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
167
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
189
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
219
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
236
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
273
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
312
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
353
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
413
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
457
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
552
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
595
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe);
637
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
692
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
713
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
734
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
813
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
830
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
859
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
889
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
910
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
928
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
946
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
967
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
994
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1013
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1077
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1134
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1163
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1192
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1228
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1362
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1365
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1468
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1471
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1571
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
1574
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1593
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1621
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1624
var comp2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
1721
var comp =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugExe);
1787
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
1858
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular, options: TestOptions.DebugExe);
1903
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1939
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
1968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2007
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2053
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2079
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2144
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2177
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe.WithAllowUnsafe(true));
2227
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2250
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2270
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2307
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2326
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2359
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2381
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2477
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2503
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2524
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2549
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2575
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2591
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2609
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2628
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
2653
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, references: new[] { CSharpRef }, options: TestOptions.DebugExe);
2671
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2696
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, options: TestOptions.DebugExe);
2722
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_1)
2743
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2833
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
2855
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2880
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1);
2903
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2926
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugDll);
2962
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3012
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3078
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3100
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3129
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3161
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3193
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3225
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3254
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3274
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3295
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3369
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3428
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3447
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3467
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3506
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3547
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3568
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3623
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3705
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1, options: TestOptions.DebugExe);
3743
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1);
3793
var comp =
CreateCompilation
(source);
Semantics\TopLevelStatementsTests.cs (280)
44
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
78
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
106
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
114
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
141
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
162
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
165
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
178
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
184
comp =
CreateCompilation
(text1, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
279
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
294
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
309
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable), parseOptions: DefaultParseOptions);
435
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
456
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
525
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
563
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
612
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
631
var comp =
CreateCompilation
(text, parseOptions: DefaultParseOptions);
665
var comp =
CreateCompilation
(text, parseOptions: DefaultParseOptions);
691
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
737
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
781
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
813
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
826
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
839
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
860
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
910
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
931
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
971
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1003
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1016
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1029
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1056
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1074
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1102
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1117
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1124
comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular12);
1131
comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1134
comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
1270
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1287
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1303
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1317
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1347
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1361
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1396
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1414
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1447
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1466
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1501
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1542
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1588
var comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1650
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1823
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1977
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1980
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1983
Assert.Throws<System.ArgumentException>(() =>
CreateCompilation
(new[] { Parse(text1, filename: "text1", DefaultParseOptions),
1987
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2044
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2208
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2358
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2361
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2364
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2410
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2555
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2574
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2605
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2630
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2691
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2776
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2833
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2861
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2895
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3009
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3071
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3134
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3201
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3265
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3327
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3390
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3457
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3521
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3583
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3646
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3713
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3777
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3845
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3913
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4062
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4162
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4187
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4208
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4290
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4312
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4364
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4452
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4469
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4493
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4532
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4560
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4598
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4612
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4640
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4657
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4673
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4693
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4708
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4726
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4749
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4764
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4778
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4799
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4820
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4841
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4866
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4886
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4918
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4939
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4971
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5004
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5032
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5062
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5094
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5124
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5150
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5186
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5225
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5281
var comp =
CreateCompilation
(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5344
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5366
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5386
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5407
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5428
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5452
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5477
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5504
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5532
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5559
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5587
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5611
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5636
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5653
var comp =
CreateCompilation
(text);
5707
CreateCompilation
(source,
5720
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5734
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5753
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5774
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5798
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5824
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5845
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5866
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5887
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5908
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5928
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5952
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5970
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5994
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6017
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6054
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6278
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6319
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6362
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6412
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6451
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6462
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6556
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6565
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6613
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6628
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6734
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6745
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6821
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6830
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6879
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6888
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6937
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6946
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7005
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7014
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7084
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7092
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7197
var comp =
CreateCompilation
(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7206
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7291
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7300
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);
7431
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7441
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7520
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7543
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7565
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7603
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7629
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7660
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7678
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7725
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7772
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7841
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7906
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7929
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7948
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7967
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7987
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8005
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8027
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8047
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8066
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8084
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8104
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8116
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions);
8129
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseModule, parseOptions: DefaultParseOptions);
8245
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8263
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8276
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8285
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8299
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8313
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8327
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8354
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8371
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8388
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8405
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8452
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions);
8497
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8513
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8540
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8570
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8592
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8611
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8626
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8659
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8679
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8691
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8702
var comp =
CreateCompilation
(text);
8724
var comp =
CreateCompilation
(text);
8746
var comp =
CreateCompilation
(text);
8873
var comp =
CreateCompilation
(@"
8929
var comp =
CreateCompilation
(@"
9006
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9023
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9040
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9052
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9065
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9083
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9101
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9156
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9194
var comp =
CreateCompilation
(text);
9228
var comp =
CreateCompilation
(text);
9250
var comp =
CreateCompilation
(text);
9272
var comp =
CreateCompilation
(text);
9301
var comp =
CreateCompilation
(text);
9323
var comp =
CreateCompilation
(text);
9346
var comp =
CreateCompilation
(text);
9373
var comp =
CreateCompilation
(text);
9405
var comp =
CreateCompilation
(text);
9421
var comp =
CreateCompilation
(text);
9437
var comp =
CreateCompilation
(text);
9453
var comp =
CreateCompilation
(text);
9475
var comp =
CreateCompilation
(text);
9495
var comp =
CreateCompilation
(text);
9510
var comp =
CreateCompilation
(text);
9530
var comp =
CreateCompilation
(text);
9550
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9589
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9606
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9626
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9652
var comp =
CreateCompilation
(src);
9665
var comp =
CreateCompilation
(src);
9687
var comp =
CreateCompilation
(src);
9709
var comp =
CreateCompilation
(src);
9730
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
9755
var compilation =
CreateCompilation
(source);
9780
var comp =
CreateCompilation
(src);
9821
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9824
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9849
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9852
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9877
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9880
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
Semantics\TryCatchTests.cs (2)
39
var compilation =
CreateCompilation
(source);
71
CreateCompilation
(source).VerifyDiagnostics(
Semantics\TypeOfTests.cs (5)
45
CreateCompilation
("""
59
CreateCompilation
("""
73
CreateCompilation
("""
89
CreateCompilation
("""
108
CreateCompilation
("""
Semantics\UninitializedNonNullableFieldTests.cs (101)
49
var comp =
CreateCompilation
(src, options: WithNullableEnable());
71
var comp =
CreateCompilation
(src, options: WithNullableEnable());
87
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
107
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
129
var comp =
CreateCompilation
(source, options: WithNullableEnable());
159
var comp =
CreateCompilation
(source);
180
var comp =
CreateCompilation
(source);
201
var comp =
CreateCompilation
(source);
221
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
236
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
265
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
299
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
362
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
403
var comp =
CreateCompilation
(source, options: WithNullableEnable());
419
var comp =
CreateCompilation
(source, options: WithNullableEnable());
437
var comp =
CreateCompilation
(source, options: WithNullableEnable());
461
var comp =
CreateCompilation
(source, options: WithNullableEnable());
505
var comp =
CreateCompilation
(source, options: WithNullableEnable());
534
var comp =
CreateCompilation
(source, options: WithNullableEnable());
551
var comp =
CreateCompilation
(source, options: WithNullableEnable());
571
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
590
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
610
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
633
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
666
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
702
var comp =
CreateCompilation
(source, options: WithNullableEnable());
728
var comp =
CreateCompilation
(source, options: WithNullableEnable());
758
var comp =
CreateCompilation
(source, options: WithNullableEnable());
812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
856
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular10);
952
var comp =
CreateCompilation
(source);
983
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
1013
var comp =
CreateCompilation
(source);
1052
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
1128
var comp =
CreateCompilation
(source);
1190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1258
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1283
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1323
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1350
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1380
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1406
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1436
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1446
comp =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
1457
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1487
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1521
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1555
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1589
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1612
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1647
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1694
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1755
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1782
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1846
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1888
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1903
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
1918
var comp =
CreateCompilation
(source);
1940
var comp =
CreateCompilation
(source);
1963
var comp =
CreateCompilation
(source);
1982
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
2028
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
2055
var comp =
CreateCompilation
(source);
2078
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
2092
var comp =
CreateCompilation
(@"
2189
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
2216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2244
var comp =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.RegularPreview);
2275
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2313
var comp =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.RegularPreview);
2337
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2361
var comp =
CreateCompilation
(source);
2379
var comp =
CreateCompilation
(source);
2398
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2424
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2438
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
2463
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2493
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2531
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2557
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2595
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableEnable());
2616
var comp =
CreateCompilation
(@"
2662
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2677
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2692
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2707
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2722
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
2745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2788
var comp =
CreateCompilation
(@"
2828
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
2851
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
2875
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
2897
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
2926
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute });
Semantics\UnsafeTests.cs (557)
106
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
123
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
144
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
170
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
186
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
190
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
205
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
209
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
246
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
262
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
278
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
283
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
284
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
301
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
306
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
307
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
324
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
329
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
330
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
348
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
354
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
379
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
397
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
398
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
421
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
445
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
446
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
468
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
492
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
493
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
513
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
535
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
559
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
583
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
610
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
639
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
644
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
645
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
664
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
676
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
677
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
754
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
755
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
811
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
812
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
813
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
853
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
873
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
878
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
879
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
900
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
905
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
906
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
924
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
936
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
937
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
955
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
964
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
965
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
983
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
984
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
985
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
1006
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1015
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1016
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1034
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1043
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1044
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1066
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1075
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1076
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1098
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
1107
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1108
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1126
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1138
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
1139
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1157
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1158
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1159
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1179
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1180
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1181
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1202
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1203
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1204
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1227
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1228
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1229
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1245
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1246
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1247
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1263
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1268
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1269
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1292
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1293
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1294
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1309
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1329
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1348
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1366
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1389
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1390
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1415
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1416
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1437
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1438
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1439
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1462
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1463
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1464
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1485
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1486
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1487
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1510
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1511
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1512
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1528
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1529
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1530
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1546
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1551
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1552
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1575
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1576
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1577
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1592
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1611
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1634
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1635
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1657
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1658
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1659
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1683
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1684
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1685
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1707
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1708
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1709
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1736
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1737
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1738
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1755
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1756
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1757
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1774
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1779
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1780
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1804
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1805
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1806
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1822
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1848
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1877
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1878
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1905
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1906
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1928
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1929
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1930
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1954
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1955
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1956
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
1978
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1979
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1980
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2007
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2008
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2009
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2026
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2027
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2028
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2045
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2050
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2051
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2075
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2076
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2077
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2093
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2119
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2148
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2149
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2176
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2177
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
2196
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2197
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2198
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2216
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2217
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2218
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2240
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2241
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2242
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2263
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2264
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2265
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2282
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2283
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2284
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2301
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
2306
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2307
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2328
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2329
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2330
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2343
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
2363
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2387
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2388
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2401
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2402
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2403
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2423
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2424
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2425
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2441
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2442
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2443
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics();
2463
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2464
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2465
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2488
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2489
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2490
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2516
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2517
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2518
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2541
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2552
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2553
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2576
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2577
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2578
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(expectedDiagnostics);
2595
CreateCompilation
(code, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2596
CreateCompilation
(code, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2597
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
2620
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2643
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
3181
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3193
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3198
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3213
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
3214
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
3217
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3231
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
3232
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
3249
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3256
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3259
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3265
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3266
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
3269
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3275
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3276
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
3293
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3317
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3344
CreateCompilation
(text).VerifyDiagnostics(
3360
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3373
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll.WithAllowUnsafe(false)).VerifyDiagnostics(
3377
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
3391
CreateCompilation
(text).VerifyDiagnostics(
3395
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3419
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
4170
CreateCompilation
(withoutUnsafe).VerifyDiagnostics(expectedWithoutUnsafe);
4171
CreateCompilation
(withoutUnsafe, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithoutUnsafe);
4174
CreateCompilation
(withUnsafeOnType, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
4177
CreateCompilation
(withUnsafeOnMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
4180
CreateCompilation
(withUnsafeOnTypeAndMembers, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
5295
var compilation =
CreateCompilation
(text);
5312
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5327
var compilation =
CreateCompilation
(text);
5344
var compilation =
CreateCompilation
(text);
5360
var compilation =
CreateCompilation
(text);
5379
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
5400
var compilation =
CreateCompilation
(text);
5420
var compilation =
CreateCompilation
(text);
5437
var compilation =
CreateCompilation
(text);
5470
var compilation =
CreateCompilation
(text);
5486
var compilation =
CreateCompilation
(text);
5519
var compilation =
CreateCompilation
(text);
5556
var compilation =
CreateCompilation
(text);
5588
var compilation =
CreateCompilation
(text);
5622
var compilation =
CreateCompilation
(text);
5644
var compilation =
CreateCompilation
(text);
5679
var compilation =
CreateCompilation
(text);
5723
var compilation =
CreateCompilation
(text);
5762
var compilation =
CreateCompilation
(text);
5806
var compilation =
CreateCompilation
(text);
5829
var compilation =
CreateCompilation
(text);
5842
var compilation =
CreateCompilation
(text);
5864
var compilation =
CreateCompilation
(text);
5884
var compilation =
CreateCompilation
(text);
5897
var compilation =
CreateCompilation
(text);
5914
var libComp =
CreateCompilation
(libSrc, options: TestOptions.UnsafeDebugDll);
5934
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, references: new[] { libComp.EmitToImageReference() });
5966
var comp =
CreateCompilation
(src);
5993
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
6036
var comp =
CreateCompilation
(libSrc);
6057
var comp =
CreateCompilation
(libSrc);
6078
var comp =
CreateCompilation
(libSrc);
6097
var comp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net70);
6119
var comp =
CreateCompilation
(libSrc);
6144
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6170
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6194
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6218
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6248
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6264
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6300
var comp =
CreateCompilation
(tree);
6345
var metadata =
CreateCompilation
(externalCode).EmitToImageReference();
6367
var compilation =
CreateCompilation
(tree, new[] { metadata }, TestOptions.UnsafeReleaseDll);
6414
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6432
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6474
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
6640
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6791
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6825
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6870
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6927
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6947
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6967
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
6986
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7007
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7029
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7052
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7073
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7096
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7120
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7147
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7169
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7187
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7210
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7253
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7290
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7319
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7357
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7395
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7436
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7451
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7470
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7488
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7507
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7531
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7568
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7585
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
7600
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7618
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7636
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7655
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7673
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7692
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7795
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7841
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7908
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
7967
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7985
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8005
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8025
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8044
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8062
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8071
CreateCompilation
(@"
8092
CreateCompilation
(@"
8113
CreateCompilation
(@"
8154
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8221
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8279
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8339
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8375
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8416
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8469
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8519
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8557
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8667
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8744
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8785
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8817
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
8851
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8905
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
8943
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8987
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9056
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9130
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9151
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9167
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9191
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9211
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9249
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9274
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9317
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
9374
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
9418
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9513
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9533
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9555
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9581
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9603
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9653
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9687
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9726
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9766
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9801
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9855
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9900
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9936
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9956
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9986
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10008
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10061
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
10091
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10121
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10143
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10173
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10214
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10286
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
10353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10455
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
10456
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
10457
CreateCompilation
(text).VerifyDiagnostics(expectedDiagnostics);
10478
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10509
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10560
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10622
var compilation =
CreateCompilation
(text);
10684
var compilation =
CreateCompilation
(text);
10744
var compilation =
CreateCompilation
(text);
10828
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
10829
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
10830
CreateCompilation
(text).VerifyDiagnostics(expectedDiagnostics);
10845
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
10927
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11024
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11057
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11080
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11113
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11241
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
11301
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11368
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
11381
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11407
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11408
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11420
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11421
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11455
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11457
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedWithUnsafe);
11459
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11461
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedWithUnsafe);
11463
CreateCompilation
(text).VerifyDiagnostics(expected);
11465
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedWithUnsafe);
11511
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11512
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11539
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11540
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11568
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11587
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11604
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11623
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11674
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11675
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expected);
11696
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11697
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
11721
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11734
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
11745
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11758
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
11785
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
11803
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
11825
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
11851
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11873
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
11900
var comp =
CreateCompilation
(tree, options: TestOptions.UnsafeReleaseDll);
11919
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
11936
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11959
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12041
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12057
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
12080
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
12342
var s =
CreateCompilation
(text).GlobalNamespace.GetMember<TypeSymbol>("S");
12561
CreateCompilation
(@"
12580
CreateCompilation
(@"
12614
CreateCompilation
(@"
12642
CreateCompilation
(@"
12665
CreateCompilation
(@"
12712
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12726
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
12746
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
12762
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12781
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12800
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12816
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12832
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
12851
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
12877
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12900
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12920
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12938
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12962
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12983
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
12998
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13011
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13024
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13046
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13065
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13083
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13098
var comp =
CreateCompilation
(csharp, options: TestOptions.DebugDll);
13117
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13136
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13157
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13183
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13203
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13228
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13247
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13265
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13274
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13300
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13309
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13329
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13332
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13348
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13351
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13381
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13384
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13403
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13406
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13423
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13432
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13444
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13456
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular12);
13485
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13488
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13500
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13503
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13520
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13526
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13542
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13545
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13562
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13565
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13571
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13577
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13593
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13599
comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularPreview);
13627
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13660
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13718
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13721
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13745
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13787
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13863
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13866
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13888
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.Regular11);
13900
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13906
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13909
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
13932
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11);
13939
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
13942
comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview);
Semantics\UserDefinedConversionTests.cs (33)
256
var comp =
CreateCompilation
(source1 + source2);
259
comp =
CreateCompilation
(source1 + source3);
319
var comp =
CreateCompilation
(implicitConversions + implicitConversionBadSuccess);
340
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadSuccess);
357
comp =
CreateCompilation
(implicitConversions + implicitConversionsBadFailures);
381
comp =
CreateCompilation
(explicitConversions + explicitConversionsBadFailures);
435
var comp =
CreateCompilation
(source1);
459
comp =
CreateCompilation
(source2);
485
var comp =
CreateCompilation
(source);
669
var comp =
CreateCompilation
(source1 + source3);
672
comp =
CreateCompilation
(source2 + source3);
682
comp =
CreateCompilation
(source1 + source4);
694
comp =
CreateCompilation
(source2 + source4);
1151
var comp =
CreateCompilation
(source1 + source2 + source3 + source4 + source5, options: TestOptions.UnsafeReleaseDll);
1186
var comp =
CreateCompilation
(source);
1249
var comp =
CreateCompilation
(source2);
1411
var comp =
CreateCompilation
(source);
1470
var comp =
CreateCompilation
(source1);
1548
CreateCompilation
(source).VerifyDiagnostics();
1621
var comp =
CreateCompilation
(source);
1643
var comp =
CreateCompilation
(source);
1865
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
1910
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
1951
var comp =
CreateCompilation
(source);
1993
var comp =
CreateCompilation
(source);
2035
var comp =
CreateCompilation
(source);
2055
var comp =
CreateCompilation
(source);
2097
var comp =
CreateCompilation
(source);
2117
var comp =
CreateCompilation
(source);
2159
var comp =
CreateCompilation
(source);
2180
var comp =
CreateCompilation
(source);
2224
var comp =
CreateCompilation
(source);
2278
var comp =
CreateCompilation
(source);
Semantics\UseSiteErrorTests.cs (66)
936
CreateCompilation
(text, new MetadataReference[] { delegatesWithoutInvokeReference }).VerifyDiagnostics(
997
CreateCompilation
(text, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference }).VerifyDiagnostics(
1075
var xRef =
CreateCompilation
(xSource, assemblyName: "Test").EmitToImageReference();
1088
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Test");
1093
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1107
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1120
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1125
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1136
var xRef =
CreateCompilation
(xSource, assemblyName: "X").EmitToImageReference();
1149
var lib =
CreateCompilation
(libSource, new[] { xRef }, assemblyName: "Lib");
1154
var main =
CreateCompilation
(mainSource, new[] { new CSharpCompilationReference(lib) }, assemblyName: "Main");
1174
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1188
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1202
var main =
CreateCompilation
(mainSource, new[] { ilRef, unavailableRef });
1248
var baseLib =
CreateCompilation
(baseSource, assemblyName: "BaseAssembly");
1251
var derivedLib =
CreateCompilation
(derivedSource, assemblyName: "DerivedAssembly", references: new[] { new CSharpCompilationReference(baseLib) });
1267
CreateCompilation
(programSource, references: new[] { new CSharpCompilationReference(derivedLib) }).VerifyDiagnostics(
1661
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1662
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1663
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1732
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1733
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1734
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1737
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1787
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1788
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1789
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1791
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1844
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1845
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1846
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1848
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1901
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1902
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1903
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1905
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
1948
var missingRef =
CreateCompilation
(missingSource, assemblyName: "Missing").EmitToImageReference();
1949
var libRef =
CreateCompilation
(libSource, new[] { missingRef }).EmitToImageReference();
1950
CreateCompilation
(testSource, new[] { libRef, missingRef }).VerifyDiagnostics();
1953
CreateCompilation
(testSource, new[] { libRef /* and not missingRef */ }).VerifyDiagnostics(
2189
CSharpCompilation comp1 =
CreateCompilation
(source1, assemblyName: "Base");
2195
CSharpCompilation comp2 =
CreateCompilation
(source2, new MetadataReference[] { new CSharpCompilationReference(comp1) });
2213
CSharpCompilation comp3 =
CreateCompilation
(source3, new MetadataReference[] { new CSharpCompilationReference(comp2) });
2233
comp3 =
CreateCompilation
(source3, new MetadataReference[] { comp2.EmitToImageReference() });
2284
var successfulCompilation =
CreateCompilation
(source, new MetadataReference[] { unavailableAssemblyReference, csharpAssemblyReference, ilAssemblyReference });
2287
var failingCompilation =
CreateCompilation
(source, new MetadataReference[] { csharpAssemblyReference, ilAssemblyReference });
2458
private static readonly MetadataReference UnmanagedUseSiteError_Ref1 =
CreateCompilation
(@"
2464
private static readonly MetadataReference UnmanagedUseSiteError_Ref2 =
CreateCompilation
(@"
2484
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2494
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2511
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2520
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2536
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2545
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2563
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2590
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2610
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2632
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2652
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2667
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2692
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2707
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2729
var comp =
CreateCompilation
(source, references: new[] { UnmanagedUseSiteError_Ref2 });
2738
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
2752
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref2 });
2769
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: new[] { UnmanagedUseSiteError_Ref1, UnmanagedUseSiteError_Ref2 });
Semantics\UsingDeclarationTests.cs (27)
32
CreateCompilation
(source).VerifyDiagnostics();
52
CreateCompilation
(source).VerifyDiagnostics(
81
CreateCompilation
(source).VerifyDiagnostics(
109
CreateCompilation
(source).VerifyDiagnostics(
139
CreateCompilation
(source).VerifyDiagnostics(
168
CreateCompilation
(source).VerifyDiagnostics(
193
CreateCompilation
(source).VerifyDiagnostics(
261
CreateCompilation
(source).VerifyDiagnostics(
295
CreateCompilation
(source).VerifyDiagnostics();
315
CreateCompilation
(source).VerifyDiagnostics();
335
CreateCompilation
(source).VerifyDiagnostics(
359
CreateCompilation
(source).VerifyDiagnostics();
385
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
409
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
435
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
453
CreateCompilation
(source).VerifyDiagnostics(
479
CreateCompilation
(source).VerifyDiagnostics(
499
CreateCompilation
(source).VerifyDiagnostics(
520
CreateCompilation
(source).VerifyDiagnostics();
541
CreateCompilation
(source).VerifyDiagnostics();
563
CreateCompilation
(source).VerifyDiagnostics();
588
CreateCompilation
(source).VerifyDiagnostics(
785
CreateCompilation
(source).VerifyDiagnostics(
849
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected);
851
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
929
CreateCompilation
(source).VerifyDiagnostics(
956
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Semantics\UsingStatementTests.cs (53)
54
var compilation =
CreateCompilation
(source);
94
CreateCompilation
(source).VerifyDiagnostics(
117
CreateCompilation
(source).VerifyDiagnostics();
138
CreateCompilation
(source).VerifyDiagnostics(
164
CreateCompilation
(source).VerifyDiagnostics(
195
CreateCompilation
(source).VerifyDiagnostics(
230
CreateCompilation
(source).VerifyDiagnostics();
254
CreateCompilation
(source).VerifyDiagnostics(
295
CreateCompilation
(source).VerifyDiagnostics();
322
CreateCompilation
(source).VerifyDiagnostics(
357
CreateCompilation
(source).VerifyDiagnostics(
385
CreateCompilation
(source).VerifyDiagnostics(
422
CreateCompilation
(source).VerifyDiagnostics(
547
CreateCompilation
(source).VerifyDiagnostics(
606
CreateCompilation
(source).VerifyDiagnostics(
653
CreateCompilation
(source).VerifyDiagnostics(
684
CreateCompilation
(source).VerifyDiagnostics(
720
CreateCompilation
(source).VerifyDiagnostics(
750
CreateCompilation
(source).VerifyDiagnostics(
781
CreateCompilation
(source).VerifyDiagnostics(
813
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
843
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
870
CreateCompilation
(source).VerifyDiagnostics();
893
CreateCompilation
(source).VerifyDiagnostics();
916
CreateCompilation
(source).VerifyDiagnostics(
946
CreateCompilation
(source).VerifyDiagnostics(
976
CreateCompilation
(source).VerifyDiagnostics();
998
CreateCompilation
(source).VerifyDiagnostics(
1023
CreateCompilation
(source).VerifyDiagnostics(
1049
CreateCompilation
(source).VerifyDiagnostics(
1163
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1169
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1192
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1198
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1220
CreateCompilation
(source).VerifyDiagnostics(
1240
CreateCompilation
(source).VerifyDiagnostics();
1258
CreateCompilation
(source).VerifyDiagnostics();
1276
CreateCompilation
(source).VerifyDiagnostics(
1304
var compilation =
CreateCompilation
(source);
1335
var compilation =
CreateCompilation
(source);
1368
var compilation =
CreateCompilation
(source);
1416
CreateCompilation
(source).VerifyDiagnostics(
1450
CreateCompilation
(source).VerifyDiagnostics(
1479
var compilation =
CreateCompilation
(source);
1499
var compilation =
CreateCompilation
(source);
1521
var compilation =
CreateCompilation
(source);
1549
var compilation =
CreateCompilation
(source);
1578
var compilation =
CreateCompilation
(source);
1699
CreateCompilation
(source).VerifyDiagnostics(
1718
CreateCompilation
(source).VerifyDiagnostics(
1753
CreateCompilation
(source).VerifyDiagnostics();
1822
CreateCompilation
(source).VerifyDiagnostics(
1848
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"));
Semantics\Utf8StringsLiteralsTests.cs (129)
54
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
83
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
111
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
142
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
175
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
199
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
226
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
255
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
283
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
314
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
338
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
362
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
384
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
416
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
453
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
461
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
487
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
518
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
561
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
673
var comp =
CreateCompilation
(source);
707
var comp =
CreateCompilation
(source);
740
var comp =
CreateCompilation
(source);
774
var comp =
CreateCompilation
(source);
821
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
873
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
924
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
981
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1037
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1095
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1151
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1205
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1257
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1308
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1366
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1396
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1420
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1453
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1475
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1515
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1536
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1540
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1575
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1602
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1605
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1623
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1649
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1666
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1672
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1702
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1719
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1725
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1755
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1772
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1778
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1817
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1834
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
1840
comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
1877
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
1943
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
1972
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2002
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2037
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2074
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2102
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2122
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2143
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2169
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2198
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2235
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2276
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2325
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2362
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2399
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2433
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2457
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2461
comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10);
2482
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2513
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
2540
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2573
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2606
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2639
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2687
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2732
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2780
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2810
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2852
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2890
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2942
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2967
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
2995
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3023
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3051
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3079
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3107
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3135
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3163
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3191
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3219
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3247
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3303
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3332
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3384
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
3446
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3494
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3536
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3585
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3634
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3684
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3731
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3772
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3794
var comp =
CreateCompilation
(new[] { source + HelpersSource, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugDll);
3827
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3853
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
3899
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3989
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4032
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4061
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4132
var comp =
CreateCompilation
(source + HelpersSource, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4155
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4186
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4225
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4250
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4275
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
4300
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
Semantics\ValueTupleTests.cs (10)
87
var comp =
CreateCompilation
(source);
268
var comp =
CreateCompilation
(source, assemblyName: "comp");
297
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
333
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
363
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
659
var comp =
CreateCompilation
(source);
699
var comp =
CreateCompilation
(source);
740
var comp =
CreateCompilation
(source);
782
var comp =
CreateCompilation
(source);
822
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\GeneratorDriverFuzzTests.cs (2)
269
var comp =
CreateCompilation
(source);
506
var comp =
CreateCompilation
(source);
SourceGeneration\GeneratorDriverTests.cs (116)
35
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
55
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
77
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
98
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
127
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
158
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
217
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
249
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
274
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
297
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
318
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
341
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
371
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
402
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
428
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
454
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
483
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
522
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
582
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
612
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
657
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
704
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
739
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
776
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
798
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
823
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
851
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
882
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
908
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
935
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
963
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
995
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1024
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1059
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1086
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1131
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1158
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1257
Compilation compilation =
CreateCompilation
(source, sourceFileName: "sourcefile.cs", options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1348
var compilation =
CreateCompilation
(source, parseOptions: parseOptions);
1385
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1420
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1442
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1467
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1493
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1535
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1583
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1612
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1645
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1666
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1728
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1772
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1991
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2027
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2183
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2242
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2289
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2351
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExeThrowing, parseOptions: parseOptions);
2432
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2504
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2547
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2588
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2616
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2679
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2709
Compilation newCompilation =
CreateCompilation
(newSource, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2745
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2829
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3016
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3211
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3277
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3323
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3411
Compilation compilation =
CreateCompilation
(builder.ToString(), options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3437
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3470
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3516
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3544
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3575
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3623
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
3667
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3698
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3713
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3729
compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3742
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3774
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3808
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3837
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
3868
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3900
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3933
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3962
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions, sourceFileName: "/original");
3992
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
4024
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
4057
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
4103
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing);
4138
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
4208
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
4302
Compilation compilation =
CreateCompilation
([source1], options: TestOptions.DebugExe, parseOptions: parseOptions);
4430
generatorDriver.RunGenerators(
CreateCompilation
("class C { }"));
4441
var compilation =
CreateCompilation
("class Compilation1{}");
4452
compilation =
CreateCompilation
("class Compilation2{}");
4462
compilation =
CreateCompilation
("class Compilation3{}");
4471
compilation =
CreateCompilation
("class Compilation4{}");
4487
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4494
compilation =
CreateCompilation
("class Compilation2{}", parseOptions: parseOptions);
4510
var compilation =
CreateCompilation
("class Compilation1{}");
4538
var compilation =
CreateCompilation
("class Compilation1{}");
4572
var compilation =
CreateCompilation
("class C{}");
4595
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4616
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4625
compilation =
CreateCompilation
("class Compilation2{}", parseOptions: newParseOptions);
4652
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4669
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4687
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4707
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4725
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4743
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
4760
var compilation =
CreateCompilation
("class Compilation1{}", parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (53)
68
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
110
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
147
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
177
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
207
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
236
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
263
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
291
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
320
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
356
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
395
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
424
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
457
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
490
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
522
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
554
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
585
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
616
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
649
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
680
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
709
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
743
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
772
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
809
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
846
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
883
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
920
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
957
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
993
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1020
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1057
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1095
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1133
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1171
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1209
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1240
var comp0 =
CreateCompilation
(source0).VerifyDiagnostics().EmitToImageReference();
1263
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, new[] { comp0 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1330
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1376
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1410
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1443
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1491
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1533
Compilation compilation =
CreateCompilation
([source1, source2], options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1566
Compilation compilation =
CreateCompilation
([source1, source2], options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1616
Compilation compilation =
CreateCompilation
([source1, source2], options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1650
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1697
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1744
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1787
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1835
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1890
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1947
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
2001
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
39
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
71
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
97
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
122
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
147
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
175
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
207
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
239
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
273
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
306
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
332
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
358
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
384
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
417
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
445
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
473
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
500
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
531
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
564
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
596
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
628
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
656
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
684
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
712
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
741
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
768
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
795
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
826
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
858
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
887
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
915
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
943
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
972
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1002
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1042
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1090
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1143
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1194
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1249
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1302
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1360
Compilation compilation =
CreateCompilation
(new[] { source0, source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1408
Compilation compilation =
CreateCompilation
(new[] { source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1453
Compilation compilation =
CreateCompilation
(new[] { source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1504
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1555
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
1616
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDllThrowing, parseOptions: parseOptions);
SourceGeneration\SyntaxAwareGeneratorTests.cs (42)
33
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
59
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
84
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
110
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
135
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
162
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
234
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
273
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
314
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
370
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
412
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
454
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
496
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
550
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
580
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
618
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
672
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
729
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
772
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
817
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
852
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
892
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
934
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1011
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1086
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1167
Compilation compilation =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1217
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1300
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1377
Compilation compilation =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.DebugDll, parseOptions: parseOptions);
1510
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1565
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1614
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1675
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1734
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1787
Compilation compilation =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: parseOptions);
1850
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1891
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1932
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
1981
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2007
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2045
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: parseOptions);
2079
Compilation compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5764)
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)
72
var comp =
CreateCompilation
(tree, options: options);
78
comp =
CreateCompilation
(tree, options: options);
91
var comp =
CreateCompilation
(tree);
101
comp =
CreateCompilation
(tree, options: options);
119
var comp =
CreateCompilation
(tree);
126
comp =
CreateCompilation
(tree, options: options);
140
var comp =
CreateCompilation
(tree, options: options);
150
var comp2 =
CreateCompilation
(tree, options: options);
173
var comp =
CreateCompilation
(new[] { tree, newTree }, options: options);
197
CreateCompilation
(tree, options: options).VerifyDiagnostics(
210
CreateCompilation
(tree, options: options).VerifyDiagnostics(
224
CreateCompilation
(source).VerifyDiagnostics(
229
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(0)).VerifyDiagnostics(
253
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("")).VerifyDiagnostics(
262
CreateCompilation
("", options: TestOptions.ReleaseDll.WithPublicSign(true).WithCryptoKeyFile("\"\"")).VerifyDiagnostics(
395
var c =
CreateCompilation
("class C {}");
979
var netModule1 =
CreateCompilation
(
985
var netModule2 =
CreateCompilation
(
999
var assembly =
CreateCompilation
(
1014
assembly =
CreateCompilation
(
1035
var netModule1 =
CreateCompilation
(
1041
var netModule2 =
CreateCompilation
(
1055
var netModule3 =
CreateCompilation
(
1069
var assembly =
CreateCompilation
(
1090
var netModule1 =
CreateCompilation
(
1105
var assembly =
CreateCompilation
(
1124
var netModule1 =
CreateCompilation
(
1130
var netModule2 =
CreateCompilation
(
1144
var assembly =
CreateCompilation
(
1635
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1656
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1672
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
1868
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("B"));
1936
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
1950
var compilation =
CreateCompilation
(source: new string[] { source1, source2 });
2200
var md1 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class C { }").EmitToArray());
2201
var md2 = AssemblyMetadata.CreateFromImage(
CreateCompilation
("public class D { }").EmitToArray());
2365
var comp =
CreateCompilation
("");
2740
var compilation =
CreateCompilation
("");
2757
var compilation =
CreateCompilation
("");
2768
var compilation =
CreateCompilation
("");
2777
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2787
var compilation =
CreateCompilation
("");
2815
var compilation =
CreateCompilation
("");
2828
var compilation =
CreateCompilation
(@"
2860
var compilation =
CreateCompilation
(@"
2895
var compilation =
CreateCompilation
(@"
2936
var compilation =
CreateCompilation
("");
2948
var compilation =
CreateCompilation
("");
2958
var compilation =
CreateCompilation
("");
2967
var compilation =
CreateCompilation
("", references: Array.Empty<MetadataReference>(), targetFramework: TargetFramework.Empty);
2977
var compilation =
CreateCompilation
("");
3013
var compilation =
CreateCompilation
("");
3029
var comp = (Compilation)
CreateCompilation
(source);
3064
var comp = (Compilation)
CreateCompilation
(source);
3093
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3102
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3112
var module =
CreateCompilation
(string.Empty);
3121
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3133
var module =
CreateCompilation
(string.Empty, options: TestOptions.ReleaseDll.WithOutputKind(OutputKind.NetModule));
3142
var comp =
CreateCompilation
(string.Empty, references: new[] { moduleReference });
3403
var comp =
CreateCompilation
("");
3416
var referenceComp =
CreateCompilation
("");
3418
var comp =
CreateCompilation
(
3436
var referenceComp =
CreateCompilation
("");
3438
var comp =
CreateCompilation
(
3465
var referenceComp =
CreateCompilation
(source);
3470
var comp =
CreateCompilation
(source, new[] { reference });
3493
var referenceComp =
CreateCompilation
(source);
3498
var comp =
CreateCompilation
("", new[] { reference });
3519
var referenceComp1 =
CreateCompilation
(source);
3522
var referenceComp2 =
CreateCompilation
(source);
3527
var comp =
CreateCompilation
("", new[] { reference1, reference2 });
3557
var referenceComp1 =
CreateCompilation
(source);
3560
var referenceComp2 =
CreateCompilation
(source);
3565
var comp =
CreateCompilation
(source, new[] { reference1, reference2 });
Compilation\ForEachStatementInfoTests.cs (1)
20
var c = (Compilation)
CreateCompilation
(@"
Compilation\GetImportScopesTests.cs (2)
22
var comp =
CreateCompilation
(tree);
402
var comp =
CreateCompilation
(source);
Compilation\GetSemanticInfoBrokenCodeTests.cs (14)
29
var comp =
CreateCompilation
(tree);
48
var comp =
CreateCompilation
(tree);
71
var comp =
CreateCompilation
(tree);
94
var comp =
CreateCompilation
(tree);
107
var comp =
CreateCompilation
(tree);
132
var comp =
CreateCompilation
(tree);
159
var comp =
CreateCompilation
(tree);
176
var comp =
CreateCompilation
(tree);
196
var comp =
CreateCompilation
(source);
220
var comp =
CreateCompilation
(source);
241
var comp = (Compilation)
CreateCompilation
(source);
263
var comp =
CreateCompilation
(source);
296
var comp =
CreateCompilation
(source);
360
var comp =
CreateCompilation
(tree);
Compilation\GetSemanticInfoTests.cs (114)
40
var comp =
CreateCompilation
(tree);
70
var comp =
CreateCompilation
(tree);
99
var comp =
CreateCompilation
(tree);
133
var comp =
CreateCompilation
(tree);
162
var comp =
CreateCompilation
(tree);
188
var comp =
CreateCompilation
(tree);
239
var comp =
CreateCompilation
(tree);
292
var comp =
CreateCompilation
(tree);
371
var comp = (Compilation)
CreateCompilation
(tree);
413
var comp =
CreateCompilation
(tree);
440
var comp =
CreateCompilation
(tree);
474
var comp =
CreateCompilation
(tree);
527
var comp =
CreateCompilation
(tree);
594
var comp =
CreateCompilation
(tree);
627
var comp =
CreateCompilation
(tree);
963
var compilation =
CreateCompilation
(@"
987
var compilation =
CreateCompilation
(@"
1022
var comp = (Compilation)
CreateCompilation
(tree);
1043
var compilation =
CreateCompilation
(code);
1130
var comp =
CreateCompilation
(tree);
1161
var comp =
CreateCompilation
(tree);
1190
var comp =
CreateCompilation
(tree);
1214
var comp =
CreateCompilation
(tree);
1237
var comp =
CreateCompilation
(tree);
1263
var comp = (Compilation)
CreateCompilation
(tree);
1291
var comp = (Compilation)
CreateCompilation
(tree);
1319
var comp = (Compilation)
CreateCompilation
(tree);
1346
var comp = (Compilation)
CreateCompilation
(tree);
1373
var comp =
CreateCompilation
(tree);
1409
var comp =
CreateCompilation
(tree);
1447
var comp =
CreateCompilation
(tree);
1485
var comp =
CreateCompilation
(tree);
1521
var comp =
CreateCompilation
(tree);
1552
var comp =
CreateCompilation
(tree);
1574
var comp =
CreateCompilation
(tree);
1602
var comp = (Compilation)
CreateCompilation
(tree);
1627
var comp =
CreateCompilation
(tree);
1666
var comp =
CreateCompilation
(tree);
1698
var comp =
CreateCompilation
(tree);
1733
var comp =
CreateCompilation
(tree);
1768
var comp =
CreateCompilation
(tree);
1804
var comp =
CreateCompilation
(tree);
1840
var comp =
CreateCompilation
(tree);
1881
var comp =
CreateCompilation
(tree);
1910
var comp =
CreateCompilation
(tree);
2279
var comp =
CreateCompilation
(text);
2317
var comp =
CreateCompilation
(tree);
2353
var comp =
CreateCompilation
(tree);
2389
var comp =
CreateCompilation
(tree);
2448
var comp =
CreateCompilation
(tree);
2475
var comp =
CreateCompilation
(text);
2505
var comp =
CreateCompilation
(tree);
2534
var comp =
CreateCompilation
(tree);
2561
var compilation =
CreateCompilation
(source);
2717
var comp = (Compilation)
CreateCompilation
(tree);
2788
var comp = (Compilation)
CreateCompilation
(tree);
2834
var comp = (Compilation)
CreateCompilation
(tree);
2864
var comp =
CreateCompilation
(tree);
2957
var comp =
CreateCompilation
(tree);
3049
var comp =
CreateCompilation
(tree);
3091
var comp = (Compilation)
CreateCompilation
(tree);
3123
var comp =
CreateCompilation
(tree);
3165
var comp = (Compilation)
CreateCompilation
(tree);
3197
var comp =
CreateCompilation
(tree);
3240
var comp = (Compilation)
CreateCompilation
(tree);
3270
var comp =
CreateCompilation
(tree);
3324
var comp = (Compilation)
CreateCompilation
(tree);
3390
var comp = (Compilation)
CreateCompilation
(tree);
3458
var compilation =
CreateCompilation
(source);
3514
var compilation =
CreateCompilation
(source);
3547
var compilation =
CreateCompilation
(source);
3575
var compilation =
CreateCompilation
(source);
3602
var compilation =
CreateCompilation
(source);
3627
var compilation =
CreateCompilation
(source);
3660
var compilation =
CreateCompilation
(source);
3696
var compilation =
CreateCompilation
(source);
3753
var compilation =
CreateCompilation
(text);
3781
var compilation = (Compilation)
CreateCompilation
(text);
3814
var compilation =
CreateCompilation
(text);
3842
var compilation = (Compilation)
CreateCompilation
(text);
3868
var compilation =
CreateCompilation
(text);
3908
var compilation = (Compilation)
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
3948
var compilation =
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
3994
var compilation =
CreateCompilation
(source2, new[] { reference1 }, assemblyName: "SpeculativelyBindPropertyGroup");
4207
var compilation =
CreateCompilation
(text);
4237
var compilation =
CreateCompilation
(text);
4267
var compilation =
CreateCompilation
(text);
4288
var compilation =
CreateCompilation
(text);
4318
var compilation =
CreateCompilation
(text);
4346
var compilation =
CreateCompilation
(text);
4372
var compilation =
CreateCompilation
(text);
4396
var compilation =
CreateCompilation
(text);
4426
var compilation = (Compilation)
CreateCompilation
(text);
4480
var compilation = (Compilation)
CreateCompilation
(text);
4526
var compilation = (Compilation)
CreateCompilation
(text);
4580
var compilation =
CreateCompilation
(text);
4634
var compilation =
CreateCompilation
(text);
4670
var comp = (Compilation)
CreateCompilation
(source);
4715
var comp = (Compilation)
CreateCompilation
(source);
4748
var comp =
CreateCompilation
(source);
4781
var comp =
CreateCompilation
(source);
4824
var comp =
CreateCompilation
(source);
5398
var compilation = (Compilation)
CreateCompilation
(text);
5780
var comp =
CreateCompilation
(new[] { tree1, tree2 });
5819
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5863
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5892
var comp =
CreateCompilation
(source);
5910
var comp =
CreateCompilation
(source);
5923
var comp =
CreateCompilation
(source);
5946
var comp = (Compilation)
CreateCompilation
(source);
5983
var comp =
CreateCompilation
(source);
6007
var compilation =
CreateCompilation
(text);
6033
var comp =
CreateCompilation
(source);
6042
comp =
CreateCompilation
(source);
Compilation\GetUnusedImportDirectivesTests.cs (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 (116)
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
(@"
3120
var comp =
CreateCompilation
(code);
3154
var comp =
CreateCompilation
(source);
3182
var comp =
CreateCompilation
(source);
3217
var comp =
CreateCompilation
(source);
3550
var compilation =
CreateCompilation
(source);
3571
var compilation =
CreateCompilation
(source);
3609
var comp =
CreateCompilation
(source);
3640
var compilation =
CreateCompilation
(tree);
3767
var comp = (Compilation)
CreateCompilation
(source);
3796
var comp =
CreateCompilation
(@"
3872
var libRef =
CreateCompilation
("", assemblyName: "lib").EmitToImageReference(aliases: ImmutableArray.Create("Alias"));
3873
var comp =
CreateCompilation
(source, new[] { libRef });
3901
var comp =
CreateCompilation
(source);
3932
var comp = (Compilation)
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4134
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4171
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4214
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4238
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4266
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4304
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4356
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4396
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_2);
4452
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
4482
var comp =
CreateCompilation
(source);
4501
var comp =
CreateCompilation
(source, options: options, parseOptions: TestOptions.Regular9);
4556
var comp =
CreateCompilation
(source, options: options, parseOptions: TestOptions.Regular9);
4632
var alias1 = getGlobalAlias(
CreateCompilation
(text));
4633
var alias2 = getGlobalAlias(
CreateCompilation
(text));
4654
var compilation =
CreateCompilation
(text);
4672
var compilation =
CreateCompilation
(text);
4690
var compilation =
CreateCompilation
(text);
4705
var compilation =
CreateCompilation
(text);
4721
var compilation =
CreateCompilation
(text);
4736
var compilation =
CreateCompilation
(text);
4755
var compilation =
CreateCompilation
(text);
4771
var compilation =
CreateCompilation
(text);
4786
var compilation =
CreateCompilation
(text);
4801
var compilation =
CreateCompilation
(tree);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (159)
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);
4764
var compilation =
CreateCompilation
(source);
4795
var compilation =
CreateCompilation
(source);
4818
var compilation =
CreateCompilation
(source);
4841
var compilation =
CreateCompilation
(source);
4864
var compilation =
CreateCompilation
(source);
4887
var compilation =
CreateCompilation
(source);
4910
var compilation =
CreateCompilation
(source);
4933
var compilation =
CreateCompilation
(source);
4956
var compilation =
CreateCompilation
(source);
5029
var compilation =
CreateCompilation
(source);
5086
var compilation =
CreateCompilation
(source);
5109
var compilation =
CreateCompilation
(source);
5122
var compilation =
CreateCompilation
(@"private");
5160
var compilation =
CreateCompilation
(@"
5201
var comp =
CreateCompilation
(source);
5219
var comp =
CreateCompilation
(source);
5240
var comp =
CreateCompilation
(source);
5261
var comp =
CreateCompilation
(source);
5292
var comp =
CreateCompilation
(source);
5343
var comp =
CreateCompilation
(source);
5387
var comp =
CreateCompilation
(source);
5432
var comp =
CreateCompilation
(source);
5478
var comp =
CreateCompilation
(source);
5529
var comp =
CreateCompilation
(source);
5573
var comp =
CreateCompilation
(source);
5618
var comp =
CreateCompilation
(source);
Compilation\SemanticModelGetSemanticInfoTests.cs (37)
891
var compilation =
CreateCompilation
(source: sourceCode);
1106
var compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1140
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1170
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1200
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1226
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1253
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1281
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1308
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1349
compilation =
CreateCompilation
(source: sourceCode);
1387
compilation =
CreateCompilation
(source: sourceCode);
1446
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1464
compilation =
CreateCompilation
(source2, new[] { reference1 });
1476
compilation =
CreateCompilation
(source2, new[] { reference1 });
1491
compilation =
CreateCompilation
(source2, new[] { reference1 });
1512
compilation =
CreateCompilation
(source2, new[] { reference1 });
1585
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1600
compilation =
CreateCompilation
(source2, new[] { reference1 });
1615
compilation =
CreateCompilation
(source2, new[] { reference1 });
1656
var compilation =
CreateCompilation
("");
5533
var compilation =
CreateCompilation
(sourceCode);
8425
var compilation =
CreateCompilation
(sourceCode);
8449
var compilation =
CreateCompilation
(sourceCode);
8967
CreateCompilation
(sourceCode).VerifyDiagnostics(
9014
CreateCompilation
(sourceCode).VerifyDiagnostics(
12118
var comp =
CreateCompilation
(tree);
14477
var compilation =
CreateCompilation
(sourceCode);
14645
var comp =
CreateCompilation
(source);
14727
var compilation =
CreateCompilation
(new[] { sourceCode1, sourceCode2 });
14745
var compilation =
CreateCompilation
(
14828
var compilation =
CreateCompilation
(
14925
var pia =
CreateCompilation
(
14964
var compilation =
CreateCompilation
(
15046
var compilation =
CreateCompilation
(sourceCode);
15288
var comp =
CreateCompilation
(@"
15364
var compilation =
CreateCompilation
(sourceCode);
15426
var compilation =
CreateCompilation
(source);
Compilation\SymbolSearchTests.cs (2)
188
var compilation =
CreateCompilation
(new[] { source });
229
return
CreateCompilation
(source: new string[] { source });
Compilation\SymbolVisitorTests.cs (6)
528
var c =
CreateCompilation
(
579
var c =
CreateCompilation
(
630
var c =
CreateCompilation
(
682
var c =
CreateCompilation
(
726
var c =
CreateCompilation
(
770
var c =
CreateCompilation
(
Compilation\TypeInfoTests.cs (1)
19
var c =
CreateCompilation
("");
Compilation\UsedAssembliesTests.cs (163)
40
var comp2 =
CreateCompilation
(source);
258
Compilation comp =
CreateCompilation
(source, parseOptions: parseOptions, references: references, options: options);
270
Compilation comp =
CreateCompilation
(source, references: references);
454
var comp1 =
CreateCompilation
(source1);
504
var comp0 =
CreateCompilation
(source0);
518
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
574
var comp0 =
CreateCompilation
(source0);
589
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref }, options: TestOptions.DebugModule);
636
comp2 =
CreateCompilation
(source2, references: new[] { comp1Ref });
683
var comp1 =
CreateCompilation
(source1);
746
var comp0 =
CreateCompilation
(source0);
764
var comp1 =
CreateCompilation
(source1);
946
var comp0 =
CreateCompilation
(source0);
964
var comp1 =
CreateCompilation
(source1);
1097
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
1102
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
1105
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
1117
var comp0 =
CreateCompilation
(source0);
1130
var comp1 =
CreateCompilation
(source1);
1277
var comp0 =
CreateCompilation
(source0);
1290
var comp1 =
CreateCompilation
(source1);
1364
var comp1 =
CreateCompilation
(source1);
1396
var comp0 =
CreateCompilation
(source0);
1413
var comp1 =
CreateCompilation
(source1);
1468
var comp0 =
CreateCompilation
(source0);
1478
var comp1 =
CreateCompilation
(source1);
1506
var comp0 =
CreateCompilation
(source0);
1516
var comp1 =
CreateCompilation
(source1);
1547
var comp0 =
CreateCompilation
(source0, assemblyName: "MethodReference_05_0");
1559
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1569
var comp2 =
CreateCompilation
(source2);
1625
var comp5 =
CreateCompilation
(source5);
1630
var comp6 =
CreateCompilation
(source1, references: new[] { comp5Ref });
1634
var comp7 =
CreateCompilation
(source5);
1683
var comp0 =
CreateCompilation
(source0);
1693
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1704
var comp2 =
CreateCompilation
(source2, references: new[] { comp1Ref });
1736
var comp0 =
CreateCompilation
(source0, assemblyName: "MethodReference_07_0");
1746
var comp1 =
CreateCompilation
(source1);
1756
var comp2 =
CreateCompilation
(source2, references: new[] { comp0Ref, comp1Ref });
1789
var comp0 =
CreateCompilation
(source0);
1800
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1872
var comp0 =
CreateCompilation
(source0);
1883
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
1938
var comp5 =
CreateCompilation
(source5);
1943
var comp6 =
CreateCompilation
(source1, references: new[] { comp5Ref });
1947
var comp7 =
CreateCompilation
(source5);
1968
var comp1 =
CreateCompilation
(source1);
2022
var comp0 =
CreateCompilation
(source0);
2032
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
2062
var comp0 =
CreateCompilation
(source0);
2073
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
2105
var comp1 =
CreateCompilation
(source1);
2166
var comp1 =
CreateCompilation
(source1);
2317
Compilation comp =
CreateCompilation
(source, references: new[] { reference });
2339
AssertUsedAssemblyReferences(
CreateCompilation
(Parse(source, options: TestOptions.Script), references: new[] { reference }, options: TestOptions.DebugDll.WithUsings(@using)),
2359
var comp1 =
CreateCompilation
(source1);
2425
var comp0 =
CreateCompilation
(source0);
2460
var comp3 =
CreateCompilation
(source0);
2493
var comp0 =
CreateCompilation
(source0);
2511
var comp3 =
CreateCompilation
(source0);
2581
var comp0 =
CreateCompilation
(source0);
2599
var comp3 =
CreateCompilation
(source0);
2669
var comp0 =
CreateCompilation
(source0);
2687
var comp3 =
CreateCompilation
(source0);
2753
var comp0 =
CreateCompilation
(source0);
2772
var comp3 =
CreateCompilation
(source0);
2842
var comp0 =
CreateCompilation
(source0);
2860
var comp3 =
CreateCompilation
(source0);
2930
var comp0 =
CreateCompilation
(source0);
2948
var comp3 =
CreateCompilation
(source0);
2994
var comp0 =
CreateCompilation
(source0);
3039
var comp3 =
CreateCompilation
(source0);
3303
var comp0 =
CreateCompilation
(source0);
3349
var comp3 =
CreateCompilation
(source0);
3537
var comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
3556
var comp0 =
CreateCompilation
(source0);
3572
var comp1 =
CreateCompilation
(source1);
3692
Compilation comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, references: references);
3704
var comp0 =
CreateCompilation
(source0);
3720
var comp1 =
CreateCompilation
(source1);
3834
Compilation comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, references: references, options: TestOptions.UnsafeDebugDll);
3852
var comp0 =
CreateCompilation
(source0);
3864
var comp1 =
CreateCompilation
(source1);
3928
var comp0 =
CreateCompilation
(source0);
3940
var comp1 =
CreateCompilation
(source1);
4011
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
4015
AssertUsedAssemblyReferences(
CreateCompilation
(source2, references: references,
4023
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4028
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4031
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4043
var comp0 =
CreateCompilation
(source0);
4055
var comp1 =
CreateCompilation
(source1);
4126
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4129
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4147
var comp0 =
CreateCompilation
(source0);
4156
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4189
var comp =
CreateCompilation
(@"
4207
comp =
CreateCompilation
(@"
4262
var comp0 =
CreateCompilation
(source0);
4274
var comp1 =
CreateCompilation
(source1);
4287
var comp2 =
CreateCompilation
(source2);
4345
var comp0 =
CreateCompilation
(source0);
4357
var comp1 =
CreateCompilation
(source1);
4370
var comp2 =
CreateCompilation
(source2);
4463
var comp0 =
CreateCompilation
(source0);
4475
var comp1 =
CreateCompilation
(source1);
4488
var comp2 =
CreateCompilation
(source2);
4549
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4551
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4578
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4580
AssertUsedAssemblyReferences(
CreateCompilation
(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4606
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4610
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4614
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4618
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4627
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4630
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4633
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4651
var comp0 =
CreateCompilation
(source0);
4663
var comp1 =
CreateCompilation
(source1);
4676
var comp2 =
CreateCompilation
(source2);
4769
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
4771
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
4797
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4801
AssertUsedAssemblyReferences(
CreateCompilation
(source5, references: references,
4809
Compilation comp2 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
4812
Compilation comp3 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
4815
Compilation comp4 =
CreateCompilation
(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Diagnose));
4834
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4851
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4872
CreateCompilation
(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4889
CreateCompilation
(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics(
4903
var comp0 =
CreateCompilation
(source0);
4919
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
4993
var comp0 =
CreateCompilation
(source0);
5009
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5053
var comp0 =
CreateCompilation
(source0);
5064
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5140
var comp0 =
CreateCompilation
(source0);
5151
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5195
var comp0 =
CreateCompilation
(source0);
5398
var comp0 =
CreateCompilation
(source0);
5409
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5631
var comp1 =
CreateCompilation
(source1);
5677
var comp0 =
CreateCompilation
(source0);
5687
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5715
var comp0 =
CreateCompilation
(source0);
5725
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5754
var comp0 =
CreateCompilation
(source0);
5765
var comp1 =
CreateCompilation
(source1, references: new[] { comp0Ref });
5789
CreateCompilation
(source2, references: new[] { comp0Ref, comp1RefWithAlias }).VerifyDiagnostics(
5805
var comp0 =
CreateCompilation
(source0);
5842
var comp0 =
CreateCompilation
(source0);
5877
var comp0 =
CreateCompilation
(source0);
5915
var comp1 =
CreateCompilation
(source1);
5927
var comp2 =
CreateCompilation
(source2);
5939
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5941
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
5960
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
5962
AssertUsedAssemblyReferences(
CreateCompilation
(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
6006
var comp1 =
CreateCompilation
(source1);
DeclarationTests.cs (14)
290
var compilation =
CreateCompilation
(new SyntaxTree[] { underlyingTree, countedTree }, skipUsesIsNullable: true, options: TestOptions.ReleaseDll);
337
var compilation =
CreateCompilation
(new SyntaxTree[] { underlyingTree, countedTree }, skipUsesIsNullable: true, options: TestOptions.ReleaseDll);
404
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
457
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
500
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
553
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
608
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
657
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
700
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
747
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
792
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
837
var compilation =
CreateCompilation
(new SyntaxTree[] { firstTree });
869
var compilation1 =
CreateCompilation
(new SyntaxTree[] { firstTree });
870
var compilation2 =
CreateCompilation
(new SyntaxTree[] { firstTree });
DocumentationComments\CrefTests.cs (25)
247
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments);
277
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments);
1865
var lib1Ref =
CreateCompilation
(lib1Source, assemblyName: "A").EmitToImageReference();
1866
var lib2Ref =
CreateCompilation
(lib2Source, assemblyName: "B").EmitToImageReference();
4421
CreateCompilation
(new[] { tree1, tree2 }).VerifyDiagnostics(
6664
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments).VerifyDiagnostics();
6695
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6703
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
6704
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics());
6739
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6760
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6761
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6802
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6803
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6804
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6832
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular11.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
6853
verify(
CreateCompilation
(source, parseOptions: TestOptions.Regular12.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6854
verify(
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(expectedDiagnostics));
6883
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6907
var compilation =
CreateCompilation
(source, parseOptions: parseOptions, options: options, targetFramework: TargetFramework.StandardAndCSharp);
6932
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
6957
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
6981
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
7002
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.NetCoreApp);
7021
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, targetFramework: TargetFramework.NetCoreApp);
DocumentationComments\DocumentationCommentCompilerTests.cs (87)
32
CreateCompilation
(
763
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
782
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
891
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
909
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
927
var comp =
CreateCompilation
(tree, assemblyName: "Test");
972
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
993
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1021
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1043
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1072
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1094
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1129
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1148
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1177
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1196
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1235
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1252
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1287
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1344
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1407
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1470
var compilation =
CreateCompilation
(source, assemblyName: "Test");
1513
var comp =
CreateCompilation
(tree, assemblyName: "Test");
1559
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1580
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1610
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1631
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1651
var comp =
CreateCompilation
(tree, assemblyName: "Test");
1697
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1719
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1749
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1771
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1807
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1826
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1856
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1875
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1915
var compA =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
1932
var compB =
CreateCompilation
(new[] { tree2, tree1 }, assemblyName: "Test");
1968
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2026
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2090
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2154
var compilation =
CreateCompilation
(source, assemblyName: "Test");
2193
var comp =
CreateCompilation
(source,
2236
var comp =
CreateCompilation
(source,
2305
var comp =
CreateCompilation
([source1, source2],
2311
comp =
CreateCompilation
([source2, source1],
2353
var comp =
CreateCompilation
([source1, source2],
2359
comp =
CreateCompilation
([source2, source1],
2401
var comp =
CreateCompilation
([source1, source2],
2407
comp =
CreateCompilation
([source2, source1],
2450
var comp =
CreateCompilation
([source1, source2],
2456
comp =
CreateCompilation
([source2, source1],
2498
var comp =
CreateCompilation
([source1, source2],
2504
comp =
CreateCompilation
([source2, source1],
2546
var comp =
CreateCompilation
([source1, source2],
2552
comp =
CreateCompilation
([source2, source1],
2597
var comp =
CreateCompilation
([source1, source2],
2603
comp =
CreateCompilation
([source2, source1],
2648
var comp =
CreateCompilation
([source1, source2],
2654
comp =
CreateCompilation
([source2, source1],
2693
var comp =
CreateCompilation
([source1, source2],
2699
comp =
CreateCompilation
([source2, source1],
2751
var comp =
CreateCompilation
([source1, source2],
2757
comp =
CreateCompilation
([source2, source1],
2804
var comp =
CreateCompilation
([source1, source2],
2810
comp =
CreateCompilation
([source2, source1],
2857
var comp =
CreateCompilation
([source1, source2],
2863
comp =
CreateCompilation
([source2, source1],
2913
var comp =
CreateCompilation
([source1, source2],
2919
comp =
CreateCompilation
([source2, source1],
2969
var comp =
CreateCompilation
([source1, source2],
2975
comp =
CreateCompilation
([source2, source1],
3020
var comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source1, source2],
3028
comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source2, source1],
3087
var comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source1, source2],
3095
comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source2, source1],
3154
var comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source1, source2],
3162
comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source2, source1],
3215
var comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source1, source2],
3223
comp = (CSharpCompilation)CompileAndVerify(
CreateCompilation
([source2, source1],
4220
var comp =
CreateCompilation
(new[] { tree1, tree2 });
4240
CreateCompilation
(source).VerifyDiagnostics();
5576
var compilation =
CreateCompilation
(tree);
6377
var comp =
CreateCompilation
(new[] { tree1, tree2 }, assemblyName: "Test");
6815
var comp =
CreateCompilation
(tree, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(warnDict), assemblyName: "Test");
8172
CreateCompilation
(tree, options: compOptions).VerifyDiagnostics(
8410
var comp =
CreateCompilation
(
DocumentationComments\DocumentationCommentIDTests.cs (23)
28
var comp =
CreateCompilation
(source);
46
var comp =
CreateCompilation
(source);
61
var comp =
CreateCompilation
(source);
76
var comp =
CreateCompilation
(source);
91
var comp =
CreateCompilation
(source);
107
var comp =
CreateCompilation
(source);
122
var comp =
CreateCompilation
(source);
141
var comp =
CreateCompilation
(source);
162
var comp =
CreateCompilation
(source);
182
var comp =
CreateCompilation
(source);
196
var comp =
CreateCompilation
(source);
210
var comp =
CreateCompilation
(source);
224
var comp =
CreateCompilation
(source);
238
var comp =
CreateCompilation
(source);
255
var comp =
CreateCompilation
(source);
270
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
286
var comp =
CreateCompilation
(source);
323
var comp =
CreateCompilation
(source);
349
var comp =
CreateCompilation
(source);
369
var comp =
CreateCompilation
(source);
395
var comp =
CreateCompilation
(source);
415
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions));
435
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableContextOptions));
DocumentationComments\DocumentationModeTests.cs (2)
354
var comp =
CreateCompilation
(trees.ToArray(), assemblyName: "Test");
383
var comp =
CreateCompilation
(
DocumentationComments\EventDocumentationCommentTests.cs (1)
24
_compilation =
CreateCompilation
(@"namespace Acme
DocumentationComments\MethodDocumentationCommentTests.cs (1)
200
var compilation =
CreateCompilation
(references: new[] { csharpAssemblyReference, ilAssemblyReference }, source:
DocumentationComments\ParameterTests.cs (2)
829
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp2)).VerifyDiagnostics(
834
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.Latest)).VerifyDiagnostics();
DocumentationComments\PartialTypeDocumentationCommentTests.cs (1)
49
_compilation =
CreateCompilation
(new[] { tree1, tree2 });
DocumentationComments\PropertyDocumentationCommentTests.cs (1)
24
_compilation =
CreateCompilation
(@"namespace Acme
DocumentationComments\TypeDocumentationCommentTests.cs (1)
139
var comp =
CreateCompilation
(text);
SymbolDisplay\SymbolDisplayTests.cs (58)
2296
var comp1 =
CreateCompilation
(text);
2297
var comp2 =
CreateCompilation
("", references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2369
var comp1 =
CreateCompilation
(text);
2370
var comp2 =
CreateCompilation
("", references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
3703
var comp =
CreateCompilation
(source);
3734
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
4846
var complib =
CreateCompilation
(src1, assemblyName: "Lib");
4848
var comp1 =
CreateCompilation
(src2, references: new MetadataReference[] { compref }, assemblyName: "Comp1");
4852
var comp2 =
CreateCompilation
("", references: new MetadataReference[] { mtref }, assemblyName: "Comp2");
4931
var compilation =
CreateCompilation
(text);
5056
var comp =
CreateCompilation
(source);
5230
var comp =
CreateCompilation
(source);
5424
var compilation =
CreateCompilation
(source);
5495
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
5732
var comp =
CreateCompilation
(text);
5953
var compA =
CreateCompilation
(sourceA);
5978
var compA =
CreateCompilation
(sourceA);
6174
var comp =
CreateCompilation
(text);
6208
var comp = (Compilation)
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
6280
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6349
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6435
var compilation = (Compilation)
CreateCompilation
(source);
6468
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6507
var comp = (Compilation)
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
6562
var compilation = (Compilation)
CreateCompilation
(source);
6606
var compilation = (Compilation)
CreateCompilation
(source);
6630
var comp = (Compilation)
CreateCompilation
(source);
6721
var comp =
CreateCompilation
(srcTree);
6764
var comp =
CreateCompilation
(srcTree);
6860
var comp =
CreateCompilation
(srcTree);
6954
var comp =
CreateCompilation
(srcTree);
6987
var comp =
CreateCompilation
(srcTree);
7032
var comp =
CreateCompilation
(srcTree);
7151
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7189
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7227
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7274
var comp =
CreateCompilation
(source).VerifyDiagnostics(
7359
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7619
var comp =
CreateCompilation
(source).VerifyDiagnostics();
7772
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithFileScopedNamespaces).VerifyDiagnostics();
8017
var compilation =
CreateCompilation
(source);
8115
var compilation =
CreateCompilation
(source);
8175
var compilation =
CreateCompilation
(source);
8207
var compilation =
CreateCompilation
(source);
8243
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9);
8511
var comp =
CreateCompilation
(source);
8562
var comp =
CreateCompilation
(source);
8632
var comp =
CreateCompilation
(source);
8657
var comp =
CreateCompilation
(source);
8725
var comp =
CreateCompilation
(source);
8760
var comp =
CreateCompilation
(source);
8809
var comp =
CreateCompilation
(source);
8893
var comp =
CreateCompilation
(source);
8919
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
8959
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
8986
var comp =
CreateCompilation
(source);
9042
var comp =
CreateCompilation
(source);
9136
var comp =
CreateCompilation
(source);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (20)
40
var compilation =
CreateCompilation
(text);
99
var compilation =
CreateCompilation
(text);
150
var compilation =
CreateCompilation
(text);
198
var comp1 =
CreateCompilation
(text1);
202
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
205
var compilation =
CreateCompilation
(text3, refs, assemblyName: "Test3");
255
CreateCompilation
(text).VerifyDiagnostics(
284
CreateCompilation
(text).VerifyDiagnostics(
413
var compilation =
CreateCompilation
(text);
466
var compilation =
CreateCompilation
(text);
506
var comp =
CreateCompilation
(source);
533
var comp =
CreateCompilation
(source);
560
var compilation =
CreateCompilation
(text);
630
var compilation =
CreateCompilation
(text);
686
var compilation =
CreateCompilation
(text);
826
var comp =
CreateCompilation
(text1, references: refs, assemblyName: "OHI_ExpImpPropGetSetMismatch001",
855
var comp0 =
CreateCompilation
(@"
861
var comp1 =
CreateCompilation
(@"
873
var comp2 =
CreateCompilation
(@"", references: new MetadataReference[] { mtref }, assemblyName: "META");
1003
var compilation = (Compilation)
CreateCompilation
(source);
Symbols\AnonymousTypesSemanticsTests.cs (5)
1536
var comp =
CreateCompilation
(source);
1899
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
1917
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1934
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1955
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
Symbols\AnonymousTypesSymbolTests.cs (3)
1638
var comp =
CreateCompilation
(tree);
1679
var comp =
CreateCompilation
(tree);
1845
var comp =
CreateCompilation
(source);
Symbols\AssemblyAndNamespaceTests.cs (6)
30
var comp =
CreateCompilation
(text, assemblyName: simpleName);
57
var comp =
CreateCompilation
(text, assemblyName: "Test");
161
var comp1 =
CreateCompilation
(text);
202
var comp1 =
CreateCompilation
(text1, assemblyName: "Compilation1");
203
var comp2 =
CreateCompilation
(text2, assemblyName: "Compilation2");
687
var comp =
CreateCompilation
(code);
Symbols\CheckedUserDefinedOperatorsTests.cs (123)
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);
247
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
330
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
366
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
391
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
423
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
452
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
497
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
920
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
951
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
994
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1030
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1276
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1279
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10);
1287
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
1321
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1356
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1387
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1443
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1506
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1569
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1596
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1630
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1648
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
1675
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2183
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
2239
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2454
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2510
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2513
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular10);
2521
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular11);
2557
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2597
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2630
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2662
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2681
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2740
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2774
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2797
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2820
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
2846
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: options);
3233
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3447
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3457
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
3467
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3468
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3846
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
3853
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
3860
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3861
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
3905
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
3956
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4060
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4222
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4232
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4242
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4243
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4683
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4693
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4703
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4704
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4753
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4804
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
4813
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
4822
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4823
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
4865
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
4916
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5026
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5135
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5229
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5241
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
5253
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5254
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5315
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5353
var compilation2 =
CreateCompilation
(source1 + source3, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5707
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
5714
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular11);
5721
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
5722
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular10, references: new[] { compilation2.ToMetadataReference() });
5794
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6062
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6178
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6351
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6456
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6575
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6629
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6632
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6633
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6779
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6782
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6783
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6828
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6831
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6832
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
6877
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
6880
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
6881
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7028
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7031
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
7032
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7073
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7076
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, parseOptions: TestOptions.RegularPreview);
7077
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview, references: new[] { compilation2.EmitToImageReference() });
7226
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7298
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7369
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7442
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
7506
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularPreview);
Symbols\CompilationCreationTests.cs (6)
2972
var lib1 =
CreateCompilation
(source1, assemblyName: "Lib1", options: TestOptions.ReleaseModule);
2975
var lib2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "Lib2");
3008
var compilation =
CreateCompilation
("Compilation");
3016
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net50);
3024
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net60);
3032
compilation =
CreateCompilation
("Compilation", targetFramework: TargetFramework.Net70);
Symbols\ConversionTests.cs (46)
301
var compilation =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
349
var comp = (Compilation)
CreateCompilation
(source);
449
var comp =
CreateCompilation
(src);
477
var comp =
CreateCompilation
(src);
512
var comp =
CreateCompilation
(src);
548
var comp =
CreateCompilation
(src);
584
var comp =
CreateCompilation
(src);
618
var comp =
CreateCompilation
(src);
653
var comp =
CreateCompilation
(src);
681
var comp =
CreateCompilation
(src);
712
var comp =
CreateCompilation
(src);
735
var comp =
CreateCompilation
(src);
761
var comp =
CreateCompilation
(src);
790
var compilation =
CreateCompilation
(source);
810
var compilation =
CreateCompilation
(source);
833
CreateCompilation
(source).VerifyDiagnostics();
856
var compilation =
CreateCompilation
(source);
878
var compilation =
CreateCompilation
(source);
901
CreateCompilation
(source).VerifyDiagnostics();
917
CreateCompilation
(source).VerifyDiagnostics(
939
CreateCompilation
(source).VerifyDiagnostics();
957
CreateCompilation
(source).VerifyDiagnostics();
988
CreateCompilation
(source).VerifyDiagnostics(
1021
CreateCompilation
(source).VerifyDiagnostics(
1054
CreateCompilation
(source).VerifyDiagnostics(
1087
CreateCompilation
(source).VerifyDiagnostics(
1120
CreateCompilation
(source).VerifyDiagnostics(
1154
CreateCompilation
(source).VerifyDiagnostics();
1185
CreateCompilation
(source).VerifyDiagnostics(
1202
CreateCompilation
(source).VerifyDiagnostics(
1228
CreateCompilation
(source).VerifyDiagnostics(
1252
CreateCompilation
(source).VerifyDiagnostics(
1279
CreateCompilation
(source).VerifyDiagnostics(
1317
CreateCompilation
(source).VerifyDiagnostics(
1357
CreateCompilation
(source).VerifyDiagnostics(
1383
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1386
CreateCompilation
(source).VerifyDiagnostics();
1413
CreateCompilation
(source).VerifyDiagnostics(
1450
CreateCompilation
(source).VerifyDiagnostics();
1475
CreateCompilation
(source).VerifyDiagnostics(
1505
CreateCompilation
(source).VerifyDiagnostics(
1561
CreateCompilation
(source).VerifyDiagnostics(
1777
CreateCompilation
(source).VerifyDiagnostics(
2054
var comp = (Compilation)
CreateCompilation
(source);
2136
var comp = (Compilation)
CreateCompilation
(source);
2170
var comp = (Compilation)
CreateCompilation
(source);
Symbols\CorLibrary\CorTypes.cs (22)
275
CreateCompilation
(source2).VerifyDiagnostics(
295
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
308
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
379
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
385
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
397
var comp =
CreateCompilation
(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
432
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
439
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
564
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
570
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
582
var comp =
CreateCompilation
(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
624
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
634
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
642
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib40AndSystemCore, options: TestOptions.DebugExe);
670
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
680
comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
836
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
851
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
863
var comp =
CreateCompilation
(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
1030
var corLib_v2_Comp =
CreateCompilation
(corLib_v2, assemblyName: "corLib");
1045
var typeLib_v2_Comp =
CreateCompilation
(typeLib_v2, assemblyName: "typeLib");
1057
var comp =
CreateCompilation
(source2, references: [corLib_v2_Comp.ToMetadataReference(), typeLib_v2_Comp.ToMetadataReference(), comp1Ref], options: TestOptions.DebugExe);
Symbols\CovariantReturnTests.cs (18)
406
return
CreateCompilation
(
425
return
CreateCompilation
(
465
var result =
CreateCompilation
(assignments, references: references, targetFramework: TargetFramework.Empty);
487
var result =
CreateCompilation
(assignments, references: references, targetFramework: TargetFramework.Empty);
511
var result =
CreateCompilation
(
540
CreateCompilation
(
3871
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
3888
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
3947
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4007
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4113
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4130
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4228
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4245
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4337
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4354
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
4500
var baseCompilation =
CreateCompilation
(baseSource, references: new[] { corlibRef }, targetFramework: TargetFramework.Empty, parseOptions: parseOptions);
4526
var comp =
CreateCompilation
(compilationSource, references: references, parseOptions: parseOptions, targetFramework: TargetFramework.Empty);
Symbols\CSharpCompilerFeatureRequiredTests.cs (2)
65
return CSharpTestBase.
CreateCompilation
(source, references);
553
var comp = CSharpTestBase.
CreateCompilation
(new[] { """
Symbols\CustomModifiersTests.cs (2)
2283
var compilation =
CreateCompilation
(source, references: new[] { TestReferences.SymbolsTests.CustomModifiers.GenericMethodWithModifiers.dll },
2329
var compilation =
CreateCompilation
(source, references: new[] { TestReferences.SymbolsTests.CustomModifiers.GenericMethodWithModifiers.dll },
Symbols\DefaultInterfaceImplementationTests.cs (1049)
120
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
171
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
290
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
348
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
364
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
430
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
488
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
504
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
581
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
679
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
781
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
970
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1045
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1124
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1203
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1282
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1366
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1454
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1588
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
1625
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1669
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60,
1681
var compilation3 =
CreateCompilation
(source2, new[] { reference },
1726
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1747
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
1779
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
1822
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
1874
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1913
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1931
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
1974
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
2018
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2041
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2105
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2184
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2206
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2263
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2270
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2332
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2339
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2405
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2412
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2478
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2485
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2582
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2636
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
2653
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
2973
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3009
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3045
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3086
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3111
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3166
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3234
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3273
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3298
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3323
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3362
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3453
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3521
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3608
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3733
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3875
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3993
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
4145
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
4236
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
4288
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4416
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4481
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4500
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
4545
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
4590
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4645
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
4686
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
4746
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4797
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4813
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
4878
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5151
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5179
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5216
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5255
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5308
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5394
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5511
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5602
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
5837
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
5866
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
5964
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5976
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
6022
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6041
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
6092
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
6137
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
6200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6231
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6247
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6294
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6365
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6379
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
6552
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
6609
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
6630
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
6954
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7057
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7148
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7255
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
7320
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
7354
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7428
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7440
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() },
7488
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7507
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
7543
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
7570
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7608
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
7631
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
7674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7707
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7723
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
7771
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7823
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7980
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8096
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8256
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8374
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8410
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8623
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8689
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8781
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
8823
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8882
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
8948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9052
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
9103
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9241
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9268
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9276
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9293
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9306
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9319
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
9458
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9466
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
9473
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9483
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9492
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
9540
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9547
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9554
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9565
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9839
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9846
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9853
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9860
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9898
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9910
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9918
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
9930
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
9975
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9987
compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
9995
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10007
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
10054
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10061
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10069
compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10092
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10144
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10203
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10314
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10382
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
10467
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10518
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
10585
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10687
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10838
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
10892
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
10926
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10938
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
10949
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
10988
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
11010
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
11065
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11171
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11267
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11309
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11364
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11466
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11533
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11563
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11590
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11644
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11657
var compilation2 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
11703
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
11727
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
11735
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
11768
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
11778
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
11795
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
11858
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
11892
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
11901
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11918
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
11926
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
11934
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
11994
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
12007
compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
12016
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12033
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
12048
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
12055
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
12114
var compilation1 =
CreateCompilation
(source21 + source1, options: TestOptions.DebugExe,
12130
compilation1 =
CreateCompilation
(source22 + source1, options: TestOptions.DebugExe,
12139
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12156
var compilation3 =
CreateCompilation
(source21, new[] { reference }, options: TestOptions.DebugExe,
12171
compilation3 =
CreateCompilation
(source22, new[] { reference }, options: TestOptions.DebugExe,
12184
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
12227
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12237
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12248
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12289
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12299
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12310
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12351
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12361
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12371
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12623
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12634
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12648
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12711
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12722
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12736
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12799
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
12810
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12824
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
12903
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12958
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13031
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13088
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13578
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13668
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13908
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
14076
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14223
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14241
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14370
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
14716
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14923
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14931
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
14943
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14969
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14977
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
14996
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
15121
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15129
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15140
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15148
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15156
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15256
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15266
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15274
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15671
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15680
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15685
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15694
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15754
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15761
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15766
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
15773
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
15848
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15856
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
15867
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15875
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
15883
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
15966
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15973
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15980
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
16013
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16186
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
16318
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16590
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16778
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
16928
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16936
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
17026
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17276
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17467
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
17521
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17538
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
17552
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
17599
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17630
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
17737
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18293
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe.WithMetadataImportOptions(metadataImportOptions),
18326
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(metadataImportOptions),
18339
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18468
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18476
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
18495
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18505
var compilation3 =
CreateCompilation
(source2, new[] { reference },
18514
compilation3 =
CreateCompilation
(source2, new[] { reference },
19848
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
19902
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19919
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
19933
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
19980
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20010
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
20049
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20181
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
20325
var compilation1 =
CreateCompilation
(source0 + source1,
20364
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
20378
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
20437
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
20455
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
20467
var compilation6 =
CreateCompilation
(source5, options: TestOptions.DebugExe,
20502
var compilation7 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
21563
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22052
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22142
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22458
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22636
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23392
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23699
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23765
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23882
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24518
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
24549
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26578
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
26618
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26754
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
26810
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27144
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27234
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27630
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
27704
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27800
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27874
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27894
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
27951
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28128
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
28206
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28429
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28437
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28489
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28512
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28520
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28539
var compilation5 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugDll,
28626
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28634
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
28645
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28653
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28661
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
28762
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe, targetFramework: targetFramework,
28771
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: targetFramework,
28778
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
29180
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29189
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29194
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29203
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29266
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29273
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29278
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29285
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
29360
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29368
compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
29379
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29387
var compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugDll,
29395
compilation3 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
29471
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29478
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29485
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
29511
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29589
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
29707
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30003
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
30276
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30330
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
30449
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30670
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30872
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
30926
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30941
var compilation3 =
CreateCompilation
(source2, new[] { compilation2.ToMetadataReference() }, options: TestOptions.DebugExe,
30955
var compilation4 =
CreateCompilation
(source2, new[] { compilation2.EmitToImageReference() }, options: TestOptions.DebugExe,
31001
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31031
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
31105
var compilation1 =
CreateCompilation
(source0 + source1,
31132
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
31141
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
31179
var compilation4 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
31191
var compilation5 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
31217
var compilation6 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31761
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31820
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31943
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
31994
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
32027
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32035
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32049
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32134
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
32161
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32169
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32183
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32265
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32268
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe);
32298
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe);
32392
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32492
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
32519
var compilation2 =
CreateCompilation
(source2 + source0, options: TestOptions.DebugExe,
32552
var compilation3 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32560
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32567
var compilation5 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
32698
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32775
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32812
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32839
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32881
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32970
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
32986
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
33002
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
33128
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33152
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33225
CreateCompilation
(source1, options: TestOptions.DebugDll,
33238
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33254
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
33294
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
33318
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33368
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
33397
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
33444
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33492
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33541
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33599
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33661
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33725
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33771
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33810
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33843
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
33895
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33991
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
34152
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
34168
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
34184
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34199
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34205
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
34221
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
34293
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34474
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34500
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
34512
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
34551
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll,
34596
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
34694
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34700
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
34714
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
34808
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
34905
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
34923
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
34979
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
34984
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35008
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35070
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35075
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35103
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35171
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35176
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35201
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35267
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35272
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35296
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
35362
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35377
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
35473
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35480
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35582
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35589
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35695
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35702
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35815
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
35910
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
35921
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36019
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36026
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36113
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36124
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36231
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36238
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
36397
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36415
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36432
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36440
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36585
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36603
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36620
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36628
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
36773
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
36791
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
36808
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36816
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
36870
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36898
var comp =
CreateCompilation
(source1, options: TestOptions.DebugDll,
36997
var compilation1 =
CreateCompilation
(source1 + source2, options: options,
37013
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: options,
37029
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: options,
37285
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37302
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
37386
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
37402
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
37533
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37616
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37660
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37726
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37963
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
37998
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38006
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: isStatic ? TargetFramework.Net50 : TargetFramework.Mscorlib461Extended,
38013
var compilation4 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
38412
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
38431
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
38449
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38457
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
38752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
38811
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38837
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
38849
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
38891
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
38920
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
39013
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
39019
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
39026
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
39117
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
39186
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
39204
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
39503
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
39521
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40025
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
40043
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
40061
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
40223
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40253
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40314
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40344
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
40404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Mscorlib461Extended,
40434
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40493
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
40522
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() },
40583
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40626
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40734
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40798
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40864
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
40938
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41080
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
41098
var compilation2 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
41116
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
41133
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41139
var compilation5 =
CreateCompilation
(source2 + source3, new[] { compilation4.ToMetadataReference() }, options: TestOptions.DebugDll,
41152
var compilation6 =
CreateCompilation
(source2 + source3, new[] { compilation4.EmitToImageReference() }, options: TestOptions.DebugDll,
41249
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41473
var compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41499
compilation2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.DebugDll,
41511
var compilation4 =
CreateCompilation
(source4, new[] { ref1 }, options: TestOptions.DebugExe,
41553
var compilation3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, options: TestOptions.DebugDll.WithConcurrentBuild(false),
41598
var compilation5 =
CreateCompilation
(source5, new[] { ref1, ref2 }, options: TestOptions.DebugExe,
41679
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
41685
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
41699
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
41793
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
41862
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
41880
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
42030
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42050
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42069
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42077
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42234
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42254
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42273
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42281
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugExe,
42438
var compilation1 =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.DebugExe,
42458
var compilation2 =
CreateCompilation
(source3, new[] { reference }, options: TestOptions.DebugExe,
42477
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
42485
var compilation5 =
CreateCompilation
(source2 + source3, new[] { reference }, options: TestOptions.DebugDll,
43600
var compilation1 =
CreateCompilation
(source1,
43637
var compilation1 =
CreateCompilation
(source1,
43680
var compilation1 =
CreateCompilation
(source1,
43707
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43731
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
43800
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43845
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43850
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43855
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43879
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
43930
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
43982
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
43987
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
43992
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44015
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44065
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44112
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
44117
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
44122
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44145
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44203
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44233
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
44253
var compilation3 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugExe,
44279
var compilation2 =
CreateCompilation
(source3 + source4, new[] { reference }, options: TestOptions.DebugExe,
44299
var compilation4 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44354
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44400
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44431
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44555
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
44644
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44691
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44725
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
44749
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All),
44799
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44840
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44885
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44921
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
44966
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
44984
var compilation2 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe,
45004
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45058
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45103
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45108
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45113
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45146
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45209
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45256
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45261
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45266
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45299
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45352
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45395
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45400
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45405
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45441
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45480
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45587
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45592
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45597
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45629
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All),
45724
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugExe,
45729
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugExe,
45734
var compilation4 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45766
var compilation5 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
45840
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
45846
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
45904
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
45922
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
45938
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe, targetFramework: TargetFramework.Mscorlib461Extended,
46003
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
46036
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
46114
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
46162
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46200
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugExe,
46258
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
46305
var compilation3 =
CreateCompilation
(source3, options: TestOptions.DebugExe,
46319
var compilation4 =
CreateCompilation
(source4, options: TestOptions.DebugDll,
46348
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
46374
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithMainTypeName("I2"),
46590
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
46600
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46607
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46613
var compilation6 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46692
var compilation61 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
46768
var compilation7 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
46846
var compilation8 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
46866
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
46881
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
46951
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
46954
var compilation2 =
CreateCompilation
(source1 + source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
46997
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47014
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47026
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47030
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47158
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
47224
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp,
47233
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47239
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47258
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
47269
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
47316
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47325
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47331
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47392
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47401
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47407
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47465
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
47472
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47522
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47531
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47537
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47603
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
47612
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47618
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
47678
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47686
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47691
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47710
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47718
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47723
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47739
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47747
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47752
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47811
var compilation0 =
CreateCompilation
(source0 + source1 + source2, options: TestOptions.DebugDll,
47819
var compilation1 =
CreateCompilation
(source3, new[] { compilationReference0 }, options: TestOptions.DebugExe,
47824
var compilation2 =
CreateCompilation
(source3, new[] { metadataReference0 }, options: TestOptions.DebugExe,
47843
var compilation3 =
CreateCompilation
(source4 + source1 + source2, options: TestOptions.DebugDll,
47851
var compilation4 =
CreateCompilation
(source3, new[] { compilationReference3 }, options: TestOptions.DebugExe,
47856
var compilation5 =
CreateCompilation
(source3, new[] { metadataReference3 }, options: TestOptions.DebugExe,
47872
var compilation6 =
CreateCompilation
(source4 + source1 + source5, options: TestOptions.DebugDll,
47880
var compilation7 =
CreateCompilation
(source3, new[] { compilationReference6 }, options: TestOptions.DebugExe,
47885
var compilation8 =
CreateCompilation
(source3, new[] { metadataReference6 }, options: TestOptions.DebugExe,
47939
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
47947
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
47952
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48006
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48014
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48019
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48081
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48090
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48096
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48138
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48147
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48153
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48205
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48214
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48220
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48240
var compilation9 =
CreateCompilation
(source3, new[] { compilationReference }, options: TestOptions.DebugExe,
48254
var compilation10 =
CreateCompilation
(source3, new[] { metadataReference }, options: TestOptions.DebugExe,
48302
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48311
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48317
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48372
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48381
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48387
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48436
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48445
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48451
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48515
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48524
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48530
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48587
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48596
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48602
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48660
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48668
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48673
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48730
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
48738
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48743
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48800
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
48807
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48892
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48901
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48907
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
48958
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
48967
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
48973
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49065
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49074
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49080
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49120
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49224
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49297
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49306
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49312
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49530
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugExe,
49546
var compilation2 =
CreateCompilation
(source2, new[] { compilationReference }, options: TestOptions.DebugExe,
49552
var compilation3 =
CreateCompilation
(source2, new[] { metadataReference }, options: TestOptions.DebugExe,
49578
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
49608
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49619
var compilation1 =
CreateCompilation
("", options: TestOptions.DebugDll,
49654
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49662
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49770
var compilation1 =
CreateCompilation
(source, parseOptions: parseOptions, options: TestOptions.DebugDll,
49778
var compilation2 =
CreateCompilation
("", parseOptions: parseOptions, options: TestOptions.DebugDll,
49919
var compilation1 =
CreateCompilation
(source, options: TestOptions.DebugDll,
49957
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
49983
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50012
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50046
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50085
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50111
var compilation1 =
CreateCompilation
(source0 + source2, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50131
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50166
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50204
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50248
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50264
var compilation2 =
CreateCompilation
(source0 + source3, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
50308
var compilation0 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.NetCoreApp);
50363
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50371
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50399
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50411
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50440
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50452
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50480
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50492
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50520
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50532
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50564
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50579
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50608
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50624
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50660
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50672
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }, targetFramework: TargetFramework.Net50);
50685
var attributes =
CreateCompilation
(NoPiaAttributes, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50713
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, references: baseReferences, targetFramework: TargetFramework.Empty);
50751
var pia2Compilation =
CreateCompilation
(pia2, baseReferences, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Empty);
50755
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseDll, references: baseReferences.Concat(new[] { piaCompilation.ToMetadataReference(embedInteropTypes: true) }), targetFramework: TargetFramework.Empty);
50759
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe, references: baseReferences.Concat(new[] { reference2, pia2Reference }), targetFramework: TargetFramework.Empty);
50793
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.Net50);
50809
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseDll, references: new[] { reference }, targetFramework: TargetFramework.Net50);
50845
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50898
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50951
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net50);
50996
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp);
51044
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51065
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51072
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51222
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51232
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51239
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51362
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51376
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51383
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51503
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51513
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51520
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51646
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51660
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51667
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51786
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
51800
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51807
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
51896
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
51906
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
51913
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
51961
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52016
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52081
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52139
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52259
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52340
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52410
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52434
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52499
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52505
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52512
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
52691
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
52701
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52708
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
52856
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
52862
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
52869
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53019
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
53029
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53036
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53194
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53200
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53208
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53356
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
53362
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53370
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
53488
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
53498
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53505
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
53595
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53727
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
53873
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
54202
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
57031
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57221
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57233
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57262
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57274
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57306
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57315
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57341
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57353
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57382
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57391
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57417
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57429
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57477
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57483
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57490
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57649
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57659
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57666
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
57807
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
57813
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57820
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
57958
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
57968
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
57975
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
58121
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
58127
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58134
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58270
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
58276
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58283
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
58390
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugExe,
58400
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58407
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugExe, references: new[] { reference },
58483
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
58675
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59247
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59254
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
59315
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59415
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59424
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59450
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
59462
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62199
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62211
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62240
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62249
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62275
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62284
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62515
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
62530
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
62557
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62569
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
62782
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
62835
var comp =
CreateCompilation
(source, options: TestOptions.DebugWinMD, targetFramework: TargetFramework.NetCoreApp, references: new[] { CompilationExtensions.CreateWindowsRuntimeMetadataReference() });
64789
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64815
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64845
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64875
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64905
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64924
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64943
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64969
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
64991
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65021
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65079
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65113
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65204
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65248
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65301
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65353
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
65382
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65427
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65477
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65562
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65608
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65646
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65691
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65729
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65774
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65807
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65848
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65925
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
65960
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66002
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66042
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66081
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66177
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66222
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66258
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66301
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66333
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66412
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66454
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66525
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66636
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66753
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66806
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66841
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66872
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
66927
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66933
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
66956
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
66993
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67005
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67034
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67046
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67098
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67110
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67131
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67165
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67201
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67235
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67276
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67313
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67349
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67385
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67422
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67463
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67501
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67539
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67576
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67615
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67657
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67694
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67712
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67794
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67827
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
67932
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
67998
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
68063
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
68161
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net60,
68193
var compilation2 =
CreateCompilation
(source2, new[] { reference }, options: TestOptions.DebugExe,
68487
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68531
var compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68550
var compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68556
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50,
68594
compilation3 =
CreateCompilation
(source3, new[] { compilation1.ToMetadataReference() },
68607
compilation4 =
CreateCompilation
(source4, new[] { compilation1.ToMetadataReference() },
68684
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68690
var compilation2 =
CreateCompilation
(source2, new[] { compilation1.ToMetadataReference() }, options: TestOptions.DebugDll,
68701
var compilation3 =
CreateCompilation
(source2, new[] { compilation1.EmitToImageReference() }, options: TestOptions.DebugDll,
68845
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68861
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68868
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
68927
var compilation1 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
68946
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
68953
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { reference },
69047
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
69323
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
69391
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
Symbols\DestructorTests.cs (14)
29
var comp =
CreateCompilation
(source);
41
CreateCompilation
(source).VerifyDiagnostics(
58
CreateCompilation
(source).VerifyDiagnostics(
76
CreateCompilation
(source).VerifyDiagnostics(
126
CreateCompilation
(source).VerifyDiagnostics(
207
CreateCompilation
(source).VerifyDiagnostics(
289
CreateCompilation
(source).VerifyDiagnostics(
331
CreateCompilation
(source).VerifyDiagnostics(
361
CreateCompilation
(source).VerifyDiagnostics(
385
CreateCompilation
(source).VerifyDiagnostics();
398
var compilation = (Compilation)
CreateCompilation
(source);
433
CreateCompilation
(source).VerifyDiagnostics();
529
CreateCompilation
(source, new[] { vbRef }).VerifyDiagnostics(
552
CreateCompilation
(source).VerifyDiagnostics(
Symbols\EnumTests.cs (17)
159
CreateCompilation
(source).VerifyDiagnostics(
174
CreateCompilation
(source).VerifyDiagnostics(
190
CreateCompilation
(source).VerifyDiagnostics(
207
CreateCompilation
(source).VerifyDiagnostics(
230
CreateCompilation
(source).VerifyDiagnostics();
247
CreateCompilation
(source).VerifyDiagnostics(
262
CreateCompilation
(source).VerifyDiagnostics(
275
CreateCompilation
(source).VerifyDiagnostics(
288
CreateCompilation
(source).VerifyDiagnostics();
320
var comp =
CreateCompilation
(sourceA, assemblyName: "UseSiteError_sourceA");
332
comp =
CreateCompilation
(sourceB, references: new[] { refA });
344
comp =
CreateCompilation
(sourceC, references: new[] { refB });
364
var comp =
CreateCompilation
(sourceA, assemblyName: "UseSiteError_sourceA");
376
comp =
CreateCompilation
(sourceB, references: new[] { refA });
388
comp =
CreateCompilation
(sourceC, references: new[] { refB }, options: TestOptions.ReleaseExe);
395
comp =
CreateCompilation
(sourceC, references: new[] { refB }, options: TestOptions.DebugExe);
406
CreateCompilation
("partial public enum E { }").VerifyDiagnostics(
Symbols\ErrorTypeSymbolTests.cs (5)
29
var compilation1 =
CreateCompilation
(source1, assemblyName: "91AB32B7-DDDF-4E50-87EF-4E8B0A664A41");
42
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 }, assemblyName: "91AB32B7-DDDF-4E50-87EF-4E8B0A664A42");
50
var compilation3 =
CreateCompilation
(source3, references: new[] { reference1, reference2 });
55
var compilation4 =
CreateCompilation
(source2);
61
var compilation5 =
CreateCompilation
(source5, references: new[] { reference2 });
Symbols\ExtendedPartialMethodsTests.cs (134)
29
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
39
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
52
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
71
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
87
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
128
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
138
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
151
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
170
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
186
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
265
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
275
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
288
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
305
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
322
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
339
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
355
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
367
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
380
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
390
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
403
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
422
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
439
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
456
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
512
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
538
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
564
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
586
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
608
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
629
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
642
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
654
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
669
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
692
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
713
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
742
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
765
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
791
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
812
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
839
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
867
var comp =
CreateCompilation
(new[] { text1, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
894
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
911
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
920
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
937
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
964
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
985
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1006
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1023
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1040
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1049
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1066
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1092
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1258
var comp =
CreateCompilation
(text);
1282
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1338
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1364
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1387
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1416
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1440
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1449
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1466
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1488
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1513
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1535
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1644
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1678
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1714
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1735
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1755
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1782
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1812
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1856
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1888
var comp =
CreateCompilation
(text);
1913
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1939
CreateCompilation
(source).VerifyDiagnostics(
1944
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
1946
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1973
CreateCompilation
(source).VerifyDiagnostics(
2080
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2218
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2279
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
2288
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2310
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2345
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2367
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2428
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2434
var comp2 =
CreateCompilation
(
2465
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2519
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2573
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2580
var comp2 =
CreateCompilation
(
2617
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2623
var comp2 =
CreateCompilation
(
2660
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2701
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2726
var comp1 =
CreateCompilation
(
2774
var comp1 =
CreateCompilation
(
2821
var comp1 =
CreateCompilation
(source1, assemblyName: "C");
2919
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3066
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3072
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3088
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3110
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3113
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3138
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3147
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3174
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3201
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3231
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3277
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3341
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3369
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3394
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3423
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3442
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3445
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3469
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3472
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3494
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3550
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3574
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3614
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3633
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3657
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3660
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3695
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3713
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3756
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3759
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3797
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3800
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3830
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
Symbols\ExtensionMethodTests.cs (49)
203
var compilation =
CreateCompilation
(source);
224
var compilation =
CreateCompilation
(source);
257
var compilation =
CreateCompilation
(source);
430
var compilation =
CreateCompilation
(source);
458
var compilation =
CreateCompilation
(source);
674
var compilation =
CreateCompilation
(source);
751
var compilation =
CreateCompilation
(source);
778
var compilation =
CreateCompilation
(source);
840
var compilation =
CreateCompilation
(source);
1092
var compilation =
CreateCompilation
(source);
1138
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1199
var compilation =
CreateCompilation
(source);
1249
var compilation =
CreateCompilation
(source);
1337
var compilation =
CreateCompilation
(source);
1408
var compilation =
CreateCompilation
(source);
1440
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1445
compilation =
CreateCompilation
(source);
1481
var compilation =
CreateCompilation
(source);
1526
var compilation =
CreateCompilation
(source);
1574
var compilation =
CreateCompilation
(source);
1593
var compilation =
CreateCompilation
(source);
1616
var compilation =
CreateCompilation
(source);
1687
var compilation =
CreateCompilation
(source);
1723
var compilation =
CreateCompilation
(source);
1826
var compilation =
CreateCompilation
(source);
1859
var compilation =
CreateCompilation
(source);
1892
var compilation =
CreateCompilation
(source);
1952
var compilation =
CreateCompilation
(source);
2007
var compilation =
CreateCompilation
(source);
2045
var compilation =
CreateCompilation
(source);
2188
var compilation =
CreateCompilation
(source);
2522
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal));
2584
var comp =
CreateCompilation
(@"
2616
CreateCompilation
(text).GetDiagnostics();
2825
var compilation1 =
CreateCompilation
(source1);
2842
var compilation2 =
CreateCompilation
(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular8);
2861
compilation2 =
CreateCompilation
(source2, references: new[] { new CSharpCompilationReference(compilation1) }, parseOptions: TestOptions.Regular7);
3135
var comp =
CreateCompilation
(src1);
3253
var compilation =
CreateCompilation
(source2, new[] { reference1 });
3279
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3324
var compilation3 =
CreateCompilation
(source3, assemblyName: "C", references: new[] { reference1, reference2 });
3423
var compilation =
CreateCompilation
(source, references: new[] { FSharpTestLibraryRef });
3772
var compilation =
CreateCompilation
(source);
3860
var compilation =
CreateCompilation
(source);
3903
var compilation =
CreateCompilation
(source);
3952
var compilation =
CreateCompilation
(source);
3998
var compilation =
CreateCompilation
(source);
4124
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
4157
var comp =
CreateCompilation
(source);
Symbols\FunctionPointerTypeSymbolTests.cs (11)
23
return
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: targetFramework);
1514
var comp =
CreateCompilation
("", references: new[] { CompileIL(il) });
1530
var comp = (Compilation)
CreateCompilation
("");
1553
var comp = (Compilation)
CreateCompilation
("");
1565
var comp = (Compilation)
CreateCompilation
(@"class C {}");
1581
var comp = (Compilation)
CreateCompilation
("");
1597
var comp = (Compilation)
CreateCompilation
("");
1614
var comp = (Compilation)
CreateCompilation
("");
1637
var comp = (Compilation)
CreateCompilation
("");
1649
var comp = (Compilation)
CreateCompilation
("");
1960
var mainComp =
CreateCompilation
("");
Symbols\GenericConstraintConversionTests.cs (19)
57
CreateCompilation
(source).VerifyDiagnostics(
93
CreateCompilation
(source).VerifyDiagnostics(
139
CreateCompilation
(source).VerifyDiagnostics(
214
CreateCompilation
(source).VerifyDiagnostics(
286
CreateCompilation
(source).VerifyDiagnostics(
333
CreateCompilation
(source).VerifyDiagnostics(
414
CreateCompilation
(source).VerifyDiagnostics(
534
CreateCompilation
(source).VerifyDiagnostics(
607
CreateCompilation
(source).VerifyDiagnostics(
628
CreateCompilation
(source).VerifyDiagnostics(
651
CreateCompilation
(source).VerifyDiagnostics(
691
CreateCompilation
(source).VerifyDiagnostics(
730
CreateCompilation
(source).VerifyDiagnostics();
762
CreateCompilation
(source).VerifyDiagnostics();
790
CreateCompilation
(source).VerifyDiagnostics(
818
CreateCompilation
(source).VerifyDiagnostics(
970
CreateCompilation
(source).VerifyDiagnostics(
1005
CreateCompilation
(source).VerifyDiagnostics(
1053
CreateCompilation
(source).VerifyDiagnostics(
Symbols\GenericConstraintTests.cs (110)
243
CreateCompilation
(source).VerifyDiagnostics(
264
CreateCompilation
(source).VerifyDiagnostics(
290
var comp1 =
CreateCompilation
(metadatasrc);
291
var comp2 =
CreateCompilation
(source, new MetadataReference[] { comp1.EmitToImageReference() });
313
CreateCompilation
(source).VerifyDiagnostics(
340
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
386
CreateCompilation
(source).VerifyDiagnostics();
477
CreateCompilation
(source).VerifyDiagnostics(
519
CreateCompilation
(source).VerifyDiagnostics(
548
CreateCompilation
(source).VerifyDiagnostics(
605
CreateCompilation
(source).VerifyDiagnostics(
681
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
744
CreateCompilation
(source).VerifyDiagnostics(
785
CreateCompilation
(text).VerifyDiagnostics(
810
CreateCompilation
(text).VerifyDiagnostics(
859
CreateCompilation
(text).VerifyDiagnostics(
894
CreateCompilation
(text).VerifyDiagnostics(
911
CreateCompilation
(text).VerifyDiagnostics(
933
CreateCompilation
(source).VerifyDiagnostics(
957
CreateCompilation
(source).VerifyDiagnostics(
991
CreateCompilation
(source).VerifyDiagnostics(
1012
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1389
CreateCompilation
(source).VerifyDiagnostics(
1780
CreateCompilation
(source).VerifyDiagnostics(
1816
CreateCompilation
(source).VerifyDiagnostics(
1863
CreateCompilation
(source).VerifyDiagnostics(
1931
CreateCompilation
(source).VerifyDiagnostics(
1987
CreateCompilation
(source).VerifyDiagnostics(
2083
CreateCompilation
(source).VerifyDiagnostics(
2110
CreateCompilation
(source).VerifyDiagnostics(
2135
CreateCompilation
(source).VerifyDiagnostics(
2172
CreateCompilation
(source).VerifyDiagnostics(
2222
CreateCompilation
(source).VerifyDiagnostics(
2264
CreateCompilation
(source).VerifyDiagnostics(
2303
CreateCompilation
(source).VerifyDiagnostics(
2341
CreateCompilation
(source).VerifyDiagnostics(
2369
CreateCompilation
(source).VerifyDiagnostics(
2414
CreateCompilation
(source).VerifyDiagnostics(
2499
CreateCompilation
(source).VerifyDiagnostics();
2666
CreateCompilation
(source).VerifyDiagnostics(
2889
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-0788-249e00d004ea");
2934
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation1.EmitToArray()) });
2965
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { MetadataReference.CreateFromImage(compilation2.EmitToArray()) });
3072
var compilation1 =
CreateCompilation
(source1, assemblyName: "d521fe98-c881-45cf-8870-249e00ae400d");
3081
var compilation2 =
CreateCompilation
(source2, assemblyName: "d03a3229-eb22-4682-88df-77efaa348e3b", references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
3097
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
3195
CreateCompilation
(source).VerifyDiagnostics(
3228
var comp =
CreateCompilation
(source);
3258
CreateCompilation
(source).VerifyDiagnostics(
3300
CreateCompilation
(source).VerifyDiagnostics(
4333
CreateCompilation
(source).VerifyDiagnostics();
4364
CreateCompilation
(source).VerifyDiagnostics(
4383
CreateCompilation
(source).VerifyDiagnostics();
4407
CreateCompilation
(source).VerifyDiagnostics();
4423
CreateCompilation
(source).VerifyDiagnostics(
4450
CreateCompilation
(source).VerifyDiagnostics(
4480
CreateCompilation
(source).VerifyDiagnostics();
5100
CreateCompilation
(source).VerifyDiagnostics(
5222
CreateCompilation
(source).VerifyDiagnostics(
5628
var compilation =
CreateCompilation
(source);
5674
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
5698
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5850
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
5874
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5882
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
5898
var compilation =
CreateCompilation
(source);
5915
CreateCompilation
(source).VerifyDiagnostics(
5951
CreateCompilation
(source).VerifyDiagnostics();
5986
CreateCompilation
(source).VerifyDiagnostics(
6017
CreateCompilation
(source).VerifyDiagnostics(
6101
CreateCompilation
(source).VerifyDiagnostics(
6125
CreateCompilation
(source).VerifyDiagnostics(
6155
CreateCompilation
(source).VerifyDiagnostics(
6187
CreateCompilation
(source).VerifyDiagnostics(
6211
CreateCompilation
(source).VerifyDiagnostics(
6235
CreateCompilation
(source).VerifyDiagnostics();
6275
CreateCompilation
(source).VerifyDiagnostics(
6311
CreateCompilation
(source).VerifyDiagnostics(
6354
CreateCompilation
(source).VerifyDiagnostics();
6373
var comp =
CreateCompilation
(text);
6394
var comp =
CreateCompilation
(text);
6457
CreateCompilation
(source).VerifyDiagnostics(
6473
var compilation1 =
CreateCompilation
(source1, assemblyName: "e521fe98-c881-45cf-8870-249e00ae400d");
6480
var compilation2 =
CreateCompilation
(source2, references: new MetadataReference[] { new CSharpCompilationReference(compilation1) });
6484
var compilation3 =
CreateCompilation
(source3, references: new MetadataReference[] { new CSharpCompilationReference(compilation2) });
6516
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6518
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6539
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
6541
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
6566
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6581
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
6755
CreateCompilation
(source).VerifyDiagnostics(
6810
CreateCompilation
(source).VerifyDiagnostics(
6845
CreateCompilation
(source).VerifyDiagnostics(
6880
var compilation1 =
CreateCompilation
(source1);
6901
var compilation2 =
CreateCompilation
(
7008
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7015
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7046
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
7052
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7083
CreateCompilation
(source).VerifyDiagnostics(
7117
CreateCompilation
(source).VerifyDiagnostics(
7179
CreateCompilation
(source).VerifyDiagnostics(
7238
CreateCompilation
(source).VerifyDiagnostics(
7293
CreateCompilation
(source).VerifyDiagnostics(
7337
var comp =
CreateCompilation
(@"System.Console.WriteLine(typeof(C.D).FullName);",
7398
var metadataComp =
CreateCompilation
(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.NetStandard20);
7401
var comp =
CreateCompilation
(@"
7429
var comp =
CreateCompilation
(src);
7450
var comp =
CreateCompilation
(src);
Symbols\ImplicitClassTests.cs (2)
53
var c =
CreateCompilation
(@"
96
var comp =
CreateCompilation
(@"
Symbols\IndexedPropertyTests.cs (18)
588
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
861
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1147
CreateCompilation
(source).VerifyDiagnostics(
1186
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1222
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1265
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1329
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1363
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1405
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1492
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1550
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
1756
var compilation4 =
CreateCompilation
(source4, new[] { reference1, reference2 });
1873
var compilation3 =
CreateCompilation
(source3, new[] { reference1 });
1908
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2057
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2110
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2149
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2188
var compilation3 =
CreateCompilation
(source3, new[] { reference1, reference2 });
Symbols\IndexerTests.cs (62)
240
CreateCompilation
(source).VerifyDiagnostics(
274
var compilation =
CreateCompilation
(source);
314
var compilation =
CreateCompilation
(text);
847
CreateCompilation
(source, parseOptions: TestOptions.Regular7_1).VerifyDiagnostics(
889
CreateCompilation
(source).VerifyDiagnostics(
914
CreateCompilation
(source).VerifyDiagnostics(
934
CreateCompilation
(source).VerifyDiagnostics(
957
CreateCompilation
(source).VerifyDiagnostics();
980
CreateCompilation
(source).VerifyDiagnostics();
1004
CreateCompilation
(source).VerifyDiagnostics(
1039
CreateCompilation
(source).VerifyDiagnostics(
1059
CreateCompilation
(source).VerifyDiagnostics(
1110
CreateCompilation
(source).VerifyDiagnostics(
1203
CreateCompilation
(source).VerifyDiagnostics();
1261
CreateCompilation
(source).VerifyDiagnostics(
1287
var comp =
CreateCompilation
(tree);
1321
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1352
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1368
var compilation =
CreateCompilation
(source,
1387
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Indexers });
1409
var compilation =
CreateCompilation
(source,
1433
var compilation =
CreateCompilation
(source);
1458
var compilation =
CreateCompilation
(source);
1487
CreateCompilation
(source).VerifyDiagnostics(
1513
var compilation =
CreateCompilation
(source);
1539
CreateCompilation
(source).VerifyDiagnostics();
1565
var compilation =
CreateCompilation
(source);
1594
var compilation =
CreateCompilation
(source);
1625
var compilation =
CreateCompilation
(source);
1657
var compilation =
CreateCompilation
(source);
1686
var compilation =
CreateCompilation
(source);
1715
CreateCompilation
(source).VerifyDiagnostics(
1752
CreateCompilation
(source).VerifyDiagnostics(
1789
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1838
CreateCompilation
(source).VerifyDiagnostics(
1871
CreateCompilation
(source).VerifyDiagnostics(
1904
CreateCompilation
(source, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1956
CreateCompilation
(source).VerifyDiagnostics(
2005
CreateCompilation
(source).VerifyDiagnostics(
2048
CreateCompilation
(source).VerifyDiagnostics(
2076
CreateCompilation
(source).VerifyDiagnostics(
2102
CreateCompilation
(source).VerifyDiagnostics(
2127
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2165
var compilation =
CreateCompilation
(source);
2196
var compilation =
CreateCompilation
(source);
2232
var comp =
CreateCompilation
(tree);
2273
var comp =
CreateCompilation
(tree);
2315
var comp =
CreateCompilation
(tree);
2353
var comp =
CreateCompilation
(tree);
2386
CreateCompilation
(source).VerifyDiagnostics(
2403
var comp =
CreateCompilation
(text);
2432
CreateCompilation
(text).VerifyDiagnostics();
2559
var compilation =
CreateCompilation
(new string[] { text1, text2 });
2563
compilation =
CreateCompilation
(new string[] { text2, text1 });
2611
var comp =
CreateCompilation
(tree);
2698
var comp =
CreateCompilation
(tree);
2835
var comp2 =
CreateCompilation
(src2, new[] { new CSharpCompilationReference(comp1) });
2861
var comp =
CreateCompilation
(source);
2886
CreateCompilation
(source).VerifyDiagnostics(
2907
CreateCompilation
(source).VerifyDiagnostics(
2927
CreateCompilation
(source).VerifyDiagnostics(
2953
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
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 (21)
31
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
52
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
73
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
96
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
110
CreateCompilation
("""
133
CreateCompilation
("""
171
CreateCompilation
("""
197
CreateCompilation
("""
246
CreateCompilation
("""
283
CreateCompilation
("""
332
CreateCompilation
("""
370
CreateCompilation
("""
408
CreateCompilation
("""
441
var comp =
CreateCompilation
([source]);
465
var comp =
CreateCompilation
([source]);
494
var comp =
CreateCompilation
([source]);
517
var comp =
CreateCompilation
([source]);
553
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
584
var comp1 =
CreateCompilation
([source1, source2], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
620
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
663
var comp1 =
CreateCompilation
(
Symbols\LookupSymbolsInfoTests.cs (1)
91
var compilation =
CreateCompilation
(source);
Symbols\Metadata\MetadataMemberTests.cs (12)
151
var compilation =
CreateCompilation
(text);
298
var compilation =
CreateCompilation
(text);
343
var compilation =
CreateCompilation
(text);
394
var compilation =
CreateCompilation
(text);
619
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
629
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
659
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
670
var comp2 =
CreateCompilation
("", new[] { comp1.EmitToImageReference() });
731
var compilation0 =
CreateCompilation
(source);
734
var compilation =
CreateCompilation
("", options: options, references: new[] { compilation0.EmitToImageReference() });
794
var compilation0 =
CreateCompilation
(source);
796
var compilation =
CreateCompilation
("", options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.Internal), references: new[] { compilation0.EmitToImageReference() });
Symbols\Metadata\MetadataTypeTests.cs (2)
167
var compilation =
CreateCompilation
(text);
358
var comp =
CreateCompilation
(source: tree, references: new[] { modRef });
Symbols\Metadata\PE\BaseTypeResolution.cs (3)
337
var compilation1 =
CreateCompilation
(compilationDef1, new MetadataReference[] { crossRefLib }, TestOptions.ReleaseDll);
357
var compilation2 =
CreateCompilation
(compilationDef2, new MetadataReference[] { crossRefModule1, crossRefModule2 }, TestOptions.ReleaseDll);
369
var compilation3 =
CreateCompilation
(compilationDef2, new MetadataReference[] { crossRefModule2 }, TestOptions.ReleaseDll);
Symbols\Metadata\PE\DynamicTransformsTests.cs (1)
439
var c =
CreateCompilation
(csSource, new[] { dll });
Symbols\Metadata\PE\LoadInAttributeModifier.cs (34)
43
CreateCompilation
(@"
88
CreateCompilation
(@"
122
var c =
CreateCompilation
(@"
156
CreateCompilation
(@"
198
CreateCompilation
(@"
240
CreateCompilation
(@"
275
CreateCompilation
(@"
310
CreateCompilation
(@"
447
CreateCompilation
(@"
600
CreateCompilation
(@"
648
CreateCompilation
(@"
680
CreateCompilation
(@"
726
CreateCompilation
(@"
771
CreateCompilation
(@"
813
CreateCompilation
(@"
862
CreateCompilation
(@"
907
CreateCompilation
(@"
949
CreateCompilation
(@"
1006
CreateCompilation
(@"
1055
CreateCompilation
(@"
1101
CreateCompilation
(@"
1158
CreateCompilation
(@"
1207
CreateCompilation
(@"
1253
CreateCompilation
(@"
1522
CreateCompilation
(@"
1749
CreateCompilation
(@"
1951
CreateCompilation
(@"
2233
CreateCompilation
(@"
2460
CreateCompilation
(@"
2662
CreateCompilation
(@"
2722
CreateCompilation
(@"
2769
CreateCompilation
(@"
2808
CreateCompilation
(@"
2847
CreateCompilation
(@"
Symbols\Metadata\PE\LoadingAttributes.cs (1)
1292
var compilation =
CreateCompilation
(
Symbols\Metadata\PE\LoadingEvents.cs (4)
467
var reference =
CreateCompilation
(source).EmitToImageReference();
468
var comp =
CreateCompilation
("", new[] { reference }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
521
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
581
var comp =
CreateCompilation
("", new[] { ilRef }, TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
Symbols\Metadata\PE\LoadingFields.cs (1)
148
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Net60);
Symbols\Metadata\PE\LoadingGenericTypeParameters.cs (1)
199
CreateCompilation
(source, new[] { mdRef }).VerifyDiagnostics(
Symbols\Metadata\PE\LoadingMetadataTokens.cs (2)
18
var compilation =
CreateCompilation
(
81
var compilation =
CreateCompilation
(
Symbols\Metadata\PE\LoadingMethods.cs (7)
772
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
785
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
829
var compilation =
CreateCompilation
(source, new[] { TestReferences.SymbolsTests.Methods.ILMethods });
1265
var c =
CreateCompilation
(source, new[] { longFormRef });
1289
var c =
CreateCompilation
(source, new[] { lib });
1309
var c =
CreateCompilation
(source, new[] { lib });
1372
var comp =
CreateCompilation
(source, references: references);
Symbols\Metadata\PE\NoPia.cs (6)
1382
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
1388
var compilationBase =
CreateCompilation
(sourceBase, new[] { referencePIASource }, TestOptions.DebugDll);
1403
var compilationDerived1 =
CreateCompilation
(sourceDerived, new[] { referencePIASource, referenceBaseSource }, TestOptions.DebugDll);
1406
var compilationDerived2 =
CreateCompilation
(sourceDerived, new[] { referencePIAImage, referenceBaseSource }, TestOptions.DebugDll);
1409
var compilationDerived3 =
CreateCompilation
(sourceDerived, new[] { referencePIASource, referenceBaseImage }, TestOptions.DebugDll);
1412
var compilationDerived4 =
CreateCompilation
(sourceDerived, new[] { referencePIAImage, referenceBaseImage }, TestOptions.DebugDll);
Symbols\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.cs (2)
554
var localType =
CreateCompilation
(assemblyName: "Dummy", source: localTypeSource,
557
var localConsumer =
CreateCompilation
(assemblyName: "Dummy", source: (string[])null,
Symbols\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.cs (6)
27
var localConsumer =
CreateCompilation
(assemblyName: "Dummy", source: (string[])null,
423
var localType1 =
CreateCompilation
(assemblyName: "Dummy1", source: localTypeSource1, references: null);
425
var localType2 =
CreateCompilation
(assemblyName: "Dummy2", source: localTypeSource2,
430
var localConsumer =
CreateCompilation
(source: "", assemblyName: "Dummy3",
468
var localType =
CreateCompilation
(assemblyName: "Dummy1", source: localTypeSource, references: null);
470
var localConsumer =
CreateCompilation
(assemblyName: "Dummy2", source: "",
Symbols\Metadata\PE\TypeForwarders.cs (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 });
1145
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1209
var compilation =
CreateCompilation
(csharp, new[] { ref1 });
1485
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Asm1");
1489
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "Asm2");
1560
var bitsA =
CreateCompilation
(moduleA, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1564
var bitsB =
CreateCompilation
(moduleB, new[] { refA }, TestOptions.ReleaseExe, assemblyName: "test").EmitToArray();
1567
var bits0 =
CreateCompilation
(module0, options: TestOptions.ReleaseModule, assemblyName: "asm0").EmitToArray();
1571
var bits1 =
CreateCompilation
(module1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1").EmitToArray();
1575
var bits2 =
CreateCompilation
(module2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1634
var forwardedTypesCompilation =
CreateCompilation
(forwardedTypes, options: TestOptions.ReleaseDll, assemblyName: "ForwarderTargetAssembly");
1641
var modCompilation =
CreateCompilation
(mod, references: new[] { new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1651
var appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1707
appCompilation =
CreateCompilation
(app, references: new MetadataReference[] { modRef2, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1729
appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1738
appCompilation =
CreateCompilation
(app, references: new[] { modRef1 }, options: TestOptions.ReleaseDll);
1750
var comp0 =
CreateCompilation
(source0, options: TestOptions.ReleaseModule, assemblyName: "asm0");
1754
var comp1 =
CreateCompilation
(source1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1");
1761
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2");
1846
var cA_v1 =
CreateCompilation
(@"
1852
var cB =
CreateCompilation
(@"
1860
var cC_v1 =
CreateCompilation
(@"
1868
var cA_v2 =
CreateCompilation
(@"
1874
var cD =
CreateCompilation
(@"
1880
var cA_v3 =
CreateCompilation
(@"", new[] { cD_ImageRef, new CSharpCompilationReference(cC_v1) }, options: TestOptions.ReleaseDll, assemblyName: "A");
1882
var cC_v2 =
CreateCompilation
(@"
1914
var context =
CreateCompilation
("", new[] { r1, r2, r3 }, options: TestOptions.ReleaseDll);
1941
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1945
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
1959
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
1968
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
1974
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
1977
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
1984
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, new CSharpCompilationReference(compB2, aliases: ImmutableArray.Create("B")), refBImpl });
2005
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
2009
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
2023
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
2032
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
2038
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
2041
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
2048
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);
1108
var comp =
CreateCompilation
(source);
Symbols\ModuleInitializers\AccessibilityTests.cs (5)
36
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
119
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
159
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
215
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
283
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\ModuleInitializers\GenericsTests.cs (4)
32
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
54
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
76
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
101
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\ModuleInitializers\ModuleInitializersTests.cs (12)
39
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
62
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
830
var comp1 =
CreateCompilation
(s1, options: moduleOptions.WithModuleName("A"), parseOptions: s_parseOptions);
847
var comp2 =
CreateCompilation
(s2, options: moduleOptions.WithModuleName("B"), parseOptions: s_parseOptions, references: new[] { ref1 });
865
var comp3 =
CreateCompilation
(s3, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
881
var comp4 =
CreateCompilation
(s4, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
897
var comp5 =
CreateCompilation
(s5, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
913
var comp6 =
CreateCompilation
(s6, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
935
var comp7 =
CreateCompilation
(s7, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
959
var comp8 =
CreateCompilation
(s8, options: exeOptions, parseOptions: s_parseOptions, references: new[] { ref1, ref2 });
1098
var ref1 =
CreateCompilation
(source1).ToMetadataReference(aliases: ImmutableArray.Create("Alias1"));
1099
var ref2 =
CreateCompilation
(source1).ToMetadataReference(aliases: ImmutableArray.Create("Alias2"));
Symbols\ModuleInitializers\SignatureTests.cs (9)
33
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
56
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions, targetFramework: TargetFramework.NetCoreApp);
81
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
103
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
125
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
147
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
195
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
217
var compilation =
CreateCompilation
(source, targetFramework: StaticAbstractMembersInInterfacesTests._supportingFramework);
237
var compilation =
CreateCompilation
(source, targetFramework: StaticAbstractMembersInInterfacesTests._supportingFramework);
Symbols\ModuleInitializers\TargetsTests.cs (18)
36
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
67
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
89
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
116
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
138
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
165
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
187
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
214
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
241
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
276
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
306
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
341
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
371
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
406
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
431
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
458
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
480
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
507
var compilation =
CreateCompilation
(source, parseOptions: s_parseOptions);
Symbols\NamespaceExtentTests.cs (2)
19
var c1 =
CreateCompilation
("");
20
var c2 =
CreateCompilation
("");
Symbols\OverriddenOrHiddenMembersTests.cs (102)
74
var comp =
CreateCompilation
(tree);
161
var comp =
CreateCompilation
(tree);
242
var comp =
CreateCompilation
(text);
333
var comp =
CreateCompilation
(text);
414
var comp =
CreateCompilation
(text);
465
var comp =
CreateCompilation
(text);
601
var comp =
CreateCompilation
(text);
663
var comp =
CreateCompilation
(text);
734
var comp1 =
CreateCompilation
(text1);
738
var comp2 =
CreateCompilation
(text2, references: refs, assemblyName: "Test2");
742
var comp =
CreateCompilation
(text3, refs, assemblyName: "Test3");
861
CreateCompilation
(text).VerifyDiagnostics(
897
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
1110
CreateCompilation
(text)
1135
var comp =
CreateCompilation
(text);
1153
var comp =
CreateCompilation
(text);
1182
var comp =
CreateCompilation
(
1219
var comp =
CreateCompilation
(
1255
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics();
1269
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1317
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1416
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1551
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics();
1565
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1615
CreateCompilation
(text1, references: refs, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1819
CreateCompilation
(text).VerifyDiagnostics();
1861
var comp =
CreateCompilation
(text);
1887
var comp =
CreateCompilation
(text);
1912
var comp =
CreateCompilation
(text);
1940
var comp =
CreateCompilation
(text);
1968
var comp =
CreateCompilation
(text);
1996
var comp =
CreateCompilation
(text);
2025
var comp =
CreateCompilation
(text);
2092
var comp =
CreateCompilation
(text);
2113
CreateCompilation
(text).VerifyDiagnostics();
2119
CreateCompilation
(@"
2160
CreateCompilation
(text).VerifyDiagnostics(
2176
var c1 =
CreateCompilation
(@"
2190
var c2 =
CreateCompilation
(@"
2205
var c1 =
CreateCompilation
(@"
2231
var c2 =
CreateCompilation
(@"
2432
var comp =
CreateCompilation
(source);
2491
var comp =
CreateCompilation
(source);
2556
var comp =
CreateCompilation
(source);
2615
var comp =
CreateCompilation
(source);
2828
var comp =
CreateCompilation
(csharp, new[] { ref1 }, options: TestOptions.ReleaseExe);
2899
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2902
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
2905
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
2947
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2950
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
2953
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
2995
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
2998
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3001
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3042
var comp1 =
CreateCompilation
(source1, assemblyName: "A");
3045
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B");
3048
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C");
3089
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3092
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3095
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3136
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3139
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3142
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3208
var comp1 =
CreateCompilation
(source1, assemblyName: "A");
3211
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B");
3216
var comp3 =
CreateCompilation
("", new[] { ref1, ref2, ilRef }, assemblyName: "Test");
3263
var comp1 =
CreateCompilation
(source1, assemblyName: "A.dll");
3266
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, assemblyName: "B.dll");
3269
var comp3 =
CreateCompilation
(source3, new[] { ref1, ref2 }, assemblyName: "C.dll");
3366
CreateCompilation
(source).VerifyDiagnostics(
3482
CreateCompilation
(source).VerifyDiagnostics(
3577
var comp =
CreateCompilation
(source);
3626
CreateCompilation
(source).VerifyDiagnostics();
3681
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3753
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3813
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3879
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3937
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
3973
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4003
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4033
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4063
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4093
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4123
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4153
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4182
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4209
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4236
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4262
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4289
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4316
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4342
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4376
var comp =
CreateCompilation
(text).VerifyDiagnostics();
4421
var comp =
CreateCompilation
(text).VerifyDiagnostics(
4447
var comp =
CreateCompilation
(text).VerifyDiagnostics(
4473
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4497
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4518
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4538
var comp =
CreateCompilation
(code).VerifyDiagnostics();
4555
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4578
var comp =
CreateCompilation
(code).VerifyDiagnostics(
Symbols\PartialPropertiesTests.cs (111)
38
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
110
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
178
var comp =
CreateCompilation
(source);
204
var comp =
CreateCompilation
(source);
226
var comp =
CreateCompilation
(source);
252
var comp =
CreateCompilation
(source);
276
var comp =
CreateCompilation
(source);
304
var comp =
CreateCompilation
(source);
329
var comp =
CreateCompilation
(source);
352
var comp =
CreateCompilation
(source);
389
var comp =
CreateCompilation
(source);
425
var comp =
CreateCompilation
(source);
450
var comp =
CreateCompilation
(source);
478
var comp =
CreateCompilation
(source);
497
var comp =
CreateCompilation
(source);
516
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
538
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
569
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
591
var comp =
CreateCompilation
(source);
610
var comp =
CreateCompilation
(source);
629
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
649
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
668
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
727
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
1143
var comp1 =
CreateCompilation
([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]);
1190
var comp1 =
CreateCompilation
([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]);
1218
var comp =
CreateCompilation
(source);
1250
var comp =
CreateCompilation
(source);
1358
var comp =
CreateCompilation
(source);
1385
var comp =
CreateCompilation
(source);
1449
var comp =
CreateCompilation
(source);
1481
var comp =
CreateCompilation
(source);
1510
var comp =
CreateCompilation
(source);
1553
var comp =
CreateCompilation
(source);
1586
var comp =
CreateCompilation
(source);
1624
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
1639
comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations));
1675
var comp =
CreateCompilation
(source);
1799
var comp =
CreateCompilation
(source);
1878
var comp =
CreateCompilation
(source);
1914
var comp =
CreateCompilation
(source);
1969
var comp =
CreateCompilation
(source);
2036
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2045
comp =
CreateCompilation
(source);
2075
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2180
var comp =
CreateCompilation
(source);
2260
var comp =
CreateCompilation
(source);
2351
var comp =
CreateCompilation
([source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute]);
2377
var comp =
CreateCompilation
([source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute]);
2412
var comp =
CreateCompilation
(source);
2445
var comp =
CreateCompilation
(source);
2479
var comp =
CreateCompilation
(source);
2508
CreateCompilation
(source).VerifyDiagnostics(
2516
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
2518
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
2542
CreateCompilation
(source).VerifyDiagnostics(
2639
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2774
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2890
var comp =
CreateCompilation
(source);
2931
var comp =
CreateCompilation
(source);
2964
var comp =
CreateCompilation
(source);
3016
var comp =
CreateCompilation
(source);
3060
var comp =
CreateCompilation
(source);
3099
var comp =
CreateCompilation
(source);
3121
var comp =
CreateCompilation
(source);
3140
var comp =
CreateCompilation
(source);
3215
var comp =
CreateCompilation
(source);
3291
var comp =
CreateCompilation
(source);
3326
var comp =
CreateCompilation
(source);
3357
var comp =
CreateCompilation
(source);
3386
var comp =
CreateCompilation
(source);
3441
var comp =
CreateCompilation
(source);
3501
var comp =
CreateCompilation
(source);
3529
var comp =
CreateCompilation
(source);
3562
var comp =
CreateCompilation
(source);
3595
var comp =
CreateCompilation
(source);
3622
var comp =
CreateCompilation
(source);
3660
var comp =
CreateCompilation
(source);
3730
var comp =
CreateCompilation
(source);
3770
var comp =
CreateCompilation
(source);
3819
var comp =
CreateCompilation
(source);
3860
var comp =
CreateCompilation
(source);
3893
var comp =
CreateCompilation
(source);
3924
var comp =
CreateCompilation
(source);
3975
var comp =
CreateCompilation
(source);
4031
var comp =
CreateCompilation
(source);
4081
var comp =
CreateCompilation
(source);
4113
var comp =
CreateCompilation
(source);
4169
var comp =
CreateCompilation
(source);
4247
var comp =
CreateCompilation
(source);
4329
var comp =
CreateCompilation
([source, UnscopedRefAttributeDefinition]);
4828
var comp =
CreateCompilation
(source);
4850
var comp =
CreateCompilation
(source);
4871
var comp =
CreateCompilation
(source);
4901
var comp =
CreateCompilation
(source);
4932
var comp =
CreateCompilation
(source);
4964
var comp =
CreateCompilation
(source);
4995
var comp =
CreateCompilation
([source, UnmanagedCallersOnlyAttributeDefinition]);
5091
var verifier =
CreateCompilation
(source);
5140
var comp =
CreateCompilation
(source);
5193
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
5196
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
5223
var comp =
CreateCompilation
(source);
5259
var comp =
CreateCompilation
(source);
5306
var comp =
CreateCompilation
(source);
5343
var comp =
CreateCompilation
(source);
5379
var comp =
CreateCompilation
(source);
5406
var comp =
CreateCompilation
(source);
5431
var comp =
CreateCompilation
(source);
5450
var comp =
CreateCompilation
(source);
5499
var comp =
CreateCompilation
(source);
Symbols\RelaxedShiftOperatorTests.cs (10)
47
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
51
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
54
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
59
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
92
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
180
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
224
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
268
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
312
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.NetCoreApp,
Symbols\RequiredMembersTests.cs (61)
23
=>
CreateCompilation
(new[] { source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute }, references, options: options, parseOptions: parseOptions, assemblyName: assemblyName, targetFramework: targetFramework);
511
comp =
CreateCompilation
(derived, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
554
var derivedComp =
CreateCompilation
(derived, references: new[] { baseReference });
557
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
599
comp =
CreateCompilation
(derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
652
var derivedComp =
CreateCompilation
(derived, new[] { baseReference });
655
comp =
CreateCompilation
(derivedDerived, new[] { baseReference, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
731
comp =
CreateCompilation
(derived, new[] { baseReference }, assemblyName: "derived");
802
comp =
CreateCompilation
("#pragma warning disable CS0649 // Never assigned" + derived, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
1286
var comp =
CreateCompilation
(@"
1379
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1608
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1635
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1678
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1703
comp =
CreateCompilation
(creation, references: new[] { useMetadataReference ? cComp.ToMetadataReference() : cComp.EmitToImageReference() });
1798
var comp =
CreateCompilation
(new[] { c }, references: new[] { ilRef }, targetFramework: TargetFramework.Net70);
2026
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2065
var derivedComp =
CreateCompilation
(derived, new[] { baseRef });
2068
comp =
CreateCompilation
(code, new[] { baseRef, useMetadataReference ? derivedComp.ToMetadataReference() : derivedComp.EmitToImageReference() });
2120
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2153
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2184
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2217
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2268
var derivedComp =
CreateCompilation
(derived, new[] { baseRef, originalCRef }, targetFramework: TargetFramework.Standard);
2276
var comp =
CreateCompilation
(code, new[] { baseRef, derivedComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2312
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() }, targetFramework: TargetFramework.Standard);
2352
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2387
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2426
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2458
comp =
CreateCompilation
(code, new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
2540
var comp =
CreateCompilation
(code, new[] { baseRef }, targetFramework: TargetFramework.Net70);
2569
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2600
var comp =
CreateCompilation
(code, new[] { baseComp.ToMetadataReference(), retargetedC.ToMetadataReference() });
2735
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
2766
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
2888
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3014
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3239
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3284
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3328
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3369
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3413
var comp =
CreateCompilation
(c, new[] { il, originalComp.EmitToImageReference() });
3546
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3680
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
3811
var comp =
CreateCompilation
(c, new[] { ilRef }, targetFramework: TargetFramework.Net70);
4058
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
4082
var comp =
CreateCompilation
(new[] { code, CompilerFeatureRequiredAttribute });
4125
var comp =
CreateCompilation
(new[] { code, RequiredMemberAttribute, CompilerFeatureRequiredAttribute });
4664
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4709
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4754
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4798
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
4844
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5220
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
5366
comp =
CreateCompilation
(derived, new[] { baseComp.EmitToImageReference() });
6587
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
6666
comp =
CreateCompilation
(code, references: new[] { useMetadataReference ? baseComp.ToMetadataReference() : baseComp.EmitToImageReference() });
6987
var script =
CreateCompilation
("""
7516
var comp =
CreateCompilation
(new[] { """
7589
var comp =
CreateCompilation
(new[] { """
7888
CreateCompilation
(source, targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
Symbols\Retargeting\NoPia.cs (57)
649
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
654
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
950
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1", targetFramework: TargetFramework.Standard);
953
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
958
var LocalTypes2 =
CreateCompilation
(s_sourceLocalTypes2, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
1258
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1");
1283
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1308
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1313
var LocalTypes1 =
CreateCompilation
(s_sourceLocalTypes1, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes1",
1335
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3_IL, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3");
1571
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1586
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1590
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1624
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1639
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1643
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1668
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1681
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1685
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1718
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "pia");
1736
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1740
var comp2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll,
1887
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
1934
var Pia1 =
CreateCompilation
(s_sourcePia1, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
1937
var LocalTypes3 =
CreateCompilation
(s_sourceLocalTypes3, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes3",
2015
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2041
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2046
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2061
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2076
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2091
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2140
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2166
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2171
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2186
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2201
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2216
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2265
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2291
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2296
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2311
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2326
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2341
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2381
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2403
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2",
2408
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2423
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2473
var localTypes2 =
CreateCompilation
(source, options: TestOptions.ReleaseDll, assemblyName: "LocalTypes2");
2499
var pia =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia");
2504
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2519
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2534
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2549
compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2586
var pia1 =
CreateCompilation
(piaSource, options: TestOptions.ReleaseDll, assemblyName: "Pia1");
2599
var module1 =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule, assemblyName: "Module1",
2602
var multiModule =
CreateCompilation
("", options: TestOptions.ReleaseDll,
2617
var consumer =
CreateCompilation
(consumerSource, options: TestOptions.ReleaseDll,
Symbols\Retargeting\RetargetCustomAttributes.cs (7)
338
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugDll);
346
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: TestOptions.DebugDll);
347
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference() }, options: TestOptions.DebugDll);
368
var comp1_1 =
CreateCompilation
(source1_1, options: TestOptions.DebugDll, assemblyName: "Lib65048");
376
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_1.ToMetadataReference() }, options: TestOptions.DebugDll);
387
var comp1_2 =
CreateCompilation
(source1_2, options: TestOptions.DebugDll, assemblyName: "Lib65048");
389
var comp3 =
CreateCompilation
("", references: new[] { comp2.ToMetadataReference(), comp1_2.ToMetadataReference() }, options: TestOptions.DebugDll);
Symbols\Retargeting\RetargetExplicitInterfaceImplementation.cs (3)
451
var compilation1 =
CreateCompilation
(source1, references: new[] { ref1 });
459
var compilation2 =
CreateCompilation
(source2, references: new[] { compilation1.ToMetadataReference(), ref1, CreateEmptyCompilation("").ToMetadataReference() });
461
var compilation3 =
CreateCompilation
("", references: new[] { compilation1.ToMetadataReference(), compilation2.ToMetadataReference() });
Symbols\Retargeting\RetargetingTests.cs (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)
78
var comp =
CreateCompilation
(text, new[] { C1, C2 });
157
var comp =
CreateCompilation
(text);
180
var comp =
CreateCompilation
(text);
204
var comp =
CreateCompilation
(text);
338
var comp =
CreateCompilation
(text);
366
var comp =
CreateCompilation
(text);
393
var comp =
CreateCompilation
(text);
434
var comp =
CreateCompilation
(text);
698
CreateCompilation
(text).VerifyDiagnostics(
711
CreateCompilation
(text).VerifyDiagnostics(
728
CreateCompilation
(text).VerifyDiagnostics(
743
CreateCompilation
(text).VerifyDiagnostics();
756
CreateCompilation
(text).VerifyDiagnostics();
772
CreateCompilation
(text).VerifyDiagnostics();
788
CreateCompilation
(text).VerifyDiagnostics(
807
CreateCompilation
(text).VerifyDiagnostics();
825
CreateCompilation
(text).VerifyDiagnostics();
840
CreateCompilation
(text).VerifyDiagnostics(
860
CreateCompilation
(text).VerifyDiagnostics();
881
CreateCompilation
(text).VerifyDiagnostics();
898
CreateCompilation
(text).VerifyDiagnostics(
917
CreateCompilation
(text).VerifyDiagnostics(
946
CreateCompilation
(text).VerifyDiagnostics(
977
CreateCompilation
(text).VerifyDiagnostics(
994
var comp =
CreateCompilation
(text, new[] { C1, C2 });
1014
var comp =
CreateCompilation
(text, new[] { ClassAv1 }, assemblyName: "ClassB");
1032
var comp2 =
CreateCompilation
(text, new MetadataReference[] { ClassAv2, new CSharpCompilationReference(comp) });
1065
var comp =
CreateCompilation
(text, new[]
1088
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1128
var comp =
CreateCompilation
(text, new[] { ClassAv2 }, assemblyName: "ClassB");
1157
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1181
var comp =
CreateCompilation
(text, new MetadataReference[]
1214
var comp2 =
CreateCompilation
(text, new MetadataReference[]
1410
var comp =
CreateCompilation
(tree);
1426
var comp =
CreateCompilation
(tree);
1440
var comp =
CreateCompilation
(Parse(text));
1465
var comp =
CreateCompilation
(Parse(text));
1496
var comp =
CreateCompilation
(Parse(text));
1522
var comp =
CreateCompilation
(text);
1538
var comp =
CreateCompilation
(text);
1561
var comp =
CreateCompilation
(text);
1614
CSharpCompilation c1 =
CreateCompilation
(textA);
1615
CSharpCompilation c2 =
CreateCompilation
(textB, new[] { new CSharpCompilationReference(c1) });
1622
c2 =
CreateCompilation
(textB, new[] { MetadataReference.CreateFromImage(metadata1) });
1649
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1652
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) }, assemblyName: "Two");
1841
var compilation1 =
CreateCompilation
(source1, assemblyName: "One");
1844
var compilation2 =
CreateCompilation
(source2, new[] { new CSharpCompilationReference(compilation1) }, assemblyName: "Two");
1873
var comp =
CreateCompilation
(Parse(text));
1895
var metadataRef =
CreateCompilation
(source).EmitToImageReference(embedInteropTypes: true);
1897
var comp =
CreateCompilation
("", new[] { metadataRef });
1916
var compilation =
CreateCompilation
(source);
1931
var compilation =
CreateCompilation
(source);
1948
var compilation =
CreateCompilation
(source);
1971
var compilation =
CreateCompilation
(source);
2007
var compilation =
CreateCompilation
(source);
2060
var comp =
CreateCompilation
(text);
2094
var comp =
CreateCompilation
(text);
2132
var comp =
CreateCompilation
(text);
2165
var comp =
CreateCompilation
(text);
2198
var comp =
CreateCompilation
(text);
2231
var comp =
CreateCompilation
(text);
2257
var comp =
CreateCompilation
(text);
2282
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
2319
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular12);
2340
comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
2370
var comp =
CreateCompilation
(source);
2388
var comp =
CreateCompilation
(source);
2405
var comp =
CreateCompilation
(source);
Symbols\Source\ClsComplianceTests.cs (139)
51
CreateCompilation
(source).VerifyDiagnostics(
124
CreateCompilation
(source).VerifyDiagnostics(
208
CreateCompilation
(source).VerifyDiagnostics(
282
CreateCompilation
(source).VerifyDiagnostics(
331
CreateCompilation
(source).VerifyDiagnostics();
363
CreateCompilation
(source).VerifyDiagnostics(
397
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
405
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
442
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
495
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", parseOptions: TestOptions.Regular11).EmitToImageReference();
496
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", parseOptions: TestOptions.Regular11).EmitToImageReference();
497
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", parseOptions: TestOptions.Regular11).EmitToImageReference();
499
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
561
var lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
562
var lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
563
var lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3", options: TestOptions.UnsafeDebugDll).EmitToImageReference();
565
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
582
lib1 =
CreateCompilation
(libSource1, assemblyName: "lib1").EmitToImageReference();
583
lib2 =
CreateCompilation
(libSource2, assemblyName: "lib2").EmitToImageReference();
584
lib3 =
CreateCompilation
(libSource3, assemblyName: "lib3").EmitToImageReference();
586
CreateCompilation
(source, new[] { lib1, lib2, lib3 }, TestOptions.ReleaseDll).VerifyDiagnostics(
689
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
736
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(
762
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
810
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
840
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
849
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
879
CreateCompilation
(source).VerifyDiagnostics(
928
CreateCompilation
(source).VerifyDiagnostics(
963
CreateCompilation
(source).VerifyDiagnostics(
1024
CreateCompilation
(source).VerifyDiagnostics(
1068
CreateCompilation
(source).VerifyDiagnostics(
1122
CreateCompilation
(source).VerifyDiagnostics(
1181
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1228
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1271
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
1322
CreateCompilation
(source).VerifyDiagnostics(
1364
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions)).VerifyDiagnostics(
1398
CreateCompilation
(source).VerifyDiagnostics(
1440
CreateCompilation
(source).VerifyDiagnostics(
1498
CreateCompilation
(source).VerifyDiagnostics(
1558
CreateCompilation
(source).VerifyDiagnostics(
1622
CreateCompilation
(source).VerifyDiagnostics(
1697
CreateCompilation
(source).VerifyDiagnostics(
1717
CreateCompilation
(source).VerifyDiagnostics(
1764
CreateCompilation
(source).VerifyDiagnostics(
1864
CreateCompilation
(source).VerifyDiagnostics(
1971
CreateCompilation
(source).VerifyDiagnostics(
2008
CreateCompilation
(source).VerifyDiagnostics(
2067
CreateCompilation
(source).VerifyDiagnostics(
2129
CreateCompilation
(source).VerifyDiagnostics();
2142
CreateCompilation
(source).VerifyDiagnostics(
2161
CreateCompilation
(source).VerifyDiagnostics(
2182
CreateCompilation
(source).VerifyDiagnostics(
2203
CreateCompilation
(source).VerifyDiagnostics(
2239
CreateCompilation
(source).VerifyDiagnostics(
2274
CreateCompilation
(source).VerifyDiagnostics(
2307
CreateCompilation
(source).VerifyDiagnostics();
2325
CreateCompilation
(source).VerifyDiagnostics(
2334
CreateCompilation
("[module:System.CLSCompliant(true)]").VerifyDiagnostics(
2339
CreateCompilation
("[module:System.CLSCompliant(false)]").VerifyDiagnostics(
2353
CreateCompilation
(string.Format(sourceTemplate, "true", "true")).VerifyDiagnostics();
2354
CreateCompilation
(string.Format(sourceTemplate, "false", "false")).VerifyDiagnostics();
2356
CreateCompilation
(string.Format(sourceTemplate, "true", "false")).VerifyDiagnostics(
2360
CreateCompilation
(string.Format(sourceTemplate, "false", "true")).VerifyDiagnostics(); // No warnings, since false.
2366
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2367
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2368
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2371
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2372
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2379
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2384
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2389
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2390
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2393
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2394
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2395
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2401
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2402
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2403
var noneModuleRef =
CreateCompilation
("", options: TestOptions.ReleaseModule, assemblyName: "none").EmitToImageReference();
2406
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef }).VerifyDiagnostics();
2407
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { falseModuleRef }).VerifyDiagnostics(
2412
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { noneModuleRef }).VerifyDiagnostics(
2417
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef }).VerifyDiagnostics(
2422
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { falseModuleRef }).VerifyDiagnostics(); //CONSIDER: dev11 reports WRN_CLS_NotOnModules (don't know why)
2423
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { noneModuleRef }).VerifyDiagnostics();
2426
CreateCompilation
("", new[] { trueModuleRef }).VerifyDiagnostics();
2427
CreateCompilation
("", new[] { falseModuleRef }).VerifyDiagnostics();
2428
CreateCompilation
("", new[] { noneModuleRef }).VerifyDiagnostics();
2434
var trueModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(true)][module:System.CLSCompliant(true)]", options: TestOptions.ReleaseModule, assemblyName: "true").EmitToImageReference();
2435
var falseModuleRef =
CreateCompilation
("[assembly:System.CLSCompliant(false)][module:System.CLSCompliant(false)]", options: TestOptions.ReleaseModule, assemblyName: "false").EmitToImageReference();
2437
CreateCompilation
("[assembly:System.CLSCompliant(true)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2444
CreateCompilation
("[assembly:System.CLSCompliant(false)]", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2449
CreateCompilation
("", new[] { trueModuleRef, falseModuleRef }).VerifyDiagnostics(
2495
CreateCompilation
(source).VerifyDiagnostics(
2542
CreateCompilation
(source).VerifyDiagnostics(
2598
CreateCompilation
(source).VerifyDiagnostics(
2652
CreateCompilation
(source).VerifyDiagnostics(
2695
CreateCompilation
(source).VerifyDiagnostics(
2733
CreateCompilation
(source).VerifyDiagnostics(
2763
CreateCompilation
(source).VerifyDiagnostics();
2807
CreateCompilation
(source).VerifyDiagnostics(
2862
CreateCompilation
(source).VerifyDiagnostics(
2896
CreateCompilation
(source).VerifyDiagnostics();
2967
CreateCompilation
(string.Format(sourceTemplate, "")).VerifyDiagnostics(
2973
CreateCompilation
(string.Format(sourceTemplate, "void M();")).VerifyDiagnostics(
2980
CreateCompilation
(string.Format(sourceTemplate, "void m();")).VerifyDiagnostics(
2996
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3017
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3038
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3066
CreateCompilation
(source).VerifyDiagnostics();
3090
CreateCompilation
(source).VerifyDiagnostics();
3108
CreateCompilation
(source).VerifyDiagnostics();
3130
var moduleRef =
CreateCompilation
(moduleSource, assemblyName: "module").EmitToImageReference(expectedWarnings: new[]
3138
CreateCompilation
(source, new[] { moduleRef }).VerifyDiagnostics();
3218
CreateCompilation
(source).VerifyDiagnostics(
3244
CreateCompilation
(source).VerifyDiagnostics(
3270
CreateCompilation
(source).VerifyDiagnostics(
3288
var comp =
CreateCompilation
(source);
3366
CreateCompilation
(source).VerifyDiagnostics(
3420
CreateCompilation
(source).VerifyDiagnostics(
3459
var libRef =
CreateCompilation
(libSource).EmitToImageReference();
3460
var comp =
CreateCompilation
(source, new[] { libRef });
3499
var comp =
CreateCompilation
(new[] { tree1, tree2 });
3599
CreateCompilation
(source).VerifyDiagnostics(
3608
CreateCompilation
("[assembly:System.CLSCompliant(true)]" + source).VerifyDiagnostics(
3617
CreateCompilation
("[assembly:System.CLSCompliant(false)]" + source).VerifyDiagnostics();
3646
var libRef =
CreateCompilation
(libSource).EmitToImageReference();
3647
CreateCompilation
(source, new[] { libRef }).VerifyDiagnostics(
3709
CreateCompilation
(source, new[] { libRef }).VerifyDiagnostics(
3728
CreateCompilation
(source).VerifyDiagnostics(
3756
var libRef =
CreateCompilation
(libSource, assemblyName: "lib").EmitToImageReference();
3776
CreateCompilation
(source).VerifyDiagnostics(
3800
CreateCompilation
(source).VerifyDiagnostics(
3829
CreateCompilation
(source).VerifyDiagnostics(
3851
CreateCompilation
(source).VerifyDiagnostics(
3866
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseModule);
3879
var comp2 =
CreateCompilation
(source2, new[] { comp1.EmitToImageReference() }, TestOptions.ReleaseDll.WithConcurrentBuild(false));
3918
CreateCompilation
(source).VerifyDiagnostics();
Symbols\Source\CompletionTests.cs (1)
72
var comp =
CreateCompilation
(text, skipUsesIsNullable: true);
Symbols\Source\CustomModifierCopyTests.cs (15)
49
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
92
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
143
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
192
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
254
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
319
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
355
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
409
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
518
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
587
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
634
var comp =
CreateCompilation
(text);
690
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
723
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
764
var comp =
CreateCompilation
(text, new MetadataReference[] { ilAssemblyReference });
805
var comp =
CreateCompilation
(text);
Symbols\Source\DeclaringSyntaxNodeTests.cs (13)
188
var comp = (Compilation)
CreateCompilation
(text);
232
var comp = (Compilation)
CreateCompilation
(text);
258
var comp =
CreateCompilation
(tree);
301
var comp =
CreateCompilation
(tree);
407
var comp = (Compilation)
CreateCompilation
(text);
447
var comp = (Compilation)
CreateCompilation
(text);
514
var comp = (Compilation)
CreateCompilation
(text);
603
var comp =
CreateCompilation
(tree);
638
var comp =
CreateCompilation
(tree);
663
var comp =
CreateCompilation
(tree);
689
var comp =
CreateCompilation
(tree);
718
var comp =
CreateCompilation
(tree);
736
var comp0 =
CreateCompilation
(new[] { source0, source1, source2, source3 });
Symbols\Source\DelegateTests.cs (25)
70
var comp =
CreateCompilation
(text);
87
var comp =
CreateCompilation
(text);
105
var comp =
CreateCompilation
(text);
126
var comp =
CreateCompilation
(text);
154
var comp =
CreateCompilation
(text);
201
var comp =
CreateCompilation
(text);
227
var comp =
CreateCompilation
(Parse(text));
256
CreateCompilation
(text).VerifyDiagnostics();
300
CreateCompilation
(text).VerifyDiagnostics(
321
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
325
CreateCompilation
(text).VerifyDiagnostics();
335
var comp =
CreateCompilation
(text);
379
CreateCompilation
(text).VerifyDiagnostics();
389
var comp =
CreateCompilation
(text);
420
var comp =
CreateCompilation
(text);
451
var comp =
CreateCompilation
(text);
485
var comp =
CreateCompilation
(text);
598
CreateCompilation
(text).VerifyDiagnostics(
701
CreateCompilation
(source).VerifyDiagnostics();
714
CreateCompilation
(source).VerifyDiagnostics(
732
var comp =
CreateCompilation
(source).VerifyDiagnostics();
755
var comp =
CreateCompilation
(source);
845
CreateCompilation
("partial public delegate void M();").VerifyDiagnostics(
857
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
866
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
Symbols\Source\EnumTests.cs (31)
80
var comp =
CreateCompilation
(text);
97
comp =
CreateCompilation
(text);
152
var comp =
CreateCompilation
(text);
162
var comp =
CreateCompilation
(text);
172
var comp =
CreateCompilation
(text);
184
var comp =
CreateCompilation
(text);
204
var comp =
CreateCompilation
(text);
215
var comp =
CreateCompilation
(text);
235
var comp =
CreateCompilation
(text);
270
var comp =
CreateCompilation
(text);
289
var comp1 =
CreateCompilation
(text);
327
var comp =
CreateCompilation
(text);
397
var comp =
CreateCompilation
(source);
426
comp =
CreateCompilation
(source);
469
var comp =
CreateCompilation
(text);
489
var comp =
CreateCompilation
(text);
568
var comp =
CreateCompilation
(source).VerifyDiagnostics(
601
var comp =
CreateCompilation
(source).VerifyDiagnostics(
693
var comp =
CreateCompilation
(text);
709
var comp =
CreateCompilation
(text);
722
var comp =
CreateCompilation
(text);
730
comp =
CreateCompilation
(text);
750
var comp =
CreateCompilation
(text);
781
var comp =
CreateCompilation
(text);
806
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
822
CreateCompilation
(text).VerifyDiagnostics(
857
CreateCompilation
(text).VerifyDiagnostics(
879
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
903
CreateCompilation
(text).VerifyDiagnostics(); // No Errors
913
CreateCompilation
(text).VerifyDiagnostics(
992
var comp =
CreateCompilation
(text);
Symbols\Source\EventTests.cs (50)
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(
2511
var comp1 =
CreateCompilation
(
2649
var comp1 =
CreateCompilation
(
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 (146)
35
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
41
comp =
CreateCompilation
(source);
55
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
64
comp =
CreateCompilation
(source);
81
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
88
comp =
CreateCompilation
(source);
114
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
126
comp =
CreateCompilation
(source);
148
var comp =
CreateCompilation
(source);
169
var comp =
CreateCompilation
(source);
189
var comp =
CreateCompilation
(source);
407
var comp =
CreateCompilation
(source);
467
var comp =
CreateCompilation
(new[] { source, source });
488
var comp =
CreateCompilation
(new[] { source, source });
509
var comp =
CreateCompilation
(new[] { source, source });
540
var comp =
CreateCompilation
(new[] { source1, source2 });
546
comp =
CreateCompilation
(new[] { source2, source1 });
564
var comp =
CreateCompilation
(new[] { source, source });
595
var comp =
CreateCompilation
(new[] { source1, source2 });
601
comp =
CreateCompilation
(new[] { source2, source1 });
619
var comp =
CreateCompilation
(new[] { source, source });
650
var comp =
CreateCompilation
(new[] { source1, source2 });
656
comp =
CreateCompilation
(new[] { source2, source1 });
674
var comp =
CreateCompilation
(new[] { source, source });
709
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
835
var comp1 =
CreateCompilation
(testSource1, options: options, assemblyName: "filetypes");
836
var comp2 =
CreateCompilation
(testSource2, options: options, assemblyName: "filetypes");
842
var comp3 =
CreateCompilation
(testSource2, options: options.WithSourceReferenceResolver(resolver), assemblyName: "filetypes");
877
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
880
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
921
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
924
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
959
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
962
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
993
var comp =
CreateCompilation
(new[] { source1, source2 }, assemblyName: "comp");
996
comp =
CreateCompilation
(new[] { source2, source1 }, assemblyName: "comp");
1033
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file1.cs") });
1086
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source, options: TestOptions.RegularPreview, path: $"path/to/My{badChar}File.cs", encoding: Encoding.Default));
1113
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "\uD800.cs"));
1278
var comp =
CreateCompilation
(new[] { source1 + main, source2 });
1281
comp =
CreateCompilation
(new[] { source1, source2 + main });
1529
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1550
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1604
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
1624
comp =
CreateCompilation
(new[] { (source2, "file2.cs"), (source1, "file1.cs") });
1678
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1728
var compilation =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs"), (source3, "file3.cs") });
1785
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") });
1791
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") });
1857
var comp =
CreateCompilation
(new[] { (source1 + main, "file1.cs"), (source2, "file2.cs") }, options: TestOptions.DebugExe);
1865
comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2 + main, "file2.cs") }, options: TestOptions.DebugExe);
2032
var comp =
CreateCompilation
(source);
2049
var comp =
CreateCompilation
(source);
2067
var comp =
CreateCompilation
((source, "file1.cs"));
2088
var comp =
CreateCompilation
(source);
2113
var comp =
CreateCompilation
(source);
2138
var comp =
CreateCompilation
(source);
2166
var comp =
CreateCompilation
(source);
2207
var comp =
CreateCompilation
(source);
2264
var comp =
CreateCompilation
(source);
2292
var comp =
CreateCompilation
(source);
2317
var comp =
CreateCompilation
(source);
2346
var comp =
CreateCompilation
(source);
2370
var comp =
CreateCompilation
(source);
2391
var comp =
CreateCompilation
(source);
2436
var comp =
CreateCompilation
(source);
2481
var comp =
CreateCompilation
(source);
2505
var comp =
CreateCompilation
(source);
2525
var comp =
CreateCompilation
(source);
2551
var comp =
CreateCompilation
(source);
2656
var comp =
CreateCompilation
(source);
2681
var comp =
CreateCompilation
((source, "Program.cs"));
2714
var comp =
CreateCompilation
(source);
2732
var comp =
CreateCompilation
(source);
2753
var comp =
CreateCompilation
(source);
2782
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2806
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
2836
var comp =
CreateCompilation
(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70);
2866
var comp =
CreateCompilation
(new[] { (source1, "F1.cs") }, targetFramework: TargetFramework.Net70);
2896
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
2935
var comp =
CreateCompilation
(source);
2962
var comp =
CreateCompilation
(source);
2995
var comp =
CreateCompilation
(source);
3010
var comp =
CreateCompilation
(source);
3034
var comp =
CreateCompilation
(source);
3055
var comp =
CreateCompilation
(source);
3078
var comp =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") });
3110
var comp =
CreateCompilation
(source);
3130
var comp =
CreateCompilation
(source);
3189
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3219
var comp =
CreateCompilation
(source);
3257
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
3325
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (IsExternalInitTypeDefinition, "file2.cs") }, options: TestOptions.DebugExe.WithUsings("NS"));
3354
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3393
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3428
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3602
var compilation =
CreateCompilation
(new[] { (source, "file.cs"), (main, "file2.cs") });
3637
var compilation =
CreateCompilation
(source);
3703
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3769
var compilation =
CreateCompilation
(source);
3810
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") });
3853
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3880
var compilation =
CreateCompilation
(new[] { (source, "file1.cs"), (main, "file2.cs") }, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
3970
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4011
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4035
var comp =
CreateCompilation
(source);
4059
var comp =
CreateCompilation
(new[]
4115
var comp =
CreateCompilation
(source1);
4137
var comp =
CreateCompilation
(source1);
4153
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4172
var comp =
CreateCompilation
(source1);
4184
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4207
var comp =
CreateCompilation
(source1);
4235
var comp =
CreateCompilation
(new[] { (source1, "file1.cs"), (source2, "file2.cs") });
4249
var comp2 =
CreateCompilation
("", references: new[] { comp.EmitToImageReference() });
4272
var ref1 =
CreateCompilation
(source1, assemblyName: "ref1");
4273
var ref2 =
CreateCompilation
(source1, assemblyName: "ref2");
4275
var comp =
CreateCompilation
("", references: new[]
4304
var comp =
CreateCompilation
(source1);
4330
var comp =
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(source1, options: TestOptions.RegularPreview, path: "path/to/SomeFile.cs"));
4355
var comp =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40);
4376
var comp2 =
CreateCompilation
(source2, references: new[] { comp.ToMetadataReference() }, targetFramework: TargetFramework.Mscorlib461);
4404
var comp =
CreateCompilation
(source);
4419
var referencingMetadataComp =
CreateCompilation
("", new[] { comp.ToMetadataReference() });
4428
var referencingImageComp =
CreateCompilation
("", new[] { comp.EmitToImageReference() });
4449
var comp =
CreateCompilation
(source);
4472
var comp =
CreateCompilation
(source);
4502
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
4522
var comp1 =
CreateCompilation
(
4544
var comp0 =
CreateCompilation
((fileTypeSource, filePath), options: TestOptions.SigningReleaseDll);
4561
var comp1 =
CreateCompilation
(
4590
var ex = Assert.Throws<ArgumentException>(() =>
CreateCompilation
(new[] { tree, tree }));
4666
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4705
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4736
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") });
4908
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
4947
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
4998
var comp =
CreateCompilation
(new[] { (source1, "F1.cs"), (source2, "F2.cs") }, targetFramework: TargetFramework.Net70);
5072
var comp =
CreateCompilation
(new[] { (source1, "File1.cs"), (source2, "File2.cs") });
5075
comp =
CreateCompilation
(source1 + source2);
5081
comp =
CreateCompilation
(source2 + source1);
5107
var comp1 =
CreateCompilation
(new[] { (source1, "File1.cs") });
5110
var comp2 =
CreateCompilation
(new[] { (source2, "File2.cs") }, references: new[] { useMetadataReference ? comp1.ToMetadataReference() : comp1.EmitToImageReference() });
5113
comp2 =
CreateCompilation
(new[] { (source2, "File2.cs") });
5116
comp1 =
CreateCompilation
(new[] { (source1, "File1.cs") }, references: new[] { useMetadataReference ? comp2.ToMetadataReference() : comp2.EmitToImageReference() });
5155
var comp =
CreateCompilation
(new[] { (source1, "File1.cs"), (source2, "File2.cs") });
Symbols\Source\LocalTests.cs (5)
32
var compilation =
CreateCompilation
(sourceCode);
86
var compilation =
CreateCompilation
(sourceCode);
111
var compilation =
CreateCompilation
(sourceCode);
136
var compilation =
CreateCompilation
(sourceCode);
159
var compilation =
CreateCompilation
(sourceCode);
Symbols\Source\MethodTests.cs (60)
34
var comp =
CreateCompilation
(text);
52
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
69
var comp =
CreateCompilation
(source);
114
var comp =
CreateCompilation
(text);
139
var comp =
CreateCompilation
(text);
166
var comp =
CreateCompilation
(text);
188
var comp =
CreateCompilation
(text);
210
var comp =
CreateCompilation
(text);
229
var comp =
CreateCompilation
(text);
257
var comp =
CreateCompilation
(text);
282
var comp =
CreateCompilation
(text);
303
var comp =
CreateCompilation
(text);
325
var comp =
CreateCompilation
(text);
341
var comp =
CreateCompilation
(text);
358
var comp =
CreateCompilation
(text);
426
var comp =
CreateCompilation
(text);
445
var comp =
CreateCompilation
(text);
509
var comp =
CreateCompilation
(new[] { text1, text2 });
955
var comp =
CreateCompilation
(new[] { text, text1, text2 });
1045
var comp1 =
CreateCompilation
(text);
1048
var comp2 =
CreateCompilation
(new string[] { text1 }, new List<MetadataReference>() { compRef1 }, assemblyName: "Test2");
1054
var comp =
CreateCompilation
(new string[] { text2 }, new List<MetadataReference>() { compRef1, compRef2 }, assemblyName: "Test3");
1163
var comp =
CreateCompilation
(new[] { text, text1, text2 });
1257
var comp =
CreateCompilation
(text);
1325
var comp =
CreateCompilation
(text);
1353
var comp =
CreateCompilation
(text);
1427
var comp =
CreateCompilation
(code);
1462
var comp =
CreateCompilation
(text);
1500
var comp =
CreateCompilation
(text);
1544
var comp =
CreateCompilation
(text);
1565
var comp =
CreateCompilation
(text);
1593
var comp =
CreateCompilation
(text);
1618
var comp =
CreateCompilation
(Parse(text));
1663
var comp =
CreateCompilation
(Parse(text));
1706
var comp =
CreateCompilation
(Parse(text));
1802
var comp =
CreateCompilation
(Parse(text));
1855
var comp =
CreateCompilation
(Parse(text));
1900
var comp =
CreateCompilation
(text);
1920
var comp =
CreateCompilation
(text);
1955
var comp =
CreateCompilation
(text);
1999
var comp =
CreateCompilation
(text);
2038
var comp =
CreateCompilation
(text);
2066
var comp =
CreateCompilation
(source);
2087
var comp =
CreateCompilation
(source);
2114
CreateCompilation
(source).VerifyDiagnostics(
2130
var comp =
CreateCompilation
(source);
2155
var comp =
CreateCompilation
(source);
2311
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2324
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2337
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2352
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2373
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2388
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
2406
var comp =
CreateCompilation
(source);
2422
var comp =
CreateCompilation
(source);
2441
var comp =
CreateCompilation
(source);
2460
var comp =
CreateCompilation
(source);
2485
var comp =
CreateCompilation
(source);
2535
var comp =
CreateCompilation
(source);
2566
var comp =
CreateCompilation
(source);
Symbols\Source\ModifierTests.cs (11)
47
var comp =
CreateCompilation
(text);
149
var comp =
CreateCompilation
(source);
178
CreateCompilation
(@"
188
CreateCompilation
(@"
201
CreateCompilation
(@"
214
CreateCompilation
(@"
229
CreateCompilation
(@"
241
CreateCompilation
(@"
273
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
307
CreateCompilation
(code, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp7_1)).VerifyDiagnostics(
328
CreateCompilation
(code, parseOptions: new CSharpParseOptions(LanguageVersion.CSharp7)).VerifyDiagnostics(
Symbols\Source\NamedTypeTests.cs (14)
26
var compilation =
CreateCompilation
($"[System.CLSCompliant(false)] {type}");
35
var compilation =
CreateCompilation
($"[System.Runtime.InteropServices.TypeIdentifierAttribute] {type}");
44
var compilation =
CreateCompilation
($"[System.Runtime.InteropServices.TypeIdentifier] {type}");
53
var compilation =
CreateCompilation
(@$"
65
var compilation =
CreateCompilation
(@$"
77
var compilation =
CreateCompilation
(@$"
89
var compilation =
CreateCompilation
(@$"
101
var compilation =
CreateCompilation
(@$"
113
var compilation =
CreateCompilation
(new[]
127
var compilation =
CreateCompilation
(new[]
141
var compilation =
CreateCompilation
(new[]
155
var compilation =
CreateCompilation
(new[]
173
var compilation =
CreateCompilation
(new[]
191
var compilation =
CreateCompilation
(new[]
Symbols\Source\NullablePublicAPITests.cs (121)
42
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82
var comp =
CreateCompilation
(source, options: WithNullableEnable());
427
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
434
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
441
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
464
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
469
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
473
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
938
var comp =
CreateCompilation
(source);
995
var comp =
CreateCompilation
(source);
1035
var comp1 =
CreateCompilation
(source, options: WithNullableEnable());
1039
var comp2 =
CreateCompilation
(source, options: WithNullableDisable());
1043
var comp3 =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1050
var comp4 =
CreateCompilation
("", references: new[] { comp1Emit }, options: WithNullableEnable());
1055
var comp5 =
CreateCompilation
("", references: new[] { comp2Emit }, options: WithNullableDisable());
1059
var comp6 =
CreateCompilation
("", references: new[] { comp1Emit }, parseOptions: TestOptions.Regular7_3);
1089
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1117
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1201
var comp = (Compilation)
CreateCompilation
(source, options: WithNullableEnable());
1253
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1325
var comp =
CreateCompilation
(source);
1354
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1434
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1466
var comp =
CreateCompilation
(source);
1506
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1559
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1613
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1653
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1739
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: featureFlagOff);
1750
comp =
CreateCompilation
(source, options: WithNullableEnable());
1817
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
1844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1929
var comp =
CreateCompilation
(source, options: WithNullableEnable());
1979
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2040
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2083
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2126
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2208
var comp =
CreateCompilation
(source, options: WithNullableEnable().WithAllowUnsafe(true));
2238
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2276
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2320
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2361
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2406
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2446
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2494
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2623
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8.WithFeature("run-nullable-analysis", flagState));
2657
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2695
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2770
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2819
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2905
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2950
var comp =
CreateCompilation
(source, options: WithNullableEnable());
2992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3034
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3082
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3236
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3396
var comp =
CreateCompilation
(source);
3441
var comp =
CreateCompilation
(source);
3478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3530
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3677
var comp =
CreateCompilation
(@"
3712
var comp =
CreateCompilation
(@"
3759
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3802
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3962
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4028
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
4101
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4167
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4202
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4236
var comp =
CreateCompilation
(source);
4259
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4293
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4328
var comp =
CreateCompilation
(source);
4358
var comp =
CreateCompilation
(source);
4386
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4414
var comp =
CreateCompilation
(source);
4444
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4474
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4504
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4536
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4569
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4597
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4630
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4661
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4692
var comp =
CreateCompilation
(source, options: WithNullableDisable());
4722
var comp =
CreateCompilation
(source);
4760
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4873
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
4927
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithNullableContextOptions(NullableContextOptions.Enable));
4959
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Minimal);
4994
var comp =
CreateCompilation
(source, assemblyName: "comp", options: WithNullableEnable());
5014
var comp =
CreateCompilation
(@"
5059
var comp =
CreateCompilation
(@"string s = """" switch { _ => string.Empty };", options: WithNullableEnable(TestOptions.ReleaseExe));
5091
var comp =
CreateCompilation
(source);
5123
var comp =
CreateCompilation
(source);
5154
var comp =
CreateCompilation
(source);
5181
var comp =
CreateCompilation
(source, parseOptions: runNullableAnalysisAlways ? TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "always") : TestOptions.RegularPreview);
5219
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"));
5247
var comp =
CreateCompilation
(source);
5270
var comp =
CreateCompilation
(source);
5302
var comp =
CreateCompilation
(source);
5325
var comp =
CreateCompilation
(source);
5347
var comp =
CreateCompilation
(source);
5384
var comp =
CreateCompilation
(source);
5445
var comp =
CreateCompilation
(source);
5523
var comp =
CreateCompilation
(source);
Symbols\Source\PropertyTests.cs (42)
156
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
181
var comp =
CreateCompilation
(text);
209
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
234
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
266
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
281
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
295
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
313
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular);
329
var comp =
CreateCompilation
(text).VerifyDiagnostics(
358
var comp =
CreateCompilation
(text);
391
var comp =
CreateCompilation
(text);
449
var comp =
CreateCompilation
(Parse(text));
1032
CreateCompilation
(cSharpSource).VerifyDiagnostics(
1053
CreateCompilation
(cSharpSource).VerifyDiagnostics(
1597
CreateCompilation
(cSharpSource, references: new[] { ref0 }).VerifyDiagnostics(
1654
var comp =
CreateCompilation
(Parse(text));
1691
var comp =
CreateCompilation
(Parse(text));
1726
var comp =
CreateCompilation
(Parse(text));
1746
var comp =
CreateCompilation
(Parse(text));
1817
var comp =
CreateCompilation
(Parse(text));
1868
var compilation =
CreateCompilation
(
1923
var comp =
CreateCompilation
(text);
1953
var comp =
CreateCompilation
(text);
2049
var compilation3 =
CreateCompilation
(source3, new[] { reference1 });
2089
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2229
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2284
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2320
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2450
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
2582
return
CreateCompilation
(source, new[] { s_propertiesDll }, options ?? TestOptions.ReleaseDll);
2823
var comp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseDll);
2829
comp =
CreateCompilation
(libSrc, options: TestOptions.ReleaseWinMD);
2855
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics();
2856
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
2961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular5);
2968
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular6);
2992
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular5);
2998
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3013
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
3026
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
3050
var comp1 =
CreateCompilation
(
3083
var comp1 =
CreateCompilation
(
Symbols\Source\RecordTests.cs (4)
17
=> CSharpTestBase.
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
1214
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1352
var comp2 =
CreateCompilation
(src2,
1468
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition },
Symbols\Source\SourcePlusMetadataTests.cs (10)
26
var comp =
CreateCompilation
(text);
43
var comp =
CreateCompilation
(text);
59
var comp =
CreateCompilation
(text);
80
var comp =
CreateCompilation
(text);
136
var compilation =
CreateCompilation
(new string[] { text1, text2, text3 });
230
var compilation =
CreateCompilation
(text);
249
var comp =
CreateCompilation
(text);
268
var comp1 =
CreateCompilation
(@"public class C { }",
273
var comp2 =
CreateCompilation
(@"public class B { public static C GetC() { return new C(); } }",
279
var comp3 =
CreateCompilation
(@"public class A { public static void Main() { object o = B.GetC(); } }",
Symbols\Source\TypeMapTests.cs (3)
111
var comp =
CreateCompilation
(tree);
135
var compilation =
CreateCompilation
(source);
177
var compilation =
CreateCompilation
(source);
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (1)
32
var comp =
CreateCompilation
(source, options: WithNullableEnable());
Symbols\Source\UsingAliasTests.cs (42)
32
var comp =
CreateCompilation
(tree);
89
var comp =
CreateCompilation
(tree);
149
var comp =
CreateCompilation
(tree);
204
var comp =
CreateCompilation
(tree);
269
var comp =
CreateCompilation
(tree);
296
var comp =
CreateCompilation
(tree);
342
var comp =
CreateCompilation
(tree);
383
var comp =
CreateCompilation
(tree);
404
var comp =
CreateCompilation
(tree);
423
var comp =
CreateCompilation
(tree);
442
var comp =
CreateCompilation
(tree);
461
var comp =
CreateCompilation
(tree);
480
var comp =
CreateCompilation
(tree);
501
var comp =
CreateCompilation
(tree);
522
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
543
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
563
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
582
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
602
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
626
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
649
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
666
CSharpCompilation comp =
CreateCompilation
(syntaxTree);
687
var compilation =
CreateCompilation
(text);
731
var compilation =
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.Preview));
773
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
778
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
803
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
830
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
844
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
875
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
890
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expected);
891
CreateCompilation
(text).VerifyDiagnostics(expected);
907
CreateCompilation
(text).VerifyDiagnostics(
915
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
921
CreateCompilation
("""
945
CreateCompilation
("""
961
CreateCompilation
("""
977
CreateCompilation
("""
996
CreateCompilation
("""
1015
CreateCompilation
("""
1034
CreateCompilation
("""
1054
CreateCompilation
("""
Symbols\StaticAbstractMembersInInterfacesTests.cs (567)
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,
954
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
994
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1031
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1087
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1108
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1125
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1162
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1199
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1240
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1301
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1352
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1407
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1465
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1520
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1592
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1650
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1977
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2088
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2157
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2238
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2340
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2456
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2791
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2904
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2974
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3057
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3274
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3512
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3704
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3782
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3899
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3995
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4040
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4085
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4187
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4250
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4313
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4433
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4478
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4523
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4619
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4682
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4745
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4847
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4889
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4922
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4955
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
4991
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5029
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5049
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5091
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5133
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5166
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5250
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5280
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5316
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5352
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5367
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5393
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5408
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5577
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5621
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5729
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5759
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5852
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5891
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5933
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
5960
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6005
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6050
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6074
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6098
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6144
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6189
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6210
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6242
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6317
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6366
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6397
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6449
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6467
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6505
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6580
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6596
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6623
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6698
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6732
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6764
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6839
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6861
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6893
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
6968
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
6990
compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
7022
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7050
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7080
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7110
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7142
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7221
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7315
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7526
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7620
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7719
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7836
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
7956
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8150
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8231
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8320
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8372
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8406
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
8484
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8488
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
8499
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
8532
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8569
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8573
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
8584
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
8654
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8749
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
8755
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
8888
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9094
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9098
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9109
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9162
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9166
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9191
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9254
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9296
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9317
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9379
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9383
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9394
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9432
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9436
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9447
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9507
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9587
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9662
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
9784
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9788
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9799
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9846
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9850
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
9861
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
9930
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10273
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10393
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10516
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10522
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10627
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10799
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10864
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10971
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11045
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11184
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11249
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11349
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11460
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11686
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11692
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11816
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11979
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12050
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
12163
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12167
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12178
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12226
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12230
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12248
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12313
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12317
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12328
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12363
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12367
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12378
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12424
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12460
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12533
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12537
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12555
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12620
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12624
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12660
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12720
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12724
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12735
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12799
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12890
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12984
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13082
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13123
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13142
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13228
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13299
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13337
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13418
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13422
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13433
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13470
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13474
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13485
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13526
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13540
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13577
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13581
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13592
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13629
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13633
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13644
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13681
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13685
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13696
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13760
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13857
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13952
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13999
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14038
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14128
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14132
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14143
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14177
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14181
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14192
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14226
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14230
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14241
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14278
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14282
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14293
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14577
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14639
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14669
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14730
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14734
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14745
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14779
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14783
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14794
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14869
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14935
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14995
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15057
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15081
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
15136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15140
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15151
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15185
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15189
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15200
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15264
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15329
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15351
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll.WithAllowUnsafe(true),
15404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15408
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15419
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15453
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15457
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15468
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15530
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15610
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15672
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15748
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15825
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15886
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15890
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15904
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15942
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15946
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15957
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15989
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15993
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16004
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
16041
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16103
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16159
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16176
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16454
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16640
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16657
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16728
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16743
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16818
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16821
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16837
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16900
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16903
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16919
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16982
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16985
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17001
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17052
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17055
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17072
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17127
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17130
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17146
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17214
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17217
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17233
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17304
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17307
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17330
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17410
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17413
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17436
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17588
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17731
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
17874
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17987
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18123
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18266
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18522
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18669
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18822
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18975
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19161
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19309
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19313
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19351
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19437
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19441
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19495
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19597
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19601
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19612
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19649
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19653
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19664
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19701
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19705
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19716
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19756
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19760
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19771
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19831
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19912
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20004
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20092
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20267
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20356
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20443
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20460
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20515
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20534
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20600
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20617
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20680
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20697
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21326
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21825
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21868
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21885
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21971
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21988
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22091
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22106
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22212
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22215
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22231
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22321
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22324
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22340
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22423
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22426
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22442
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22580
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22730
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22800
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22845
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22916
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22996
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23058
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23134
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23215
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23286
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23290
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23310
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23348
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23352
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23369
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23408
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23419
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23459
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23554
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23645
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23733
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23750
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24924
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25294
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25311
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25409
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25424
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25534
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25537
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25553
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25604
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25607
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25624
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25695
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25775
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25837
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25913
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25995
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26064
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26068
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26091
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26132
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26136
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26153
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26185
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26189
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26200
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26237
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26332
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26420
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26437
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27452
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27959
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27976
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28074
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28089
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28203
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
28219
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28270
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28273
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
28290
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28429
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28681
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28838
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28956
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28960
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28994
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29057
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29061
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29072
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29109
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29113
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29124
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29188
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29305
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29407
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29424
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29785
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30032
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30049
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30147
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30150
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
30166
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30253
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30256
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
30272
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30392
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
30459
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30524
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30592
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30678
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30684
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30750
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30863
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30936
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
31054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31058
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31069
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31116
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31127
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31169
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31173
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31198
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31255
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31259
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31270
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31321
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31407
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
31525
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31576
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31620
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31734
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31782
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31825
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31879
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31928
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32001
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32059
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32112
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32237
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32249
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32309
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32322
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32372
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32407
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32441
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32623
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32674
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32718
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32752
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32806
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32847
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32882
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32923
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32965
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33011
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33089
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33131
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33193
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33231
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33263
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33301
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33333
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33371
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33403
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33441
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33473
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33511
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33543
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33581
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33603
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33634
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33670
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33701
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33737
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33768
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33804
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33835
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33863
CreateCompilation
("""
33966
CreateCompilation
("""
33981
CreateCompilation
("""
34022
CreateCompilation
("""
34068
CreateCompilation
("""
34193
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
34198
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
34203
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
34250
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
34255
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
34260
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
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 (623)
100
var module1 =
CreateCompilation
(text1, options: TestOptions.ReleaseModule, assemblyName: name1);
102
var module2 =
CreateCompilation
(text2,
107
var comp =
CreateCompilation
(text,
143
var comp =
CreateCompilation
(text, references: new MetadataReference[] { ref2 }, assemblyName: "Test3");
169
CreateCompilation
(text).VerifyDiagnostics(
264
CreateCompilation
(source).VerifyDiagnostics(
350
CreateCompilation
(text).VerifyDiagnostics(
435
CreateCompilation
(text).VerifyDiagnostics(
513
var comp =
CreateCompilation
(text);
540
var comp =
CreateCompilation
(text);
576
CreateCompilation
(text).VerifyDiagnostics(
590
var comp =
CreateCompilation
(text);
741
CreateCompilation
(source).VerifyDiagnostics(
765
CreateCompilation
(source).VerifyDiagnostics(
799
CreateCompilation
(text).VerifyDiagnostics(
822
CreateCompilation
(text).VerifyDiagnostics(
839
CreateCompilation
(text, parseOptions: TestOptions.Regular,
848
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
876
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
898
CreateCompilation
(text, parseOptions: TestOptions.Regular7,
920
CreateCompilation
(text).VerifyDiagnostics(
945
CreateCompilation
(text).VerifyDiagnostics(
967
CreateCompilation
(text).VerifyDiagnostics(
996
CreateCompilation
(text).VerifyDiagnostics(
1037
CreateCompilation
(text).VerifyDiagnostics(
1057
CreateCompilation
(text).VerifyDiagnostics(
1083
var comp =
CreateCompilation
(text);
1212
CreateCompilation
(
1228
CreateCompilation
(
1258
CreateCompilation
(
1336
CreateCompilation
(
1362
CreateCompilation
(
1383
CreateCompilation
(
1399
CreateCompilation
(
1422
CreateCompilation
(
1455
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1560
var comp =
CreateCompilation
(text);
1585
CreateCompilation
(
1625
CreateCompilation
(
1672
var comp =
CreateCompilation
(text);
1716
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1763
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
1826
CreateCompilation
(text).VerifyDiagnostics(
1881
CreateCompilation
(text).VerifyDiagnostics(
1934
CreateCompilation
(text).VerifyDiagnostics(
1962
var compilation =
CreateCompilation
(
1979
var compilation =
CreateCompilation
(
2008
var compilation =
CreateCompilation
(
2044
var compilation =
CreateCompilation
(
2086
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2115
CreateCompilation
(tree).VerifyDiagnostics(
2152
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2252
CreateCompilation
(text).VerifyDiagnostics(
2319
var comp =
CreateCompilation
(text);
2388
CreateCompilation
(text).VerifyDiagnostics(
2415
CreateCompilation
(text).VerifyDiagnostics(
2491
CreateCompilation
(text).
2526
CreateCompilation
(text).
2541
var comp =
CreateCompilation
(Parse(text, options: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)));
2663
var comp =
CreateCompilation
(text);
2701
CreateCompilation
(
2723
CreateCompilation
(
2738
CreateCompilation
(
2808
CreateCompilation
(text).VerifyDiagnostics(
2846
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2876
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2893
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
2938
CreateCompilation
(text).VerifyDiagnostics(
2974
CreateCompilation
(text).VerifyDiagnostics(
3066
var comp =
CreateCompilation
(text);
3138
var comp =
CreateCompilation
(text).VerifyDiagnostics(
3158
var c =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithAllowUnsafe(false));
3178
CreateCompilation
(text).VerifyDiagnostics(
3238
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
3276
CreateCompilation
(text).VerifyDiagnostics(
3330
CreateCompilation
(text).VerifyDiagnostics(
3413
CreateCompilation
(text).VerifyDiagnostics(
3434
CreateCompilation
(text).VerifyDiagnostics(
3467
CreateCompilation
(text).
3481
CreateCompilation
(text).VerifyDiagnostics(
3500
CreateCompilation
(text).
3523
CreateCompilation
(text).
3548
CreateCompilation
(text).VerifyDiagnostics(
3623
var comp =
CreateCompilation
(text);
3752
var comp =
CreateCompilation
(text);
3777
var comp =
CreateCompilation
(text);
3855
CreateCompilation
(text).VerifyDiagnostics(
3915
CreateCompilation
(text).VerifyDiagnostics(
3938
var comp =
CreateCompilation
(text, new[] { ref1, ref2 });
3990
CreateCompilation
(text).VerifyDiagnostics(
4094
CreateCompilation
(text).VerifyDiagnostics(
4170
CreateCompilation
(text).VerifyDiagnostics(
4187
CreateCompilation
(text).VerifyDiagnostics(
4197
CreateCompilation
(
4221
CreateCompilation
(
4258
CreateCompilation
(text).VerifyDiagnostics(
4280
CreateCompilation
(text).VerifyDiagnostics(
4617
CreateCompilation
(text).VerifyDiagnostics(
4657
CreateCompilation
(text).VerifyDiagnostics(
4675
CreateCompilation
(text).VerifyDiagnostics(
4746
var comp =
CreateCompilation
(text);
4774
CreateCompilation
(source).VerifyDiagnostics(
4796
CreateCompilation
(source).VerifyDiagnostics(
4821
CreateCompilation
(source).VerifyDiagnostics(
4877
CreateCompilation
(text).VerifyDiagnostics(
4917
var compilation =
CreateCompilation
(text);
4987
CreateCompilation
(text).VerifyDiagnostics(
5002
CreateCompilation
(text).VerifyDiagnostics(
5025
CreateCompilation
(text).VerifyDiagnostics(
5109
CreateCompilation
(source).VerifyDiagnostics(
5169
CreateCompilation
(source).VerifyDiagnostics(
5238
CreateCompilation
(source).VerifyDiagnostics(
5276
CreateCompilation
(source).VerifyDiagnostics(
5325
CreateCompilation
(source).VerifyDiagnostics(
5368
CreateCompilation
(source).VerifyDiagnostics(
5401
var comp =
CreateCompilation
(text);
5430
CreateCompilation
(text).VerifyDiagnostics(
5451
CreateCompilation
(text).VerifyDiagnostics(
5494
var comp =
CreateCompilation
(text, new List<MetadataReference> { ref1, ref2 });
5516
comp =
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }, new List<MetadataReference> { ref1 });
5587
var comp =
CreateCompilation
(text,
5626
var comp =
CreateCompilation
(text,
5653
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5671
var comp =
CreateCompilation
(text,
5685
comp =
CreateCompilation
(text,
5714
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5733
var comp =
CreateCompilation
(text,
5746
comp =
CreateCompilation
(text,
5774
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5792
var comp =
CreateCompilation
(text,
5806
comp =
CreateCompilation
(text,
5835
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5854
var comp =
CreateCompilation
(text,
5867
comp =
CreateCompilation
(text,
5895
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5913
var comp =
CreateCompilation
(text,
5925
comp =
CreateCompilation
(text,
5952
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
5970
var comp =
CreateCompilation
(text,
5983
comp =
CreateCompilation
(text,
6011
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6029
var comp =
CreateCompilation
(text,
6042
comp =
CreateCompilation
(text,
6070
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6088
var comp =
CreateCompilation
(text,
6101
comp =
CreateCompilation
(text,
6135
var comp =
CreateCompilation
(text,
6171
var comp =
CreateCompilation
(text,
6207
var comp =
CreateCompilation
(text,
6243
var comp =
CreateCompilation
(text,
6267
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6286
var comp =
CreateCompilation
(text,
6299
comp =
CreateCompilation
(text,
6327
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6346
var comp =
CreateCompilation
(text,
6360
comp =
CreateCompilation
(text,
6389
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6408
var comp =
CreateCompilation
(text,
6421
comp =
CreateCompilation
(text,
6449
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6468
var comp =
CreateCompilation
(text,
6482
comp =
CreateCompilation
(text,
6511
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6533
var comp =
CreateCompilation
(text,
6546
comp =
CreateCompilation
(text,
6574
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6596
var comp =
CreateCompilation
(text,
6609
comp =
CreateCompilation
(text,
6637
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6659
var comp =
CreateCompilation
(text,
6676
comp =
CreateCompilation
(text,
6708
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6730
var comp =
CreateCompilation
(text,
6743
comp =
CreateCompilation
(text,
6771
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6793
var comp =
CreateCompilation
(text,
6809
comp =
CreateCompilation
(text,
6840
var lib =
CreateCompilation
(libSource, assemblyName: "Lib", options: TestOptions.ReleaseDll);
6862
var comp =
CreateCompilation
(text,
6879
comp =
CreateCompilation
(text,
6911
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
6927
var comp =
CreateCompilation
(text,
6944
comp =
CreateCompilation
(text,
6963
comp =
CreateCompilation
(text,
6996
var mod3Ref =
CreateCompilation
(mod3Source, options: TestOptions.ReleaseModule, assemblyName: "ErrTestMod03").EmitToImageReference();
7012
var comp =
CreateCompilation
(text,
7026
comp =
CreateCompilation
(text,
7042
comp =
CreateCompilation
(text,
7067
var ModuleA01Ref =
CreateCompilation
(ModuleA01, options: TestOptions.ReleaseModule, assemblyName: "ModuleA01").EmitToImageReference();
7075
var ModuleB01Ref =
CreateCompilation
(ModuleB01, options: TestOptions.ReleaseModule, assemblyName: "ModuleB01").EmitToImageReference();
7087
var comp =
CreateCompilation
(text,
7142
var compilation =
CreateCompilation
(source,
7229
var moduleRef2 =
CreateCompilation
(mod2Source, options: TestOptions.ReleaseModule, assemblyName: "mod_1_2").EmitToImageReference();
7231
var compilation =
CreateCompilation
("",
7265
var forwardedTypes1 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes1");
7268
var forwardedTypes2 =
CreateCompilation
(forwardedTypesSource, options: TestOptions.ReleaseDll, assemblyName: "ForwardedTypes2");
7271
var forwardedTypesModRef =
CreateCompilation
(forwardedTypesSource,
7282
var module1_FT1_Ref =
CreateCompilation
(modSource,
7288
var module2_FT1_Ref =
CreateCompilation
(modSource,
7294
var module3_FT2_Ref =
CreateCompilation
(modSource,
7300
var module4_Ref =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<int>))]",
7306
var compilation =
CreateCompilation
(forwardedTypesSource,
7319
compilation =
CreateCompilation
(modSource,
7329
compilation =
CreateCompilation
("[assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(CF3<byte>))]",
7338
compilation =
CreateCompilation
(modSource,
7352
compilation =
CreateCompilation
(
7371
compilation =
CreateCompilation
("",
7385
compilation =
CreateCompilation
("",
7399
compilation =
CreateCompilation
("",
7409
compilation =
CreateCompilation
("",
7448
var comp =
CreateCompilation
(text);
7477
CreateCompilation
(source).VerifyDiagnostics(
7495
CreateCompilation
(text).VerifyDiagnostics(
7520
CreateCompilation
(source).VerifyDiagnostics(
7578
CreateCompilation
(source).VerifyDiagnostics(
7656
CreateCompilation
(source).VerifyDiagnostics(
7731
CreateCompilation
(source).VerifyDiagnostics(
7757
CreateCompilation
(source).VerifyDiagnostics(
7785
CreateCompilation
(source).VerifyDiagnostics(
7824
CreateCompilation
(source).VerifyDiagnostics(
7853
CreateCompilation
(source).VerifyDiagnostics(
7876
CreateCompilation
(source).VerifyDiagnostics(
7910
CreateCompilation
(source).VerifyDiagnostics(
7937
CreateCompilation
(source).VerifyDiagnostics(
7960
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
8020
CreateCompilation
(text).VerifyDiagnostics(
8060
var comp =
CreateCompilation
(text).VerifyDiagnostics(
8103
CreateCompilation
(text).VerifyDiagnostics(
8132
CreateCompilation
(text, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8143
CreateCompilation
(text, parseOptions: TestOptions.Regular14).VerifyDiagnostics(
8154
CreateCompilation
(text).VerifyDiagnostics(
8176
CreateCompilation
(source).VerifyDiagnostics(
8232
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8539
CreateCompilation
(text).VerifyDiagnostics(
8559
CreateCompilation
(source).VerifyDiagnostics(
8580
CreateCompilation
(source).VerifyDiagnostics(
8607
CreateCompilation
(source).VerifyDiagnostics(
8635
CreateCompilation
(text).VerifyDiagnostics(
8723
CreateCompilation
(code, targetFramework: TargetFramework.NetStandard20).VerifyDiagnostics(
8734
CreateCompilation
(code, [createReference("Ref0")], targetFramework: TargetFramework.NetStandard20).VerifyDiagnostics();
8736
CreateCompilation
(code, [createReference("Ref1"), createReference("Ref2")], targetFramework: TargetFramework.NetStandard20).VerifyDiagnostics(
8763
return
CreateCompilation
(code, assemblyName: name)
8828
CreateCompilation
(text).VerifyDiagnostics(
8949
CreateCompilation
(text).VerifyDiagnostics(
8994
CreateCompilation
(text).VerifyDiagnostics(
9025
CreateCompilation
(text).VerifyDiagnostics(
9061
CreateCompilation
(text).VerifyDiagnostics(
9094
CreateCompilation
(text).VerifyDiagnostics(
9154
CreateCompilation
(text).VerifyDiagnostics(
9211
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
9244
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp);
9375
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9411
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9426
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9443
CreateCompilation
(text).VerifyDiagnostics(
9515
CreateCompilation
(text).VerifyDiagnostics(
9556
CreateCompilation
(text).VerifyDiagnostics(
9629
CreateCompilation
(text).VerifyDiagnostics(
9863
CreateCompilation
(text, parseOptions: TestOptions.Regular7, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
9882
var comp =
CreateCompilation
(
10020
CreateCompilation
(source).VerifyDiagnostics();
10026
CreateCompilation
(
10073
CreateCompilation
(source).VerifyDiagnostics(
10112
CreateCompilation
(source).VerifyDiagnostics(
10162
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10213
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10300
var comp =
CreateCompilation
(text);
10354
var comp =
CreateCompilation
(text);
10473
CreateCompilation
(text).VerifyDiagnostics(
10567
var comp =
CreateCompilation
(text);
10597
var comp =
CreateCompilation
(text);
10620
var comp =
CreateCompilation
(text);
10645
var comp =
CreateCompilation
(text);
10669
var comp =
CreateCompilation
(text);
10700
var comp =
CreateCompilation
(text);
10725
var comp =
CreateCompilation
(text);
10744
var comp =
CreateCompilation
(text);
10762
var comp =
CreateCompilation
(text);
10781
var comp =
CreateCompilation
(text);
10828
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview);
10838
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
10854
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11);
10875
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7);
10926
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
10955
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
10976
comp =
CreateCompilation
(text);
11008
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5));
11020
comp =
CreateCompilation
(text);
11076
var comp =
CreateCompilation
(text);
11116
CreateCompilation
(source).VerifyDiagnostics(
11140
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
11156
var comp =
CreateCompilation
(source);
11172
var comp =
CreateCompilation
(source);
11193
CreateCompilation
(text).VerifyDiagnostics(
11211
CreateCompilation
(text).VerifyDiagnostics(
11241
CreateCompilation
(text).VerifyDiagnostics(
11260
var comp =
CreateCompilation
(text);
11292
var compilation =
CreateCompilation
(text);
11364
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
11396
CreateCompilation
(text).VerifyDiagnostics(
11417
CreateCompilation
(text).VerifyDiagnostics(
11537
CreateCompilation
(source).VerifyDiagnostics(
11581
CreateCompilation
(text).VerifyDiagnostics(
11636
var comp =
CreateCompilation
(source);
11654
CreateCompilation
(text).VerifyDiagnostics(
11691
CreateCompilation
(text).VerifyDiagnostics(
11716
var compilation =
CreateCompilation
(text);
11773
CreateCompilation
(text).VerifyDiagnostics(
11797
CreateCompilation
(source).VerifyDiagnostics(
11852
CreateCompilation
(text).VerifyDiagnostics();
11865
CreateCompilation
(text).VerifyDiagnostics();
12039
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
12086
var comp =
CreateCompilation
(text);
12132
CreateCompilation
(text).VerifyDiagnostics(
12200
CreateCompilation
(text).VerifyDiagnostics(
12279
CreateCompilation
(text).VerifyDiagnostics(
12338
CreateCompilation
(text).VerifyDiagnostics(
12361
CreateCompilation
(text).VerifyDiagnostics(
12385
var comp =
CreateCompilation
(text);
12436
CreateCompilation
(source).VerifyDiagnostics(
12474
CreateCompilation
(text).VerifyDiagnostics(
12515
CreateCompilation
(text).VerifyDiagnostics(
12545
CreateCompilation
(text).VerifyDiagnostics(
12570
var comp =
CreateCompilation
(text);
12635
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
12689
CreateCompilation
(text).VerifyDiagnostics(
12756
CreateCompilation
(source).VerifyDiagnostics(
12811
CreateCompilation
(text).VerifyDiagnostics(
12884
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12900
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
12923
CreateCompilation
(source).VerifyDiagnostics(
12948
CreateCompilation
(source).VerifyDiagnostics(
12970
CreateCompilation
(source).VerifyDiagnostics(
13004
CreateCompilation
(source).VerifyDiagnostics(
13042
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
13079
var comp =
CreateCompilation
(text);
13212
CreateCompilation
(text).VerifyDiagnostics(
13242
CreateCompilation
(source).VerifyDiagnostics(
13260
CreateCompilation
(source).VerifyDiagnostics(
13291
CreateCompilation
(text).VerifyDiagnostics(
13316
CreateCompilation
(text).VerifyDiagnostics(
13347
CreateCompilation
(text).VerifyDiagnostics(
13437
var strictComp =
CreateCompilation
(text);
13442
var regularComp =
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13455
CreateCompilation
(source).VerifyDiagnostics(
13482
CreateCompilation
(text).VerifyDiagnostics(
13567
var comp =
CreateCompilation
(text);
13641
CreateCompilation
(source).VerifyDiagnostics(
13662
CreateCompilation
(source).VerifyDiagnostics(
13685
CreateCompilation
(source).VerifyDiagnostics(
13736
CreateCompilation
(source).VerifyDiagnostics(
13758
CreateCompilation
(source).VerifyDiagnostics(
13776
CreateCompilation
(source).VerifyDiagnostics(
13806
CreateCompilation
(source).VerifyDiagnostics(
13829
CreateCompilation
(csharp).VerifyDiagnostics(
13848
var comp =
CreateCompilation
(source);
13868
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(4));
13887
var comp1 =
CreateCompilation
(text1);
13890
var comp2 =
CreateCompilation
(text2, new MetadataReference[] { compRef1 });
13911
CreateCompilation
(csharp).VerifyDiagnostics(
14016
CreateCompilation
(csharp).VerifyDiagnostics(
14037
CreateCompilation
(csharp).VerifyDiagnostics();
14079
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
14155
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods).VerifyDiagnostics(
14176
var comp =
CreateCompilation
(text);
14224
CreateCompilation
(text).VerifyDiagnostics(
14245
CreateCompilation
(text).VerifyDiagnostics(
14288
CreateCompilation
(text).VerifyDiagnostics(
14304
CreateCompilation
(text).VerifyDiagnostics(
14324
CreateCompilation
(text).VerifyDiagnostics(
14400
CreateCompilation
(source).VerifyDiagnostics(
14494
CreateCompilation
(source).VerifyDiagnostics(
14511
CreateCompilation
(text).VerifyDiagnostics(
14529
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14556
CreateCompilation
(text).VerifyDiagnostics(
14605
var comp =
CreateCompilation
(text);
14653
CreateCompilation
(text).VerifyDiagnostics(
14685
CreateCompilation
(text).VerifyDiagnostics();
14705
CreateCompilation
(text).VerifyDiagnostics(
14721
CreateCompilation
(source).VerifyDiagnostics(
14823
CreateCompilation
(text).VerifyDiagnostics(
14850
var compilation =
CreateCompilation
(text);
14862
var compilation =
CreateCompilation
(
14883
CreateCompilation
(
14909
var compilation =
CreateCompilation
(
14953
CreateCompilation
(
14974
var compilation =
CreateCompilation
(
15059
var compilation =
CreateCompilation
(source);
15097
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
15140
var comp =
CreateCompilation
(text);
15189
var comp =
CreateCompilation
(text);
15217
CreateCompilation
(text).VerifyDiagnostics(
15240
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
15492
CreateCompilation
(text).VerifyDiagnostics(
15519
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseDll);
15532
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15546
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll);
15562
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15577
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15592
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15604
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15619
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15646
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15664
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15679
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15693
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15710
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15744
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15769
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15790
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15835
var comp =
CreateCompilation
(text).VerifyDiagnostics(
15848
CreateCompilation
(text).VerifyDiagnostics(
15952
CreateCompilation
(text).VerifyDiagnostics(
15981
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16043
CreateCompilation
(text).VerifyDiagnostics(
16073
CreateCompilation
(text).VerifyDiagnostics(
16098
var comp =
CreateCompilation
(text);
16121
CreateCompilation
(source).VerifyDiagnostics(
16143
CreateCompilation
(text).VerifyDiagnostics(
16194
var compilation =
CreateCompilation
(text);
16214
CreateCompilation
(text).VerifyDiagnostics(
16234
CreateCompilation
(text, references: new[] { ref1 }).VerifyDiagnostics(
16270
var comp1 =
CreateCompilation
(textdll);
16272
CreateCompilation
(text, references: new MetadataReference[] { ref1 }).VerifyDiagnostics(
16338
var comp =
CreateCompilation
(textdll);
16340
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16366
var comp =
CreateCompilation
(textdll);
16368
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16404
var comp =
CreateCompilation
(textdll);
16406
var comp1 =
CreateCompilation
(text, new[] { ref1 });
16504
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16607
var comp =
CreateCompilation
(textdll);
16609
CreateCompilation
(text, new[] { ref1 }).VerifyDiagnostics(
16631
var comp =
CreateCompilation
(text);
16652
CreateCompilation
(text).VerifyDiagnostics(
16672
CreateCompilation
(text).VerifyDiagnostics();
16687
CreateCompilation
(text).VerifyDiagnostics(
16706
CreateCompilation
(text).VerifyDiagnostics();
16723
CreateCompilation
(text).VerifyDiagnostics(
16741
CreateCompilation
(text).VerifyDiagnostics(
16755
CreateCompilation
(text).VerifyDiagnostics(
16768
CreateCompilation
(text).VerifyDiagnostics(
16868
CreateCompilation
(source).VerifyDiagnostics(
16932
CreateCompilation
(source).VerifyDiagnostics(
16953
CSharpCompilation comp =
CreateCompilation
(text);
16978
CSharpCompilation comp =
CreateCompilation
(text);
17013
CSharpCompilation comp =
CreateCompilation
(text);
17060
CreateCompilation
(text).VerifyDiagnostics(
17137
CreateCompilation
(source).VerifyDiagnostics(
17222
CreateCompilation
(text).VerifyDiagnostics(
17295
CreateCompilation
(text).VerifyDiagnostics(
17471
CreateCompilation
(text).VerifyDiagnostics(
17571
CreateCompilation
(text).VerifyDiagnostics(
17639
var comp =
CreateCompilation
(text);
17673
var comp =
CreateCompilation
(program);
17701
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17739
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
17801
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17802
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17806
var lib =
CreateCompilation
(tree, new MetadataReference[]
17859
CreateCompilation
(sourceLib).VerifyDiagnostics(
17882
var ref1 =
CreateCompilation
(sourceRef1, assemblyName: "Ref1").VerifyDiagnostics();
17883
var ref2 =
CreateCompilation
(sourceRef2, assemblyName: "Ref2").VerifyDiagnostics();
17887
var lib =
CreateCompilation
(tree, new MetadataReference[]
17920
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17950
CreateCompilation
(new SyntaxTree[] { Parse(text, "goo.cs") }).VerifyDiagnostics(
17982
var comp =
CreateCompilation
(new[] { text }, new List<MetadataReference> { ref1 });
18008
var compilation =
CreateCompilation
(
18048
CreateCompilation
(text).VerifyDiagnostics(
18106
CreateCompilation
(source).VerifyDiagnostics(
18134
CreateCompilation
(source).VerifyDiagnostics(
18207
CreateCompilation
(text).VerifyDiagnostics(
18229
CreateCompilation
(text).VerifyDiagnostics(
18256
CreateCompilation
(text).VerifyDiagnostics(
18290
CreateCompilation
(text).VerifyDiagnostics(
18331
CreateCompilation
(text).VerifyDiagnostics(
18378
CreateCompilation
(text).VerifyDiagnostics(
18474
CreateCompilation
(source).VerifyDiagnostics(
18495
CreateCompilation
(source).VerifyDiagnostics(
18515
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18543
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18568
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18593
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18619
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18639
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18665
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18688
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
18707
var compilation =
CreateCompilation
(
18727
var compilation =
CreateCompilation
(
18754
var compilation =
CreateCompilation
(
18785
CreateCompilation
(text).VerifyDiagnostics(
18809
CreateCompilation
(text).VerifyDiagnostics(
18877
CSharpCompilation comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetLatest);
18905
CreateCompilation
(text).VerifyDiagnostics(
18925
CreateCompilation
(text).VerifyDiagnostics(
18946
CreateCompilation
(text).VerifyDiagnostics(
18964
CreateCompilation
(text).VerifyDiagnostics(
18986
CreateCompilation
(text).VerifyDiagnostics(
19012
CreateCompilation
(text).VerifyDiagnostics(
19029
CreateCompilation
(text).VerifyDiagnostics(
19048
CreateCompilation
(text).VerifyDiagnostics(
19068
CreateCompilation
(text).VerifyDiagnostics(
19095
CreateCompilation
(text).VerifyDiagnostics(
19122
CreateCompilation
(text).VerifyDiagnostics(
19139
CreateCompilation
(text).VerifyDiagnostics(
19149
CreateCompilation
("[assembly: System.CLSCompliant(true)]", new[] { netModule }).VerifyDiagnostics(
19171
CreateCompilation
(text).VerifyDiagnostics(
19188
CreateCompilation
(text).VerifyDiagnostics(
19213
CreateCompilation
(text).VerifyDiagnostics(
19232
CreateCompilation
(text).VerifyDiagnostics();
19249
CreateCompilation
(text).VerifyDiagnostics(
19272
CreateCompilation
(text).VerifyDiagnostics(
19293
CreateCompilation
(text).VerifyDiagnostics(
19315
CreateCompilation
(text).VerifyDiagnostics(
19334
CreateCompilation
(text).VerifyDiagnostics(
19369
CreateCompilation
(text).VerifyDiagnostics(
19505
var comp =
CreateCompilation
(text).VerifyDiagnostics(
19525
CreateCompilation
(
19541
CreateCompilation
(
19573
CreateCompilation
(
19631
var comp =
CreateCompilation
(text);
19659
CreateCompilation
(
19673
CreateCompilation
(
19728
CreateCompilation
(
19742
CreateCompilation
(
19796
CreateCompilation
(
19888
CreateCompilation
(text).VerifyDiagnostics(
19941
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
19949
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
19956
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
19964
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics(
19969
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
19984
CreateCompilation
(string.Format(template, "int P;")).VerifyDiagnostics(
19992
CreateCompilation
(string.Format(template, "int get_P;")).VerifyDiagnostics(
19999
CreateCompilation
(string.Format(template, "int set_P;")).VerifyDiagnostics(
20007
CreateCompilation
(string.Format(template, "int P() { return 0; }")).VerifyDiagnostics(
20012
CreateCompilation
(string.Format(template, "int set_P() { return 0; }")).VerifyDiagnostics();
20015
CreateCompilation
(string.Format(template, "int Item;")).VerifyDiagnostics(
20019
CreateCompilation
(string.Format(template, "int get_Item;")).VerifyDiagnostics(
20023
CreateCompilation
(string.Format(template, "int set_Item;")).VerifyDiagnostics(
20027
CreateCompilation
(string.Format(template, "int Item() { return 0; }")).VerifyDiagnostics();
20028
CreateCompilation
(string.Format(template, "int set_Item() { return 0; }")).VerifyDiagnostics();
20279
CreateCompilation
(text).VerifyDiagnostics(
20301
CreateCompilation
(text).VerifyDiagnostics(
20353
CreateCompilation
(text).VerifyDiagnostics(
20386
CreateCompilation
(text).VerifyDiagnostics(
20433
CreateCompilation
(text).VerifyDiagnostics();
20442
var comp1 =
CreateCompilation
(@"
20447
var comp2 =
CreateCompilation
(@"
20464
var comp3 =
CreateCompilation
(source3, new[] { new CSharpCompilationReference(comp2) }, options: TestOptions.ReleaseDll);
20468
var comp4 =
CreateCompilation
(source3, new[] { comp2.EmitToImageReference() }, options: TestOptions.ReleaseDll);
20491
CreateCompilation
(source).VerifyDiagnostics(
20512
CreateCompilation
(source).VerifyDiagnostics();
20747
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20762
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20778
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC }, assemblyName: "A").VerifyDiagnostics(); // No Errors
20796
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }, assemblyName: "A").VerifyDiagnostics(
20811
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
20826
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
20864
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2 }).VerifyDiagnostics(
20874
var referenceD =
CreateCompilation
(codeD, assemblyName: "D").EmitToImageReference();
20912
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }, assemblyName: "Forwarder").VerifyDiagnostics(
20932
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule }).VerifyDiagnostics(
20941
var dReference =
CreateCompilation
(dCode, assemblyName: "D").EmitToImageReference();
20944
CreateCompilation
(string.Empty, references: new MetadataReference[] { ilModule, dReference }).VerifyDiagnostics();
20984
var userCompilation =
CreateCompilation
(
21049
var userCompilation =
CreateCompilation
(
21075
var referenceC =
CreateCompilation
(codeC, assemblyName: "C").EmitToImageReference();
21090
var referenceB =
CreateCompilation
(codeB, references: new MetadataReference[] { referenceC }, assemblyName: "B").EmitToImageReference();
21117
var referenceE =
CreateCompilation
(codeC, assemblyName: "E").EmitToImageReference();
21134
CreateCompilation
(codeA, references: new MetadataReference[] { referenceB, referenceC2, referenceD, referenceE }, assemblyName: "A").VerifyDiagnostics(
21143
CreateCompilation
(@"
21156
CreateCompilation
(@"
21169
CreateCompilation
(@"
21185
CreateCompilation
(@"
21198
CreateCompilation
(@"
21211
CreateCompilation
(@"
21227
CreateCompilation
(@"
21240
CreateCompilation
(@"
21253
CreateCompilation
(@"
21269
CreateCompilation
(@"
21285
CreateCompilation
(@"
21301
CreateCompilation
(@"
21317
CreateCompilation
(@"
21397
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21400
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21403
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21458
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21461
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21464
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21503
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
21506
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(6));
21525
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21548
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21566
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21593
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular11, options: TestOptions.DebugDll.WithWarningLevel(7));
21626
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21638
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21642
var comp3 =
CreateCompilation
(source1_1);
21659
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21668
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21686
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21703
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21724
var comp1_v1 =
CreateCompilation
(source1_1, assemblyName: "Lib1");
21733
var comp2 =
CreateCompilation
(source2, references: new[] { comp1_v1.ToMetadataReference() });
21737
var comp3 =
CreateCompilation
(source1_1);
21754
var comp1_v2 =
CreateCompilation
(source1_2, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21763
var comp1_v3 =
CreateCompilation
(source1_3, assemblyName: "Lib1", references: new[] { comp2Ref });
21781
var comp1_v4 =
CreateCompilation
(source1_4, assemblyName: "Lib1", references: new[] { comp2Ref, comp3.ToMetadataReference() });
21798
var comp1_v5 =
CreateCompilation
(source1_5, assemblyName: "Lib1", references: new[] { comp2Ref });
21827
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21837
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21866
var comp2 =
CreateCompilation
(new[] { source1, source2 });
21896
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21910
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21940
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
21960
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
21990
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
22007
var comp2 =
CreateCompilation
(new[] { string.Format(source2, "TypeForwarded_2"), string.Format(source2, "TypeForwardedTo"), source3 }, references: new[] { comp1.ToMetadataReference() });
22046
var comp1 =
CreateCompilation
(source1, assemblyName: "Lib1");
22068
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() });
22182
CreateCompilation
(new[]
22229
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 (78)
39
var compilation =
CreateCompilation
(code);
61
var compilation =
CreateCompilation
(code);
85
var comp =
CreateCompilation
(text);
124
var comp =
CreateCompilation
(new[] { text, text1, text2, text3 });
190
var comp1 =
CreateCompilation
(text);
193
var comp2 =
CreateCompilation
(new string[] { text1, text2 }, assemblyName: "Test1",
197
var comp =
CreateCompilation
(text3, assemblyName: "Test2",
271
var comp =
CreateCompilation
(text);
346
var comp =
CreateCompilation
(new[] { text, text1, text2 });
378
var comp1 =
CreateCompilation
(text);
380
var comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
397
comp1 =
CreateCompilation
(text);
399
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
416
comp1 =
CreateCompilation
(text);
418
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
439
comp1 =
CreateCompilation
(text);
441
comp =
CreateCompilation
(text1, references: new List<MetadataReference> { compRef1 }, assemblyName: "Comp2");
465
var comp =
CreateCompilation
(text);
586
var compilation =
CreateCompilation
(text);
620
var global =
CreateCompilation
(text).GlobalNamespace;
668
var comp =
CreateCompilation
(text);
707
var compilation =
CreateCompilation
(text);
743
var refAsm =
CreateCompilation
(refSource, assemblyName: "RefAsm").ToMetadataReference();
744
var compilation =
CreateCompilation
(csharp, references: new[] { refAsm });
764
var compilation1 =
CreateCompilation
(referenceText, assemblyName: "A");
767
var compilation2 =
CreateCompilation
(referenceText, assemblyName: "B");
782
var compilation3 =
CreateCompilation
(testText, new[] { new CSharpCompilationReference(compilation1), new CSharpCompilationReference(compilation2) });
849
var comp =
CreateCompilation
(text);
902
var comp =
CreateCompilation
(text, references: new[] { module1Ref });
966
var comp =
CreateCompilation
(text);
1016
var comp =
CreateCompilation
(text);
1035
var comp =
CreateCompilation
(text);
1060
var comp =
CreateCompilation
(text);
1078
var comp =
CreateCompilation
(text);
1100
var comp =
CreateCompilation
(text);
1118
var comp =
CreateCompilation
(text);
1139
var comp =
CreateCompilation
(tree);
1153
var comp =
CreateCompilation
(tree);
1178
var comp =
CreateCompilation
(tree);
1197
var comp =
CreateCompilation
(tree);
1235
var comp =
CreateCompilation
(text);
1304
var comp =
CreateCompilation
(text);
1385
var comp =
CreateCompilation
(text);
1406
var comp =
CreateCompilation
(text);
1413
var compilation =
CreateCompilation
(@"
1453
var comp =
CreateCompilation
(@"public void TopLevelMethod() {}");
1476
var comp =
CreateCompilation
(text);
1503
var comp =
CreateCompilation
(text);
1610
var comp =
CreateCompilation
(text);
1676
var comp = (Compilation)
CreateCompilation
(tree);
1760
var comp = (Compilation)
CreateCompilation
(tree);
1803
var compilation =
CreateCompilation
(code);
1830
var compilation =
CreateCompilation
(code);
1850
var compilation = (Compilation)
CreateCompilation
(code);
1875
var compilation =
CreateCompilation
(code);
1880
compilation =
CreateCompilation
(code);
1897
var compilation =
CreateCompilation
(code);
1918
var compilation =
CreateCompilation
(code);
1932
compilation =
CreateCompilation
(code);
1953
var compilation =
CreateCompilation
(code);
1986
var compilation =
CreateCompilation
(code);
2007
var compilation =
CreateCompilation
(code);
2028
var compilation =
CreateCompilation
(code);
2049
var compilation =
CreateCompilation
(code);
2075
var compilation =
CreateCompilation
(code);
2099
var compilation =
CreateCompilation
(code);
2125
var compilation =
CreateCompilation
(code);
2174
var compilation =
CreateCompilation
(code);
2225
var compilation =
CreateCompilation
(code);
2246
var compilation =
CreateCompilation
(code);
2266
var compilation =
CreateCompilation
(code);
2280
var compilation =
CreateCompilation
(code);
2296
var compilation =
CreateCompilation
(code);
2314
var compilation =
CreateCompilation
(text);
2330
var compilation =
CreateCompilation
(text);
2337
var sourceComp =
CreateCompilation
(@"
2428
var comp =
CreateCompilation
(new[] { source });
2510
var comp =
CreateCompilation
(source);
Symbols\TypeUnificationTests.cs (8)
46
var comp =
CreateCompilation
(text);
130
var comp =
CreateCompilation
(text);
203
var comp =
CreateCompilation
(text);
245
var comp =
CreateCompilation
(text);
296
var comp =
CreateCompilation
(text);
333
var comp =
CreateCompilation
(text);
366
var comp =
CreateCompilation
(text);
417
var comp =
CreateCompilation
(text);
Symbols\UnsignedRightShiftTests.cs (81)
109
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
389
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
393
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
397
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
493
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
521
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
892
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
896
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
900
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
922
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
948
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
970
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1007
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1011
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1015
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1048
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1052
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1056
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1160
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1445
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1449
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1453
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1572
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
1853
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1857
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1861
compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1883
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1909
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1931
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
1973
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
1990
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
1993
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
1999
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
2129
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2179
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2225
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
2242
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
2245
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.ToMetadataReference() },
2251
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugExe, references: new[] { compilation0.EmitToImageReference() },
2278
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll);
2280
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { compilation0.ToMetadataReference() },
2288
var compilation3 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { compilation0.EmitToImageReference() },
2318
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2367
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2404
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2443
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2495
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugExe,
2538
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2593
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
2635
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
2674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
3106
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3114
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3208
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3294
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3302
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3388
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3396
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
3422
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3430
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3434
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3439
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3447
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3474
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3482
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3486
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3491
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3499
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3526
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3534
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3538
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3543
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3551
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3578
var compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3586
compilation1 =
CreateCompilation
(source0 + source1, options: TestOptions.DebugDll,
3590
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
3595
var compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3603
compilation2 =
CreateCompilation
(source1, options: TestOptions.DebugDll, references: new[] { reference },
3623
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 (1048)
Diagnostics\DiagnosticTest.cs (162)
110
var comp =
CreateCompilation
("");
147
var comp =
CreateCompilation
(text);
205
CreateCompilation
(text).VerifyDiagnostics(
570
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
578
CreateCompilation
(text, options: option).VerifyDiagnostics();
581
CreateCompilation
(text, options: option).VerifyDiagnostics(
588
CreateCompilation
(text, options: option).VerifyDiagnostics(
611
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
622
CreateCompilation
(text, options: option).VerifyDiagnostics(
629
CreateCompilation
(text, options: option).VerifyDiagnostics(
638
CreateCompilation
(text, options: option).VerifyDiagnostics(
647
CreateCompilation
(text, options: option).VerifyDiagnostics();
650
CreateCompilation
(text, options: option).VerifyDiagnostics();
653
CreateCompilation
(text, options: option).VerifyDiagnostics();
674
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
682
CreateCompilation
(text, options: option).VerifyDiagnostics(
688
CreateCompilation
(text, options: option).VerifyDiagnostics(
694
CreateCompilation
(text, options: option).VerifyDiagnostics();
697
CreateCompilation
(text, options: option).VerifyDiagnostics();
700
CreateCompilation
(text, options: option).VerifyDiagnostics();
722
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
733
CreateCompilation
(text, options: option).VerifyDiagnostics(
742
CreateCompilation
(text, options: option).VerifyDiagnostics(
751
CreateCompilation
(text, options: option).VerifyDiagnostics();
754
CreateCompilation
(text, options: option).VerifyDiagnostics();
757
CreateCompilation
(text, options: option).VerifyDiagnostics();
778
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
789
CreateCompilation
(text, options: option).VerifyDiagnostics(
798
CreateCompilation
(text, options: option).VerifyDiagnostics(
807
CreateCompilation
(text, options: option).VerifyDiagnostics();
810
CreateCompilation
(text, options: option).VerifyDiagnostics();
813
CreateCompilation
(text, options: option).VerifyDiagnostics();
834
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
845
CreateCompilation
(text, options: option).VerifyDiagnostics(
854
CreateCompilation
(text, options: option).VerifyDiagnostics(
863
CreateCompilation
(text, options: option).VerifyDiagnostics();
866
CreateCompilation
(text, options: option).VerifyDiagnostics();
869
CreateCompilation
(text, options: option).VerifyDiagnostics();
892
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
903
CreateCompilation
(text, options: option).VerifyDiagnostics(
912
CreateCompilation
(text, options: option).VerifyDiagnostics(
921
CreateCompilation
(text, options: option).VerifyDiagnostics();
924
CreateCompilation
(text, options: option).VerifyDiagnostics();
927
CreateCompilation
(text, options: option).VerifyDiagnostics();
950
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
961
CreateCompilation
(text, options: option).VerifyDiagnostics(
970
CreateCompilation
(text, options: option).VerifyDiagnostics(
979
CreateCompilation
(text, options: option).VerifyDiagnostics();
982
CreateCompilation
(text, options: option).VerifyDiagnostics();
985
CreateCompilation
(text, options: option).VerifyDiagnostics();
1006
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1020
CreateCompilation
(text, options: option).VerifyDiagnostics(
1032
CreateCompilation
(text, options: option).VerifyDiagnostics(
1044
CreateCompilation
(text, options: option).VerifyDiagnostics();
1047
CreateCompilation
(text, options: option).VerifyDiagnostics();
1050
CreateCompilation
(text, options: option).VerifyDiagnostics();
1073
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1090
CreateCompilation
(text, options: option).VerifyDiagnostics(
1105
CreateCompilation
(text, options: option).VerifyDiagnostics(
1120
CreateCompilation
(text, options: option).VerifyDiagnostics();
1123
CreateCompilation
(text, options: option).VerifyDiagnostics();
1126
CreateCompilation
(text, options: option).VerifyDiagnostics();
1147
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1161
CreateCompilation
(text, options: option).VerifyDiagnostics(
1173
CreateCompilation
(text, options: option).VerifyDiagnostics(
1185
CreateCompilation
(text, options: option).VerifyDiagnostics();
1188
CreateCompilation
(text, options: option).VerifyDiagnostics();
1191
CreateCompilation
(text, options: option).VerifyDiagnostics();
1218
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1226
CreateCompilation
(text, options: option).VerifyDiagnostics(
1232
CreateCompilation
(text, options: option).VerifyDiagnostics(
1238
CreateCompilation
(text, options: option).VerifyDiagnostics();
1241
CreateCompilation
(text, options: option).VerifyDiagnostics();
1244
CreateCompilation
(text, options: option).VerifyDiagnostics();
1271
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1279
CreateCompilation
(text, options: option).VerifyDiagnostics(
1285
CreateCompilation
(text, options: option).VerifyDiagnostics(
1291
CreateCompilation
(text, options: option).VerifyDiagnostics();
1294
CreateCompilation
(text, options: option).VerifyDiagnostics();
1297
CreateCompilation
(text, options: option).VerifyDiagnostics();
1325
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1333
CreateCompilation
(text, options: option).VerifyDiagnostics(
1339
CreateCompilation
(text, options: option).VerifyDiagnostics(
1345
CreateCompilation
(text, options: option).VerifyDiagnostics();
1348
CreateCompilation
(text, options: option).VerifyDiagnostics();
1351
CreateCompilation
(text, options: option).VerifyDiagnostics();
1378
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1383
CreateCompilation
(text, options: option).VerifyDiagnostics();
1386
CreateCompilation
(text, options: option).VerifyDiagnostics();
1389
CreateCompilation
(text, options: option).VerifyDiagnostics();
1392
CreateCompilation
(text, options: option).VerifyDiagnostics();
1395
CreateCompilation
(text, options: option).VerifyDiagnostics();
1426
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1434
CreateCompilation
(text, options: option).VerifyDiagnostics(
1440
CreateCompilation
(text, options: option).VerifyDiagnostics(
1446
CreateCompilation
(text, options: option).VerifyDiagnostics();
1449
CreateCompilation
(text, options: option).VerifyDiagnostics();
1452
CreateCompilation
(text, options: option).VerifyDiagnostics();
1473
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1490
CreateCompilation
(text, options: option).VerifyDiagnostics(
1507
CreateCompilation
(text, options: option).VerifyDiagnostics(
1519
CreateCompilation
(text, options: option).VerifyDiagnostics(
1543
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1557
CreateCompilation
(text, options: option).VerifyDiagnostics(
1569
CreateCompilation
(text, options: option).VerifyDiagnostics();
1590
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1607
CreateCompilation
(text, options: option).VerifyDiagnostics(
1622
CreateCompilation
(text, options: option).VerifyDiagnostics(
1649
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1663
CreateCompilation
(text, options: option).VerifyDiagnostics(
1675
CreateCompilation
(text, options: option).VerifyDiagnostics();
1699
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1710
CreateCompilation
(text, options: option).VerifyDiagnostics(
1719
CreateCompilation
(text, options: option).VerifyDiagnostics();
1742
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1747
CreateCompilation
(text, options: option).VerifyDiagnostics();
1750
CreateCompilation
(text, options: option).VerifyDiagnostics();
1769
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1780
CreateCompilation
(text, options: option).VerifyDiagnostics(
1790
CreateCompilation
(text, options: option).VerifyDiagnostics(
1796
CreateCompilation
(text, options: option).VerifyDiagnostics();
1815
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1829
CreateCompilation
(text, options: option).VerifyDiagnostics(
1842
CreateCompilation
(text, options: option).VerifyDiagnostics(
1851
CreateCompilation
(text, options: option).VerifyDiagnostics(
1882
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1924
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1985
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2021
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2057
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2104
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2146
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1);
2147
CreateCompilation
(text1).VerifyDiagnostics(expected1);
2151
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics();
2152
CreateCompilation
(text1, options: options).VerifyDiagnostics();
2158
CreateCompilation
(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2159
CreateCompilation
(text2, options: options).VerifyDiagnostics(expected1);
2165
CreateCompilation
(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2166
CreateCompilation
(text3, options: options).VerifyDiagnostics(expected1);
2179
CreateCompilation
(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2180
CreateCompilation
(text4, options: options).VerifyDiagnostics(expected2);
2186
CreateCompilation
(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2187
CreateCompilation
(text5, options: options).VerifyDiagnostics(expected2);
2208
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2233
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2253
CreateCompilation
(text, options: option).VerifyDiagnostics(
2272
CreateCompilation
(text, options: option).VerifyDiagnostics(
2284
CreateCompilation
(text, options: option).VerifyDiagnostics(
2316
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2338
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2438
var compilation =
CreateCompilation
(text);
2463
var compilation =
CreateCompilation
(text);
2489
AssertEx.Equal(
CreateCompilation
(tree).GetDiagnostics(),
CreateCompilation
(tree).GetDiagnostics());
2533
CreateCompilation
(text, options: options).VerifyDiagnostics(
2579
var compilation =
CreateCompilation
(source);
2619
var compilation =
CreateCompilation
(source);
2650
var compilation =
CreateCompilation
(source);
2695
var compilation =
CreateCompilation
(source);
2729
var compilation =
CreateCompilation
(source);
2750
var compilation =
CreateCompilation
(source);
2880
var ca =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithStrongNameProvider(new DesktopStrongNameProvider()).WithCryptoKeyContainer("bogus"));
Diagnostics\LineSpanDirectiveTests.cs (4)
135
var comp =
CreateCompilation
(tree);
523
var comp =
CreateCompilation
(source);
553
var comp =
CreateCompilation
(source);
599
var comp =
CreateCompilation
(source);
IncrementalParsing\IncrementalParsingTests.cs (1)
3326
var comp = CSharpTestBase.
CreateCompilation
(SyntaxFactory.ParseSyntaxTree(String.Empty));
LexicalAndXml\LexicalErrorTests.cs (79)
975
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
976
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
994
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
998
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1016
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1020
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1039
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1043
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1061
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1065
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1084
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1088
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1108
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1112
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1131
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1135
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1154
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1158
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1177
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1181
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1201
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1205
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1243
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1262
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1316
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1335
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1370
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1371
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1389
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1393
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1415
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1419
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1439
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1440
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1458
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1462
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1483
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1487
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1508
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1512
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1530
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1534
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1557
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1561
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1584
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1588
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1608
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1612
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1633
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1637
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1658
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1662
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1683
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1687
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1710
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1714
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1737
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1741
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1762
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1766
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1790
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1794
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1818
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1822
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1844
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1848
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1869
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1873
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1897
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1901
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1925
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1929
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1951
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1955
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1974
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1975
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1994
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1998
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2024
CreateCompilation
(test).VerifyDiagnostics(
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
233
CreateCompilation
(
LexicalAndXml\XmlDocCommentTests.cs (2)
41
var comp =
CreateCompilation
(@"
3192
var comp =
CreateCompilation
(new[] {
Parsing\AnonymousFunctionParsingTests.cs (51)
113
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
213
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
311
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
412
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
513
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
627
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
768
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
877
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
889
CreateCompilation
(testInMethod).VerifyDiagnostics(
893
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
951
CreateCompilation
(testInMethod).VerifyDiagnostics(
958
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1020
CreateCompilation
(testInMethod).VerifyDiagnostics(
1024
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1090
CreateCompilation
(testInMethod).VerifyDiagnostics(
1094
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1162
CreateCompilation
(testInMethod).VerifyDiagnostics(
1166
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1326
CreateCompilation
(testInMethod).VerifyDiagnostics(
1330
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1403
CreateCompilation
(testInMethod).VerifyDiagnostics(
1407
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1590
CreateCompilation
(testInMethod).VerifyDiagnostics(
1600
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1694
CreateCompilation
(testInMethod).VerifyDiagnostics(
1704
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1795
CreateCompilation
(testInMethod).VerifyDiagnostics(
1799
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1876
CreateCompilation
(testWithStatement).VerifyDiagnostics(
1889
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1982
CreateCompilation
(testInMethod).VerifyDiagnostics(
2007
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2105
CreateCompilation
(test).VerifyDiagnostics(
2112
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2194
CreateCompilation
(testWithStatement).VerifyDiagnostics(
2201
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2578
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2726
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2875
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2994
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3140
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3254
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3404
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3557
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3711
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3839
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3994
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4117
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4276
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4438
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4601
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
Parsing\AsyncParsingTests.cs (3)
2374
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2461
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
2577
CreateCompilation
(test, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
Parsing\CollectionExpressionParsingTests.cs (1)
18605
CreateCompilation
("""
Parsing\DeclarationParsingTests.cs (18)
1182
CreateCompilation
(text).GetDeclarationDiagnostics().Verify(
1196
CreateCompilation
(text).GetDeclarationDiagnostics().Verify(
5666
CreateCompilation
(text).VerifyDiagnostics(
5676
CreateCompilation
(text).VerifyDiagnostics(
5686
CreateCompilation
(text).VerifyDiagnostics(
5731
CreateCompilation
(text).VerifyDiagnostics(
5798
CreateCompilation
(text).VerifyDiagnostics(
5912
CreateCompilation
(text1).VerifyDiagnostics(
5916
CreateCompilation
(text2).VerifyDiagnostics(
6864
CreateCompilation
(code).VerifyDiagnostics(
6883
CreateCompilation
(code).VerifyDiagnostics(
6905
CreateCompilation
(code).VerifyDiagnostics(
6924
CreateCompilation
(code).VerifyDiagnostics(
6947
CreateCompilation
(code).VerifyDiagnostics(
6970
CreateCompilation
(code).VerifyDiagnostics(
8529
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8787
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
8916
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
Parsing\DeclarationScopeParsingTests.cs (3)
3274
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3290
CreateCompilation
(source, parseOptions: parseOptions).VerifyDiagnostics(
3303
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\ExtensionsParsingTests.cs (21)
478
var comp =
CreateCompilation
(src);
537
var comp =
CreateCompilation
(src);
935
var comp =
CreateCompilation
(src);
995
var comp =
CreateCompilation
(src);
1286
var comp =
CreateCompilation
(src);
1465
var comp =
CreateCompilation
(src);
1510
var comp =
CreateCompilation
(src);
1569
var comp =
CreateCompilation
(src);
1694
var comp =
CreateCompilation
(src);
2091
var comp =
CreateCompilation
(src);
2144
var comp =
CreateCompilation
(src);
2221
var comp =
CreateCompilation
(src);
2309
var comp =
CreateCompilation
(src);
2396
var comp =
CreateCompilation
(src);
2584
var comp =
CreateCompilation
(src);
2644
var comp =
CreateCompilation
(src);
2715
var comp =
CreateCompilation
(src);
2786
var comp =
CreateCompilation
(src);
2855
var comp =
CreateCompilation
(src);
3111
var comp =
CreateCompilation
(src);
4763
var comp =
CreateCompilation
(src);
Parsing\FileModifierParsingTests.cs (1)
38
var comp =
CreateCompilation
(tree);
Parsing\FunctionPointerTests.cs (1)
510
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\ImplicitObjectCreationParsingTests.cs (3)
408
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
457
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
538
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\LocalFunctionParsingTests.cs (24)
696
CreateCompilation
(code, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
706
CreateCompilation
(code, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
788
CreateCompilation
(code, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
795
CreateCompilation
(code, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
976
CreateCompilation
(tree).VerifyDiagnostics(
1061
CreateCompilation
(tree).VerifyDiagnostics(
1199
CreateCompilation
(errorText).VerifyDiagnostics(
1304
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1720
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1727
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1731
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1805
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1824
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1837
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1939
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1973
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1995
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2127
CreateCompilation
(text).VerifyDiagnostics(
2204
CreateCompilation
(text).VerifyDiagnostics(
2288
CreateCompilation
(text).VerifyDiagnostics(
2379
CreateCompilation
(text).VerifyDiagnostics(
2474
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2496
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2515
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\MemberDeclarationParsingTests.cs (61)
1617
CreateCompilation
(classWithText, parseOptions: parseOptions).VerifyDiagnostics(
2289
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2305
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2400
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2425
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2525
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2550
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2649
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2668
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2755
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2774
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3170
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3186
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3285
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3310
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3413
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3438
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3541
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3560
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3651
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3670
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4215
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4228
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4319
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4341
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4436
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4458
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4553
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4569
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4652
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4668
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5055
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5068
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5163
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5185
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5284
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5306
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5405
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5421
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5508
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5524
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6240
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6253
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6327
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6343
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6478
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6494
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6578
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6594
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6965
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6978
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7056
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7075
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7169
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7185
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7273
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7289
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7377
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7393
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
12073
CreateCompilation
(text).VerifyDiagnostics(
12135
CreateCompilation
(text).VerifyDiagnostics(
Parsing\NameParsingTests.cs (5)
910
CreateCompilation
(source).VerifyDiagnostics(
1008
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
1139
CreateCompilation
(source).VerifyDiagnostics(
1264
CreateCompilation
(source).VerifyDiagnostics(
1428
CreateCompilation
(source).VerifyDiagnostics(
Parsing\NullableParsingTests.cs (2)
742
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
810
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\ParserErrorMessageTests.cs (120)
89
CreateCompilation
(test).VerifyDiagnostics(
117
CreateCompilation
(test).VerifyDiagnostics(
132
CreateCompilation
(test).VerifyDiagnostics(
157
CreateCompilation
(test).VerifyDiagnostics(
266
CreateCompilation
(test).VerifyDiagnostics(
587
CreateCompilation
(test).VerifyDiagnostics(
611
CreateCompilation
(test).VerifyDiagnostics(
624
CreateCompilation
(test).VerifyDiagnostics(
638
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
669
CreateCompilation
(test).VerifyDiagnostics(
699
CreateCompilation
(test).VerifyDiagnostics(
793
CreateCompilation
(test).VerifyDiagnostics(
878
CreateCompilation
(test).VerifyDiagnostics(
908
CreateCompilation
(test).VerifyDiagnostics(
938
CreateCompilation
(source).VerifyDiagnostics(
976
CreateCompilation
(test).VerifyDiagnostics(
996
CreateCompilation
(test).VerifyDiagnostics(
1018
CreateCompilation
(test).VerifyDiagnostics(
1082
CreateCompilation
(test).VerifyDiagnostics(
1103
CreateCompilation
(source).VerifyDiagnostics(
1232
CreateCompilation
(test).VerifyDiagnostics(
1257
CreateCompilation
(test).VerifyDiagnostics(
1279
CreateCompilation
(test).VerifyDiagnostics(
1311
CreateCompilation
(test).VerifyDiagnostics(
1504
CreateCompilation
(test).VerifyDiagnostics(
1673
CreateCompilation
(test).VerifyDiagnostics(
1693
CreateCompilation
(test).VerifyDiagnostics(
1710
CreateCompilation
(test).VerifyDiagnostics(
1728
CreateCompilation
(test).VerifyDiagnostics(
1746
CreateCompilation
(test).VerifyDiagnostics(
1761
CreateCompilation
(test).VerifyDiagnostics(
1776
CreateCompilation
(test).VerifyDiagnostics(
1791
CreateCompilation
(test).VerifyDiagnostics(
1806
CreateCompilation
(test).VerifyDiagnostics(
1820
CreateCompilation
(test).VerifyDiagnostics(
1834
CreateCompilation
(test).VerifyDiagnostics(
1848
CreateCompilation
(test).VerifyDiagnostics(
1862
CreateCompilation
(test).VerifyDiagnostics(
1874
CreateCompilation
(test).VerifyDiagnostics(
1906
CreateCompilation
(test).VerifyDiagnostics(
1930
CreateCompilation
(
1952
CreateCompilation
(
2174
CreateCompilation
(test).VerifyDiagnostics(
2210
CreateCompilation
(test).VerifyDiagnostics(
2251
CreateCompilation
(test).VerifyDiagnostics(
2363
CreateCompilation
(test).VerifyDiagnostics(
2421
CreateCompilation
(test, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2456
CreateCompilation
(test).VerifyDiagnostics(
2478
CreateCompilation
(test).VerifyDiagnostics(
2500
CreateCompilation
(test).VerifyDiagnostics(
2813
CreateCompilation
(test).VerifyDiagnostics(
2885
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
2982
CreateCompilation
(test).VerifyDiagnostics(
2999
CreateCompilation
(test).VerifyDiagnostics(
3010
CreateCompilation
(test).VerifyDiagnostics(
3028
CreateCompilation
(test).VerifyDiagnostics(
3043
CreateCompilation
(test).VerifyDiagnostics(
3213
CreateCompilation
(test).VerifyDiagnostics(
3230
CreateCompilation
(test).VerifyDiagnostics(
3255
CreateCompilation
(test).VerifyDiagnostics(
4045
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
4554
CreateCompilation
(test).VerifyDiagnostics(
4615
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
4671
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4697
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4717
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4737
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4780
CreateCompilation
(test, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
4888
CreateCompilation
(test, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
4949
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
4973
CreateCompilation
(test).GetDeclarationDiagnostics().Verify(
5225
CreateCompilation
(test).VerifyDiagnostics(
5269
CreateCompilation
(test).VerifyDiagnostics(
5300
CreateCompilation
(test).VerifyDiagnostics(
5445
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5446
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
5467
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5480
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5511
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5515
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5551
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5552
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5573
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5577
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5608
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyEmitDiagnostics(
5612
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
5642
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5646
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5676
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
5683
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5765
CreateCompilation
(test).VerifyDiagnostics(
5803
CreateCompilation
(test).VerifyDiagnostics(
5843
CreateCompilation
(test).VerifyDiagnostics(
5870
CreateCompilation
(test).GetDiagnostics().Verify(
5911
CreateCompilation
(test).VerifyDiagnostics(
5927
CreateCompilation
(test, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
5980
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5988
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6008
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6015
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6038
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6051
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6080
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6093
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6121
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6131
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6163
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6167
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6187
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6191
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6209
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics();
6210
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6231
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6235
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6259
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6263
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6383
CreateCompilation
(source, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6390
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6430
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6437
CreateCompilation
(source, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
Parsing\ParserRegressionTests.cs (1)
31
var comp =
CreateCompilation
(@"
Parsing\ParsingErrorRecoveryTests.cs (9)
2032
CreateCompilation
(text).VerifyDiagnostics(
2147
CreateCompilation
(text).VerifyDiagnostics(
2235
CreateCompilation
(text).VerifyDiagnostics(
4083
CreateCompilation
(text).VerifyDiagnostics(
6253
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6368
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
7607
CreateCompilation
(text).VerifyDiagnostics(
8653
CreateCompilation
("""
8671
CreateCompilation
("""
Parsing\PatternParsingTests.cs (22)
50
CreateCompilation
(test, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
85
CreateCompilation
(test).VerifyDiagnostics();
86
CreateCompilation
(test, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1846
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
1856
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1942
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2030
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2154
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2213
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2282
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2373
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2450
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2481
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2549
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2628
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
2722
CreateCompilation
(testWithStatement, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
8254
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8316
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8378
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8430
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8484
CreateCompilation
(testInMethod, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
8647
CreateCompilation
(test, parseOptions: TestOptions.RegularWithoutPatternCombinators).VerifyDiagnostics(
Parsing\PatternParsingTests2.cs (2)
31
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
38
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (30)
56
CreateCompilation
(text).VerifyDiagnostics(expected);
69
CreateCompilation
(
82
CreateCompilation
(
92
CreateCompilation
(
102
CreateCompilation
(
112
CreateCompilation
(
122
CreateCompilation
(
132
CreateCompilation
(
143
CreateCompilation
(
154
CreateCompilation
(
164
CreateCompilation
(
182
CreateCompilation
(
199
CreateCompilation
(
216
CreateCompilation
(
236
CreateCompilation
(
249
CreateCompilation
(
262
CreateCompilation
(
277
CreateCompilation
(
300
CreateCompilation
(
315
CreateCompilation
(
330
CreateCompilation
(
347
CreateCompilation
(
363
CreateCompilation
(
382
CreateCompilation
(
398
CreateCompilation
(
414
CreateCompilation
(
431
CreateCompilation
(
445
CreateCompilation
(
462
CreateCompilation
(
476
CreateCompilation
(
Parsing\RawInterpolatedStringLiteralParsingTests.cs (109)
26
CreateCompilation
(text).VerifyDiagnostics();
41
CreateCompilation
(text).VerifyDiagnostics(
59
CreateCompilation
(text).VerifyDiagnostics(
77
CreateCompilation
(text).VerifyDiagnostics();
92
CreateCompilation
(text).VerifyDiagnostics();
107
CreateCompilation
(text).VerifyDiagnostics();
122
CreateCompilation
(text).VerifyDiagnostics();
137
CreateCompilation
(text).VerifyDiagnostics();
152
CreateCompilation
(text).VerifyDiagnostics();
167
CreateCompilation
(text).VerifyDiagnostics(
185
CreateCompilation
(text).VerifyDiagnostics(
203
CreateCompilation
(text).VerifyDiagnostics(
221
CreateCompilation
(text).VerifyDiagnostics(
239
CreateCompilation
(text).VerifyDiagnostics(
257
CreateCompilation
(text).VerifyDiagnostics(
275
CreateCompilation
(text).VerifyDiagnostics();
290
CreateCompilation
(text).VerifyDiagnostics();
305
CreateCompilation
(text).VerifyDiagnostics();
320
CreateCompilation
(text).VerifyDiagnostics();
335
CreateCompilation
(text).VerifyDiagnostics();
351
CreateCompilation
(text).VerifyDiagnostics();
366
CreateCompilation
(text).VerifyDiagnostics();
381
CreateCompilation
(text).VerifyDiagnostics();
396
CreateCompilation
(text).VerifyDiagnostics();
411
CreateCompilation
(text).VerifyDiagnostics();
427
CreateCompilation
(text).VerifyDiagnostics();
444
CreateCompilation
(text).VerifyDiagnostics();
459
CreateCompilation
(text).VerifyDiagnostics();
476
CreateCompilation
(text).VerifyDiagnostics();
493
CreateCompilation
(text).VerifyDiagnostics(
511
CreateCompilation
(text).VerifyDiagnostics();
526
CreateCompilation
(text).VerifyDiagnostics();
541
CreateCompilation
(text).VerifyDiagnostics();
557
CreateCompilation
(text).VerifyDiagnostics();
574
CreateCompilation
(text).VerifyDiagnostics();
589
CreateCompilation
(text).VerifyDiagnostics();
604
CreateCompilation
(text).VerifyDiagnostics();
619
CreateCompilation
(text).VerifyDiagnostics();
634
CreateCompilation
(text).VerifyDiagnostics();
649
CreateCompilation
(text).VerifyDiagnostics();
664
CreateCompilation
(text).VerifyDiagnostics();
679
CreateCompilation
(text).VerifyDiagnostics();
694
CreateCompilation
(text).VerifyDiagnostics();
709
CreateCompilation
(text).VerifyDiagnostics();
724
CreateCompilation
(text).VerifyDiagnostics();
739
CreateCompilation
(text).VerifyDiagnostics();
754
CreateCompilation
(text).VerifyDiagnostics();
769
CreateCompilation
(text).VerifyDiagnostics();
784
CreateCompilation
(text).VerifyDiagnostics();
799
CreateCompilation
(text).VerifyDiagnostics();
814
CreateCompilation
(text).VerifyDiagnostics();
829
CreateCompilation
(text).VerifyDiagnostics();
844
CreateCompilation
(text).VerifyDiagnostics();
859
CreateCompilation
(text).VerifyDiagnostics();
874
CreateCompilation
(text).VerifyDiagnostics();
889
CreateCompilation
(text).VerifyDiagnostics();
904
CreateCompilation
(text).VerifyDiagnostics();
919
CreateCompilation
(text).VerifyDiagnostics();
934
CreateCompilation
(text).VerifyDiagnostics();
949
CreateCompilation
(text).VerifyDiagnostics();
964
CreateCompilation
(text).VerifyDiagnostics();
979
CreateCompilation
(text).VerifyDiagnostics();
994
CreateCompilation
(text).VerifyDiagnostics();
1009
CreateCompilation
(text).VerifyDiagnostics();
1024
CreateCompilation
(text).VerifyDiagnostics();
1039
CreateCompilation
(text).VerifyDiagnostics();
1054
CreateCompilation
(text).VerifyDiagnostics();
1069
CreateCompilation
(text).VerifyDiagnostics();
1084
CreateCompilation
(text).VerifyDiagnostics();
1099
CreateCompilation
(text).VerifyDiagnostics(
1120
CreateCompilation
(text).VerifyDiagnostics(
1150
CreateCompilation
(text).VerifyDiagnostics(
1168
CreateCompilation
(text).VerifyDiagnostics(
1186
CreateCompilation
(text).VerifyDiagnostics(
1207
CreateCompilation
(text).VerifyDiagnostics(
1237
CreateCompilation
(text).VerifyDiagnostics(
1255
CreateCompilation
(text).VerifyDiagnostics(
1273
CreateCompilation
(text).VerifyDiagnostics(
1291
CreateCompilation
(text).VerifyDiagnostics(
1312
CreateCompilation
(text).VerifyDiagnostics(
1330
CreateCompilation
(text).VerifyDiagnostics(
1348
CreateCompilation
(text).VerifyDiagnostics(
1366
CreateCompilation
(text).VerifyDiagnostics(
1387
CreateCompilation
(text).VerifyDiagnostics(
1405
CreateCompilation
(text).VerifyDiagnostics(
1423
CreateCompilation
(text).VerifyDiagnostics(
1441
CreateCompilation
(text).VerifyDiagnostics(
1462
CreateCompilation
(text).VerifyDiagnostics(
1480
CreateCompilation
(text).VerifyDiagnostics(
1498
CreateCompilation
(text).VerifyDiagnostics(
1516
CreateCompilation
(text).VerifyDiagnostics(
1537
CreateCompilation
(text).VerifyDiagnostics(
1555
CreateCompilation
(text).VerifyDiagnostics(
1573
CreateCompilation
(text).VerifyDiagnostics(
1591
CreateCompilation
(text).VerifyDiagnostics(
1612
CreateCompilation
(text).VerifyDiagnostics(
1630
CreateCompilation
(text).VerifyDiagnostics(
1648
CreateCompilation
(text).VerifyDiagnostics(
1666
CreateCompilation
(text).VerifyDiagnostics(
1687
CreateCompilation
(text).VerifyDiagnostics(
1705
CreateCompilation
(text).VerifyDiagnostics(
1723
CreateCompilation
(text).VerifyDiagnostics(
1744
CreateCompilation
(text).VerifyDiagnostics(
1762
CreateCompilation
(text).VerifyDiagnostics(
1780
CreateCompilation
(text).VerifyDiagnostics(
1801
CreateCompilation
(text).VerifyDiagnostics(
1819
CreateCompilation
(text).VerifyDiagnostics(
1843
CreateCompilation
(text).VerifyDiagnostics(
1863
CreateCompilation
(text).VerifyDiagnostics(
Parsing\RawStringLiteralCompilingTests.cs (32)
15
CreateCompilation
(
28
CreateCompilation
(
41
CreateCompilation
(
51
CreateCompilation
(
61
CreateCompilation
(
71
CreateCompilation
(
82
CreateCompilation
(
92
CreateCompilation
(
110
CreateCompilation
(
127
CreateCompilation
(
144
CreateCompilation
(
164
CreateCompilation
(
177
CreateCompilation
(
190
CreateCompilation
(
205
CreateCompilation
(
228
CreateCompilation
(
243
CreateCompilation
(
258
CreateCompilation
(
275
CreateCompilation
(
288
CreateCompilation
(
307
CreateCompilation
(
323
CreateCompilation
(
339
CreateCompilation
(
356
CreateCompilation
(
370
CreateCompilation
(
387
CreateCompilation
(
478
CreateCompilation
(
488
CreateCompilation
(
497
CreateCompilation
(
506
CreateCompilation
(
515
CreateCompilation
(
524
CreateCompilation
(
Parsing\RecordParsing.cs (16)
109
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
267
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
336
var comp =
CreateCompilation
(text).VerifyDiagnostics(
1209
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2660
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2673
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2727
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2731
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2744
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2907
CreateCompilation
(text, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2917
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2930
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3793
CreateCompilation
(text, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3800
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
3837
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3875
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\RefReadonlyTests.cs (10)
204
CreateCompilation
(@"
231
CreateCompilation
(@"
258
CreateCompilation
(@"
284
CreateCompilation
(@"
337
CreateCompilation
(@"
372
CreateCompilation
(@"
389
CreateCompilation
(@"
406
CreateCompilation
(@"
421
CreateCompilation
(@"
443
CreateCompilation
(@"
Parsing\RefStructs.cs (6)
111
var comp =
CreateCompilation
(text);
127
var comp =
CreateCompilation
(@"
139
var comp =
CreateCompilation
(@"
160
var comp =
CreateCompilation
(@"
187
var comp =
CreateCompilation
(@"
208
var comp =
CreateCompilation
(@"
Parsing\ScriptParsingTests.cs (4)
1251
CreateCompilation
(source).VerifyDiagnostics(
1280
CreateCompilation
(source).VerifyDiagnostics(
1914
CreateCompilation
(test).VerifyDiagnostics(
2187
CreateCompilation
(test).VerifyDiagnostics(
Parsing\SeparatedSyntaxListParsingTests.cs (1)
673
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
Parsing\SingleLineDeclarationParsingTests.cs (1)
193
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\StackAllocInitializerParsingTests.cs (4)
25
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
72
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
119
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
153
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
Parsing\StatementAttributeParsingTests.cs (83)
79
CreateCompilation
(test).GetDiagnostics().Verify(
144
CreateCompilation
(test).GetDiagnostics().Verify(
228
CreateCompilation
(test).GetDiagnostics().Verify(
325
CreateCompilation
(test).GetDiagnostics().Verify(
410
CreateCompilation
(test).GetDiagnostics().Verify(
495
CreateCompilation
(test).GetDiagnostics().Verify(
561
CreateCompilation
(test).GetDiagnostics().Verify(
627
CreateCompilation
(test).GetDiagnostics().Verify(
701
CreateCompilation
(test).GetDiagnostics().Verify(
775
CreateCompilation
(test).GetDiagnostics().Verify(
850
CreateCompilation
(test).GetDiagnostics().Verify(
931
CreateCompilation
(test).GetDiagnostics().Verify(
1009
CreateCompilation
(test).GetDiagnostics().Verify(
1083
CreateCompilation
(test).GetDiagnostics().Verify(
1185
CreateCompilation
(test).GetDiagnostics().Verify(
1319
CreateCompilation
(test).GetDiagnostics().Verify(
1395
CreateCompilation
(test).GetDiagnostics().Verify(
1472
CreateCompilation
(test).GetDiagnostics().Verify(
1559
CreateCompilation
(test).GetDiagnostics().Verify(
1681
CreateCompilation
(test).GetDiagnostics().Verify(
1754
CreateCompilation
(test).GetDiagnostics().Verify(
1824
CreateCompilation
(test).GetDiagnostics().Verify(
1894
CreateCompilation
(test).GetDiagnostics().Verify(
1964
CreateCompilation
(test).GetDiagnostics().Verify(
2061
CreateCompilation
(test).GetDiagnostics().Verify(
2152
CreateCompilation
(test).GetDiagnostics().Verify(
2228
CreateCompilation
(test).GetDiagnostics().Verify(
2301
CreateCompilation
(test).GetDiagnostics().Verify(
2394
CreateCompilation
(test).GetDiagnostics().Verify(
2507
CreateCompilation
(test).GetDiagnostics().Verify(
2619
CreateCompilation
(test).GetDiagnostics().Verify(
2716
CreateCompilation
(test).GetDiagnostics().Verify(
2795
CreateCompilation
(test).GetDiagnostics().Verify(
2898
CreateCompilation
(test).GetDiagnostics().Verify(
2983
CreateCompilation
(test).GetDiagnostics().Verify(
3086
CreateCompilation
(test).GetDiagnostics().Verify(
3171
CreateCompilation
(test).GetDiagnostics().Verify(
3247
CreateCompilation
(test).GetDiagnostics().Verify(
3324
CreateCompilation
(test).GetDiagnostics().Verify(
3407
CreateCompilation
(test).GetDiagnostics().Verify(
3492
CreateCompilation
(test).GetDiagnostics().Verify(
3574
CreateCompilation
(test).GetDiagnostics().Verify(
3664
CreateCompilation
(test).GetDiagnostics().Verify(
3745
CreateCompilation
(test).GetDiagnostics().Verify(
3819
CreateCompilation
(test).GetDiagnostics().Verify(
3912
CreateCompilation
(test).GetDiagnostics().Verify(
3995
CreateCompilation
(test).GetDiagnostics().Verify(
4083
CreateCompilation
(test).GetDiagnostics().Verify(
4168
CreateCompilation
(test).GetDiagnostics().Verify(
4244
CreateCompilation
(test).GetDiagnostics().Verify(
4324
CreateCompilation
(test).GetDiagnostics().Verify(
4412
CreateCompilation
(test).GetDiagnostics().Verify(
4501
CreateCompilation
(test).GetDiagnostics().Verify(
4601
CreateCompilation
(test).GetDiagnostics().Verify(
4676
CreateCompilation
(test).GetDiagnostics().Verify(
4748
CreateCompilation
(test).GetDiagnostics().Verify(
4846
CreateCompilation
(test).GetDiagnostics().Verify(
4945
CreateCompilation
(test).GetDiagnostics().Verify(
5025
CreateCompilation
(test).GetDiagnostics().Verify(
5094
CreateCompilation
(test).GetDiagnostics().Verify(
5182
CreateCompilation
(test).GetDiagnostics().Verify(
5263
CreateCompilation
(test).GetDiagnostics().Verify(
5349
CreateCompilation
(test).GetDiagnostics().Verify(
5423
CreateCompilation
(test).GetDiagnostics().Verify(
5507
CreateCompilation
(test).GetDiagnostics().Verify(
5596
CreateCompilation
(test).GetDiagnostics().Verify(
5717
CreateCompilation
(test).GetDiagnostics().Verify(
5814
CreateCompilation
(test).GetDiagnostics().Verify(
5916
CreateCompilation
(test).GetDiagnostics().Verify(
6188
CreateCompilation
(test).GetDiagnostics().Verify(
6274
CreateCompilation
(test).GetDiagnostics().Verify(
6358
CreateCompilation
(test).GetDiagnostics().Verify(
6437
CreateCompilation
(test).GetDiagnostics().Verify(
6521
CreateCompilation
(test).GetDiagnostics().Verify(
6611
CreateCompilation
(test).GetDiagnostics().Verify(
6747
CreateCompilation
(test).GetDiagnostics().Verify(
6856
CreateCompilation
(tree).GetDiagnostics().Verify(
6939
CreateCompilation
(test).VerifyDiagnostics(
7025
CreateCompilation
(test).VerifyDiagnostics(
7119
CreateCompilation
(test).GetDiagnostics().Verify(
7226
CreateCompilation
(test).GetDiagnostics().Verify(
7328
CreateCompilation
(test).GetDiagnostics().Verify(
7437
CreateCompilation
(test).GetDiagnostics().Verify(
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
833
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
846
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\SwitchExpressionParsingTests.cs (2)
2569
CreateCompilation
(code).VerifyDiagnostics(
2650
CreateCompilation
(code).VerifyDiagnostics(
Parsing\TopLevelStatementsParsingTests.cs (2)
971
CreateCompilation
(test).VerifyDiagnostics(
3193
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
Parsing\UsingDirectiveParsingTests.cs (66)
350
CreateCompilation
(text).VerifyDiagnostics(
605
CreateCompilation
(text).VerifyDiagnostics(
659
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
709
CreateCompilation
(text).VerifyDiagnostics(
771
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
831
CreateCompilation
(text).VerifyDiagnostics(
861
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
901
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
938
CreateCompilation
(text).VerifyDiagnostics(
975
CreateCompilation
(text).VerifyDiagnostics(
1019
CreateCompilation
(text).VerifyDiagnostics(
1064
CreateCompilation
(text).VerifyDiagnostics(
1108
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1156
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1231
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1304
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1379
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1466
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1545
CreateCompilation
(text).VerifyDiagnostics(
1605
CreateCompilation
(text).VerifyDiagnostics(
1708
CreateCompilation
(text).VerifyDiagnostics(
1807
CreateCompilation
(text).VerifyDiagnostics(
1848
CreateCompilation
(text).VerifyDiagnostics(
1898
CreateCompilation
(text).VerifyDiagnostics(
1945
CreateCompilation
(text).VerifyDiagnostics(
2023
CreateCompilation
(text).VerifyDiagnostics(
2096
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2173
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
2248
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2329
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2405
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2473
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
2548
CreateCompilation
(text).VerifyDiagnostics(
2586
CreateCompilation
(text).VerifyDiagnostics();
2683
CreateCompilation
(text).VerifyDiagnostics();
2828
CreateCompilation
(text).VerifyDiagnostics();
2952
CreateCompilation
(text).VerifyDiagnostics(
3056
CreateCompilation
(text).VerifyDiagnostics();
3147
CreateCompilation
(text).VerifyDiagnostics(
3211
CreateCompilation
(text).VerifyDiagnostics(
3275
CreateCompilation
(text).VerifyDiagnostics(
3348
CreateCompilation
(text).VerifyDiagnostics(
3636
CreateCompilation
(text).VerifyDiagnostics(
3786
CreateCompilation
(text).VerifyDiagnostics(
3948
var comp =
CreateCompilation
(text);
3993
var comp =
CreateCompilation
(text);
4036
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4086
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4133
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4180
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4224
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4285
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4343
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4401
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4457
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4500
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4540
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4580
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4617
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4701
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4782
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4863
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
4942
CreateCompilation
(text, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5020
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5097
CreateCompilation
(text, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5177
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
Parsing\ValueTupleTests.cs (1)
719
CreateCompilation
(test).VerifyDiagnostics(
Syntax\FieldAndValueKeywordTests.cs (54)
43
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
89
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
112
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
137
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
175
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
203
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
221
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
239
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
258
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
286
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
313
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
360
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
390
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
420
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
450
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
480
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
507
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
534
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
561
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
577
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
603
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
643
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
671
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
699
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
726
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
753
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
791
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
851
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
900
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
947
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
988
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1024
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1060
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1099
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1137
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1172
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1206
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1243
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1302
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1348
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1397
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1430
var comp =
CreateCompilation
(source);
1446
var comp =
CreateCompilation
(source);
1465
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1499
var comp =
CreateCompilation
(sourceA);
1508
comp =
CreateCompilation
(sourceB1, references: [refA], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1528
comp =
CreateCompilation
(sourceB2, references: [refA], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1538
comp =
CreateCompilation
(sourceB3, references: [refA], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1548
comp =
CreateCompilation
(sourceB4, references: [refA], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1559
comp =
CreateCompilation
(sourceB5, references: [refA], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
1601
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
Syntax\SyntaxFactoryTests.cs (4)
632
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
649
CreateCompilation
(type, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
662
CreateCompilation
(type, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
673
CreateCompilation
(type, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Syntax\SyntaxTreeTests.cs (6)
364
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
433
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
506
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
577
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
658
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
746
CreateCompilation
(test, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Microsoft.CodeAnalysis.CSharp.Test.Utilities (41)
CompilingTestBase.cs (1)
25
var compilation =
CreateCompilation
(program);
CSharpTestBase.cs (35)
680
CreateCompilation
(RefSafetyRulesAttributeDefinition).EmitToImageReference();
1510
var compilation =
CreateCompilation
(source, references, options, parseOptions, targetFramework, assemblyName: GetUniqueName());
1653
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1662
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1671
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1679
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib46, assemblyName, sourceFileName);
1697
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.WinRT, assemblyName, sourceFileName);
1705
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461AndCSharp, assemblyName, sourceFileName);
1713
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1721
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1729
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.StandardAndCSharp, assemblyName, sourceFileName);
1741
return
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1768
return
CreateCompilation
(source, allReferences, options, parseOptions, TargetFramework.Empty, assemblyName, sourceFileName);
2015
var c =
CreateCompilation
(cSharpSource, options: compilationOptions, targetFramework: targetFramework);
2021
var compilation =
CreateCompilation
(cSharpSource, new[] { reference }, compilationOptions, targetFramework: targetFramework);
2043
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe));
2609
var compilation =
CreateCompilation
(testSrc, targetFramework: targetFramework, options: compilationOptions ?? TestOptions.ReleaseDll, parseOptions: parseOptions);
2718
var compilation =
CreateCompilation
(
2737
var compilation =
CreateCompilation
(
2775
var compilation =
CreateCompilation
(
2806
var reference =
CreateCompilation
(
2812
var comp =
CreateCompilation
(
2855
var reference =
CreateCompilation
(TestSources.Index).VerifyDiagnostics();
2857
return
CreateCompilation
(
2866
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range }).VerifyDiagnostics();
2868
return
CreateCompilation
(
2877
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2879
return
CreateCompilation
(
2890
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2894
var reference =
CreateCompilation
(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2896
return
CreateCompilation
(
2908
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2912
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2914
return
CreateCompilation
(
3193
return
CreateCompilation
(source, options: options, parseOptions: parseOptions, targetFramework: TargetFramework.Net100);
DiagnosticTestUtilities.cs (1)
47
var comp = CSharpTestBase.
CreateCompilation
(srcs, parseOptions: TestOptions.RegularPreview);
SemanticModelTestBase.cs (4)
96
var compilation =
CreateCompilation
(source);
116
var compilation =
CreateCompilation
(testSrc, parseOptions: parseOptions);
137
var compilation =
CreateCompilation
(testSrc);
148
var compilation =
CreateCompilation
(testSrc);
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (47)
CSharpFunctionResolverTests.cs (43)
29
var compilation =
CreateCompilation
(source);
62
var bytesA =
CreateCompilation
(sourceA).EmitToArray();
63
var bytesB =
CreateCompilation
(sourceB).EmitToArray();
235
var bytes =
CreateCompilation
(source).EmitToArray();
318
var moduleA = new Module(
CreateCompilation
(sourceA).EmitToArray(), name: "A.dll");
320
var moduleC = new Module(
CreateCompilation
(sourceC).EmitToArray(), name: "C.dll");
410
var compilationA =
CreateCompilation
(sourceA, assemblyName: nameA);
420
var compilationB =
CreateCompilation
(sourceB, assemblyName: nameB, options: TestOptions.DebugExe, references: new[] { refA });
458
var compilation =
CreateCompilation
(source);
485
var compilation =
CreateCompilation
(source);
512
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
537
var compilation =
CreateCompilation
(source);
560
var compilation =
CreateCompilation
(source);
595
var compilation =
CreateCompilation
(source);
624
var compilation =
CreateCompilation
(source);
661
var compilation =
CreateCompilation
(source);
698
var compilation =
CreateCompilation
(source);
745
var compilation =
CreateCompilation
(source);
782
var compilation =
CreateCompilation
(source);
827
var compilation =
CreateCompilation
(source);
863
var compilation =
CreateCompilation
(source);
907
var compilation =
CreateCompilation
(source);
953
var compilation =
CreateCompilation
(source);
1010
var compilation =
CreateCompilation
(source);
1066
var compilation =
CreateCompilation
(source);
1099
var compilation =
CreateCompilation
(source);
1134
var compilation =
CreateCompilation
(source);
1166
var compilation =
CreateCompilation
(source);
1201
var compilationA =
CreateCompilation
(sourceA);
1209
var compilationB =
CreateCompilation
(sourceB, references: new[] { refA });
1239
var compilation =
CreateCompilation
(source);
1260
var compilation =
CreateCompilation
(source);
1291
var compilation =
CreateCompilation
(source);
1319
var compilation =
CreateCompilation
(source);
1343
var compilation =
CreateCompilation
(source);
1370
var compilation =
CreateCompilation
(source);
1393
var compilation =
CreateCompilation
(source);
1418
var compilation =
CreateCompilation
(source, references: new[] { CSharpRef });
1438
var compilation =
CreateCompilation
(source);
1487
var compilation =
CreateCompilation
(source);
1514
var compilation =
CreateCompilation
(source);
1545
var compilationB =
CreateCompilation
(sourceB, references: new[] { refA });
1572
var compilation =
CreateCompilation
(source);
VisualBasicFunctionResolverTests.cs (4)
32
var bytes =
CreateCompilation
(source).EmitToArray();
120
var compilation =
CreateCompilation
(source);
157
var compilation =
CreateCompilation
(source);
188
var compilation =
CreateCompilation
(source);
Microsoft.CodeAnalysis.Features.UnitTests (4)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
73
var compilation = CSharpTestBase.
CreateCompilation
([sourceTreeA1, sourceTreeB1, sourceTreeC1], options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "P");
3345
var compilationV1 = CSharpTestBase.
CreateCompilation
(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib");
4127
var compilationA = CSharpTestBase.
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A");
4128
var compilationB = CSharpTestBase.
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "B");
Microsoft.CodeAnalysis.Rebuild.UnitTests (9)
CompilationOptionsReaderTests.cs (2)
44
var compilation =
CreateCompilation
(
58
var compilation =
CreateCompilation
(
CSharpDeterministicKeyBuilderTests.cs (4)
76
var compilation = CSharpTestBase.
CreateCompilation
(
156
var compilation = CSharpTestBase.
CreateCompilation
(source);
195
var compilation = CSharpTestBase.
CreateCompilation
(syntaxTree);
218
var compilation = CSharpTestBase.
CreateCompilation
(
CSharpRebuildTests.cs (1)
22
var original =
CreateCompilation
(
OptionRoundTripTests.cs (2)
39
var original =
CreateCompilation
(
78
var original =
CreateCompilation
(
SemanticSearch.BuildTask.UnitTests (6)
GenerateFilteredReferenceAssembliesTaskTests.cs (6)
94
var libSource =
CreateCompilation
("""
122
var c =
CreateCompilation
("""
141
var libSource =
CreateCompilation
("""
167
var c =
CreateCompilation
("""
186
var libSource =
CreateCompilation
("""
209
var c =
CreateCompilation
("""