31403 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]);
11312
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
11337
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
15660
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
15796
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 (1654)
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 (43)
1405
var comp1 =
CreateCompilation
(_enumerable);
1413
var comp2 =
CreateCompilation
(@"
1431
var comp3 =
CreateCompilation
(_enumerator);
6640
var comp =
CreateCompilation
(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20);
8665
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8700
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8741
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
8764
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8779
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
8805
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
8822
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
8847
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8868
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8914
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8934
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
8996
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9194
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9235
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9280
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9321
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9517
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9563
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
10018
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net80);
10636
var missingLibS1 =
CreateCompilation
(@"
10643
var libS2 =
CreateCompilation
(@"
10662
var comp =
CreateCompilation
(source, references: [libS2], targetFramework: TargetFramework.Net80);
10673
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: [libS2, missingLibS1], targetFramework: TargetFramework.Net80);
10731
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
10774
var comp1 =
CreateCompilation
(
10825
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
10846
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
10898
var comp1 =
CreateCompilation
(
10957
var comp1 =
CreateCompilation
(
11002
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
11021
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
11067
var comp1 =
CreateCompilation
(
11089
comp1 =
CreateCompilation
(
11143
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11167
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11191
comp1 =
CreateCompilation
([source1, source4, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11246
var comp1 =
CreateCompilation
(
11308
var comp1 =
CreateCompilation
(
11335
comp1 =
CreateCompilation
(
CodeGen\CodeGenAsyncMainTests.cs (3)
1560
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
1802
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithOptimizationLevel(OptimizationLevel.Release));
2058
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (4)
660
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2008
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2099
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
2136
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
CodeGen\CodeGenAsyncSpillTests.cs (17)
8632
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
8689
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
10337
CreateCompilation
(@"
10974
CreateCompilation
(source, options: TestOptions.DebugDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
10975
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics().VerifyEmitDiagnostics(expectedDiagnostics);
11188
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11446
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11704
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11936
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12164
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12397
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12851
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13110
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13396
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13686
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
13894
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAsyncTests.cs (22)
7369
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7432
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7566
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseDll);
7690
var comp = CSharpTestBase.
CreateCompilation
(source);
7739
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
7931
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
7973
var comp1 =
CreateCompilation
(
8018
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8038
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8089
var comp1 =
CreateCompilation
(
8142
var comp1 =
CreateCompilation
(
8185
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
8203
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
8248
var comp1 =
CreateCompilation
(
8268
comp1 =
CreateCompilation
(
8316
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8339
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8362
comp1 =
CreateCompilation
([source1, source4, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8416
var comp1 =
CreateCompilation
(
8472
var comp1 =
CreateCompilation
(
8497
comp1 =
CreateCompilation
(
8544
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);
9906
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10157
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10190
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10502
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10538
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10574
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10611
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10928
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12073
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12113
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12214
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12258
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12363
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12464
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12559
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13029
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13073
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13986
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14040
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14200
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14970
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
CodeGen\CodeGenAwaitUsingTests.cs (13)
3553
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net100);
4981
var comp =
CreateCompilation
(source);
5004
var comp =
CreateCompilation
(source);
5031
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5043
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
5044
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
5075
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(expectedDiagnostics);
5076
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
5077
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
5150
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5189
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
5660
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5689
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
(@"
7734
var reference =
CreateCompilation
(source1);
7821
var comp =
CreateCompilation
(new[] { @"
7850
var comp =
CreateCompilation
(new[] { @"
7957
var comp =
CreateCompilation
(new[] { @"
7983
var comp =
CreateCompilation
(new[] { @"
8073
var comp =
CreateCompilation
(new[] { @"
8092
var comp =
CreateCompilation
(new[] { @"
8165
var comp =
CreateCompilation
(new[] { @"
8208
var comp =
CreateCompilation
(new[] { @"
8243
var comp =
CreateCompilation
(new[] { @"
8338
var comp =
CreateCompilation
(new[] { @"
8472
var comp =
CreateCompilation
(new[] { @"
8491
var comp =
CreateCompilation
(new[] { @"
8519
var comp =
CreateCompilation
(new[] { @"
8655
var comp0 =
CreateCompilation
(new[] { @"
8834
var comp =
CreateCompilation
(new[] { @"
8869
var comp =
CreateCompilation
(new[] { @"
8959
var comp =
CreateCompilation
(new[] { @"
9094
var comp =
CreateCompilation
(new[] { @"
9179
var comp =
CreateCompilation
(new[] { @"
9241
var comp =
CreateCompilation
(new[] { @"
9340
var comp =
CreateCompilation
(new[] { @"
9371
var comp =
CreateCompilation
(new[] { @"
9402
var comp =
CreateCompilation
(new[] { @"
9437
var comp =
CreateCompilation
(new[] { @"
9468
var comp =
CreateCompilation
(new[] { @"
9508
var comp =
CreateCompilation
(new[] { @"
9535
var comp =
CreateCompilation
(new[] { @"
9566
var comp =
CreateCompilation
(new[] { @"
9612
var comp =
CreateCompilation
(new[] { @"
9649
var comp =
CreateCompilation
(new[] { @"
9682
var comp =
CreateCompilation
(new[] { @"
9718
var comp =
CreateCompilation
(new[] { @"
9737
var comp =
CreateCompilation
(new[] { @"
9763
var comp =
CreateCompilation
(new[] { @"
9782
var comp =
CreateCompilation
(new[] { @"
9812
var comp =
CreateCompilation
(new[] { @"
9839
var comp =
CreateCompilation
(new[] { @"
9863
var comp =
CreateCompilation
(new[] { @"
9892
var comp =
CreateCompilation
(new[] { @"
9915
var comp =
CreateCompilation
(@"
9941
var comp =
CreateCompilation
(@"
9967
var comp =
CreateCompilation
(new[] { @"
9986
var comp =
CreateCompilation
(new[] { @"
10007
var comp =
CreateCompilation
(new[] { @"
10136
var comp =
CreateCompilation
(@"
10207
var definitionComp =
CreateCompilation
(definition);
10261
var definitionComp =
CreateCompilation
(definition);
10314
var refComp =
CreateCompilation
(source1);
10379
var refComp =
CreateCompilation
(source1);
11501
CreateCompilation
(source).VerifyEmitDiagnostics(
11529
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11553
CreateCompilation
(source).VerifyEmitDiagnostics(
11581
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11606
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11630
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11693
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
11757
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11819
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11905
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
11931
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11956
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
11983
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12006
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
12033
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12058
CreateCompilation
(source).VerifyEmitDiagnostics(
12090
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12155
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12181
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12206
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12233
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyEmitDiagnostics(
12393
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 (13)
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();
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)
1274
var comp =
CreateCompilation
(code, options: options);
1361
var comp =
CreateCompilation
(code, options: options);
2309
var comp =
CreateCompilation
(source);
CodeGen\CodeGenRefLocalTests.cs (11)
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);
4845
CreateCompilation
(source + IsExternalInitTypeDefinition).VerifyEmitDiagnostics(
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);
7547
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)
236
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
270
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
334
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
402
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
503
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
635
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
696
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
772
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
833
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
858
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
894
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
933
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
969
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1009
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1056
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1107
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1142
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1180
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1224
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1283
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1340
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1400
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1472
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1536
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1599
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1658
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1713
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1774
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1841
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1905
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
1974
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2039
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2174
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2268
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2405
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2539
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns);
2613
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2647
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2668
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
2714
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2794
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2840
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2903
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3000
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3056
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3097
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3129
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3238
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, references: new[] { CSharpRef });
3266
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3296
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3385
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3551
var compilation =
CreateCompilation
(source, options: options);
3634
var compilation =
CreateCompilation
(source, options: options);
3706
var compilation =
CreateCompilation
(source, options: options);
3782
var compilation =
CreateCompilation
(source, options: options);
3993
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3996
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4031
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4034
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4059
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4095
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4122
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4174
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4214
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4249
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
4330
var compilation =
CreateCompilation
(source, options: compilationOptions);
4509
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4543
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4574
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4768
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4801
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4837
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4875
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4909
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4983
var compilation =
CreateCompilation
(source);
5109
var compilation =
CreateCompilation
(source);
5258
var compilation =
CreateCompilation
(source);
5391
var compilation =
CreateCompilation
(source);
5448
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
5476
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5544
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5602
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5648
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5710
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5784
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5874
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5933
compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6018
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6102
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 (111)
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);
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\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 (12)
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 });
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 (710)
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);
34310
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34492
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34564
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34716
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34898
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34970
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35042
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35114
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35199
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35391
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35603
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35823
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35905
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36074
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36303
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36550
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 (12)
6026
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, options: TestOptions.DebugExe);
6382
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6427
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6472
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6517
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6560
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6603
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6651
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6699
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6747
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6795
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
6843
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)
296
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
345
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
429
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
499
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
537
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
598
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
831
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1147
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1270
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
1851
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1943
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2028
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2104
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2168
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithAllowUnsafe(true).WithMetadataImportOptions(MetadataImportOptions.All));
2247
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
3140
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
3224
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe, targetFramework: TargetFramework.NetStandard20);
3351
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
3655
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
3798
var compilation0 =
CreateCompilation
(source0, references: new[] { RefSafetyRulesAttributeLib }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
4050
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4112
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
4177
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6144
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
6865
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
6919
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7042
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7295
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
7375
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7460
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
7541
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7651
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7706
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7822
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
7878
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
7948
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8025
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8107
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.Net50);
8286
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8429
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8493
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8550
var compilation0 =
CreateCompilation
(Parse(source0, "a.cs", parseOptions), options: TestOptions.DebugDll);
8657
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8715
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
8756
var compilation0 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, source:
8943
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: options, references: new[] { CSharpRef });
9325
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: ComSafeDebugDll);
9418
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
9521
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9607
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9738
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
9951
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
10040
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
10088
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
10283
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
10411
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
10513
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll.WithMetadataImportOptions(MetadataImportOptions.All), targetFramework: TargetFramework.NetStandard20);
10796
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
10903
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
11081
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
11198
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
11277
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
11863
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
11933
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
12006
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
12073
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll);
12197
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
12254
var compilation0 =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
12320
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new[] { CSharpRef });
12590
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
12706
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12708
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
12759
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12761
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll, references: new MetadataReference[] { referencePIA });
12845
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12847
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular10, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
12933
var compilationPIA =
CreateCompilation
(sourcePIA, options: TestOptions.DebugDll);
12935
var compilation0 =
CreateCompilation
(source, options: TestOptions.DebugDll, references: new MetadataReference[] { referencePIA, CSharpRef });
13089
var compilation0 =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
13196
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
13268
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
13356
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
13405
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
13446
var compilation0 =
CreateCompilation
(new[] { sourceA0, sourceB0 }, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll);
13492
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: TargetFramework.NetStandard20);
13557
var compilationA0 =
CreateCompilation
(sourceA0, options: TestOptions.DebugDll, assemblyName: "LibA");
13559
var compilationB0 =
CreateCompilation
(sourceB0, new[] { compilationA0.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
13560
var compilationB1 =
CreateCompilation
(sourceB1, new[] { compilationA1.ToMetadataReference() }, options: TestOptions.DebugDll, assemblyName: "LibB");
13622
var compilationA =
CreateCompilation
(sourceA, options: TestOptions.DebugDll, assemblyName: "AssemblyA");
13625
var compilationB0 =
CreateCompilation
(sourceB0, new[] { aRef }, options: TestOptions.DebugDll, assemblyName: "AssemblyB");
13694
var compilation0 =
CreateCompilation
(source0, targetFramework: TargetFramework.StandardAndCSharp,
13742
var compilation0 =
CreateCompilation
(String.Format(source, 1), options: TestOptions.DebugDll);
13818
var compilation0 =
CreateCompilation
(source0.Tree, options: TestOptions.DebugDll, assemblyName: "PdbReadingErrorsAssembly");
13859
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14008
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14142
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14251
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14369
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
14560
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14689
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
14837
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
15033
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
15142
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
15252
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15416
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15561
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
15666
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
15829
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16033
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16281
var compilation0 =
CreateCompilation
(source0.Tree, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16466
var compilation0 =
CreateCompilation
(source0.Tree, targetFramework: TargetFramework.NetStandard20, options: ComSafeDebugDll);
16540
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
16646
var compilation0 =
CreateCompilation
(new[] { source0, IsExternalInitTypeDefinition }, references: new[] { RefSafetyRulesAttributeLib }, options: ComSafeDebugDll);
17000
var compilation0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugExe);
17079
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
20084
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
20159
var compilation0 =
CreateCompilation
(source0.Tree, options: ComSafeDebugDll);
20247
var compilation0 =
CreateCompilation
(source0_gen0.Tree, options: ComSafeDebugDll);
20341
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\LocalStateTracing\LocalStateTracingTests.cs (2)
441
var compilation0 =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: s_targetFramework);
554
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: s_targetFramework);
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 (10017)
Attributes\AttributeTests.cs (286)
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);
11696
var compilation =
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 (23)
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(
345
CreateCompilation
(code, targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
391
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20)
416
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
441
var comp =
CreateCompilation
([code, code]);
475
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
517
var comp =
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20);
556
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
592
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20).VerifyEmitDiagnostics(
644
CreateCompilation
(code, assemblyName: "testModule", targetFramework: TargetFramework.NetStandard20)
679
CreateCompilation
(code, references: new[] { reference }).VerifyEmitDiagnostics(
929
var compilation1 =
CreateCompilation
(parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), source: @"
942
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 (17)
1885
var metadataReference =
CreateCompilation
(source).ToMetadataReference();
1886
var compilation =
CreateCompilation
(source, new[] { metadataReference });
3141
var compilation =
CreateCompilation
(new[] { source1, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular9);
3388
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3432
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3484
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3535
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3556
compilation =
CreateCompilation
(new[] { tree1, tree2 }, options: options);
3808
var compilation =
CreateCompilation
(source)
3881
var compilation =
CreateCompilation
(new[] { tree });
4039
Compilation compilation =
CreateCompilation
(new[] { tree });
4100
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition })
4149
var compilation =
CreateCompilation
(source);
4178
var compilation =
CreateCompilation
(new[] { source1, source2, source3 });
4218
var compilation =
CreateCompilation
(@"
4395
var compilation =
CreateCompilation
(new[] { tree });
4647
var compilation =
CreateCompilation
("").VerifyDiagnostics();
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 (16)
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);
1609
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
1693
var compilation =
CreateCompilation
(new[] { source1, source2 });
1873
var compilation =
CreateCompilation
(source);
Diagnostics\MethodGroupConversion.cs (1)
49
var compilation =
CreateCompilation
(source);
FieldKeywordTests.cs (227)
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);
612
var comp =
CreateCompilation
(source);
651
var comp =
CreateCompilation
(source);
696
var comp =
CreateCompilation
(source);
806
var comp =
CreateCompilation
(
967
var comp =
CreateCompilation
(
1076
var comp =
CreateCompilation
(
1189
var comp =
CreateCompilation
(
1286
var comp =
CreateCompilation
(
1393
var comp =
CreateCompilation
(source);
1433
var comp =
CreateCompilation
(source);
1525
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
2123
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2211
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
2328
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2400
var comp =
CreateCompilation
(source);
2422
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
3894
var comp =
CreateCompilation
(source);
3927
var comp =
CreateCompilation
(source);
3980
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
4052
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
4685
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
4819
var comp =
CreateCompilation
(source);
5052
var comp =
CreateCompilation
([sourceA, sourceB], options: TestOptions.ReleaseExe);
5120
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5250
var comp =
CreateCompilation
(source);
5324
var comp =
CreateCompilation
(source);
5377
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5516
var comp =
CreateCompilation
(source);
5593
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5619
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5639
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5666
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5700
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5725
var comp =
CreateCompilation
(source);
5756
var comp =
CreateCompilation
(source);
5785
var comp =
CreateCompilation
(source);
5815
var comp =
CreateCompilation
(source);
5854
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
5931
var comp =
CreateCompilation
(source);
5952
var comp =
CreateCompilation
(source);
5969
var comp =
CreateCompilation
(source);
5989
var comp =
CreateCompilation
(source);
6013
var comp =
CreateCompilation
(source);
6034
var comp =
CreateCompilation
(source);
6051
var comp =
CreateCompilation
(source);
6071
var comp =
CreateCompilation
(source);
6094
var comp =
CreateCompilation
(source);
6114
var comp =
CreateCompilation
(source);
6135
var comp =
CreateCompilation
(source);
6156
var comp =
CreateCompilation
(source);
6182
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6211
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6243
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
6269
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6298
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6327
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6354
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6387
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6416
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6448
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6476
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6509
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6540
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6572
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6604
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6633
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
6655
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6679
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6698
var comp =
CreateCompilation
([source, NotNullAttributeDefinition, DisallowNullAttributeDefinition]);
6720
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6739
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6761
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6784
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6803
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6828
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6853
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
6872
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6895
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
6922
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6941
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
6971
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
7002
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
7026
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
7050
var comp =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
7073
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute]);
7104
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7134
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7166
var comp =
CreateCompilation
([source, RequiredMemberAttribute, CompilerFeatureRequiredAttribute, SetsRequiredMembersAttribute, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7195
var comp =
CreateCompilation
(source);
7219
var comp =
CreateCompilation
(source);
7246
var comp =
CreateCompilation
(source);
7280
var comp =
CreateCompilation
(source);
7310
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition, AllowNullAttributeDefinition]);
7338
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition });
7380
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
7438
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
7506
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
7564
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7625
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7693
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
7743
var comp =
CreateCompilation
([sourceA, sourceB0], targetFramework: targetFramework);
7766
comp =
CreateCompilation
([sourceA, sourceB1], targetFramework: targetFramework);
7786
comp =
CreateCompilation
([sourceA, sourceB2], targetFramework: targetFramework);
7815
comp =
CreateCompilation
([sourceA, sourceB3], targetFramework: targetFramework);
7838
comp =
CreateCompilation
([sourceA, sourceB4], targetFramework: targetFramework);
7876
var comp =
CreateCompilation
([sourceA, sourceB0], targetFramework: targetFramework);
7902
comp =
CreateCompilation
([sourceA, sourceB1], targetFramework: targetFramework);
7919
comp =
CreateCompilation
([sourceA, sourceB2], targetFramework: targetFramework);
7945
comp =
CreateCompilation
([sourceA, sourceB3], targetFramework: targetFramework);
7971
comp =
CreateCompilation
([sourceA, sourceB4], targetFramework: targetFramework);
8033
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
8084
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8229
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8280
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
8328
var comp =
CreateCompilation
(source);
8364
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8406
var comp =
CreateCompilation
(sourceA);
8424
comp =
CreateCompilation
(sourceB, references: [refA]);
8471
var comp =
CreateCompilation
(
8614
var comp =
CreateCompilation
(
8703
var comp =
CreateCompilation
(
8778
var comp =
CreateCompilation
(
8840
var comp =
CreateCompilation
(
8898
var comp =
CreateCompilation
(
8979
var comp =
CreateCompilation
(
9147
var comp =
CreateCompilation
(source, targetFramework: GetTargetFramework(useInit));
9237
var comp =
CreateCompilation
(
9439
var comp =
CreateCompilation
(
9518
var comp =
CreateCompilation
(
9624
var comp =
CreateCompilation
(source);
9742
var comp =
CreateCompilation
(reverseOrder ? [sourceB, sourceA] : [sourceA, sourceB]);
9941
var comp =
CreateCompilation
(reverseOrder ? [sourceB2, sourceB1, sourceA] : [sourceA, sourceB1, sourceB2]);
10013
var comp =
CreateCompilation
(
10089
var comp =
CreateCompilation
(reverseOrder ? [sourceB2, sourceB1, sourceA] : [sourceA, sourceB1, sourceB2]);
10249
var comp =
CreateCompilation
(
10308
var comp =
CreateCompilation
(
10411
var comp =
CreateCompilation
(
10510
var comp =
CreateCompilation
(
10598
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10632
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10738
var comp =
CreateCompilation
(source);
10784
var comp =
CreateCompilation
(source);
10819
var comp =
CreateCompilation
(source);
10848
var comp =
CreateCompilation
(source);
10863
var comp =
CreateCompilation
(source);
10885
var comp =
CreateCompilation
(source);
10914
var comp =
CreateCompilation
(source);
10952
var comp =
CreateCompilation
(source);
10973
var comp =
CreateCompilation
(source);
11000
var comp =
CreateCompilation
(source);
11020
var comp =
CreateCompilation
(source);
11041
var comp =
CreateCompilation
(source);
11060
var comp =
CreateCompilation
(source);
11080
var comp =
CreateCompilation
(source);
11104
var comp =
CreateCompilation
(source);
11131
var comp =
CreateCompilation
(source);
11162
var comp =
CreateCompilation
([source, AllowNullAttributeDefinition]);
11186
var comp =
CreateCompilation
(source);
11213
var comp =
CreateCompilation
(source);
11239
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11265
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11291
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
11318
var comp =
CreateCompilation
(source);
11342
var comp =
CreateCompilation
(source);
11371
var comp =
CreateCompilation
(source);
11398
var comp =
CreateCompilation
(source);
11432
var comp =
CreateCompilation
(source);
11468
var comp =
CreateCompilation
(source);
11500
var comp =
CreateCompilation
(source);
11535
var comp =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
11568
var comp =
CreateCompilation
(source);
11592
var comp =
CreateCompilation
(source);
11618
var comp =
CreateCompilation
(source);
11658
var comp0 =
CreateCompilation
(source);
11665
var comp1 =
CreateCompilation
("", references: [comp0.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11693
var comp0 =
CreateCompilation
([source, DisallowNullAttributeDefinition]);
11730
var comp0 =
CreateCompilation
(source);
11754
var comp0 =
CreateCompilation
(source);
11775
var comp0 =
CreateCompilation
(source);
11803
var comp0 =
CreateCompilation
(source);
11824
var comp0 =
CreateCompilation
(source);
11853
var comp0 =
CreateCompilation
(source);
11886
var comp0 =
CreateCompilation
(source);
11919
var comp0 =
CreateCompilation
([source, NotNullAttributeDefinition]);
11956
var comp0 =
CreateCompilation
([source, MaybeNullAttributeDefinition]);
11991
var comp0 =
CreateCompilation
(source);
12020
var comp0 =
CreateCompilation
(source);
12052
var comp0 =
CreateCompilation
(source);
12089
var comp0 =
CreateCompilation
(source);
12120
var comp0 =
CreateCompilation
(source);
12153
var comp0 =
CreateCompilation
(source);
12183
var comp0 =
CreateCompilation
(source);
12217
var comp0 =
CreateCompilation
(source);
12251
var comp0 =
CreateCompilation
(source);
12280
var comp =
CreateCompilation
(source);
12304
var comp =
CreateCompilation
(source);
12338
var comp =
CreateCompilation
(source);
12380
var comp =
CreateCompilation
(source);
12424
var comp =
CreateCompilation
(source);
12462
var comp =
CreateCompilation
(source);
12499
var comp =
CreateCompilation
(source);
12532
var comp =
CreateCompilation
(source);
12586
var comp =
CreateCompilation
(source);
12650
var comp =
CreateCompilation
(source);
12681
var comp =
CreateCompilation
(source);
12698
var comp =
CreateCompilation
(source);
12727
var comp =
CreateCompilation
(source);
12757
var comp =
CreateCompilation
(source);
12790
var comp =
CreateCompilation
(source);
12835
var comp =
CreateCompilation
([source1, source2]);
12854
var comp =
CreateCompilation
(source);
12880
var comp =
CreateCompilation
(source);
12904
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
12931
var comp =
CreateCompilation
(source);
12936
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 (657)
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);
12189
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net100, options: TestOptions.ReleaseDll);
12192
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net100, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
12388
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net100, options: TestOptions.ReleaseDll);
12391
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net100, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
12422
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12630
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12689
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12897
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
12935
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13145
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13194
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13416
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13464
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13671
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13723
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
13949
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
13998
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14063
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14088
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14105
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14115
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
14118
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14146
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14163
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14179
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14192
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
14195
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14213
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14216
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
14219
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14252
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14268
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
14271
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14309
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
14325
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
14328
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
14365
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
14706
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15067
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15418
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
15766
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16119
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16196
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16523
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16538
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16541
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16544
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16567
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16580
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16590
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16597
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16600
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16614
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16617
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16620
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16641
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16648
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16651
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16669
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16684
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
16691
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
16694
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
16731
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16773
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16825
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16886
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
16953
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17027
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17099
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17145
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17210
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17275
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17359
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17447
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17540
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17637
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17721
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
17773
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17790
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17797
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17806
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17855
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17866
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17876
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17886
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17893
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17909
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17912
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17915
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
17949
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
17965
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
17972
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
18010
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18207
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18429
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18632
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
18833
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19039
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19113
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19289
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19302
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19305
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19308
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19329
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19342
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19349
comp2 =
CreateCompilation
(src1 + src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19356
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19359
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19373
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19376
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19379
comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19399
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19406
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19409
comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19425
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19438
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
19445
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
19448
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
19495
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19666
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19843
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
19991
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20176
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20356
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20399
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20435
var comp =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20439
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20440
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20446
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20448
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20452
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20453
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20459
CreateCompilation
([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20480
comp =
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20484
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20485
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20491
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20494
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20495
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
20497
CreateCompilation
([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20503
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20505
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20511
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics();
20535
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20589
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20627
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20656
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
20692
var comp =
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20696
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20697
CreateCompilation
([src1, src2], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20703
var comp1Ref =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).ToMetadataReference();
20705
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20709
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20710
CreateCompilation
(src2, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20716
CreateCompilation
([src1, src2], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20737
comp =
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20741
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20742
CreateCompilation
([src1, src3], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
20748
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20751
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
20752
CreateCompilation
(src3, references: [comp1Ref], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics();
20754
CreateCompilation
([src1, src3], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20760
comp1Ref =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended).ToMetadataReference();
20762
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyDiagnostics(
20768
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.Mscorlib461Extended, options: TestOptions.ReleaseExe).VerifyEmitDiagnostics();
20800
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20847
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20892
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20937
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
20972
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21005
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21039
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21084
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21136
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21178
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21215
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21331
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21388
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21421
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21445
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21511
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21539
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21592
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21633
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21695
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21735
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21781
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21802
var comp =
CreateCompilation
(code, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21828
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21876
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21900
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21946
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
21990
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22037
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22098
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22144
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22175
var comp =
CreateCompilation
(sourceA, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22230
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22280
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22327
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22367
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22389
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22419
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22459
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.DebugExe);
22491
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22533
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22575
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22631
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22702
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22767
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22805
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22822
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
22870
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22926
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
22981
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
23029
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
23073
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.UnsafeReleaseExe);
23122
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
23174
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
23220
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
23656
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23697
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23730
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23767
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23804
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23843
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23886
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23929
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
23970
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24015
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24068
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24130
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24216
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24248
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24278
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24315
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24360
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24427
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24490
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24530
comp =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24588
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24663
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24723
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24762
comp =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
24834
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
24925
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25000
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25044
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25090
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25126
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseDll);
25187
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25279
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25332
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25374
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25423
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25507
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25584
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25631
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25721
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
25782
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25814
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25845
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25876
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
25907
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseDll);
25971
var comp1 =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
26031
var comp2 =
CreateCompilation
(src2, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26071
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26111
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26136
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26170
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26214
var comp =
CreateCompilation
(src1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26272
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26316
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26349
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26378
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26405
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26442
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26485
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26511
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26541
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26574
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26627
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26681
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyDiagnostics(
26735
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26757
comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
26808
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26851
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26875
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26909
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26943
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
26979
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27020
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27040
CreateCompilation
(@"
27080
CreateCompilation
(@"
27212
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
27292
var comp =
CreateCompilation
(new[] { text, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular10);
27349
var comp =
CreateCompilation
(source, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27422
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyEmitDiagnostics(
27499
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics).VerifyEmitDiagnostics(
27575
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27685
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
27755
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27807
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
27919
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28020
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28104
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28214
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28346
var comp =
CreateCompilation
(src, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28480
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28543
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
28555
var comp =
CreateCompilation
(@"
28582
var comp =
CreateCompilation
(@"
28601
var comp =
CreateCompilation
(@"
28655
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28713
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28782
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28830
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28890
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28950
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29025
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29064
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29096
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29122
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29135
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29148
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29151
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29163
var comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29166
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29169
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29190
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29203
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29219
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29232
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29235
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29281
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29307
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia", targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29322
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
29326
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
29415
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
29445
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29472
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29502
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29530
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29558
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29584
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29611
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 (637)
56
var comp =
CreateCompilation
(src);
140
var comp =
CreateCompilation
(src);
236
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
373
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
442
var comp =
CreateCompilation
(src);
481
var comp =
CreateCompilation
(src);
515
var comp =
CreateCompilation
(src);
557
var comp =
CreateCompilation
(src);
585
var comp =
CreateCompilation
(src);
634
var comp =
CreateCompilation
(src);
681
var comp1 =
CreateCompilation
(src1);
684
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
700
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
703
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
721
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
724
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
727
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
741
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
783
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
831
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
902
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
959
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1025
var comp =
CreateCompilation
(src);
1088
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1091
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1094
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1141
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1178
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1221
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1271
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1378
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1414
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1483
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
1520
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1540
var comp1 =
CreateCompilation
(src1);
1580
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
1624
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1627
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1630
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1682
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1734
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1796
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1856
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1912
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1953
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1990
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2024
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2066
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2121
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2171
var comp1 =
CreateCompilation
(src1);
2174
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2190
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2193
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2213
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
2216
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2219
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2233
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
2277
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2315
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2377
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2425
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2480
var comp =
CreateCompilation
(src);
2520
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2564
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2613
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2659
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2698
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2745
var comp1 =
CreateCompilation
(src1);
2748
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2751
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2754
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2807
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2865
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2914
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2949
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3002
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3082
CreateCompilation
(source).VerifyDiagnostics(
3144
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
3195
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3234
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3274
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3332
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3395
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3435
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3485
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3543
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3584
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3613
var comp =
CreateCompilation
(src);
3894
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3936
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3976
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4019
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4069
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4120
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4180
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4211
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4254
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4493
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4574
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4609
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4677
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4702
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4753
var comp1 =
CreateCompilation
(src1);
4756
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4772
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4775
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4796
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4799
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4802
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4816
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
4871
var comp1 =
CreateCompilation
(src1);
4874
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4890
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4893
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4915
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4918
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4921
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4935
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
4990
var comp5 =
CreateCompilation
(src5);
4993
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
4996
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4999
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
5046
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5100
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5148
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5196
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5245
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5293
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5342
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5393
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5448
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5504
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5562
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5634
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5705
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5776
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5834
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5897
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5962
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
6030
var comp =
CreateCompilation
(src);
6099
var comp =
CreateCompilation
(src);
6173
var comp =
CreateCompilation
(src);
6272
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
6275
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
6278
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
6336
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6380
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6417
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6458
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6507
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6557
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6603
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6638
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6678
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6738
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6771
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6813
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6841
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
6888
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6922
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7029
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7114
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7148
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7182
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7251
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7313
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7350
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7387
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7431
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
7434
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7437
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7486
var comp1 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
7489
var comp2 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7492
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7544
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7588
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7640
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7709
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7784
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7828
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7888
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7946
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7988
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8032
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8062
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8104
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
8142
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8186
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8224
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8279
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8323
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8370
var comp1 =
CreateCompilation
(src1);
8373
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8389
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8392
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8441
var comp1 =
CreateCompilation
(src1);
8444
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8460
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8463
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8480
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
8524
var comp4 =
CreateCompilation
(src4);
8527
var comp5 =
CreateCompilation
(src5, references: [comp4Ref], options: TestOptions.DebugExe);
8540
var comp6 =
CreateCompilation
(src6, references: [comp4Ref], options: TestOptions.DebugExe);
8578
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8616
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8652
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8684
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8712
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8743
CreateCompilation
(source).VerifyDiagnostics();
8770
CreateCompilation
(source).VerifyDiagnostics();
8801
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8833
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8869
CreateCompilation
(source).VerifyDiagnostics();
8905
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8947
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8995
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9054
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9107
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9162
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9212
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9252
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9306
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9365
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9423
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9462
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9567
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9611
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9653
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9687
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9746
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9795
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9843
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9873
var comp =
CreateCompilation
(src);
10169
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10211
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10253
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10297
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10339
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10381
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
10411
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
10457
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10525
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10618
var comp =
CreateCompilation
(src);
10715
var comp =
CreateCompilation
(src);
10856
var comp =
CreateCompilation
(src);
11024
var comp =
CreateCompilation
(src);
11192
var comp =
CreateCompilation
(src);
11267
var comp =
CreateCompilation
(src);
11316
var comp =
CreateCompilation
(src);
11374
var comp =
CreateCompilation
(src);
11414
var comp =
CreateCompilation
(src);
11475
var comp =
CreateCompilation
(src);
11542
var comp1 =
CreateCompilation
(src1);
11545
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
11561
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11564
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11582
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
11585
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11588
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11602
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
11644
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11692
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11763
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11820
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
11886
var comp =
CreateCompilation
(src);
11946
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11987
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
11990
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11993
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12049
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
12052
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12055
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12123
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12169
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12250
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12308
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12348
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12385
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12431
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12481
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
12525
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12569
var comp3 =
CreateCompilation
(src3, options: TestOptions.DebugExe);
12622
var comp4 =
CreateCompilation
(src4, options: TestOptions.DebugExe);
12680
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12736
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12843
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12893
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12922
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12991
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
13028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13048
var comp1 =
CreateCompilation
(src1);
13088
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
13132
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13135
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13138
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13190
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13242
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13304
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13364
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13420
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13464
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
13550
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13595
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13643
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13698
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13784
var comp1 =
CreateCompilation
(src1);
13787
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
13803
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13806
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13857
var comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13860
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugDll);
13862
comp =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
13865
comp =
CreateCompilation
(src2, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
13904
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13974
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
13981
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14056
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14063
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14113
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14176
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14224
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14280
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14290
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14349
var comp1 =
CreateCompilation
(src1);
14350
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14405
var comp1 =
CreateCompilation
(src1);
14406
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14454
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14496
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14552
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14601
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14661
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14710
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14754
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14798
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
14839
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14876
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14926
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14981
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15022
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15096
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15159
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15223
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15282
var comp =
CreateCompilation
(src);
15351
var comp =
CreateCompilation
(src);
15394
var comp =
CreateCompilation
(src);
15496
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
15499
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
15502
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
15618
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15665
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15697
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15740
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15796
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15834
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15882
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15921
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15967
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16083
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16134
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16204
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16260
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16294
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16332
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16379
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16429
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16513
CreateCompilation
(source).VerifyDiagnostics(
16576
CreateCompilation
(source).VerifyDiagnostics(
16618
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16660
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16701
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
16733
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16797
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16867
CreateCompilation
(source).VerifyDiagnostics(
16922
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16980
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17037
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
17076
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17148
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17190
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17232
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17284
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17324
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17375
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17434
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17489
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17544
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17585
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17639
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17709
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17757
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17803
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17874
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17942
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18012
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18068
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18117
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18175
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18236
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18299
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18345
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18392
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18433
var comp =
CreateCompilation
(src);
18775
var comp1 =
CreateCompilation
(src1);
18778
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18781
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18784
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18816
var comp3 =
CreateCompilation
(src3);
18819
var comp4 =
CreateCompilation
(src2, references: [comp3Ref], options: TestOptions.DebugExe);
18887
var comp1 =
CreateCompilation
(src1);
18890
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18906
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18909
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18928
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
18931
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18934
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18950
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19014
var comp1 =
CreateCompilation
(src1);
19017
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
19033
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19036
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19055
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
19058
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19061
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19077
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19121
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19181
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19242
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19281
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19324
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19367
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19412
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19459
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19519
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19558
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19606
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19648
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19692
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19734
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19759
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19798
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19853
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20086
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20167
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20202
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20248
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20308
var comp1 =
CreateCompilation
(src1);
20311
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20327
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20330
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20351
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20354
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20357
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20371
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20435
var comp1 =
CreateCompilation
(src1);
20438
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20454
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20457
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20478
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20481
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20484
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20498
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20562
var comp5 =
CreateCompilation
(src5);
20565
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
20568
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20571
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20618
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20672
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20720
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20768
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20817
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20865
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20914
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20965
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21020
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21076
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21134
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21206
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21277
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21348
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21406
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21469
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21534
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21602
var comp =
CreateCompilation
(src);
21671
var comp =
CreateCompilation
(src);
21745
var comp =
CreateCompilation
(src);
21808
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
21811
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
21814
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
21859
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21904
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21942
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21979
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22076
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22132
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22172
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22209
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22248
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22300
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22353
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
22397
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
22447
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22499
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22534
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22574
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22636
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22670
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22712
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22740
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
22787
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22821
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22928
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23013
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23047
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23081
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23150
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23212
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23249
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23286
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23306
var comp1 =
CreateCompilation
(src1);
23346
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23366
var comp1 =
CreateCompilation
(src1);
23406
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23427
var comp1 =
CreateCompilation
(src1);
23467
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23511
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23514
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23517
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23568
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23571
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23574
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23626
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23670
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23722
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23791
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
23866
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23910
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23969
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24027
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24057
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24087
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24140
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
24173
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24206
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24257
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24307
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24344
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24399
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24443
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24477
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24515
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24551
CreateCompilation
(source).VerifyDiagnostics(
24603
CreateCompilation
(source).VerifyDiagnostics(
24656
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24705
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
24737
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24774
CreateCompilation
(source).VerifyDiagnostics();
24807
CreateCompilation
(source).VerifyDiagnostics(
24856
CreateCompilation
(source).VerifyDiagnostics(
24905
CreateCompilation
(source).VerifyDiagnostics(
24942
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
24972
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25002
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25040
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25148
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25204
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25235
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25279
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25317
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25354
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25377
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25401
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25429
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25459
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25483
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25512
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25556
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25624
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25696
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25738
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25782
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25837
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25888
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25951
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25996
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26054
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26109
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26148
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26253
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26297
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26339
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26372
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26427
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26473
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26524
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26557
var comp =
CreateCompilation
(src);
26862
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26907
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26952
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
26996
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27025
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27063
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27095
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27129
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27158
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27183
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
27220
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27248
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27283
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27338
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27387
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27442
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27485
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27495
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27528
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27535
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27568
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27575
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27608
var comp =
CreateCompilation
(src);
27645
var comp =
CreateCompilation
(src);
27687
var comp =
CreateCompilation
(src);
27775
var comp =
CreateCompilation
(src);
27902
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
27992
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
28194
var comp =
CreateCompilation
(src);
28357
var comp =
CreateCompilation
(src);
28524
var comp =
CreateCompilation
(src);
28651
var comp =
CreateCompilation
(src);
28949
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
29081
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29124
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29207
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29250
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
Semantics\ExtensionTests.cs (1434)
106
var comp =
CreateCompilation
(src);
188
var comp5 =
CreateCompilation
(src);
207
var comp =
CreateCompilation
(src);
295
var comp =
CreateCompilation
(src);
364
var comp =
CreateCompilation
(src);
391
var comp =
CreateCompilation
(src);
418
var comp =
CreateCompilation
(src);
448
var comp =
CreateCompilation
(src);
477
var comp =
CreateCompilation
(src);
511
var comp =
CreateCompilation
(src);
535
var comp =
CreateCompilation
(src);
562
var comp =
CreateCompilation
(src);
578
var comp =
CreateCompilation
(src);
637
var comp =
CreateCompilation
(src);
668
var comp =
CreateCompilation
(src);
706
var comp =
CreateCompilation
(src);
756
var comp =
CreateCompilation
(src);
796
var comp =
CreateCompilation
(src);
820
var comp =
CreateCompilation
(src);
846
var comp =
CreateCompilation
(src);
912
var comp =
CreateCompilation
([src1, src2]);
946
var comp =
CreateCompilation
(src);
973
var comp =
CreateCompilation
(src);
1004
var comp =
CreateCompilation
(src);
1025
var comp =
CreateCompilation
(src);
1046
var comp =
CreateCompilation
(src);
1067
var comp =
CreateCompilation
(src);
1088
var comp =
CreateCompilation
(src);
1109
var comp =
CreateCompilation
(src);
1148
var comp =
CreateCompilation
(src);
1322
var comp =
CreateCompilation
(src);
1499
var comp =
CreateCompilation
(src);
1652
var comp =
CreateCompilation
(src);
1679
var comp =
CreateCompilation
(src);
1714
var comp =
CreateCompilation
(src);
1742
var comp =
CreateCompilation
(src);
1781
var comp =
CreateCompilation
(src);
1805
var comp =
CreateCompilation
(src);
1898
var comp =
CreateCompilation
(src);
1925
var comp =
CreateCompilation
(src);
2017
var comp =
CreateCompilation
(src);
2040
var comp =
CreateCompilation
(src);
2063
var comp =
CreateCompilation
(src);
2197
var comp =
CreateCompilation
(src);
2235
var comp =
CreateCompilation
(src);
2254
var comp =
CreateCompilation
(src);
2379
var comp =
CreateCompilation
(src);
2413
var comp =
CreateCompilation
(src);
2433
var comp5 =
CreateCompilation
(src);
2457
var comp =
CreateCompilation
(src);
2484
var comp =
CreateCompilation
(src);
2516
var comp =
CreateCompilation
(src);
2545
var comp =
CreateCompilation
(src);
2570
var comp =
CreateCompilation
(src);
2601
var comp =
CreateCompilation
(src);
2629
var comp =
CreateCompilation
(src);
2661
var comp =
CreateCompilation
(src);
2694
var comp =
CreateCompilation
(src);
2721
var comp =
CreateCompilation
(src);
2738
var comp =
CreateCompilation
(src);
2754
var comp =
CreateCompilation
(src);
2774
var comp =
CreateCompilation
(src);
2802
var comp =
CreateCompilation
(src);
2822
var comp =
CreateCompilation
(src);
2844
var comp =
CreateCompilation
(src);
2867
var comp =
CreateCompilation
(src);
2905
var comp =
CreateCompilation
(src);
2921
var comp =
CreateCompilation
(src);
2942
var comp =
CreateCompilation
(src);
2968
var comp =
CreateCompilation
(src);
2998
var comp =
CreateCompilation
(src);
3020
var comp =
CreateCompilation
(src);
3041
var comp =
CreateCompilation
(src);
3066
var comp =
CreateCompilation
(src);
3089
var comp =
CreateCompilation
(src);
3115
var comp =
CreateCompilation
(src);
3134
var comp =
CreateCompilation
(src);
3151
var comp =
CreateCompilation
(src);
3171
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3196
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3226
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3254
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3275
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3291
var comp =
CreateCompilation
(src);
3310
var comp =
CreateCompilation
(src);
3334
var comp =
CreateCompilation
(src);
3350
var comp =
CreateCompilation
(src);
3372
var comp =
CreateCompilation
(src);
3394
var comp =
CreateCompilation
(src);
3416
var comp =
CreateCompilation
(src);
3435
var comp =
CreateCompilation
(src);
3451
var comp =
CreateCompilation
(src);
3467
var comp =
CreateCompilation
(src);
3487
var comp =
CreateCompilation
(src);
3511
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3527
var comp =
CreateCompilation
(src);
3543
var comp =
CreateCompilation
(src);
3560
var comp =
CreateCompilation
(src);
3584
var comp =
CreateCompilation
(src);
3600
var comp =
CreateCompilation
(src);
3616
var comp =
CreateCompilation
(src);
3642
var comp =
CreateCompilation
(src);
3655
var comp =
CreateCompilation
(src);
3676
var comp =
CreateCompilation
(src);
3709
var comp =
CreateCompilation
(src);
3725
var comp =
CreateCompilation
(src);
3748
var comp =
CreateCompilation
(src);
3782
var comp =
CreateCompilation
(src);
3799
var comp =
CreateCompilation
(src);
3812
var comp =
CreateCompilation
(src);
3831
var comp =
CreateCompilation
(src);
3860
var comp =
CreateCompilation
(src);
3880
var comp =
CreateCompilation
(src);
3903
var comp =
CreateCompilation
(src);
3927
var comp =
CreateCompilation
(src);
3954
var comp =
CreateCompilation
(src);
3973
var comp =
CreateCompilation
(src);
3986
var comp =
CreateCompilation
(src);
4002
var comp =
CreateCompilation
(src);
4017
var comp =
CreateCompilation
(src);
4043
var comp =
CreateCompilation
(src);
4059
var comp =
CreateCompilation
(src);
4072
var comp =
CreateCompilation
(src);
4094
var comp =
CreateCompilation
(src);
4123
comp =
CreateCompilation
(src);
4142
var comp =
CreateCompilation
(src);
4158
var comp =
CreateCompilation
(src);
4175
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4188
var comp =
CreateCompilation
(src);
4205
var comp =
CreateCompilation
(src);
4219
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4235
var comp =
CreateCompilation
(src);
4263
var comp =
CreateCompilation
(src);
4290
var comp =
CreateCompilation
(src);
4313
var comp =
CreateCompilation
(src);
4337
var comp =
CreateCompilation
(src);
4370
var comp =
CreateCompilation
(src);
4404
var comp =
CreateCompilation
(src);
4441
var comp =
CreateCompilation
(src);
4520
var comp =
CreateCompilation
(src);
4568
var comp =
CreateCompilation
(src);
4606
var comp =
CreateCompilation
(src);
4643
var comp =
CreateCompilation
(src);
4677
var comp =
CreateCompilation
(src);
4710
var comp =
CreateCompilation
(src);
4742
var comp =
CreateCompilation
(src);
4769
var comp =
CreateCompilation
(src);
4795
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4823
var comp =
CreateCompilation
(src);
4860
var comp =
CreateCompilation
(src);
4972
var comp =
CreateCompilation
(src);
5004
var comp =
CreateCompilation
(src);
5048
var comp =
CreateCompilation
(src);
5094
var comp =
CreateCompilation
(src);
5140
var comp =
CreateCompilation
(src);
5185
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5232
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5252
var comp =
CreateCompilation
(src);
5352
var comp1 =
CreateCompilation
(src1);
5380
comp1 =
CreateCompilation
(src1);
5384
comp1 =
CreateCompilation
(src1);
5492
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5527
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5578
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5584
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5636
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5677
comp4 =
CreateCompilation
(src4, references: [comp1ImageReference], options: TestOptions.DebugExe);
5684
var comp5 =
CreateCompilation
(src1);
5702
var comp1 =
CreateCompilation
(src1);
5717
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5732
var comp1 =
CreateCompilation
(src1);
5746
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5768
var comp1 =
CreateCompilation
(src1);
5907
var comp2 =
CreateCompilation
(src2);
5939
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
5942
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
5962
var comp1 =
CreateCompilation
(src1);
6106
var comp2 =
CreateCompilation
(src2);
6138
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6141
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6160
var comp1 =
CreateCompilation
(src1);
6489
var comp2 =
CreateCompilation
(src2);
6518
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6552
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6575
var comp1 =
CreateCompilation
(src1);
6823
var comp2 =
CreateCompilation
(src2);
6855
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6858
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6882
var comp1 =
CreateCompilation
(src1);
7001
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
7038
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
7071
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
7114
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
7148
var comp1 =
CreateCompilation
(src1);
7365
var comp2 =
CreateCompilation
(src2);
7405
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7408
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7437
var comp1 =
CreateCompilation
(src1);
7639
var comp2 =
CreateCompilation
(src2);
7679
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7682
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7706
var comp1 =
CreateCompilation
(src1);
8052
var comp2 =
CreateCompilation
(src2);
8081
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
8084
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
8109
var comp1 =
CreateCompilation
(src1);
8369
var comp2 =
CreateCompilation
(src2);
8401
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
8404
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
8423
var comp1 =
CreateCompilation
(src1);
8552
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8588
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8640
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8646
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8697
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8747
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8781
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8787
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8821
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8867
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8901
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8907
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8914
var comp5 =
CreateCompilation
(src1);
8939
var comp1 =
CreateCompilation
(src1);
9076
var comp2 =
CreateCompilation
(src2);
9328
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9331
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9351
var comp1 =
CreateCompilation
(src1);
9493
var comp2 =
CreateCompilation
(src2);
9525
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9528
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9547
var comp1 =
CreateCompilation
(src1);
9874
var comp2 =
CreateCompilation
(src2);
9903
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9906
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9926
var comp1 =
CreateCompilation
(src1);
10172
var comp2 =
CreateCompilation
(src2);
10204
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10207
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
10223
var comp1 =
CreateCompilation
(src1);
10339
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10372
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10421
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10431
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10465
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10471
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10510
var comp5 =
CreateCompilation
(src1);
10531
var comp1 =
CreateCompilation
(src1);
10644
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10675
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10724
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10730
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10751
var comp5 =
CreateCompilation
(src1);
10772
var comp1 =
CreateCompilation
(src1);
10874
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10906
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
10940
var comp =
CreateCompilation
(src);
11073
var comp2 =
CreateCompilation
(src2);
11104
var comp =
CreateCompilation
(src);
11237
var comp2 =
CreateCompilation
(src2);
11265
var comp =
CreateCompilation
(src);
11395
var comp2 =
CreateCompilation
(src2);
11419
var comp =
CreateCompilation
(src);
11551
var comp2 =
CreateCompilation
(src2);
11575
var comp =
CreateCompilation
(src);
11707
var comp2 =
CreateCompilation
(src2);
11738
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
11922
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
11945
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
12099
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12122
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
12269
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12287
var comp =
CreateCompilation
(src);
12310
var comp =
CreateCompilation
(src);
12336
comp =
CreateCompilation
(src);
12375
var comp =
CreateCompilation
(src);
12400
comp =
CreateCompilation
(src);
12428
var comp =
CreateCompilation
(src);
12457
var comp =
CreateCompilation
(src);
12496
var comp =
CreateCompilation
(src);
12517
var comp1 =
CreateCompilation
(lib1_cs, assemblyName: "missing");
12521
var comp2 =
CreateCompilation
(lib2_cs, [comp1.EmitToImageReference()]);
12538
var comp =
CreateCompilation
(src, [comp2.EmitToImageReference()]);
12553
var comp =
CreateCompilation
(text);
12571
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
12636
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12694
var comp =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12721
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12761
var comp =
CreateCompilation
([src, eSrc], options: TestOptions.DebugExe);
12791
comp =
CreateCompilation
([src, eSrc]);
12827
var comp =
CreateCompilation
(src);
12867
var comp =
CreateCompilation
(src);
12923
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12973
var comp =
CreateCompilation
(src);
13012
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13043
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13075
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13111
var comp =
CreateCompilation
(src);
13146
var comp =
CreateCompilation
(src);
13182
var comp =
CreateCompilation
(src);
13224
var comp =
CreateCompilation
(src);
13252
var comp =
CreateCompilation
(src);
13284
var comp =
CreateCompilation
(src);
13312
var comp =
CreateCompilation
(src);
13344
var comp =
CreateCompilation
(src);
13373
var comp =
CreateCompilation
(src);
13406
var comp =
CreateCompilation
(src);
13440
var comp =
CreateCompilation
(src);
13470
var comp =
CreateCompilation
(source);
13498
var comp =
CreateCompilation
(source);
13529
var comp =
CreateCompilation
(source);
13556
var comp =
CreateCompilation
(src);
13590
var comp =
CreateCompilation
(src);
13620
var comp =
CreateCompilation
(src);
13647
var comp =
CreateCompilation
(src);
13677
var comp =
CreateCompilation
(src);
13703
comp =
CreateCompilation
(src);
13728
var comp =
CreateCompilation
(src);
13753
var comp =
CreateCompilation
(src);
13772
var comp =
CreateCompilation
(src);
13798
var comp =
CreateCompilation
(src);
13823
var comp =
CreateCompilation
(src);
13855
var comp =
CreateCompilation
(src);
13884
var comp =
CreateCompilation
(src);
13915
var comp =
CreateCompilation
(src);
13947
var comp =
CreateCompilation
(src);
13985
var comp =
CreateCompilation
(src);
14030
var comp =
CreateCompilation
(src);
14070
var comp =
CreateCompilation
(src);
14097
var comp =
CreateCompilation
(src);
14129
var comp =
CreateCompilation
(src);
14157
var comp =
CreateCompilation
(src);
14186
var comp =
CreateCompilation
(src);
14228
var comp =
CreateCompilation
(src);
14258
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14285
var comp =
CreateCompilation
([source, ExpressionTestLibrary]);
14329
var comp =
CreateCompilation
(source);
14363
var comp =
CreateCompilation
(source);
14396
var comp =
CreateCompilation
(source);
14439
var comp =
CreateCompilation
(source);
14473
var comp =
CreateCompilation
(source);
14508
var comp =
CreateCompilation
(source);
14547
var comp =
CreateCompilation
(source);
14573
var comp =
CreateCompilation
(source);
14596
var comp =
CreateCompilation
(source);
14625
var comp =
CreateCompilation
(source);
14660
var comp =
CreateCompilation
(source);
14686
comp =
CreateCompilation
(source);
14710
var comp =
CreateCompilation
(source);
14737
var comp =
CreateCompilation
(source);
14768
var comp =
CreateCompilation
(source);
14802
var comp =
CreateCompilation
(source);
14829
var comp =
CreateCompilation
(source);
14851
comp =
CreateCompilation
(source);
14875
var comp =
CreateCompilation
(source);
14904
var comp =
CreateCompilation
(src);
14954
var comp =
CreateCompilation
(source);
14983
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15025
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15065
var comp =
CreateCompilation
(src);
15103
var comp =
CreateCompilation
(src);
15133
var comp =
CreateCompilation
(src);
15169
var comp =
CreateCompilation
(src);
15204
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15237
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15282
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15309
var comp =
CreateCompilation
(src);
15337
var comp =
CreateCompilation
(src);
15364
var comp =
CreateCompilation
(src);
15388
var comp =
CreateCompilation
(src);
15426
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15453
var comp =
CreateCompilation
(src);
15495
var comp =
CreateCompilation
(src);
15580
var comp =
CreateCompilation
(src);
15622
var comp =
CreateCompilation
(src);
15658
var comp =
CreateCompilation
(src);
15687
comp =
CreateCompilation
(src);
15715
var comp =
CreateCompilation
(src);
15742
var comp =
CreateCompilation
(src);
15774
var comp =
CreateCompilation
(src);
15806
var comp =
CreateCompilation
(src);
15834
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
15856
var comp =
CreateCompilation
(src);
15884
var comp =
CreateCompilation
(src);
15906
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15916
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15921
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
15939
var comp =
CreateCompilation
(src, references: [derivedRef]);
15961
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15966
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
15982
var comp =
CreateCompilation
(src, references: [derivedRef]);
15998
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16004
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
16020
var comp =
CreateCompilation
(src, references: [derivedRef]);
16046
var comp =
CreateCompilation
(src);
16072
var comp =
CreateCompilation
(src);
16098
var comp =
CreateCompilation
(src);
16111
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16116
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16129
var comp =
CreateCompilation
(src, references: [containerRef]);
16151
comp =
CreateCompilation
(src, references: [containerRef]);
16168
comp =
CreateCompilation
(src, references: [containerRef]);
16184
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16189
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16215
var comp =
CreateCompilation
(src, references: [containerRef]);
16235
comp =
CreateCompilation
(src, references: [containerRef]);
16265
comp =
CreateCompilation
(src, references: [containerRef]);
16294
comp =
CreateCompilation
(src, references: [containerRef]);
16304
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16309
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16322
var comp =
CreateCompilation
(src, references: [containerRef]);
16351
var comp =
CreateCompilation
(src);
16375
var comp =
CreateCompilation
(src);
16402
var comp =
CreateCompilation
(src);
16431
var comp =
CreateCompilation
(src);
16456
var comp =
CreateCompilation
(src);
16483
var comp =
CreateCompilation
(source);
16522
var comp =
CreateCompilation
(src);
16553
var comp =
CreateCompilation
(src);
16581
var comp =
CreateCompilation
(source);
16613
var comp =
CreateCompilation
(source);
16640
var comp =
CreateCompilation
(source);
16668
var comp =
CreateCompilation
(source);
16710
var comp =
CreateCompilation
(source);
16746
var comp =
CreateCompilation
(source);
16771
var comp =
CreateCompilation
(source);
16808
var comp =
CreateCompilation
(source);
16840
var comp =
CreateCompilation
(source);
16864
comp =
CreateCompilation
(source);
16889
var comp =
CreateCompilation
(source);
16916
var comp =
CreateCompilation
(source);
16941
var comp =
CreateCompilation
(source);
16965
var comp =
CreateCompilation
(source);
16990
var comp =
CreateCompilation
(source);
17013
var comp =
CreateCompilation
(source);
17038
var comp =
CreateCompilation
(source);
17070
var comp =
CreateCompilation
(source);
17100
var comp =
CreateCompilation
(source);
17127
var comp =
CreateCompilation
(source);
17154
var comp =
CreateCompilation
(source);
17184
var comp =
CreateCompilation
(source);
17204
comp =
CreateCompilation
(source);
17234
var comp =
CreateCompilation
(source);
17253
comp =
CreateCompilation
(source);
17275
var comp =
CreateCompilation
(source);
17298
var comp =
CreateCompilation
(source);
17336
var comp =
CreateCompilation
(source);
17359
var comp =
CreateCompilation
(source);
17383
var comp =
CreateCompilation
(source);
17408
var comp =
CreateCompilation
(source);
17432
var comp =
CreateCompilation
(source);
17457
var comp =
CreateCompilation
(source);
17486
var comp =
CreateCompilation
(source);
17516
var comp =
CreateCompilation
(source);
17548
var comp =
CreateCompilation
(source);
17576
var comp =
CreateCompilation
(source);
17605
var comp =
CreateCompilation
(source);
17632
var comp =
CreateCompilation
(source);
17665
var comp =
CreateCompilation
(source);
17694
var comp =
CreateCompilation
(src);
17709
comp =
CreateCompilation
(src);
17731
var comp =
CreateCompilation
(src);
17747
comp =
CreateCompilation
(src);
17775
var comp =
CreateCompilation
(source);
17811
var comp =
CreateCompilation
(source);
17848
var comp =
CreateCompilation
(source);
17875
var comp =
CreateCompilation
(source);
17911
var comp =
CreateCompilation
(source);
17950
var comp =
CreateCompilation
(source);
17992
var comp =
CreateCompilation
(source);
18020
var comp =
CreateCompilation
(source);
18048
var comp =
CreateCompilation
(src);
18076
var comp =
CreateCompilation
(src);
18104
var comp =
CreateCompilation
(src);
18132
var comp =
CreateCompilation
(src);
18166
var comp =
CreateCompilation
(src);
18199
var comp =
CreateCompilation
(source);
18237
var comp =
CreateCompilation
(src);
18270
var comp =
CreateCompilation
(src);
18300
var comp =
CreateCompilation
(src);
18328
var comp =
CreateCompilation
(src);
18360
var comp =
CreateCompilation
(src);
18392
var comp =
CreateCompilation
(src);
18416
var comp =
CreateCompilation
(src);
18450
var comp =
CreateCompilation
(src);
18485
var comp =
CreateCompilation
(src);
18512
var comp =
CreateCompilation
(src);
18553
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18591
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18630
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18668
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18709
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18753
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18797
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18839
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18878
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18917
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18949
var comp =
CreateCompilation
(source);
18984
var comp =
CreateCompilation
(source);
19034
var comp =
CreateCompilation
(source);
19066
var comp =
CreateCompilation
(source);
19102
var comp =
CreateCompilation
(source);
19150
var comp =
CreateCompilation
(source);
19182
var comp =
CreateCompilation
(source);
19220
var comp =
CreateCompilation
(source);
19251
var comp =
CreateCompilation
(source);
19290
var comp =
CreateCompilation
(source);
19340
var comp =
CreateCompilation
(source);
19382
var comp =
CreateCompilation
(source);
19415
var comp =
CreateCompilation
(source);
19442
var comp =
CreateCompilation
(source);
19472
var comp =
CreateCompilation
(source);
19499
var comp =
CreateCompilation
(source);
19526
var comp =
CreateCompilation
(source);
19552
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
19575
var comp =
CreateCompilation
(source);
19603
var comp =
CreateCompilation
(source);
19634
var comp =
CreateCompilation
(source);
19667
var comp =
CreateCompilation
(source);
19693
var comp =
CreateCompilation
(source);
19719
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
19751
var comp =
CreateCompilation
(source);
19782
var comp =
CreateCompilation
(source);
19811
var comp =
CreateCompilation
(source);
19831
var comp =
CreateCompilation
(source);
19859
var comp =
CreateCompilation
(source);
19883
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
19912
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
19935
var comp =
CreateCompilation
(src);
19961
var comp =
CreateCompilation
(src);
19986
var comp =
CreateCompilation
(src);
20015
var comp =
CreateCompilation
(src);
20047
var comp =
CreateCompilation
(src);
20072
var comp =
CreateCompilation
(src);
20099
var comp =
CreateCompilation
(src);
20124
var comp =
CreateCompilation
(src);
20152
var comp =
CreateCompilation
(src);
20170
var comp =
CreateCompilation
(src);
20191
var comp =
CreateCompilation
(src);
20212
var comp =
CreateCompilation
(src);
20233
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20257
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20283
var comp =
CreateCompilation
(src);
20321
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20366
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20411
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20459
var comp =
CreateCompilation
(source);
20496
var comp =
CreateCompilation
(source);
20544
var comp =
CreateCompilation
(source);
20592
var comp =
CreateCompilation
(source);
20639
var comp =
CreateCompilation
(source);
20689
var comp =
CreateCompilation
(source);
20743
var comp =
CreateCompilation
(source);
20797
var comp =
CreateCompilation
(source);
20851
var comp =
CreateCompilation
(source);
20902
var comp =
CreateCompilation
(source);
20950
var comp =
CreateCompilation
(source);
20990
var comp =
CreateCompilation
(source);
21030
var comp =
CreateCompilation
(source);
21070
var comp =
CreateCompilation
(source);
21113
var comp =
CreateCompilation
(source);
21153
var comp =
CreateCompilation
(source);
21196
var comp =
CreateCompilation
(source);
21230
var comp =
CreateCompilation
(source);
21266
var comp =
CreateCompilation
(source);
21287
var comp =
CreateCompilation
(src);
21308
comp =
CreateCompilation
(src);
21328
var comp =
CreateCompilation
(src);
21349
var comp =
CreateCompilation
(src);
21378
var comp =
CreateCompilation
(src);
21401
var comp =
CreateCompilation
(src);
21449
var comp =
CreateCompilation
(src);
21490
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21517
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21553
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21588
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21631
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21681
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21829
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21870
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22028
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22068
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22113
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22115
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22117
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22214
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22263
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22265
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22267
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22364
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22461
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22539
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22586
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22588
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22590
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22635
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22682
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22684
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22686
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22759
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22842
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22955
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23052
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23166
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23278
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23348
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23398
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23452
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23506
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23560
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23617
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23697
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23771
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23773
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23775
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23847
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23849
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23851
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23879
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23933
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24110
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24174
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24221
CreateCompilation
([src, exeSource], parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24281
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24313
CreateCompilation
(src, targetFramework: TargetFramework.Net90, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
24348
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24641
var comp =
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp);
24674
var comp =
CreateCompilation
(src);
24705
var comp =
CreateCompilation
(src);
24742
var comp =
CreateCompilation
(src);
24770
var comp =
CreateCompilation
(src);
24798
var comp =
CreateCompilation
(src);
24824
var comp =
CreateCompilation
(src);
24847
var comp =
CreateCompilation
(src);
24877
var comp =
CreateCompilation
(src);
24914
var comp =
CreateCompilation
(src);
24950
var comp =
CreateCompilation
(src);
24973
var comp =
CreateCompilation
(src);
25003
var comp =
CreateCompilation
(src);
25046
var comp =
CreateCompilation
(src);
25090
var comp =
CreateCompilation
(src);
25127
var comp =
CreateCompilation
(src);
25166
var comp =
CreateCompilation
(src);
25197
var comp =
CreateCompilation
(src);
25263
var comp =
CreateCompilation
(src);
25284
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25326
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25371
var comp =
CreateCompilation
(src);
25418
var comp =
CreateCompilation
(src);
25454
var comp =
CreateCompilation
(src);
25487
var comp =
CreateCompilation
(src);
25517
var comp =
CreateCompilation
(src);
25538
comp =
CreateCompilation
(src);
25566
var comp =
CreateCompilation
(src);
25585
comp =
CreateCompilation
(src);
25616
var comp =
CreateCompilation
(src);
25648
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25675
var comp =
CreateCompilation
(src);
25703
var comp =
CreateCompilation
(src);
25725
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25737
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25766
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25793
var comp =
CreateCompilation
(src);
25828
var comp =
CreateCompilation
(src);
25864
var comp =
CreateCompilation
(src);
25912
var comp =
CreateCompilation
(src);
25942
comp =
CreateCompilation
(src);
25975
var comp =
CreateCompilation
(src);
25998
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
26008
var comp =
CreateCompilation
(src, references: [libRef]);
26011
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
26014
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
26043
var comp =
CreateCompilation
(src);
26122
var comp =
CreateCompilation
(src);
26148
var comp =
CreateCompilation
(src);
26188
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(expectedDiagnostics);
26233
var comp =
CreateCompilation
(src);
26260
var comp =
CreateCompilation
(src);
26274
comp =
CreateCompilation
(src);
26306
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26335
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26362
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net90);
26397
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
26447
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26484
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26508
comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26546
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseExe);
26612
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26652
var comp =
CreateCompilation
(text);
26692
var comp =
CreateCompilation
(text);
26745
var comp =
CreateCompilation
(text);
26779
var comp =
CreateCompilation
(text);
26805
comp =
CreateCompilation
(text);
26842
var comp =
CreateCompilation
(text);
26868
comp =
CreateCompilation
(text);
26905
var comp =
CreateCompilation
(text);
26938
comp =
CreateCompilation
(text);
26975
var comp =
CreateCompilation
(text);
27001
comp =
CreateCompilation
(text);
27038
var comp =
CreateCompilation
(text);
27064
comp =
CreateCompilation
(text);
27099
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27127
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27152
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27168
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27192
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27223
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27242
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27275
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27311
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27336
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27365
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27385
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27409
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27427
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27450
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27481
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27500
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27525
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27544
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27569
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27597
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27616
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27637
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
27643
var comp =
CreateCompilation
(src, references: [libRef]);
27651
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
27657
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
27681
var comp =
CreateCompilation
(src);
27708
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27763
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27796
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27843
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27888
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27921
comp =
CreateCompilation
([src, spanSrc]);
27954
var comp =
CreateCompilation
(src);
27995
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28051
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28087
var comp =
CreateCompilation
(src);
28122
var comp =
CreateCompilation
(src);
28152
var comp =
CreateCompilation
(src);
28182
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
28204
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28210
var comp =
CreateCompilation
(src, references: [libRef]);
28218
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28224
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28245
var comp =
CreateCompilation
(src);
28269
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28287
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28312
var comp =
CreateCompilation
(src);
28337
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28358
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28364
var comp =
CreateCompilation
(src, references: [libRef]);
28372
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28378
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28408
var comp =
CreateCompilation
(src);
28461
var comp =
CreateCompilation
(src);
28524
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
28631
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28665
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28696
var comp =
CreateCompilation
(source);
28715
comp =
CreateCompilation
(source);
28745
var comp =
CreateCompilation
(source);
28764
comp =
CreateCompilation
(source);
28792
var comp =
CreateCompilation
(src);
28852
var comp =
CreateCompilation
(src);
28905
var comp =
CreateCompilation
(source);
28931
var comp =
CreateCompilation
(source);
28966
var comp =
CreateCompilation
(source);
29001
var comp =
CreateCompilation
(source);
29029
var comp =
CreateCompilation
(source);
29064
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
29118
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
29154
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
29189
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29221
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29247
var comp =
CreateCompilation
(src);
29281
var comp =
CreateCompilation
(src);
29311
var comp =
CreateCompilation
(src);
29339
var comp =
CreateCompilation
(src);
29367
var comp =
CreateCompilation
(src);
29397
var comp =
CreateCompilation
(src);
29427
var comp =
CreateCompilation
(src);
29451
var comp =
CreateCompilation
(src);
29480
var comp =
CreateCompilation
(src);
29509
var comp =
CreateCompilation
(src);
29537
var comp =
CreateCompilation
(src);
29564
var comp =
CreateCompilation
(src);
29593
var comp =
CreateCompilation
(src);
29629
var comp =
CreateCompilation
(src);
29660
var comp =
CreateCompilation
(src);
29689
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29710
var comp =
CreateCompilation
(source);
29748
var comp =
CreateCompilation
(source);
29791
var comp =
CreateCompilation
(source);
29899
var comp2 =
CreateCompilation
(source2, references: [comp.EmitToImageReference()]);
29911
var comp =
CreateCompilation
(src);
29944
var comp =
CreateCompilation
(src);
29983
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
30017
var comp =
CreateCompilation
(src);
30035
var comp =
CreateCompilation
(source);
30058
var comp =
CreateCompilation
(source);
30081
var comp =
CreateCompilation
(src);
30096
var comp =
CreateCompilation
(src);
30113
var comp =
CreateCompilation
(src);
30137
var comp =
CreateCompilation
(src);
30172
var comp =
CreateCompilation
(src);
30197
var comp =
CreateCompilation
(src);
30249
var comp =
CreateCompilation
(src);
30286
var comp =
CreateCompilation
(src);
30332
var comp =
CreateCompilation
(src);
30405
var comp =
CreateCompilation
(src);
30463
var comp =
CreateCompilation
(src);
30479
var comp =
CreateCompilation
(src);
30512
var comp =
CreateCompilation
(src);
30588
var comp =
CreateCompilation
(src);
30672
var comp =
CreateCompilation
(src);
30780
var comp =
CreateCompilation
(src);
30817
var comp =
CreateCompilation
(src);
30887
var comp =
CreateCompilation
(src);
30907
var comp =
CreateCompilation
(src);
30946
var comp =
CreateCompilation
(src);
31013
var comp =
CreateCompilation
(src);
31050
var comp =
CreateCompilation
(src);
31096
var comp =
CreateCompilation
(src);
31169
var comp =
CreateCompilation
(src);
31227
var comp =
CreateCompilation
(src);
31249
var comp =
CreateCompilation
(src);
31296
var comp =
CreateCompilation
(src);
31334
var comp =
CreateCompilation
(src);
31366
var comp =
CreateCompilation
(src);
31403
var comp =
CreateCompilation
(src);
31439
var comp =
CreateCompilation
(src);
31467
var comp =
CreateCompilation
(src);
31495
var comp =
CreateCompilation
(src);
31534
var comp =
CreateCompilation
(src);
31566
var comp =
CreateCompilation
(src);
31608
var comp =
CreateCompilation
(src);
31635
var comp =
CreateCompilation
(src);
31668
var comp =
CreateCompilation
(src);
31693
var comp =
CreateCompilation
(src);
31733
var comp =
CreateCompilation
(src);
31765
var comp =
CreateCompilation
(src);
31867
var comp =
CreateCompilation
(src);
31902
comp =
CreateCompilation
("""
32055
var comp =
CreateCompilation
(src);
32096
comp =
CreateCompilation
("""
32155
var comp =
CreateCompilation
(src);
32181
var comp =
CreateCompilation
(src);
32275
var comp =
CreateCompilation
(src);
32353
var comp =
CreateCompilation
(src);
32388
var comp =
CreateCompilation
(src);
32446
var comp =
CreateCompilation
(src);
32469
comp =
CreateCompilation
("""
32492
comp =
CreateCompilation
("""
32574
var comp =
CreateCompilation
(src);
32597
comp =
CreateCompilation
("""
32679
var comp =
CreateCompilation
(src);
32705
comp =
CreateCompilation
("""
32797
var comp =
CreateCompilation
(src);
32845
var comp =
CreateCompilation
(src);
32878
var comp =
CreateCompilation
(src);
32911
var comp =
CreateCompilation
(src);
32937
var comp =
CreateCompilation
(src);
32959
var comp =
CreateCompilation
(src);
32988
var comp =
CreateCompilation
(src);
33029
var comp =
CreateCompilation
(src);
33073
var comp =
CreateCompilation
(src);
33110
var comp =
CreateCompilation
(src);
33141
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
33174
var comp =
CreateCompilation
(src);
33200
var comp =
CreateCompilation
(src);
33241
var comp =
CreateCompilation
(src);
33294
var comp =
CreateCompilation
(src);
33320
var comp =
CreateCompilation
(src);
33348
var comp =
CreateCompilation
(src);
33507
var comp =
CreateCompilation
(src);
33549
var comp =
CreateCompilation
(src);
33592
var comp =
CreateCompilation
(src);
33639
var comp =
CreateCompilation
(src);
33685
var comp =
CreateCompilation
(src);
33724
var comp =
CreateCompilation
(src);
33763
var comp =
CreateCompilation
(src);
33793
var comp =
CreateCompilation
(src);
33815
var comp =
CreateCompilation
(source);
33845
var comp =
CreateCompilation
(source);
33872
var comp =
CreateCompilation
(source);
33899
var comp =
CreateCompilation
(source);
33926
var comp =
CreateCompilation
(source);
33949
var comp =
CreateCompilation
(src);
33973
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34003
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34011
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34012
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
34018
var comp3 =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34049
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34074
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34105
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34133
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34162
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34187
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34212
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34215
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34216
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34241
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34249
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34250
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
34284
var comp =
CreateCompilation
(source);
34315
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34323
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34324
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34351
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34378
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34409
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34417
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34418
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34455
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34463
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34464
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34496
var comp =
CreateCompilation
(source);
34516
var comp =
CreateCompilation
(source);
34550
var comp =
CreateCompilation
(source);
34590
var comp =
CreateCompilation
(src);
34626
var comp =
CreateCompilation
(src);
34666
var comp =
CreateCompilation
(src);
34710
var comp =
CreateCompilation
(src);
34760
var comp =
CreateCompilation
(src);
34796
var comp =
CreateCompilation
(src);
34821
var comp =
CreateCompilation
(src);
34853
var comp =
CreateCompilation
(src);
34886
var comp =
CreateCompilation
(src);
34916
var comp =
CreateCompilation
(src);
34946
var comp =
CreateCompilation
(src);
34978
var comp =
CreateCompilation
(src);
35009
var comp =
CreateCompilation
(src);
35042
var comp =
CreateCompilation
(src);
35073
var comp =
CreateCompilation
(src);
35104
var comp =
CreateCompilation
(src);
35137
var comp =
CreateCompilation
(src);
35163
var comp =
CreateCompilation
(src);
35187
var comp =
CreateCompilation
(src);
35213
var comp =
CreateCompilation
(src);
35237
var comp =
CreateCompilation
(src);
35260
var comp =
CreateCompilation
(src);
35284
var comp =
CreateCompilation
(src);
35304
var comp =
CreateCompilation
(src);
35322
var comp =
CreateCompilation
(src);
35340
var comp =
CreateCompilation
(src);
35358
var comp =
CreateCompilation
(src);
35376
var comp =
CreateCompilation
(src);
35394
var comp =
CreateCompilation
(src);
35425
var comp =
CreateCompilation
(src);
35457
var comp =
CreateCompilation
(src);
35478
var comp =
CreateCompilation
(src);
35512
var comp =
CreateCompilation
(src);
35536
var comp =
CreateCompilation
(src);
35562
var comp =
CreateCompilation
(src);
35590
var comp =
CreateCompilation
(src);
35616
var comp =
CreateCompilation
(src);
35639
var comp =
CreateCompilation
(src);
35661
var comp =
CreateCompilation
(src);
35691
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
35714
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
35735
var comp =
CreateCompilation
(source);
35755
var comp =
CreateCompilation
(source);
35780
var comp =
CreateCompilation
(source);
35810
var comp =
CreateCompilation
(source);
35847
var comp =
CreateCompilation
(source);
35882
var comp =
CreateCompilation
(source);
35915
var comp =
CreateCompilation
(source);
35952
var comp =
CreateCompilation
(source);
35979
var comp =
CreateCompilation
(source);
36018
var comp =
CreateCompilation
(source);
36048
var comp =
CreateCompilation
(source);
36089
comp =
CreateCompilation
(source);
36131
var comp =
CreateCompilation
(source);
36166
var comp =
CreateCompilation
(source);
36192
var comp =
CreateCompilation
(source);
36223
var comp =
CreateCompilation
(src);
36250
var comp =
CreateCompilation
(src);
36279
var comp =
CreateCompilation
(source);
36310
var comp =
CreateCompilation
(source);
36341
var comp =
CreateCompilation
(src);
36372
var comp =
CreateCompilation
(src);
36403
var comp =
CreateCompilation
(src);
36435
var comp =
CreateCompilation
(src);
36474
var comp =
CreateCompilation
(src);
36512
var comp =
CreateCompilation
(src);
36555
var comp =
CreateCompilation
(src);
36604
var comp =
CreateCompilation
(src);
36639
var comp =
CreateCompilation
(src);
36670
var comp =
CreateCompilation
(src);
36704
var comp =
CreateCompilation
(src);
36742
var comp =
CreateCompilation
(src);
36773
var comp =
CreateCompilation
(src);
36800
var comp =
CreateCompilation
(src);
36827
var comp =
CreateCompilation
(src);
36855
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36881
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36916
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36941
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36977
var comp =
CreateCompilation
(src);
37008
var comp =
CreateCompilation
(src);
37036
var comp =
CreateCompilation
(src);
37064
var comp =
CreateCompilation
(src);
37095
var comp =
CreateCompilation
(src);
37126
var comp =
CreateCompilation
(src);
37144
var comp =
CreateCompilation
(src);
37168
var comp =
CreateCompilation
(src);
37188
var comp =
CreateCompilation
(src);
37211
var comp =
CreateCompilation
(src);
37232
var comp =
CreateCompilation
(src);
37438
var comp =
CreateCompilation
(src);
37465
var comp =
CreateCompilation
(src);
37496
var comp =
CreateCompilation
(src);
37527
var comp =
CreateCompilation
(src);
37551
var comp =
CreateCompilation
(src);
37571
comp =
CreateCompilation
(src);
37598
var comp =
CreateCompilation
(src);
37624
var comp =
CreateCompilation
(src);
37650
var comp =
CreateCompilation
(src);
37685
var comp =
CreateCompilation
(src);
37727
var comp =
CreateCompilation
(src);
37750
var comp =
CreateCompilation
(src);
37771
comp =
CreateCompilation
(src);
37810
var comp =
CreateCompilation
(src);
37868
var comp =
CreateCompilation
(src);
37907
var comp =
CreateCompilation
(src);
37946
var comp =
CreateCompilation
(src);
37978
var comp =
CreateCompilation
(src);
38019
var comp =
CreateCompilation
(src);
38050
var comp =
CreateCompilation
(src);
38078
var comp =
CreateCompilation
(src);
38106
var comp =
CreateCompilation
(src);
38140
var comp =
CreateCompilation
(src);
38171
var comp =
CreateCompilation
(src);
38203
var comp =
CreateCompilation
(src);
38239
var comp =
CreateCompilation
(src);
38275
var comp =
CreateCompilation
(src);
38311
var comp =
CreateCompilation
(src);
38345
var comp =
CreateCompilation
(src);
38369
var comp =
CreateCompilation
(src);
38400
var comp =
CreateCompilation
(src);
38431
var comp =
CreateCompilation
(src);
38465
var comp =
CreateCompilation
(src);
38494
var comp =
CreateCompilation
(src);
38519
var comp =
CreateCompilation
(src);
38545
var comp =
CreateCompilation
(src);
38593
var comp =
CreateCompilation
(source);
38637
var comp =
CreateCompilation
(src);
38666
var comp =
CreateCompilation
(src);
38693
var comp =
CreateCompilation
(src);
38723
var comp =
CreateCompilation
(src);
38748
var comp =
CreateCompilation
(src);
38775
var comp =
CreateCompilation
(src);
38815
var comp =
CreateCompilation
(src);
38848
var comp =
CreateCompilation
(src);
38891
var comp =
CreateCompilation
(src);
38928
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
38943
var comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular13);
38946
comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular14);
38949
comp =
CreateCompilation
(srcCompat, references: [libRef]);
38959
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
38975
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
38991
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
38995
comp =
CreateCompilation
(src, references: [libRef]);
39002
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39009
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39013
comp =
CreateCompilation
(src, references: [libRef]);
39042
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39051
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39054
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39057
comp =
CreateCompilation
(src, references: [libRef]);
39073
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39089
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39092
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39095
comp =
CreateCompilation
(src, references: [libRef]);
39113
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39134
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
39137
comp =
CreateCompilation
(src, references: [libRef], options: TestOptions.DebugExe);
39140
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14, options: TestOptions.DebugExe);
39143
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39163
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39175
var comp =
CreateCompilation
(src, references: [libRef]);
39178
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39181
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39185
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39196
comp =
CreateCompilation
(src);
39199
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39202
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39205
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39228
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39247
var comp =
CreateCompilation
(src, references: [libRef]);
39250
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39253
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39259
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39282
comp =
CreateCompilation
(src);
39285
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39288
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39291
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39308
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39321
var comp =
CreateCompilation
(src, references: [libRef]);
39324
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39327
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39330
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39347
comp =
CreateCompilation
(src);
39350
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39353
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39356
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39373
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39386
var comp =
CreateCompilation
(src, references: [libRef]);
39389
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39392
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39396
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39413
comp =
CreateCompilation
(src);
39416
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39419
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39423
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39443
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39456
var comp =
CreateCompilation
(src, references: [libRef]);
39459
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39462
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39465
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39482
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39494
var comp =
CreateCompilation
(src, references: [libRef]);
39497
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39500
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39503
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39524
var comp =
CreateCompilation
(src);
39527
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39530
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39533
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39553
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39572
var comp =
CreateCompilation
(src, references: [libRef]);
39575
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39578
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39583
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39612
var comp =
CreateCompilation
(src);
39643
var comp =
CreateCompilation
(src);
39685
var comp =
CreateCompilation
(src);
39708
var comp =
CreateCompilation
(src);
39741
var comp =
CreateCompilation
(src);
39761
var comp =
CreateCompilation
(src);
39784
var comp =
CreateCompilation
(src);
39811
var comp =
CreateCompilation
(src);
39830
var comp =
CreateCompilation
(src);
39857
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
39880
var comp =
CreateCompilation
(src);
40208
var comp =
CreateCompilation
(src);
40230
var comp =
CreateCompilation
(src);
40253
var comp =
CreateCompilation
(src);
40276
var comp =
CreateCompilation
(src);
40302
var comp =
CreateCompilation
(src);
40329
var comp =
CreateCompilation
(src);
40352
var comp =
CreateCompilation
(src);
40378
var comp =
CreateCompilation
(src);
40405
var comp =
CreateCompilation
(src);
40430
var comp =
CreateCompilation
(src);
40471
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40515
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40546
var comp =
CreateCompilation
(src);
40572
var comp =
CreateCompilation
(src);
40603
var comp =
CreateCompilation
(src);
40627
var comp =
CreateCompilation
(src);
40655
comp =
CreateCompilation
(src);
40678
comp =
CreateCompilation
(src);
40708
var comp =
CreateCompilation
(src);
40735
var comp =
CreateCompilation
(src);
40755
var comp =
CreateCompilation
(src);
40775
var comp =
CreateCompilation
(src);
40807
var comp =
CreateCompilation
(src);
40993
CreateCompilation
(source).VerifyDiagnostics();
41043
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
41294
CreateCompilation
(source)
41327
CreateCompilation
(source)
41367
var comp =
CreateCompilation
(src);
41395
comp =
CreateCompilation
(src);
41431
var comp =
CreateCompilation
(src);
41459
comp =
CreateCompilation
(src);
41492
CreateCompilation
(src).VerifyEmitDiagnostics(
41520
CreateCompilation
(src).VerifyEmitDiagnostics(
41544
CreateCompilation
(src).VerifyEmitDiagnostics();
41574
CreateCompilation
(source)
41609
CreateCompilation
(src).VerifyEmitDiagnostics();
41633
CreateCompilation
(src).VerifyEmitDiagnostics();
41664
CreateCompilation
(src).VerifyEmitDiagnostics();
41688
CreateCompilation
(src).VerifyEmitDiagnostics();
41722
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41757
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41792
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41834
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41873
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41917
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41952
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41991
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42030
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42065
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42082
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42103
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42126
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
42149
var comp =
CreateCompilation
(source);
42172
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42203
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42308
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42406
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42477
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42588
var comp =
CreateCompilation
(source);
42618
var comp =
CreateCompilation
(source);
42642
var comp =
CreateCompilation
(source);
42665
var comp =
CreateCompilation
(source);
42821
CreateCompilation
(source).VerifyDiagnostics(
42840
var comp =
CreateCompilation
(source);
42865
var comp =
CreateCompilation
(source);
42913
var comp =
CreateCompilation
(source);
42943
var comp =
CreateCompilation
(source);
42976
var comp =
CreateCompilation
(source);
43009
var comp =
CreateCompilation
(source);
43040
var comp =
CreateCompilation
(source);
43076
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
43105
var comp =
CreateCompilation
(source);
43273
var comp =
CreateCompilation
(source);
43399
comp =
CreateCompilation
(source);
43873
CreateCompilation
(source).VerifyEmitDiagnostics(
43904
var comp =
CreateCompilation
(source);
44039
var comp =
CreateCompilation
(source);
44181
var comp =
CreateCompilation
(source);
44216
var comp =
CreateCompilation
(source);
44259
var comp =
CreateCompilation
(source);
44307
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
44331
var comp =
CreateCompilation
(source);
44376
var comp =
CreateCompilation
(source);
44421
var comp =
CreateCompilation
(source);
44461
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44464
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44480
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44485
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44504
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E.<G>$BA41CFE2B5EDAEB8C1B9062F59ED4D69"));
44524
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E."));
44529
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E. "));
44534
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(""));
44538
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(" "));
44543
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(".A"));
44561
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44564
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44580
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44583
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44599
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44607
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44626
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
44641
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
44653
comp =
CreateCompilation
(source);
44674
var comp =
CreateCompilation
(source);
44695
var comp =
CreateCompilation
(src);
44724
var comp =
CreateCompilation
(src);
44757
var comp =
CreateCompilation
(source);
44803
var comp =
CreateCompilation
(source);
44847
var comp =
CreateCompilation
(source);
44885
var comp =
CreateCompilation
(source);
44941
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
44990
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
45022
var comp =
CreateCompilation
(source);
45057
var comp =
CreateCompilation
(source);
45095
var comp =
CreateCompilation
(source);
45133
var comp =
CreateCompilation
(source);
45180
var comp =
CreateCompilation
(source);
45287
var comp =
CreateCompilation
(source);
45303
comp =
CreateCompilation
(source);
45383
var comp =
CreateCompilation
(source);
45475
var comp =
CreateCompilation
(source);
45521
var comp =
CreateCompilation
(source);
45559
var comp =
CreateCompilation
(source);
45585
var comp =
CreateCompilation
(source);
45611
var comp =
CreateCompilation
(source);
45654
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45735
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45803
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45880
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45935
var comp =
CreateCompilation
(src);
45965
var comp =
CreateCompilation
(src);
45994
var comp =
CreateCompilation
(src);
46041
var comp =
CreateCompilation
([src, libSrc]);
46044
var libComp =
CreateCompilation
(libSrc);
46045
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46077
var comp =
CreateCompilation
(src);
46119
var comp =
CreateCompilation
(src);
46153
var comp =
CreateCompilation
(src);
46194
var comp =
CreateCompilation
(src);
46227
var comp =
CreateCompilation
(src);
46268
var comp =
CreateCompilation
([src, libSrc]);
46271
var libComp =
CreateCompilation
(libSrc);
46272
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46319
var comp =
CreateCompilation
([src, libSrc]);
46322
var libComp =
CreateCompilation
(libSrc);
46323
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46350
var comp =
CreateCompilation
(src);
46388
var comp =
CreateCompilation
(src);
46444
var comp =
CreateCompilation
(src);
46519
var comp =
CreateCompilation
(src);
46555
var comp =
CreateCompilation
(src);
46592
var comp =
CreateCompilation
(src);
46636
var comp =
CreateCompilation
(src);
46681
var comp =
CreateCompilation
(src);
46741
var comp =
CreateCompilation
(src);
46789
var comp =
CreateCompilation
(src);
46822
var comp =
CreateCompilation
(src);
46849
var comp =
CreateCompilation
(src);
46881
var comp =
CreateCompilation
(src);
46924
var comp =
CreateCompilation
(src);
46966
var comp =
CreateCompilation
(src);
47005
var comp =
CreateCompilation
(src);
47051
var comp =
CreateCompilation
(src);
47083
var comp =
CreateCompilation
(src);
47113
var comp =
CreateCompilation
(src);
47154
var comp =
CreateCompilation
(src);
47190
var comp =
CreateCompilation
(src);
47226
var comp =
CreateCompilation
(src);
47262
var comp =
CreateCompilation
(src);
47311
var comp =
CreateCompilation
([src, libSrc]);
47317
var libComp =
CreateCompilation
(libSrc);
47448
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
47470
var comp =
CreateCompilation
(src);
47534
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
47537
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
47538
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
47589
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47619
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47649
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47679
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47714
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47757
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47801
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47863
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47936
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48012
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48028
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48053
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48088
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48121
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48154
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48194
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48226
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48255
comp =
CreateCompilation
(src);
48276
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48296
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48324
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48404
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48433
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48460
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48491
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
48522
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48685
var comp2 =
CreateCompilation
(src2, references: [comp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48724
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
48727
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
48728
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48778
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48806
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48837
var comp =
CreateCompilation
(src);
48868
comp =
CreateCompilation
(src);
48908
var comp =
CreateCompilation
(src);
48941
var comp =
CreateCompilation
(src);
48971
var comp =
CreateCompilation
(src);
49004
var comp =
CreateCompilation
(src);
49027
comp =
CreateCompilation
(src);
49054
var comp =
CreateCompilation
(src);
49078
var comp =
CreateCompilation
(src);
49101
var comp =
CreateCompilation
(src);
49131
var comp =
CreateCompilation
(src);
49195
var comp =
CreateCompilation
([src, IsExternalInitTypeDefinition]);
49260
var comp =
CreateCompilation
([src, IsExternalInitTypeDefinition]);
49290
var comp =
CreateCompilation
(src);
49320
var comp =
CreateCompilation
(src);
49350
var comp =
CreateCompilation
(src);
49380
var comp =
CreateCompilation
(src);
49410
var comp =
CreateCompilation
(src);
49440
var comp =
CreateCompilation
(src);
49483
var comp =
CreateCompilation
(src);
49518
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
49542
comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
49579
var comp =
CreateCompilation
(src);
49607
var comp =
CreateCompilation
(src);
49651
var comp =
CreateCompilation
(src);
49690
var comp =
CreateCompilation
(source);
49717
var comp =
CreateCompilation
(source);
50010
var comp =
CreateCompilation
(src);
50050
var comp =
CreateCompilation
(src);
50142
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
50165
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
50195
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "Test");
50345
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50418
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50457
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50524
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50610
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50666
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50727
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50776
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50832
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50882
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50927
var comp =
CreateCompilation
(
50986
var comp =
CreateCompilation
(
51031
var libComp =
CreateCompilation
(src);
51041
var comp =
CreateCompilation
("", references: [libComp.EmitToImageReference()]);
51063
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51083
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51086
var comp =
CreateCompilation
("", references: [moduleRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51105
moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51112
comp =
CreateCompilation
(source2, assemblyName: "name", references: [moduleRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51145
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51165
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51186
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51212
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51230
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51251
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51271
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51292
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51314
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51338
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51364
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51381
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51412
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51436
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51465
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51491
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51519
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51548
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51581
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51603
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51632
var comp =
CreateCompilation
(src);
51700
var comp =
CreateCompilation
(src);
51756
var comp =
CreateCompilation
(src);
51800
var comp =
CreateCompilation
(src);
51872
var comp =
CreateCompilation
(source);
Semantics\ExtensionTests2.cs (830)
39
var comp =
CreateCompilation
(src);
66
var comp =
CreateCompilation
(src);
114
CreateCompilation
(source).VerifyEmitDiagnostics(
144
CreateCompilation
(source).VerifyEmitDiagnostics(
208
CreateCompilation
(source).VerifyDiagnostics(
253
CreateCompilation
(source).VerifyDiagnostics();
276
var comp =
CreateCompilation
(src);
295
var comp =
CreateCompilation
(src);
318
var comp =
CreateCompilation
(src);
339
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
360
var comp =
CreateCompilation
(src);
387
var comp =
CreateCompilation
(src);
411
var comp =
CreateCompilation
(src);
440
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
458
comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
486
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
519
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
551
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.UnsafeDebugExe);
588
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
614
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
640
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
666
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition]);
690
var comp =
CreateCompilation
(src);
714
var comp =
CreateCompilation
(src);
741
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
768
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
782
CreateCompilation
(src).VerifyEmitDiagnostics();
802
var comp =
CreateCompilation
(src);
829
var comp =
CreateCompilation
(src);
856
comp =
CreateCompilation
(src);
885
comp =
CreateCompilation
(src);
921
var comp =
CreateCompilation
([src, libSrc]);
924
var libComp =
CreateCompilation
(libSrc);
925
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
945
var comp =
CreateCompilation
([src, libSrc]);
948
var libComp =
CreateCompilation
(libSrc);
949
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
970
var comp =
CreateCompilation
([src, libSrc]);
973
var libComp =
CreateCompilation
(libSrc);
974
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
997
var comp =
CreateCompilation
(src);
1024
var comp =
CreateCompilation
(src);
1078
var comp =
CreateCompilation
([src, libSrc]);
1081
var libComp =
CreateCompilation
(libSrc);
1084
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1137
var comp =
CreateCompilation
([src, libSrc]);
1140
var libComp =
CreateCompilation
(libSrc);
1141
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1161
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1172
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1173
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1216
var comp =
CreateCompilation
([src, libSrc]);
1219
var libComp =
CreateCompilation
(libSrc);
1220
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1264
var comp =
CreateCompilation
([src, libSrc]);
1267
var libComp =
CreateCompilation
(libSrc);
1268
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1312
var comp =
CreateCompilation
([src, libSrc]);
1315
var libComp =
CreateCompilation
(libSrc);
1316
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1342
var comp =
CreateCompilation
(src);
1370
var comp =
CreateCompilation
(src);
1413
var comp =
CreateCompilation
(src);
1446
var comp =
CreateCompilation
(src);
1485
var comp =
CreateCompilation
(src);
1518
var comp =
CreateCompilation
(src);
1546
var comp =
CreateCompilation
(src);
1571
var comp =
CreateCompilation
(src);
1611
var comp =
CreateCompilation
(src);
1666
var comp =
CreateCompilation
([src, libSrc]);
1669
var libComp =
CreateCompilation
(libSrc);
1670
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
1722
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1725
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1726
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1744
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
1782
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1785
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1786
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1849
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1852
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1853
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1898
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1901
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1902
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
1961
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
1964
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
1965
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2034
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2043
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2044
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2085
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2134
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2137
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2138
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2181
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2184
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2185
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2237
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
2240
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
2241
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
2261
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2292
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2326
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2360
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2394
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2432
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2478
var comp =
CreateCompilation
(source);
2522
var comp =
CreateCompilation
(source);
2567
var comp =
CreateCompilation
(source);
2604
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
2630
var comp =
CreateCompilation
([src, libSrc]);
2633
var libComp =
CreateCompilation
(libSrc);
2634
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
2644
comp =
CreateCompilation
([src2, libSrc]);
2647
libComp =
CreateCompilation
(libSrc);
2648
comp2 =
CreateCompilation
(src2, references: [libComp.EmitToImageReference()]);
2674
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2701
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2737
var comp =
CreateCompilation
(src);
2760
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2778
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2786
var comp =
CreateCompilation
("""
2866
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
2898
var comp =
CreateCompilation
(src);
2985
var comp =
CreateCompilation
(src);
3053
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Mscorlib40);
3058
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib46, references: [libComp.ToMetadataReference()]);
4295
var libComp =
CreateCompilation
(libSrc);
4299
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
5030
var comp =
CreateCompilation
(src);
5053
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5109
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5141
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5162
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5202
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5236
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5283
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5315
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5351
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5387
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5420
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5455
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5488
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5521
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5550
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5579
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5611
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5641
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5672
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5706
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5739
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5771
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5797
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5830
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5860
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5893
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5922
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5957
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5997
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6035
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6073
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6111
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6136
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6170
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6203
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6243
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6267
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6290
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6323
var comp =
CreateCompilation
([(src1, "file1"), (src2, "file2")], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6359
var libComp =
CreateCompilation
(libSrc);
6360
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()],
6396
var libComp =
CreateCompilation
(libSrc);
6397
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
6429
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6449
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6478
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6508
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6544
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6547
var comp2 =
CreateCompilation
("", references: [comp.EmitToImageReference(documentation: new TestDocumentationProvider())]);
6578
var libComp =
CreateCompilation
(libSrc);
6586
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6607
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6637
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6673
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6711
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6741
comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6763
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6798
var libComp =
CreateCompilation
(libSrc);
6807
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13.WithDocumentationMode(DocumentationMode.Diagnose));
6813
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14.WithDocumentationMode(DocumentationMode.Diagnose));
6816
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6833
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6853
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6869
var comp2 =
CreateCompilation
(src2, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6893
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6913
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6937
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6962
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6987
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7012
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7044
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7072
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7101
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7122
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7152
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7261
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7320
var comp2 =
CreateCompilation
([src2]);
7395
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7446
var comp2 =
CreateCompilation
([src2]);
7531
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7639
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7731
var comp2 =
CreateCompilation
([src2]);
7821
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7876
var comp2 =
CreateCompilation
([src2]);
7980
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8098
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8191
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8316
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8464
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8560
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8661
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8776
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8833
var comp2 =
CreateCompilation
(src2);
8918
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9026
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9223
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9313
var comp2 =
CreateCompilation
(src2);
9414
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9624
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
9789
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9889
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9997
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10113
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10174
var comp2 =
CreateCompilation
(src2);
10261
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10351
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10468
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10528
var comp2 =
CreateCompilation
(src2);
10609
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10736
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10852
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10913
var comp2 =
CreateCompilation
(src2);
11000
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11090
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11207
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11267
var comp2 =
CreateCompilation
(src2);
11348
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11508
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11740
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11880
var comp2 =
CreateCompilation
(src2);
12001
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12198
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12590
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12758
var comp2 =
CreateCompilation
(src2);
12908
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13247
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13353
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13410
var comp2 =
CreateCompilation
(src2);
13493
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13601
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13777
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13861
var comp2 =
CreateCompilation
(src2);
13962
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14133
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14210
var comp2 =
CreateCompilation
(src2);
14292
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14362
var comp2 =
CreateCompilation
(src2);
14430
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14547
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14651
var comp2 =
CreateCompilation
(src2);
14742
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14805
var comp2 =
CreateCompilation
(src2);
14907
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15040
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15142
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15268
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15380
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15469
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15569
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15644
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15783
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15928
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16032
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16117
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16232
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16405
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16534
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16683
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16783
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16872
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16950
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17025
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17156
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17289
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17393
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17467
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17585
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17740
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17854
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17975
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18121
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18199
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
18267
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18393
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18563
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18637
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
18749
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18882
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18973
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
19057
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19168
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19292
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19402
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19515
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19608
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19714
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
19803
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19870
var comp2 =
CreateCompilation
([src2]);
19946
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
19999
var comp2 =
CreateCompilation
([src2]);
20061
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20171
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20271
var comp2 =
CreateCompilation
([src2]);
20362
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20418
var comp2 =
CreateCompilation
([src2]);
20523
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20647
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20742
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20836
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20939
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20990
var comp2 =
CreateCompilation
([src2]);
21045
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21149
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21276
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21331
var comp2 =
CreateCompilation
([src2]);
21430
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21528
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21595
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
21662
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21752
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21847
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21940
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21984
var comp =
CreateCompilation
(src);
22058
var comp =
CreateCompilation
(src);
22093
var comp =
CreateCompilation
(src);
22116
var comp =
CreateCompilation
(src);
22139
var comp =
CreateCompilation
(src);
22168
var comp =
CreateCompilation
(src);
22189
var comp =
CreateCompilation
(src);
22210
var comp =
CreateCompilation
(src);
22237
var comp =
CreateCompilation
(src);
22265
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22272
comp =
CreateCompilation
(src);
22291
var comp =
CreateCompilation
(src);
22312
var comp =
CreateCompilation
(src);
22370
var comp =
CreateCompilation
(src);
22396
var comp =
CreateCompilation
(src);
22419
var comp =
CreateCompilation
(src);
22440
var comp =
CreateCompilation
(src);
22463
var comp =
CreateCompilation
(src);
22484
var comp =
CreateCompilation
(src);
22504
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22524
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22544
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22579
var comp =
CreateCompilation
(src);
22602
var comp =
CreateCompilation
(src);
22622
var comp =
CreateCompilation
(src);
22642
var comp =
CreateCompilation
(src);
22662
var comp =
CreateCompilation
(src);
22688
var comp =
CreateCompilation
(src);
22770
var comp =
CreateCompilation
(src);
22793
var comp =
CreateCompilation
(src);
22818
var comp =
CreateCompilation
(src);
22836
comp =
CreateCompilation
(src);
22862
var comp =
CreateCompilation
(src);
22885
var comp =
CreateCompilation
(src);
22908
var comp =
CreateCompilation
(src);
22932
var comp =
CreateCompilation
(src);
22951
comp =
CreateCompilation
(src);
22976
var comp =
CreateCompilation
(src);
22996
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23013
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23033
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23068
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23088
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23108
var comp =
CreateCompilation
(src);
23129
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23150
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23169
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23190
var comp =
CreateCompilation
(src);
23211
var comp =
CreateCompilation
(src);
23230
var comp =
CreateCompilation
(src);
23253
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23273
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23293
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23313
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23333
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23353
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23373
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23396
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23417
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23438
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23459
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23494
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23530
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23566
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23604
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23626
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23646
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23681
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23703
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23728
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23753
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23778
var comp =
CreateCompilation
(src);
23798
var comp =
CreateCompilation
(src);
23820
var comp =
CreateCompilation
(src);
23843
var comp =
CreateCompilation
(src);
23874
var comp =
CreateCompilation
(src);
23907
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23948
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23973
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
24013
var comp =
CreateCompilation
(src);
24034
comp =
CreateCompilation
(src);
24054
comp =
CreateCompilation
(src);
24095
var comp =
CreateCompilation
(src);
24117
var comp =
CreateCompilation
(src);
24166
var comp =
CreateCompilation
(src);
24199
var comp =
CreateCompilation
(src);
24228
var comp =
CreateCompilation
(src);
24257
var comp =
CreateCompilation
(src);
24304
var comp =
CreateCompilation
(src);
24339
var comp =
CreateCompilation
(src);
24372
var comp =
CreateCompilation
(src);
24408
var comp =
CreateCompilation
(src);
24434
var comp =
CreateCompilation
(src);
24464
var comp =
CreateCompilation
(src);
24535
var comp =
CreateCompilation
(src);
24559
var comp =
CreateCompilation
(src);
24629
comp =
CreateCompilation
(src);
24668
var comp =
CreateCompilation
(src);
24695
var comp =
CreateCompilation
(src);
24718
comp =
CreateCompilation
(src);
24750
var comp =
CreateCompilation
(src);
24781
var comp =
CreateCompilation
(src);
24801
comp =
CreateCompilation
(src);
24843
var comp =
CreateCompilation
(src);
24877
var comp =
CreateCompilation
(src);
24904
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24931
var comp =
CreateCompilation
(src);
24975
var comp =
CreateCompilation
(src);
25005
var comp =
CreateCompilation
(src);
25033
var comp =
CreateCompilation
(src);
25057
var comp =
CreateCompilation
(src);
25084
var comp =
CreateCompilation
(src);
25113
var comp =
CreateCompilation
(src);
25141
var comp =
CreateCompilation
(src);
25164
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
25187
var comp =
CreateCompilation
(src);
25208
var comp =
CreateCompilation
(src);
25231
var comp =
CreateCompilation
(src);
25252
var comp =
CreateCompilation
(src);
25273
var comp =
CreateCompilation
(src);
25288
comp =
CreateCompilation
(src);
25307
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25335
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25371
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25398
var comp =
CreateCompilation
(src);
25420
var comp =
CreateCompilation
(src);
25442
var comp =
CreateCompilation
(src);
25467
var comp =
CreateCompilation
(src);
25487
comp =
CreateCompilation
(src);
25513
var comp =
CreateCompilation
(src);
25539
var comp =
CreateCompilation
(src);
25564
var comp =
CreateCompilation
(src);
25588
var comp =
CreateCompilation
(src);
25614
var comp =
CreateCompilation
(src);
25638
var comp =
CreateCompilation
(src);
25662
var comp =
CreateCompilation
(src);
25687
var comp =
CreateCompilation
(src);
25718
var comp =
CreateCompilation
(src);
25742
var comp =
CreateCompilation
(src);
25775
var comp =
CreateCompilation
(src);
25800
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
26209
var comp =
CreateCompilation
(src);
26241
var comp =
CreateCompilation
(src);
26273
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
26300
var comp =
CreateCompilation
(src);
26324
var comp =
CreateCompilation
(src);
26348
var comp =
CreateCompilation
(src);
26372
var comp =
CreateCompilation
(src);
26399
var comp =
CreateCompilation
(src);
26426
var comp =
CreateCompilation
(src);
26455
var comp =
CreateCompilation
(src);
26482
var comp =
CreateCompilation
(src);
26512
var comp =
CreateCompilation
(src);
26593
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
26603
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
26622
var comp =
CreateCompilation
(src);
26644
var comp =
CreateCompilation
(src);
26724
var comp =
CreateCompilation
(src);
26737
var libComp =
CreateCompilation
(ExtensionMarkerAttributeDefinition);
26748
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
26770
var comp =
CreateCompilation
(src);
26795
var comp =
CreateCompilation
(src);
26832
var comp =
CreateCompilation
(src);
26896
var comp =
CreateCompilation
(src);
26968
var comp =
CreateCompilation
(src);
27040
var comp =
CreateCompilation
(src);
27092
var comp =
CreateCompilation
(src);
27127
var comp =
CreateCompilation
(src);
27163
var comp =
CreateCompilation
(src);
27199
var comp =
CreateCompilation
(src);
27235
var comp =
CreateCompilation
(src);
27268
var comp =
CreateCompilation
(src);
27293
var comp =
CreateCompilation
(src);
27332
var comp =
CreateCompilation
(src);
27373
var comp =
CreateCompilation
(src);
27407
var comp =
CreateCompilation
(src);
27435
var comp =
CreateCompilation
(src);
27459
var comp =
CreateCompilation
(src);
27480
var comp =
CreateCompilation
(src);
27492
var libComp1 =
CreateCompilation
(libSrc, assemblyName: "assembly1");
27493
var libComp2 =
CreateCompilation
(libSrc, assemblyName: "assembly2");
27507
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27537
var comp =
CreateCompilation
(src);
27574
var comp =
CreateCompilation
(src);
27609
var comp =
CreateCompilation
(src);
27644
var comp =
CreateCompilation
(src);
27678
var comp =
CreateCompilation
(src);
27713
var comp =
CreateCompilation
(src);
27740
var comp =
CreateCompilation
(src);
27756
var comp =
CreateCompilation
(src);
27764
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27765
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27785
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27810
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27811
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27825
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27835
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27836
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27850
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27864
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27865
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27879
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27893
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
27894
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
27910
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27924
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
27925
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
27941
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27955
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
27956
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
27970
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27993
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
27994
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28014
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28028
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28029
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28045
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28066
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
28067
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
28081
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28102
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28103
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28119
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28144
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28145
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28164
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28204
var comp =
CreateCompilation
(src);
28237
var comp =
CreateCompilation
(src);
28270
var comp =
CreateCompilation
(src);
28279
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28280
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28301
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28326
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28327
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28348
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28380
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
28396
var comp =
CreateCompilation
(src);
28412
var comp =
CreateCompilation
(src);
28428
var comp =
CreateCompilation
(src);
28444
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28460
var comp =
CreateCompilation
(src);
28476
var comp =
CreateCompilation
(src);
28522
var comp =
CreateCompilation
([src, src2, src3]);
28527
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
28553
var comp =
CreateCompilation
(src);
28558
comp =
CreateCompilation
(defineTestDirective + src);
28591
var comp =
CreateCompilation
([src, src2, src3]);
28596
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
28620
var comp =
CreateCompilation
(src);
28660
var comp =
CreateCompilation
(src);
28687
var comp =
CreateCompilation
(src);
28726
var comp =
CreateCompilation
(src);
28752
var comp =
CreateCompilation
(src);
28788
var comp =
CreateCompilation
(src);
28814
var comp =
CreateCompilation
(src);
28833
var comp =
CreateCompilation
(src);
28852
var comp =
CreateCompilation
(src);
28868
var comp =
CreateCompilation
(src);
28891
var comp =
CreateCompilation
(src);
28911
var comp =
CreateCompilation
(src);
28933
var comp =
CreateCompilation
(src);
28955
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
28973
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
28991
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
29006
var comp =
CreateCompilation
(src);
29030
var comp =
CreateCompilation
(src);
29045
var comp =
CreateCompilation
(src);
29060
var comp =
CreateCompilation
(src);
29077
var comp =
CreateCompilation
(src);
29100
var comp =
CreateCompilation
(src);
29120
var comp =
CreateCompilation
(src);
29141
var comp =
CreateCompilation
(src);
29166
var comp =
CreateCompilation
(src);
29193
var comp =
CreateCompilation
(src);
29222
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29265
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29315
var moduleComp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29344
CreateCompilation
(source, references: [moduleRef]).VerifyEmitDiagnostics(
29370
var module1Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29373
var module2Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29376
CreateCompilation
("", references: [module1Ref, module2Ref]).VerifyEmitDiagnostics(
29398
var module1Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29401
var module2Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29404
CreateCompilation
("", references: [module1Ref, module2Ref]).VerifyEmitDiagnostics(
29421
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29465
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29473
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29527
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29535
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29574
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29582
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29616
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29630
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"])]);
29636
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"])]);
29642
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29646
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"])]);
29677
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29682
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugModule, references: [comp1ImageRef]);
29689
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29741
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29746
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugModule, references: [comp1ImageRef]);
29749
CreateCompilation
("", references: [comp2ImageRef]).VerifyEmitDiagnostics(
29759
comp1 =
CreateCompilation
(source3, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29789
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29791
var module =
CreateCompilation
(source1, options: TestOptions.ReleaseModule, assemblyName: "Module");
29799
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"]), moduleRef]);
29805
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), moduleRef]);
29811
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29815
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), moduleRef]);
29833
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
29834
var comp2 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions2");
29840
var module1 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module1");
29843
var module2 =
CreateCompilation
(source2, references: [comp2.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module2");
29846
var comp =
CreateCompilation
("", references: [comp1.EmitToImageReference(), comp2.EmitToImageReference(), module1Ref, module2Ref]);
29852
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), comp2.ToMetadataReference(), module1Ref, module2Ref]);
29858
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29864
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), comp2.ToMetadataReference(), module1Ref, module2Ref]);
29882
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
29883
var comp2 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions2");
29892
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"]), comp2.EmitToImageReference().WithAliases(["B"])]);
29898
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), comp2.ToMetadataReference().WithAliases(["B"])]);
29904
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29910
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), comp2.ToMetadataReference().WithAliases(["B"])]);
29928
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
29934
var module1 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module1");
29937
var module2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module2");
29940
var comp =
CreateCompilation
("", references: [comp1.EmitToImageReference(), module1Ref, module2Ref]);
29943
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), module1Ref, module2Ref]);
29946
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29951
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), module1Ref, module2Ref]);
29997
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
30017
var comp =
CreateCompilation
(src);
30037
var comp =
CreateCompilation
(src);
30057
var comp =
CreateCompilation
(src);
30076
var comp =
CreateCompilation
(src);
30095
var comp =
CreateCompilation
(src);
30114
var comp =
CreateCompilation
(src);
30133
var comp =
CreateCompilation
(src);
30152
var comp =
CreateCompilation
(src);
30170
var comp =
CreateCompilation
(src);
30259
var comp =
CreateCompilation
(src);
30278
var comp =
CreateCompilation
(src);
30297
var comp =
CreateCompilation
(src);
30316
var comp =
CreateCompilation
(src);
30335
var comp =
CreateCompilation
(src);
30354
var comp =
CreateCompilation
(src);
30373
var comp =
CreateCompilation
(src);
30389
var comp =
CreateCompilation
(src);
30412
var comp =
CreateCompilation
(src);
30436
var comp =
CreateCompilation
(src);
30457
var comp =
CreateCompilation
(src);
30476
var comp =
CreateCompilation
(src);
30494
var comp =
CreateCompilation
(src);
30518
var comp =
CreateCompilation
(src);
30539
var comp =
CreateCompilation
(src);
30558
var comp =
CreateCompilation
(src);
30579
var comp =
CreateCompilation
(src);
30600
var comp =
CreateCompilation
(src);
30618
var comp =
CreateCompilation
(src);
30644
var comp =
CreateCompilation
(src);
30881
var comp =
CreateCompilation
(src);
30904
var comp =
CreateCompilation
(src);
30930
var comp =
CreateCompilation
(src);
30953
var comp =
CreateCompilation
(src);
30979
var comp =
CreateCompilation
(src);
31162
var comp =
CreateCompilation
(src);
31213
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31242
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31274
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31297
var comp =
CreateCompilation
(src);
31323
var comp =
CreateCompilation
(src);
31351
var comp =
CreateCompilation
(src);
31382
var comp =
CreateCompilation
(src);
31416
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31452
var comp =
CreateCompilation
(src);
31522
comp =
CreateCompilation
(src);
31608
var comp =
CreateCompilation
(src);
31631
comp =
CreateCompilation
(src);
31661
var comp =
CreateCompilation
(src);
31682
var comp =
CreateCompilation
(src);
31710
var comp =
CreateCompilation
(src);
31731
var comp =
CreateCompilation
(src);
31747
comp =
CreateCompilation
(src);
31763
comp =
CreateCompilation
(src);
31796
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
31829
var comp =
CreateCompilation
(src);
31857
comp =
CreateCompilation
(src);
31893
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
31928
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
31962
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
31996
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32032
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32062
var comp =
CreateCompilation
(src);
32131
var comp =
CreateCompilation
(src);
32170
var comp =
CreateCompilation
(src);
32286
var comp =
CreateCompilation
(src);
32499
var libComp =
CreateCompilation
(libSrc);
32502
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32606
var libComp =
CreateCompilation
(libSrc);
32609
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32640
var libComp =
CreateCompilation
(libSrc);
32643
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32673
var libComp =
CreateCompilation
(libSrc);
32676
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32708
var libComp =
CreateCompilation
(libSrc);
32711
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32743
var libComp =
CreateCompilation
(libSrc);
32746
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32777
var libComp =
CreateCompilation
(libSrc);
32780
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32814
var libComp =
CreateCompilation
(libSrc);
32817
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32850
var libComp =
CreateCompilation
(libSrc);
32853
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32884
var libComp =
CreateCompilation
(libSrc);
32887
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32928
var libComp =
CreateCompilation
(libSrc);
32931
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32964
var libComp =
CreateCompilation
(libSrc);
32967
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32999
var libComp =
CreateCompilation
(libSrc);
33002
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33111
var libComp =
CreateCompilation
(libSrc);
33114
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33148
var libComp =
CreateCompilation
(libSrc);
33151
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33189
var libComp =
CreateCompilation
(libSrc);
33192
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33226
var libComp =
CreateCompilation
(libSrc);
33229
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33266
var libComp =
CreateCompilation
(libSrc);
33269
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33386
var libComp =
CreateCompilation
(libSrc);
33389
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33687
var comp =
CreateCompilation
(src);
33708
var comp =
CreateCompilation
(src);
33729
var comp =
CreateCompilation
(src);
33836
var comp =
CreateCompilation
(src);
33863
var comp =
CreateCompilation
(src);
33892
var comp =
CreateCompilation
(src);
33923
var comp =
CreateCompilation
(src);
33958
var comp =
CreateCompilation
(src);
33987
var comp =
CreateCompilation
(src);
34022
var comp =
CreateCompilation
(src);
34026
var comp2 =
CreateCompilation
("", references: [compRef]);
34092
var comp =
CreateCompilation
(src);
34110
var comp2 =
CreateCompilation
("", references: [compRef]);
34337
var comp =
CreateCompilation
(src);
34340
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34359
var comp =
CreateCompilation
(src);
34382
var comp =
CreateCompilation
(src);
34403
var comp =
CreateCompilation
(src);
34424
var comp =
CreateCompilation
(src);
34460
var comp =
CreateCompilation
(src);
34463
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34493
var comp =
CreateCompilation
(src);
34496
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34514
var comp =
CreateCompilation
(src);
34547
var comp =
CreateCompilation
(src);
34578
var comp =
CreateCompilation
([src, srcCaller]);
34581
var libComp =
CreateCompilation
(src);
34582
comp =
CreateCompilation
(srcCaller, references: [libComp.EmitToImageReference()]);
34606
comp =
CreateCompilation
(src);
34631
var comp =
CreateCompilation
([src, srcCaller]);
34643
var libComp =
CreateCompilation
(src);
34644
comp =
CreateCompilation
(srcCaller, references: [libComp.EmitToImageReference()]);
34673
var comp =
CreateCompilation
(src);
34717
var comp =
CreateCompilation
([src, callerSrc]);
34720
var libComp =
CreateCompilation
(src);
34721
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34760
var comp =
CreateCompilation
([src, callerSrc]);
34763
var libComp =
CreateCompilation
(src);
34764
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34792
var comp =
CreateCompilation
([src, callerSrc]);
34795
var libComp =
CreateCompilation
(src);
34796
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34826
var comp =
CreateCompilation
([src, callerSrc]);
34829
var libComp =
CreateCompilation
(src);
34830
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34931
var comp =
CreateCompilation
([src, callerSrc]);
34934
var libComp =
CreateCompilation
(src);
34935
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference: false)]);
34938
var comp3 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference: true)]);
34972
var comp =
CreateCompilation
(source);
35005
var comp =
CreateCompilation
(source);
35028
var comp =
CreateCompilation
(source);
35032
var comp2 =
CreateCompilation
("", references: [comp.EmitToImageReference()]);
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);
19495
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19596
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19637
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19675
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19713
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19751
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19788
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19817
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19852
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19915
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19953
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19994
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
20052
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20190
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20240
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20391
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20482
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20522
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20576
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20713
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20762
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20913
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20947
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20978
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21027
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21130
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21162
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21207
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21225
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21227
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21258
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21275
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21277
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21309
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21324
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21326
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21376
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21388
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21390
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21416
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21432
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21434
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21460
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21472
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21474
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21523
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21525
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21553
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
21565
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
21566
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21605
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21623
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21625
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21674
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21744
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21791
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21864
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21903
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21934
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21993
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22063
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22110
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22183
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22225
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22256
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
22304
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22367
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22407
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22460
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22478
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22480
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22519
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22536
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22538
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22578
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22593
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22595
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22643
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22655
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22657
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22683
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22699
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22701
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22727
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22739
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22741
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22788
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22790
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22816
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22828
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
22829
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22866
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22884
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22886
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22907
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22940
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22967
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22991
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
23010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
23047
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23070
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23106
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23134
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23156
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23189
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23222
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23244
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23266
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23295
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23321
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23357
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23401
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23424
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
23451
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23452
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23632
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(
3500
CreateCompilation
([source, LockTypeDefinition]).VerifyEmitDiagnostics(
4472
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);
689
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
728
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
769
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
807
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
901
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1398
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1456
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1490
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1525
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1559
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1593
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1633
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1671
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1705
var compilation =
CreateCompilation
(text,
1742
var compilation =
CreateCompilation
(text,
1781
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1818
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1850
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1877
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
1914
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
5012
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17573
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17632
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17667
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17700
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17733
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17772
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17804
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17849
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17880
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17913
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17945
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
17985
var compilation =
CreateCompilation
(text,
18015
var compilation =
CreateCompilation
(text,
18059
var compilation =
CreateCompilation
(text,
18090
var compilation =
CreateCompilation
(text,
18129
var compilation =
CreateCompilation
(text,
18170
var compilation =
CreateCompilation
(text,
18213
var compilation =
CreateCompilation
(text,
18256
var compilation =
CreateCompilation
(text,
18295
var compilation =
CreateCompilation
(text,
18340
var compilation =
CreateCompilation
(text,
18371
var compilation =
CreateCompilation
(text,
18423
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18436
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18487
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18500
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
18534
var compilation =
CreateCompilation
(text,
18579
var compilation =
CreateCompilation
(text,
18631
var compilation =
CreateCompilation
(text,
18677
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18719
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18764
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18786
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular)
18862
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18906
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18948
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
18993
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19046
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19089
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19135
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19194
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19241
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
19278
var compilation =
CreateCompilation
(text,
19320
var compilation =
CreateCompilation
(text,
19354
var compilation =
CreateCompilation
(text,
19413
var compilation =
CreateCompilation
(text,
19456
var compilation =
CreateCompilation
(text,
19494
var compilation =
CreateCompilation
(text,
19533
var compilation =
CreateCompilation
(text,
19574
var compilation =
CreateCompilation
(text,
19616
var compilation =
CreateCompilation
(text,
19636
compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
19671
var compilation =
CreateCompilation
(text,
19714
var compilation =
CreateCompilation
(text,
19753
var compilation =
CreateCompilation
(text,
19794
var compilation =
CreateCompilation
(source,
19823
var compilation =
CreateCompilation
(text,
19856
var compilation =
CreateCompilation
(text,
19889
var compilation =
CreateCompilation
(text,
19924
var compilation =
CreateCompilation
(text,
19959
var compilation =
CreateCompilation
(text,
19990
var compilation =
CreateCompilation
(text,
20028
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20168
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, references: new[] { CSharpRef });
20188
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
20208
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20236
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
20344
var compilation =
CreateCompilation
(source2, references: new[] { reference1 });
20528
var compilation =
CreateCompilation
(source2, references: new[] { reference1 }, options: TestOptions.DebugExe);
20599
var compilation =
CreateCompilation
(text,
20644
var compilation =
CreateCompilation
(text);
20759
var compilation =
CreateCompilation
(text,
20812
var compilation =
CreateCompilation
(text,
23066
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
32502
var compilation =
CreateCompilation
(new[] { tree });
33045
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33105
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33159
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33217
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33294
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33317
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33361
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33384
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33411
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
33433
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
33491
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
34226
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34332
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.ReleaseExe);
34441
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
34546
var compilation =
CreateCompilation
(syntaxTree, options: TestOptions.DebugExe);
34642
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35163
var compilation =
CreateCompilation
(source);
35202
var compilation =
CreateCompilation
(source);
35246
var compilation =
CreateCompilation
(source);
35277
var compilation =
CreateCompilation
(source);
35316
var compilation =
CreateCompilation
(source);
35348
var compilation =
CreateCompilation
(source);
35384
var compilation =
CreateCompilation
(source);
35423
var compilation =
CreateCompilation
(source);
35453
var compilation =
CreateCompilation
(source);
35490
var compilation =
CreateCompilation
(source);
35525
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe);
35648
var comp =
CreateCompilation
(source);
35681
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
35722
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35748
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35784
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular);
35825
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35871
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
35965
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36105
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36213
var compilation =
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular);
36306
var compilation =
CreateCompilation
(text);
36337
var comp =
CreateCompilation
(source);
36384
var comp =
CreateCompilation
(source);
36423
var comp =
CreateCompilation
(source);
36465
var comp =
CreateCompilation
(source);
36505
var comp =
CreateCompilation
(source).VerifyDiagnostics(
36543
var comp =
CreateCompilation
(source).VerifyDiagnostics(
Semantics\ParamsCollectionTests.cs (338)
89
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
191
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
269
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
307
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
451
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
487
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
582
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
635
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
713
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
771
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
820
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
870
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
929
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
970
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
1002
var myCollection_v0 =
CreateCompilation
(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
1014
var builder =
CreateCompilation
(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
1029
var myCollection =
CreateCompilation
(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
1056
var comp =
CreateCompilation
(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1067
comp =
CreateCompilation
(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1122
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1187
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
1254
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
1312
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1379
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1457
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1506
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1555
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1592
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1640
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1688
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
1730
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1783
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1837
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1889
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1934
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
1978
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2022
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2062
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2103
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
2138
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2189
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2238
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2288
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2346
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2406
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2453
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
2503
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2594
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2639
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2700
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
2727
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2762
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2776
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2909
CreateCompilation
(src).VerifyEmitDiagnostics();
2927
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
2958
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe);
2969
comp =
CreateCompilation
(src2, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
3170
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3295
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3519
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3836
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
3964
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
3967
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
3970
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4004
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4011
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4014
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4017
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4058
var comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4061
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4064
comp =
CreateCompilation
(src2 + src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4071
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4078
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4081
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4084
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4126
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4129
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4132
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4173
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4176
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4179
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4186
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4193
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4230
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4234
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4297
var comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4300
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4303
comp =
CreateCompilation
(src2 + src1, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
4310
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4317
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularPreview);
4320
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular13);
4323
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All), parseOptions: TestOptions.Regular12);
4386
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4393
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
4396
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
4399
comp2 =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
4430
var comp =
CreateCompilation
(src1 + src2, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4433
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4434
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4437
var comp3 =
CreateCompilation
(src1 + ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4438
var comp4 =
CreateCompilation
(src2, references: [comp3.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4441
var comp5 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseModule);
4499
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4502
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4503
var comp2 =
CreateCompilation
(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4605
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4650
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4653
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
4654
var comp2 =
CreateCompilation
(src, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithMetadataImportOptions(MetadataImportOptions.All));
4725
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4726
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4754
var comp1 =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
4755
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
4792
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
4843
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4881
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4921
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
5052
var comp =
CreateCompilation
(
5162
var comp =
CreateCompilation
(
5267
var comp =
CreateCompilation
(
5338
var comp =
CreateCompilation
(
5374
comp =
CreateCompilation
(
5435
var comp =
CreateCompilation
(
5478
var comp =
CreateCompilation
(
5499
comp =
CreateCompilation
(
5535
CreateCompilation
(
5653
var comp =
CreateCompilation
(
5684
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5748
CreateCompilation
(source).VerifyDiagnostics(
5824
var comp =
CreateCompilation
(
5863
var comp =
CreateCompilation
(
5908
var comp =
CreateCompilation
(
5945
var comp =
CreateCompilation
(
5996
var comp =
CreateCompilation
(
6040
var comp =
CreateCompilation
(
6075
var comp =
CreateCompilation
(source);
6113
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6140
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6170
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6213
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6246
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
6295
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6331
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6345
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6349
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6353
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6381
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
6413
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6423
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6426
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6464
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6495
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6524
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6546
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6561
var comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6569
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6577
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6602
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6624
var comp0Ref =
CreateCompilation
(src0).EmitToImageReference();
6639
var comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6647
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
6655
comp1 =
CreateCompilation
(src1, references: [comp0Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6680
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6717
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6754
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6796
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6838
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6859
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
6884
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6920
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6955
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
6986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7031
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7058
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7087
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7112
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7139
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7164
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7241
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7261
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7265
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7269
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7326
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7365
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7377
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7381
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7385
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7418
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7448
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7458
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7461
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7497
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
7530
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7563
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7645
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7691
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7737
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7758
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseDll);
7786
var comp =
CreateCompilation
(src, references: new[] { comp1Ref, comp2.EmitToImageReference() }, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7830
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7873
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7922
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
7964
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
7976
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7980
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
7984
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8050
var comp1Ref =
CreateCompilation
(src1).EmitToImageReference();
8052
var comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8062
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular13);
8065
comp =
CreateCompilation
(src2, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8101
comp =
CreateCompilation
(src3, references: [comp1Ref], targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8136
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8168
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8205
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8233
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8302
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8367
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8450
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8515
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8549
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8588
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
8650
comp =
CreateCompilation
(
8672
comp =
CreateCompilation
(
8696
comp =
CreateCompilation
(
8721
comp =
CreateCompilation
(
8751
comp =
CreateCompilation
(
8771
comp =
CreateCompilation
(
8795
comp =
CreateCompilation
(
8820
comp =
CreateCompilation
(
8850
comp =
CreateCompilation
(
8873
comp =
CreateCompilation
(
8893
comp =
CreateCompilation
(
8914
comp =
CreateCompilation
(
8934
comp =
CreateCompilation
(
8956
comp =
CreateCompilation
(
9257
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9298
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9350
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9404
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9462
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9519
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9589
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9677
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9744
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9785
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9837
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9898
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9945
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9998
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10052
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10108
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10154
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10196
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10238
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10284
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12507
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12638
CreateCompilation
(source).VerifyDiagnostics(
12742
IEnumerable<MetadataReference> references = src2 is null ? [] : [
CreateCompilation
(src2).ToMetadataReference()];
12744
var comp =
CreateCompilation
(src1, references, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
12748
var comp1 =
CreateCompilation
(ParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12750
var comp2 =
CreateCompilation
(src1, references: references.Concat([comp1Ref]), options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
12754
var comp3 =
CreateCompilation
(src1, references, options: TestOptions.ReleaseModule);
12758
var comp4 =
CreateCompilation
(src1, references: references.Concat([comp1Ref]), options: TestOptions.ReleaseModule.WithMetadataImportOptions(MetadataImportOptions.All));
12772
var comp5 =
CreateCompilation
(brokenParamCollectionAttributeSource, options: TestOptions.ReleaseDll);
12774
var comp6 =
CreateCompilation
(src1, references: references.Concat([comp5Ref]), options: TestOptions.ReleaseDll);
12781
var comp7 =
CreateCompilation
(src1, references: references.Concat([comp5Ref]), options: TestOptions.ReleaseModule);
12928
CreateCompilation
(src).VerifyEmitDiagnostics(
13005
CreateCompilation
(src).VerifyEmitDiagnostics(
13321
var comp1 =
CreateCompilation
(src1);
13328
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13387
var comp1 =
CreateCompilation
(src1);
13394
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13451
var comp1 =
CreateCompilation
(src1);
13458
var comp2 =
CreateCompilation
(src2, references: [image ? comp1.EmitToImageReference() : comp1.ToMetadataReference()], options: TestOptions.ReleaseExe);
13491
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13503
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugDll);
13523
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.DebugDll);
13538
var comp4 =
CreateCompilation
(source4, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.ReleaseExe);
13563
var comp5 =
CreateCompilation
(source5, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.UnsafeReleaseExe);
13592
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
13604
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugDll);
13624
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.DebugDll);
13639
var comp4 =
CreateCompilation
(source4, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.ReleaseExe);
13664
var comp5 =
CreateCompilation
(source5, references: [comp1Ref, comp3.ToMetadataReference()], options: TestOptions.UnsafeReleaseExe);
13708
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13756
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13812
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13854
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13902
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
13958
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14000
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14056
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14098
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14170
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14250
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14324
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14374
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
14422
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14485
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14534
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14625
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
14709
CreateCompilation
(source).VerifyEmitDiagnostics(
14745
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
14824
CreateCompilation
(source).VerifyEmitDiagnostics();
14846
CreateCompilation
(source).VerifyEmitDiagnostics(
14871
CreateCompilation
(source).VerifyEmitDiagnostics(
14897
CreateCompilation
(source).VerifyEmitDiagnostics();
14919
CreateCompilation
(source).VerifyEmitDiagnostics(
14948
CreateCompilation
(source).VerifyEmitDiagnostics(
14984
CreateCompilation
(source).VerifyEmitDiagnostics(
15017
CreateCompilation
(source).VerifyEmitDiagnostics(
15048
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15091
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseDll);
15163
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15232
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15254
var comp =
CreateCompilation
(src);
15278
var comp =
CreateCompilation
(src);
15330
var comp =
CreateCompilation
(src);
15405
var comp =
CreateCompilation
(src);
15618
CreateCompilation
(src).VerifyEmitDiagnostics(
15812
CreateCompilation
(src).VerifyEmitDiagnostics(
15961
CreateCompilation
(src).VerifyEmitDiagnostics(
16025
CreateCompilation
(src).VerifyDiagnostics(
16048
CreateCompilation
([source, ParamCollectionAttributeSource]).VerifyDiagnostics(
16079
CreateCompilation
(src).VerifyDiagnostics(
16111
CreateCompilation
(src).VerifyDiagnostics(
16130
CreateCompilation
(src).VerifyDiagnostics(
16150
CreateCompilation
(src).VerifyDiagnostics(
16180
CreateCompilation
(src).VerifyDiagnostics(
16304
var comp =
CreateCompilation
([sourceA, sourceB2]);
16338
var comp =
CreateCompilation
(source);
16382
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16419
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16457
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16524
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16551
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);
347
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
398
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
425
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
451
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
477
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
502
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
530
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
556
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
579
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
602
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
625
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
648
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
688
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
838
var compilation =
CreateCompilation
(new[] { source, _iTupleSource }, options: TestOptions.DebugExe);
897
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
925
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
951
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
974
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
979
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1012
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
1028
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1074
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1121
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1213
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1344
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1416
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1474
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1508
var compilation =
CreateCompilation
(source);
1554
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1584
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1619
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1684
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular8);
1858
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1881
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1916
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular);
1962
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2002
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2045
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2076
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2105
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2152
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2214
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2270
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
2328
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2377
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2698
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2740
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2770
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2801
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2828
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2855
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2883
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2914
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2945
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2975
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3041
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3088
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3126
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3217
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3264
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular6);
3306
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3368
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3427
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3452
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3479
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3509
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
3521
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, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
3200
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3204
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3208
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3252
var comp =
CreateCompilation
(source);
3278
var comp =
CreateCompilation
(source);
3311
var comp =
CreateCompilation
(source);
3355
var comp =
CreateCompilation
(source);
3386
var comp =
CreateCompilation
(source);
3407
var comp =
CreateCompilation
(source);
3442
var comp =
CreateCompilation
(source);
3498
var comp =
CreateCompilation
(source);
3543
var comp =
CreateCompilation
(source);
3561
var comp =
CreateCompilation
(source);
3587
var comp =
CreateCompilation
(source);
3610
var comp =
CreateCompilation
(source);
3632
var comp =
CreateCompilation
(source);
3654
var comp =
CreateCompilation
(source);
3691
var comp =
CreateCompilation
(text1);
4062
var comp =
CreateCompilation
(text1);
4140
var comp =
CreateCompilation
(text1);
4275
var comp =
CreateCompilation
(text1);
4491
var comp =
CreateCompilation
(text1);
4597
var comp =
CreateCompilation
(text1);
4805
var comp =
CreateCompilation
(text1);
4910
var comp =
CreateCompilation
(text1);
5123
var comp =
CreateCompilation
(text1);
5226
var comp =
CreateCompilation
(text1);
5465
var comp =
CreateCompilation
(text1);
5544
var comp =
CreateCompilation
(text1);
5669
var comp =
CreateCompilation
(text1);
5772
var comp =
CreateCompilation
(text1);
5828
var comp =
CreateCompilation
(text1);
5900
var comp =
CreateCompilation
(text1);
6058
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6091
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6138
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6175
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6197
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6218
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6241
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6268
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6293
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6331
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6361
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6395
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6429
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6464
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6499
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6539
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6579
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6622
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6663
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6708
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6750
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6796
var compilation1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net60);
6816
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
6838
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6864
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6890
var comp =
CreateCompilation
(source);
6915
var comp =
CreateCompilation
(src);
6943
var comp =
CreateCompilation
(src);
6971
var comp =
CreateCompilation
(src);
6999
var comp =
CreateCompilation
(src);
7118
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
7801
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8315
var comp =
CreateCompilation
(src);
8359
var comp =
CreateCompilation
(src);
8425
var comp =
CreateCompilation
(src);
8536
var comp =
CreateCompilation
(src);
8623
var comp =
CreateCompilation
(src);
8664
var comp =
CreateCompilation
(src);
8763
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9169
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9348
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9371
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9426
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9463
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9485
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9527
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9549
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
9583
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9888
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9918
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9948
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10001
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10024
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10046
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10156
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10195
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10230
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10273
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10315
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10346
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10386
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10418
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10454
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10493
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10532
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10568
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10604
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10643
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10682
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10725
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10757
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10793
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10829
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10880
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10924
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10968
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11011
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11054
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11096
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11141
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11176
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11203
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11241
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11268
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11306
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11341
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11373
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11404
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11447
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11490
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11522
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11565
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11608
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11788
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11839
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11952
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
11999
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12040
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe);
12066
var comp2 =
CreateCompilation
(source2);
12120
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12160
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12203
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12253
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12326
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12403
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12459
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12496
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12528
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12551
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12575
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12607
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12630
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12675
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12698
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12727
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12750
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12789
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12840
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12881
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12896
CreateCompilation
(@"
12932
CreateCompilation
(@"
12960
CreateCompilation
(@"
12986
CreateCompilation
(@"
13025
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13050
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
13069
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13096
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13128
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13160
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13194
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13232
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13276
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13309
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13346
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13407
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13437
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13500
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13531
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13573
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13626
CreateCompilation
(text).VerifyEmitDiagnostics();
13672
CreateCompilation
(text).VerifyEmitDiagnostics(
13741
CreateCompilation
(text).VerifyEmitDiagnostics(
13787
CreateCompilation
(text).VerifyEmitDiagnostics();
13802
CreateCompilation
(text).VerifyEmitDiagnostics(
13826
CreateCompilation
(text).VerifyEmitDiagnostics(
13872
CreateCompilation
(text).VerifyEmitDiagnostics();
13886
CreateCompilation
(text).VerifyEmitDiagnostics();
13907
CreateCompilation
(new[] { text1, text2 }).VerifyEmitDiagnostics(
13913
CreateCompilation
(new[] { text2, text1 }).VerifyEmitDiagnostics(
13948
var comp =
CreateCompilation
(source);
13985
var comp =
CreateCompilation
(source);
14018
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14059
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14208
CreateCompilation
(text).VerifyEmitDiagnostics(
14291
CreateCompilation
(text).VerifyEmitDiagnostics(
14380
var comp =
CreateCompilation
(source);
14423
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14460
var comp =
CreateCompilation
(source);
14484
var comp =
CreateCompilation
(source);
14505
var comp =
CreateCompilation
(source);
14531
var comp =
CreateCompilation
(source1 + source2);
14539
comp =
CreateCompilation
(source2 + source1);
14557
var comp =
CreateCompilation
(source);
14571
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14601
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14605
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14622
var comp =
CreateCompilation
(source);
14669
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
14695
var comp =
CreateCompilation
(source);
14724
var comp =
CreateCompilation
(source);
14753
var comp =
CreateCompilation
(source);
14782
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14809
var comp =
CreateCompilation
(source);
14846
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14863
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14885
var comp =
CreateCompilation
(source);
14905
var comp =
CreateCompilation
(source);
14947
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14986
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15019
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15071
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
15102
var comp =
CreateCompilation
(source);
15136
var comp =
CreateCompilation
(source);
15170
var comp =
CreateCompilation
(source);
15204
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15236
var comp =
CreateCompilation
(source);
15278
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15300
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15327
var comp =
CreateCompilation
(source);
15352
var comp =
CreateCompilation
(source);
15399
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15443
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15459
var comp =
CreateCompilation
(source);
15485
var comp =
CreateCompilation
(source);
15507
var comp =
CreateCompilation
(source);
15526
var comp =
CreateCompilation
(source);
15553
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15585
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15607
var comp =
CreateCompilation
(source);
15626
var comp =
CreateCompilation
(source);
15659
var comp =
CreateCompilation
(source);
15700
var comp =
CreateCompilation
(source);
15721
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15743
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15764
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15785
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15843
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16073
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16094
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16119
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16137
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16163
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16189
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16207
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16225
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16251
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16277
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16303
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16329
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16350
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16415
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16597
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
16829
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17089
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17380
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17438
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17534
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17623
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17754
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17963
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18225
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
18522
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18867
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19037
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19260
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19334
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19487
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19570
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19619
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19692
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19717
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19747
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19772
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19793
var comp =
CreateCompilation
(new[] { source1, source2 });
19823
var comp =
CreateCompilation
([source1, source2]);
19859
var comp =
CreateCompilation
([source1, source2]);
19891
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19926
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19962
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
19988
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20011
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20123
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20188
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20223
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20266
var comp =
CreateCompilation
(src);
20296
var comp =
CreateCompilation
(source);
20320
var comp =
CreateCompilation
(source);
20362
var comp =
CreateCompilation
(new[] { source1, source2 });
20409
var comp =
CreateCompilation
(new[] { source1, source2 });
20442
var comp =
CreateCompilation
(new[] { source1, source2 });
20503
var comp =
CreateCompilation
(new[] { source1, source2, source3 });
20526
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20560
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20608
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended);
20632
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
20652
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20685
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20726
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20770
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20817
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20873
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20905
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20937
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20969
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20991
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21013
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21042
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21064
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21098
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21135
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21169
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21206
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21241
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21276
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21311
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21344
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21375
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21404
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21444
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21475
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21512
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21561
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21604
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21643
var comp =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.ReleaseDll);
21653
comp =
CreateCompilation
(source2 + source1 + source3, options: TestOptions.ReleaseDll);
21685
var comp =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.ReleaseDll);
21726
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21791
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21852
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21913
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21949
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
21968
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
21987
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22036
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22065
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22080
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22101
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22127
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22153
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22184
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22206
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22251
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseDll);
22317
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22355
var comp =
CreateCompilation
(source);
22400
var comp =
CreateCompilation
(source);
22441
var comp1 =
CreateCompilation
(
22446
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22449
var comp3 =
CreateCompilation
([source2], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22490
var comp1 =
CreateCompilation
(
22495
var comp2 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22498
var comp3 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22531
var comp1 =
CreateCompilation
(
22556
var comp0 =
CreateCompilation
(source0);
22584
var comp1 =
CreateCompilation
(
22589
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22615
var comp0 =
CreateCompilation
(source0);
22643
var comp1 =
CreateCompilation
(
22648
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
(@"
5991
var compilation =
CreateCompilation
(@"
6114
var compilation =
CreateCompilation
(@"
6232
var compilation =
CreateCompilation
(@"
6495
var compilation =
CreateCompilation
(@"
6771
var comp =
CreateCompilation
(@"
6913
var comp =
CreateCompilation
(@"
7007
var comp =
CreateCompilation
(@"
7339
var comp =
CreateCompilation
(@"
7589
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7673
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7719
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7806
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7857
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
7952
var comp =
CreateCompilation
(source + IOperationTests_IInlineArrayAccessOperation.Buffer10Definition, targetFramework: TargetFramework.Net80);
8001
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 (11702)
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 (13)
81
var csCompilation =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
151
var comp =
CreateCompilation
(src);
189
var comp =
CreateCompilation
(src);
232
var comp =
CreateCompilation
(src);
459
var comp =
CreateCompilation
(source);
608
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
659
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
707
var comp =
CreateCompilation
(text);
733
var comp =
CreateCompilation
(text);
772
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
836
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
883
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
912
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp);
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)
1556
var compilation =
CreateCompilation
(source);
1595
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1600
compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1632
var compilation =
CreateCompilation
(source, parseOptions: useCSharp9 ? TestOptions.Regular9 : TestOptions.Regular10, targetFramework: TargetFramework.Net70);
Semantics\BindingAsyncTests.cs (4)
1088
CreateCompilation
(source).VerifyEmitDiagnostics(
3971
var comp =
CreateCompilation
(src);
4073
var comp =
CreateCompilation
(src);
4132
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);
19549
CreateCompilation
(source).VerifyDiagnostics(
19569
CreateCompilation
(source).VerifyDiagnostics(
19591
CreateCompilation
(source).VerifyDiagnostics(
19610
CreateCompilation
(source).VerifyDiagnostics();
19632
CreateCompilation
(source).VerifyDiagnostics(
19653
CreateCompilation
(source).VerifyDiagnostics(
19697
CreateCompilation
(source).VerifyDiagnostics(
19738
CreateCompilation
(source).VerifyDiagnostics(
19779
CreateCompilation
(source).VerifyDiagnostics(
19816
CreateCompilation
(source).VerifyDiagnostics(
19837
CreateCompilation
(source).VerifyDiagnostics(
19862
var comp =
CreateCompilation
(source);
19901
var comp =
CreateCompilation
(source);
Semantics\DynamicTests.cs (170)
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
(
11764
var comp1 =
CreateCompilation
(
11806
var comp1 =
CreateCompilation
(
11846
var comp1 =
CreateCompilation
(
11886
var comp1 =
CreateCompilation
(
11903
comp1 =
CreateCompilation
(
11948
var comp1 =
CreateCompilation
(
11970
comp1 =
CreateCompilation
(
12015
var comp1 =
CreateCompilation
(
12058
var comp1 =
CreateCompilation
(
12078
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);
1838
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
2064
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
4149
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4176
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4228
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4267
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4312
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4344
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4383
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: signedDll);
4384
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: signedDll);
4396
var libAv1 =
CreateCompilation
(
4414
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) },
4595
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4627
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4659
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4697
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 (187)
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();
9844
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
9890
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
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);
6790
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6836
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) }, targetFramework: TargetFramework.NetCoreApp);
6883
var comp =
CreateCompilation
(new[]
6960
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute });
6990
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7018
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7050
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7084
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7125
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7159
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7200
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7237
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7278
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7312
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7353
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7386
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7420
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7460
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7500
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7540
var comp =
CreateCompilation
(@"C.M(1, $"""");", references: new[] { vbComp.EmitToImageReference() });
7581
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7617
var comp =
CreateCompilation
(@"C.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7658
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
7694
var comp =
CreateCompilation
(@"_ = new C($"""");", references: new[] { vbComp.EmitToImageReference() });
7735
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
7775
var comp =
CreateCompilation
(@"C<CustomHandler>.M($"""");", references: new[] { vbComp.EmitToImageReference() });
7828
var comp =
CreateCompilation
(new[] { code, goodCode, InterpolatedStringHandlerArgumentAttribute, handler });
7845
comp =
CreateCompilation
(new[] { code, badCode, InterpolatedStringHandlerArgumentAttribute, handler });
7947
var comp =
CreateCompilation
("", references: new[] { vbComp.EmitToImageReference() });
7985
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
8023
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, customHandler });
8051
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8054
CreateCompilation
(@"C.M(1, " + expression + @");", new[] { comp.ToMetadataReference() }).VerifyDiagnostics(
8100
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8107
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8112
comp =
CreateCompilation
(executableCode, new[] { dependency.EmitToImageReference() });
8122
comp =
CreateCompilation
(executableCode, new[] { dependency.ToMetadataReference() });
8158
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: parseOptions);
8226
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8390
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8394
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8399
comp =
CreateCompilation
(executableCode, new[] { d });
8444
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8452
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8563
var comp =
CreateCompilation
(new[] { code, executableCode, InterpolatedStringHandlerArgumentAttribute, handler });
8574
var dependency =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8707
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
8871
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9004
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9141
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9242
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9305
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute });
9309
CreateCompilation
(@"C.M(1, """", " + expression + @");", new[] { comp.EmitToImageReference() }).VerifyDiagnostics(
9370
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9486
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9603
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9726
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9800
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
9844
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10069
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
10116
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
10169
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10272
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.DebugExe);
10419
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10518
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10616
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10670
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10769
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10868
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
10966
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11010
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
11065
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11150
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11262
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11514
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11699
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11799
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11866
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
11954
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, options: TestOptions.ReleaseExe);
12030
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12092
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12226
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12323
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12615
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
12879
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13136
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13205
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13260
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13489
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
13541
var comp =
CreateCompilation
(code, new[] { vbComp.EmitToImageReference() });
13575
var comp =
CreateCompilation
(new[] { code, handler });
13592
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13651
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13711
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13773
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13835
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
13927
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
14046
var comp =
CreateCompilation
(code);
14068
var comp =
CreateCompilation
(code);
14101
var comp =
CreateCompilation
(new[] { code, customHandler });
14146
var comp =
CreateCompilation
(new[] { code, customHandler });
14183
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
14212
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
14244
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14289
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14334
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14377
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14426
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14482
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14578
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14677
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Mscorlib461AndCSharp);
14800
var comp =
CreateCompilation
([source, InterpolatedStringHandlerAttribute], targetFramework: TargetFramework.StandardAndCSharp);
14852
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14909
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
14952
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
14955
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
14984
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15021
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15024
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15061
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15064
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15101
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15113
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15159
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15162
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15193
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15196
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15227
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15230
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, targetFramework: TargetFramework.Net50);
15264
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15302
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15315
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15357
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15360
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15408
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15449
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15485
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: TargetFramework.Net50);
15536
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15579
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net50);
15601
comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net50);
15641
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute }, targetFramework: TargetFramework.Net50);
15669
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15702
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15738
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15783
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15824
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15864
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15955
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
15994
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16034
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16073
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16117
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16160
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16221
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16263
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16302
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16327
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16373
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16428
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16490
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16524
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16579
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16606
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16651
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: false) });
16707
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringHandlerDefinition(includeSpanOverloads: false, useDefaultParameters: false, useBoolReturns: true) });
16731
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
16806
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17323
var comp =
CreateCompilation
(code);
17487
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
17501
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17565
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17738
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17759
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17823
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17896
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
17928
var comp =
CreateCompilation
(code, references: new[] { vbComp.EmitToImageReference() });
18196
var comp =
CreateCompilation
(new[] { code, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false) });
18230
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18399
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18434
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, parseOptions: TestOptions.Regular11);
18486
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
18538
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18593
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "partial struct", useBoolReturns: false) });
18669
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18688
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
18702
var comp =
CreateCompilation
(text).VerifyDiagnostics(
18756
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18793
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18830
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18867
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18902
CreateCompilation
(code, targetFramework: TargetFramework.Net60).VerifyDiagnostics(
18929
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
18965
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
19018
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
19100
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler });
19199
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
19312
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerArgumentAttribute, handler }, options: TestOptions.DebugExe);
19423
CreateCompilation
(source).VerifyDiagnostics(
19442
CreateCompilation
(source).VerifyEmitDiagnostics(
19458
var comp =
CreateCompilation
(source);
19520
var comp =
CreateCompilation
(source);
19575
var comp =
CreateCompilation
(source);
Semantics\IteratorTests.cs (28)
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
(
878
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
897
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
947
var comp1 =
CreateCompilation
(
997
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
1014
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
1058
var comp1 =
CreateCompilation
(
1077
comp1 =
CreateCompilation
(
1128
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1150
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1172
comp1 =
CreateCompilation
([source1, source4, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1225
var comp1 =
CreateCompilation
(
1281
var comp1 =
CreateCompilation
(
1334
var comp1 =
CreateCompilation
(
1358
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 (272)
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);
2888
var comp =
CreateCompilation
(src);
2914
var comp =
CreateCompilation
(src);
2991
var comp =
CreateCompilation
(tree);
3033
var comp =
CreateCompilation
(tree);
3074
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3092
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3095
comp =
CreateCompilation
(source);
3118
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3133
comp =
CreateCompilation
(source);
3156
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3174
comp =
CreateCompilation
(source);
3197
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3212
comp =
CreateCompilation
(source);
3235
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3250
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3253
comp =
CreateCompilation
(source);
3275
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3287
comp =
CreateCompilation
(source);
3309
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3324
comp =
CreateCompilation
(source);
3351
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3366
comp =
CreateCompilation
(source);
3384
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3390
comp =
CreateCompilation
(source);
3408
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3414
comp =
CreateCompilation
(source);
3432
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3441
comp =
CreateCompilation
(source);
3459
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3471
comp =
CreateCompilation
(source);
3497
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3506
comp =
CreateCompilation
(source);
3536
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3551
comp =
CreateCompilation
(source);
3605
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.Regular10, options: TestOptions.ReleaseExe);
3673
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3691
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3727
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
3730
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
3757
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
3774
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3809
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3925
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4019
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4054
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4082
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4108
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.ReleaseExe);
4143
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, parseOptions: TestOptions.RegularPreview);
4199
var comp =
CreateCompilation
(
4232
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4279
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4353
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4400
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
4480
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4527
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4576
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition, NotNullWhenAttributeDefinition, MaybeNullAttributeDefinition });
4633
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition, NotNullAttributeDefinition });
4680
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
4719
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4747
var comp =
CreateCompilation
(source);
4772
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4808
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
4838
var comp =
CreateCompilation
(new[] { source, UnmanagedCallersOnlyAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
4858
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4892
CreateCompilation
(source).VerifyDiagnostics(
4916
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4943
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
4969
var comp =
CreateCompilation
(
5010
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, parseOptions: TestOptions.RegularPreview);
5042
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
5054
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
5075
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5102
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5130
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5156
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5180
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5206
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5240
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5278
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5319
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5355
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5381
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5426
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5449
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5477
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5501
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5528
var comp =
CreateCompilation
(source);
5559
var comp =
CreateCompilation
(source);
5590
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5623
var comp =
CreateCompilation
(source);
5703
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5737
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
5759
var comp =
CreateCompilation
(source);
5793
var comp =
CreateCompilation
(source);
5825
var comp =
CreateCompilation
(source);
5858
var comp =
CreateCompilation
(source);
5885
var comp =
CreateCompilation
(source);
5908
var comp =
CreateCompilation
(source);
5930
var comp =
CreateCompilation
(source);
5955
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5983
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6027
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6030
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6055
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6089
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6116
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6162
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6183
var comp =
CreateCompilation
(source);
6206
var comp =
CreateCompilation
(source);
6231
var comp =
CreateCompilation
(source);
6253
var comp =
CreateCompilation
(source);
6274
var comp =
CreateCompilation
(source);
6296
var comp =
CreateCompilation
(source);
6317
var comp =
CreateCompilation
(source);
6338
var comp =
CreateCompilation
(source);
6360
var comp =
CreateCompilation
(source);
6381
var comp =
CreateCompilation
(source);
6402
var comp =
CreateCompilation
(source);
6423
var comp =
CreateCompilation
(source);
6444
var comp =
CreateCompilation
(source);
6464
var comp =
CreateCompilation
(source);
6484
var comp =
CreateCompilation
(source);
6516
var comp =
CreateCompilation
(@"
6552
var comp =
CreateCompilation
(@"
6587
var comp =
CreateCompilation
(@"
6621
var comp =
CreateCompilation
(@"
6657
var comp =
CreateCompilation
(@"
6689
var comp =
CreateCompilation
(@"
6712
var comp =
CreateCompilation
(@"
6745
var comp =
CreateCompilation
(@"
6769
var comp =
CreateCompilation
(@"
6793
var comp =
CreateCompilation
(@"
6822
var comp =
CreateCompilation
(@"
6863
var comp =
CreateCompilation
(source);
6896
CreateCompilation
("""
6916
CreateCompilation
("""
6951
CreateCompilation
("""
6997
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7023
var comp =
CreateCompilation
(source);
7052
var comp =
CreateCompilation
(source);
7083
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7122
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7127
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
7146
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
7165
var comp =
CreateCompilation
(source);
7187
var comp =
CreateCompilation
(source);
7210
var comp =
CreateCompilation
(source);
7230
var comp =
CreateCompilation
(source);
7252
var comp =
CreateCompilation
(source);
7271
var comp =
CreateCompilation
(source);
7293
var comp =
CreateCompilation
(source);
7312
var comp =
CreateCompilation
(source);
7344
var comp =
CreateCompilation
(source);
7373
var comp =
CreateCompilation
(source);
7397
var comp =
CreateCompilation
(source);
7417
var comp =
CreateCompilation
(source);
7446
var comp =
CreateCompilation
(source);
7469
var comp =
CreateCompilation
(source);
7490
var comp =
CreateCompilation
(source);
7508
var comp =
CreateCompilation
(source);
7528
var comp =
CreateCompilation
(source);
7544
var comp =
CreateCompilation
(source);
7560
var comp =
CreateCompilation
(source);
7576
var comp =
CreateCompilation
(source);
7595
var comp =
CreateCompilation
(source);
7613
var comp =
CreateCompilation
(source);
7651
var comp =
CreateCompilation
(source);
7673
var comp =
CreateCompilation
(source);
7695
var comp =
CreateCompilation
(source);
7714
var comp =
CreateCompilation
(source);
7733
var comp =
CreateCompilation
(source);
7756
var comp =
CreateCompilation
(source);
7773
var comp =
CreateCompilation
(source);
7797
var comp =
CreateCompilation
(source);
7821
var comp =
CreateCompilation
(source);
7845
var comp =
CreateCompilation
(source);
7871
CreateCompilation
(source).VerifyDiagnostics(
7897
CreateCompilation
(source).VerifyDiagnostics(
7915
CreateCompilation
(source).VerifyDiagnostics(
7929
CreateCompilation
(source).VerifyDiagnostics(
7941
CreateCompilation
(source).VerifyDiagnostics(
7959
CreateCompilation
(source).VerifyDiagnostics();
7975
CreateCompilation
(source).VerifyDiagnostics(
7991
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8039
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8064
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8096
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8136
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8187
CreateCompilation
(source).VerifyDiagnostics(
8213
var comp =
CreateCompilation
(tree);
8238
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8243
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
8255
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
8289
CreateCompilation
(source).VerifyDiagnostics(
8301
CreateCompilation
(source).VerifyDiagnostics(
8324
CreateCompilation
(source).VerifyDiagnostics(
8341
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8374
var comp =
CreateCompilation
(source);
8450
CreateCompilation
(source).VerifyDiagnostics(
8462
CreateCompilation
(source).VerifyDiagnostics(
8474
CreateCompilation
(source).VerifyDiagnostics(
8487
CreateCompilation
(source).VerifyDiagnostics(
8500
CreateCompilation
(source).VerifyDiagnostics();
8512
CreateCompilation
(source).VerifyDiagnostics(
8524
CreateCompilation
(source).VerifyDiagnostics(
8536
CreateCompilation
(source).VerifyDiagnostics(
8639
var comp =
CreateCompilation
(source);
8662
var comp =
CreateCompilation
(source);
8690
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
8745
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
8782
CreateCompilation
(source, options: TestOptions.ReleaseModule).VerifyDiagnostics(
8803
CreateCompilation
(source, options: TestOptions.ReleaseModule).VerifyDiagnostics(
8825
CreateCompilation
([source, ExtensionMarkerAttributeDefinition], options: TestOptions.ReleaseModule).VerifyDiagnostics(
8843
var comp =
CreateCompilation
(source1);
8890
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8920
CreateCompilation
(source).VerifyDiagnostics(
8948
var compilation =
CreateCompilation
(source, parseOptions: options);
8998
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
9027
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
9057
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
9084
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
9114
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
9149
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
9188
var comp1 =
CreateCompilation
(
9228
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
9243
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
9285
var comp1 =
CreateCompilation
(
9302
comp1 =
CreateCompilation
(
Semantics\LocalFunctionTests.cs (250)
50
var comp =
CreateCompilation
(source);
338
var comp =
CreateCompilation
(tree);
386
var comp = (Compilation)
CreateCompilation
(tree);
433
var comp =
CreateCompilation
(tree);
478
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
526
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
597
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
650
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
704
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
752
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
790
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
837
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
880
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
895
comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
940
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1010
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1044
var comp =
CreateCompilation
(text);
1075
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1112
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1196
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1277
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1342
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1373
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular9);
1409
var comp =
CreateCompilation
(text);
1438
var comp =
CreateCompilation
(source);
1446
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1483
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1512
var compWithUnsafe =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1519
var comp =
CreateCompilation
(@"
1538
var comp =
CreateCompilation
(@"
1564
var comp =
CreateCompilation
(@"
1592
var comp =
CreateCompilation
(@"
1608
var comp =
CreateCompilation
(@"
1628
var comp =
CreateCompilation
(@"
1649
var comp =
CreateCompilation
(@"
1686
var comp =
CreateCompilation
(tree);
1733
var comp = (Compilation)
CreateCompilation
(@"
1808
var comp = (Compilation)
CreateCompilation
(@"
1893
var comp =
CreateCompilation
(tree);
1949
var comp =
CreateCompilation
(tree);
2017
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2148
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular7_3);
2178
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular8);
2203
var comp =
CreateCompilation
(@"
2361
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12.WithFeature("run-nullable-analysis", "never"));
2435
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular13.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2436
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never")).VerifyDiagnostics(expectedDiagnostics);
2443
var comp =
CreateCompilation
(@"
2528
var comp =
CreateCompilation
(@"
2577
var comp =
CreateCompilation
(source);
2692
var comp =
CreateCompilation
(source);
2716
var comp =
CreateCompilation
(source);
2743
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
2797
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
2835
CreateCompilation
(source, options: TestOptions.ReleaseModule).VerifyDiagnostics(
2858
CreateCompilation
([source, ExtensionMarkerAttributeDefinition], options: TestOptions.ReleaseModule).VerifyDiagnostics(
2876
var comp =
CreateCompilation
(source1);
3151
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
3339
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3345
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3363
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
3372
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
3512
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(true));
3961
var comp =
CreateCompilation
(source);
3982
var comp =
CreateCompilation
(source);
4040
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
4044
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4047
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
4319
CreateCompilation
(source, options: option, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp6)).VerifyDiagnostics(
5057
CreateCompilation
(source).VerifyDiagnostics();
5406
var comp =
CreateCompilation
(src);
5559
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5562
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5565
comp =
CreateCompilation
(source);
5608
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5626
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
5629
comp =
CreateCompilation
(source);
5652
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5670
comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source);
5715
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5732
comp =
CreateCompilation
(source);
5754
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5772
comp =
CreateCompilation
(source);
5798
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5816
comp =
CreateCompilation
(source);
5846
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5849
comp =
CreateCompilation
(source);
5885
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5903
comp =
CreateCompilation
(source);
5925
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
5937
comp =
CreateCompilation
(source);
5968
var comp =
CreateCompilation
(source);
5998
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6007
comp =
CreateCompilation
(source);
6032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6040
comp =
CreateCompilation
(source);
6060
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6065
comp =
CreateCompilation
(source);
6086
var comp =
CreateCompilation
(source);
6117
var comp =
CreateCompilation
(source);
6147
var comp =
CreateCompilation
(source);
6172
var comp =
CreateCompilation
(source);
6251
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithPreprocessorSymbols("MyDefine"));
6254
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular);
6292
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6332
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6363
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6399
var comp =
CreateCompilation
(new[] { NotNullIfNotNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6430
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6468
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6498
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6527
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6568
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6595
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6624
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, parseOptions: TestOptions.Regular9);
6642
var comp =
CreateCompilation
(source);
6661
var comp =
CreateCompilation
(source);
6682
var comp =
CreateCompilation
(source);
6710
var comp =
CreateCompilation
(source);
6743
var comp =
CreateCompilation
(source);
6787
var comp =
CreateCompilation
(source);
6834
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
6905
var comp =
CreateCompilation
(source);
6928
var comp =
CreateCompilation
(source);
6957
var comp =
CreateCompilation
(source);
6983
var comp =
CreateCompilation
(source);
7012
var comp =
CreateCompilation
(source);
7044
var comp =
CreateCompilation
(source);
7099
var comp =
CreateCompilation
(source);
7129
var comp =
CreateCompilation
(source);
7173
var comp =
CreateCompilation
(source);
7332
var comp =
CreateCompilation
(source);
7386
var comp =
CreateCompilation
(source);
7445
var comp =
CreateCompilation
(source);
7494
var comp =
CreateCompilation
(source);
7557
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7587
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7615
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7645
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7719
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7790
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
7814
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7864
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
7923
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
7987
var comp =
CreateCompilation
(@"
8023
var comp =
CreateCompilation
(@"
8058
var comp =
CreateCompilation
(@"
8095
var comp =
CreateCompilation
(@"
8131
var comp =
CreateCompilation
(@"
8167
var comp =
CreateCompilation
(@"
8202
var comp =
CreateCompilation
(@"
8229
var comp =
CreateCompilation
(@"
8263
var comp =
CreateCompilation
(@"
8297
var comp =
CreateCompilation
(@"
8324
var comp =
CreateCompilation
(@"
8353
var comp =
CreateCompilation
(@"
8372
var comp =
CreateCompilation
(@"
8391
var comp =
CreateCompilation
(@"
8418
var comp =
CreateCompilation
(@"
8454
var comp =
CreateCompilation
(@"
8490
var comp =
CreateCompilation
(@"
8517
var comp =
CreateCompilation
(@"
8544
var comp =
CreateCompilation
(@"
8578
var comp =
CreateCompilation
(@"
8605
var comp =
CreateCompilation
(@"
8641
var comp =
CreateCompilation
(@"
8676
var comp =
CreateCompilation
(@"
8703
var comp =
CreateCompilation
(@"
8738
var comp =
CreateCompilation
(@"
8757
var comp =
CreateCompilation
(@"
8786
var comp =
CreateCompilation
(@"
8817
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
8821
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
8837
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular10);
8841
comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: TestOptions.Regular11);
8863
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8884
var comp =
CreateCompilation
(source);
8896
var comp =
CreateCompilation
(source);
8917
var comp =
CreateCompilation
(source);
8943
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
8975
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9033
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
9072
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
9113
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9155
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9189
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9220
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9288
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9309
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9333
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9357
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9381
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9404
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9427
var comp =
CreateCompilation
(source);
9454
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9471
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9491
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9500
var comp =
CreateCompilation
(@"
9536
var comp =
CreateCompilation
(@"
9571
var comp =
CreateCompilation
(@"
9608
var comp =
CreateCompilation
(@"
9660
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9688
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9724
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
9767
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9787
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9814
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9845
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
9879
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9896
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9916
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9936
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9959
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
9982
var comp =
CreateCompilation
(source);
10013
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
10042
var comp =
CreateCompilation
(source, parseOptions: parseOptions);
10082
var comp =
CreateCompilation
(source, parseOptions: useCSharp10 ? TestOptions.Regular10 : TestOptions.Regular11);
10091
var comp =
CreateCompilation
(@"
10125
var comp =
CreateCompilation
(@"
10151
var comp =
CreateCompilation
(@"
10177
var comp =
CreateCompilation
(@"
10218
var comp =
CreateCompilation
(@"
10258
var comp =
CreateCompilation
(@"
10292
var comp =
CreateCompilation
(@"
10323
var comp =
CreateCompilation
(@"
10347
var comp =
CreateCompilation
(@"
10378
var comp =
CreateCompilation
(@"
10402
var comp =
CreateCompilation
(@"
10435
var comp =
CreateCompilation
(@"
10473
var comp =
CreateCompilation
(text);
10521
CreateCompilation
(text).VerifyDiagnostics(
10558
CreateCompilation
(text).VerifyDiagnostics();
10593
CreateCompilation
(text).VerifyDiagnostics(
10628
CreateCompilation
(text).VerifyDiagnostics(
10665
CreateCompilation
(text).VerifyDiagnostics(
10675
var compilation =
CreateCompilation
("""
10719
var comp =
CreateCompilation
(src);
10755
var comp =
CreateCompilation
(src);
10785
var comp =
CreateCompilation
(src);
10815
var comp =
CreateCompilation
(src);
10848
var comp =
CreateCompilation
(src);
10878
var comp =
CreateCompilation
(src);
10919
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10948
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
10977
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
11007
var comp =
CreateCompilation
([source, MemberNotNullAttributeDefinition]);
11042
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net60);
11083
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 (3742)
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);
8676
CSharpCompilation c =
CreateCompilation
(new[] { @"
8808
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8815
var comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8818
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8823
comp1 =
CreateCompilation
(source1, references: compRefs0);
8826
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8831
comp0 =
CreateCompilation
(source0);
8838
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8841
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8846
comp1 =
CreateCompilation
(source1, references: compRefs0);
8849
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8853
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8856
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8861
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
8868
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8871
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8876
comp1 =
CreateCompilation
(source1, references: compRefs0);
8879
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8883
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8889
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8925
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8942
var comp1A =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
8945
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
8972
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8992
var comp1A =
CreateCompilation
(source1, references: new[] { new CSharpCompilationReference(comp0) });
8995
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9014
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9040
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9078
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9080
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9152
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9155
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9171
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9239
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9243
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9247
var comp2A =
CreateCompilation
(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7);
9250
var comp2B =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9253
var comp2C =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9274
var comp2D =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 });
9322
var comp0 =
CreateCompilation
(source0);
9333
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9337
var comp2 =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9365
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9369
comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9373
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9421
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9424
var comp1 =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
9427
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9445
var comp =
CreateCompilation
(new[] { source });
9464
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9475
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9489
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9497
var lib =
CreateCompilation
(lib_cs, assemblyName: "lib");
9500
var lib2 =
CreateCompilation
(lib2_cs, references: new[] { lib.EmitToImageReference() }, assemblyName: "lib2");
9506
var comp =
CreateCompilation
(source_cs, references: new[] { lib2.EmitToImageReference() });
9531
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9545
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9563
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9650
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9714
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9732
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9801
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9851
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9860
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9920
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9953
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9964
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10029
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10080
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10092
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10158
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10200
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10210
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10275
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10309
var obliviousComp =
CreateCompilation
(new[] { obliviousLib });
10312
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
10327
var comp =
CreateCompilation
(new[] { source });
10346
var comp =
CreateCompilation
(new[] { source });
10376
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10379
comp =
CreateCompilation
(new[] { source });
10382
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10401
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10404
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
10410
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10424
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10438
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10508
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10608
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10681
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10767
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10842
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10930
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10973
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11024
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11075
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11120
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
11167
var comp =
CreateCompilation
(new[] { source });
11242
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
11327
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11358
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11382
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11403
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11426
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11447
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11485
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11560
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11619
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11686
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11725
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11753
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11813
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
11878
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11916
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11992
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12074
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12169
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12240
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12301
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12391
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12447
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
12481
var comp =
CreateCompilation
(new[] { source });
12508
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12556
var comp =
CreateCompilation
(new[] { source });
12600
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12658
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12757
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12863
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12945
var compilation =
CreateCompilation
(new[] { source });
13011
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13102
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13181
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13243
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13305
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13373
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13446
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13504
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13551
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13584
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13622
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13659
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13721
var compilation =
CreateCompilation
(new[] { source });
13846
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource, prependDefaultHeader: false) },
13889
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13959
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14010
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14067
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14123
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14167
var compilation =
CreateCompilation
(new[] { source });
14220
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14276
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14330
var compilation1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
14335
var compilation2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(),
14382
var compilation1 =
CreateCompilation
(new[] { source1 }, options: options1);
14389
var compilation2 =
CreateCompilation
(new[] { source2 }, options: options2,
14396
var compilation3 =
CreateCompilation
(new[] { source1, source2 }, options: options1);
14400
var compilation4 =
CreateCompilation
(new[] { source2, source1 }, options: options1);
14432
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14482
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14558
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14660
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14687
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14760
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14866
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14897
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14927
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14943
var comp =
CreateCompilation
(@"
14987
var comp =
CreateCompilation
(@"
15049
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15103
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15168
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15210
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15243
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15268
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15316
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15337
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15358
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15379
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15400
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15433
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15466
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15492
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15534
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15555
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15576
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15597
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15618
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15666
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15723
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15791
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15850
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15896
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15924
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15945
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15979
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16007
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16035
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16056
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16084
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16131
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16175
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16229
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16257
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16295
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16339
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16396
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16438
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16489
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16545
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16617
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16702
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16787
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16860
var comp =
CreateCompilation
(source, options: WithNullableEnable());
16993
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17068
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17140
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17166
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
17182
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: WithNullableEnable());
17226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17342
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17402
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17470
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17551
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17635
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17719
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17780
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17830
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
17861
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17885
compilation =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
17906
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17979
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
18031
var compilation =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
18100
CreateCompilation
(new[] { source }, options: WithNullableEnable()).
18126
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18133
CSharpCompilation c =
CreateCompilation
(
18632
CSharpCompilation c =
CreateCompilation
(new[] { @"
18780
CSharpCompilation c =
CreateCompilation
(new[] { @"
18812
CSharpCompilation c =
CreateCompilation
(new[] { @"
18874
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18938
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18960
var c2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable());
18971
CSharpCompilation c =
CreateCompilation
(new[] { @"
19016
CSharpCompilation c =
CreateCompilation
(new[] { @"
19061
CSharpCompilation c =
CreateCompilation
(new[] { @"
19093
CSharpCompilation c =
CreateCompilation
(new[] { @"
19128
CSharpCompilation c =
CreateCompilation
(new[] { @"
19191
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19245
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19269
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19305
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19339
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19349
CSharpCompilation c =
CreateCompilation
(new[] { @"
19414
CSharpCompilation c =
CreateCompilation
(new[] { @"
19491
CSharpCompilation c =
CreateCompilation
(new[] { @"
19534
CSharpCompilation c =
CreateCompilation
(new[] { @"
19598
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19627
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19646
CSharpCompilation c0 =
CreateCompilation
(@"
19668
CSharpCompilation c =
CreateCompilation
(new[] { @"
19797
CSharpCompilation c0 =
CreateCompilation
(@"
19804
CSharpCompilation c =
CreateCompilation
(new[] { @"
19865
CSharpCompilation c0 =
CreateCompilation
(@"
19872
CSharpCompilation c =
CreateCompilation
(new[] { @"
19910
CSharpCompilation c0 =
CreateCompilation
(@"
19917
CSharpCompilation c =
CreateCompilation
(new[] { @"
19981
CSharpCompilation c0 =
CreateCompilation
(@"
19988
CSharpCompilation c =
CreateCompilation
(new[] { @"
20031
CSharpCompilation c0 =
CreateCompilation
(@"
20038
CSharpCompilation c =
CreateCompilation
(new[] { @"
20111
CSharpCompilation c0 =
CreateCompilation
(@"
20118
CSharpCompilation c =
CreateCompilation
(new[] { @"
20166
CSharpCompilation c0 =
CreateCompilation
(@"
20186
CSharpCompilation c =
CreateCompilation
(new[] { @"
20293
CSharpCompilation c =
CreateCompilation
(new[] { @"
20331
CSharpCompilation c =
CreateCompilation
(new[] { @"
20367
CSharpCompilation c =
CreateCompilation
(new[] { @"
20400
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20434
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20454
CSharpCompilation c =
CreateCompilation
(new[] { @"
20512
CSharpCompilation c =
CreateCompilation
(new[] { @"
20556
CSharpCompilation c =
CreateCompilation
(new[] { @"
20600
CSharpCompilation c =
CreateCompilation
(new[] { @"
20635
CSharpCompilation c =
CreateCompilation
(new[] { @"
20681
CSharpCompilation c =
CreateCompilation
(new[] { @"
20727
CSharpCompilation c =
CreateCompilation
(new[] { @"
20768
CSharpCompilation c =
CreateCompilation
(new[] { @"
20810
CSharpCompilation c =
CreateCompilation
(new[] { @"
21889
var c =
CreateCompilation
(["""
21908
var c =
CreateCompilation
(["""
21930
var c =
CreateCompilation
(["""
21949
var c =
CreateCompilation
(["""
23696
var c =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8);
23715
var c2 =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9);
26896
var c =
CreateCompilation
(@"
26927
var c =
CreateCompilation
(new[] { @"
26960
var c =
CreateCompilation
(new[] { @"
26999
var c =
CreateCompilation
(new[] { @"
27038
var c =
CreateCompilation
(new[] { @"
27074
var c =
CreateCompilation
(new[] { @"
27108
var c =
CreateCompilation
(new[] { @"
27140
var c =
CreateCompilation
(new[] { @"
27171
var c =
CreateCompilation
(new[] { @"
27200
var c =
CreateCompilation
(new[] { @"
27281
var comp =
CreateCompilation
(src);
27314
var comp =
CreateCompilation
(src);
27341
var comp =
CreateCompilation
(src);
27364
var comp =
CreateCompilation
(src);
27396
var comp =
CreateCompilation
(src);
27421
var comp =
CreateCompilation
(src);
27463
var comp =
CreateCompilation
(src);
27501
var comp =
CreateCompilation
(src);
27563
var comp =
CreateCompilation
(src);
27586
var c =
CreateCompilation
(new[] { @"
27617
var c =
CreateCompilation
(new[] { @"
27648
var c =
CreateCompilation
(new[] { @"
27684
var c =
CreateCompilation
(new[] { @"
27723
var c =
CreateCompilation
(new[] { @"
27760
var c =
CreateCompilation
(new[] { @"
27793
var c =
CreateCompilation
(new[] { @"
27826
var c =
CreateCompilation
(new[] { @"
27859
var c =
CreateCompilation
(new[] { @"
27897
var c =
CreateCompilation
(new[] { @"
27928
var c =
CreateCompilation
(new[] { @"
27963
var c =
CreateCompilation
(new[] { @"
28001
var c =
CreateCompilation
(new[] { @"
28030
var c =
CreateCompilation
(new[] { @"
28065
var c =
CreateCompilation
(new[] { @"
28106
var c =
CreateCompilation
(new[] { @"
28136
var c =
CreateCompilation
(new[] { @"
28170
var c =
CreateCompilation
(new[] { @"
28204
var c =
CreateCompilation
(new[] { @"
28238
var c =
CreateCompilation
(new[] { @"
28272
var c =
CreateCompilation
(new[] { @"
28306
var c =
CreateCompilation
(new[] { @"
28339
var c =
CreateCompilation
(new[] { @"
28366
var c =
CreateCompilation
(new[] { @"
28393
var c =
CreateCompilation
(new[] { @"
28420
var c =
CreateCompilation
(new[] { @"
28443
var c =
CreateCompilation
(new[] { @"
28470
var c =
CreateCompilation
(new[] { @"
28587
var c =
CreateCompilation
(new[] { @"
28618
var c =
CreateCompilation
(new[] { @"
28875
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }).VerifyDiagnostics(
29636
var c =
CreateCompilation
(new[] { @"
29799
var c =
CreateCompilation
(new[] { @"
29894
var c =
CreateCompilation
(new[] { @"
29925
var c =
CreateCompilation
(new[] { @"
29953
var c =
CreateCompilation
(new[] { @"
29983
var c =
CreateCompilation
(new[] { @"
30019
var c =
CreateCompilation
(new[] { @"
30048
var c =
CreateCompilation
(new[] { @"
30940
var c =
CreateCompilation
(new[] { @"
30968
var c =
CreateCompilation
(new[] { @"
31365
var c =
CreateCompilation
(new[] { @"
31397
var c =
CreateCompilation
(new[] { @"
31763
CSharpCompilation c =
CreateCompilation
(new[] { @"
31794
CSharpCompilation c =
CreateCompilation
(new[] { @"
31823
CSharpCompilation c =
CreateCompilation
(new[] { @"
31851
CSharpCompilation c =
CreateCompilation
(new[] { @"
31889
CSharpCompilation c =
CreateCompilation
(new[] { @"
31921
CSharpCompilation c =
CreateCompilation
(new[] { @"
31952
CSharpCompilation c =
CreateCompilation
(new[] { @"
31968
CSharpCompilation c =
CreateCompilation
(new[] { @"
32070
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition },
33936
CSharpCompilation c =
CreateCompilation
(new[] { @"
34717
CSharpCompilation c =
CreateCompilation
(new[] { @"
34754
CSharpCompilation c =
CreateCompilation
(new[] { @"
34794
CSharpCompilation c =
CreateCompilation
(new[] { @"
34812
CSharpCompilation c =
CreateCompilation
(new[] { @"
34830
CSharpCompilation c =
CreateCompilation
(new[] { @"
34849
CSharpCompilation c =
CreateCompilation
(new[] { @"
34871
CSharpCompilation c =
CreateCompilation
(new[] { @"
34890
CSharpCompilation c =
CreateCompilation
(new[] { @"
34915
CSharpCompilation c =
CreateCompilation
(new[] { @"
34941
CSharpCompilation c =
CreateCompilation
(new[] { @"
35021
CSharpCompilation c =
CreateCompilation
(new[] { @"
35045
CSharpCompilation c =
CreateCompilation
(new[] { @"
35065
CSharpCompilation c =
CreateCompilation
(new[] { @"
35100
var comp =
CreateCompilation
(source);
35107
CSharpCompilation c =
CreateCompilation
(new[] { @"
35132
CSharpCompilation c =
CreateCompilation
(new[] { @"
35154
CSharpCompilation c =
CreateCompilation
(new[] { @"
35178
CSharpCompilation c =
CreateCompilation
(new[] { @"
35205
CSharpCompilation c =
CreateCompilation
(new[] { @"
35230
CSharpCompilation c =
CreateCompilation
(new[] { @"
35254
CSharpCompilation c =
CreateCompilation
(new[] { @"
35281
CSharpCompilation c =
CreateCompilation
(new[] { @"
35302
var c =
CreateCompilation
(@"
35326
var c =
CreateCompilation
(@"
35351
var c =
CreateCompilation
(@"
35379
var c =
CreateCompilation
(@"
35408
var c =
CreateCompilation
(@"
35452
var c =
CreateCompilation
(@"
35487
var c =
CreateCompilation
(@"
35511
var c =
CreateCompilation
(@"
35535
var c =
CreateCompilation
(@"
35581
var c =
CreateCompilation
(@"
35618
var c =
CreateCompilation
(@"
35734
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition });
35766
var comp =
CreateCompilation
(source);
35790
var comp =
CreateCompilation
(source);
35825
var comp =
CreateCompilation
(source);
35860
var comp =
CreateCompilation
(source);
35955
var c =
CreateCompilation
(@"
35975
var c =
CreateCompilation
(@"
36000
var c =
CreateCompilation
(@"
36048
var c =
CreateCompilation
(@"
36075
var c =
CreateCompilation
(@"
36100
var c =
CreateCompilation
(@"
36134
var c =
CreateCompilation
(@"
36166
var c =
CreateCompilation
(@"
36190
var c =
CreateCompilation
(@"
36214
var c =
CreateCompilation
(@"
36234
var c =
CreateCompilation
(@"
36260
var c =
CreateCompilation
(@"
36304
CSharpCompilation c =
CreateCompilation
(new[] { @"
36325
CSharpCompilation c =
CreateCompilation
(new[] { @"
36346
CSharpCompilation c =
CreateCompilation
(new[] { @"
36371
CSharpCompilation c =
CreateCompilation
(new[] { @"
36398
CSharpCompilation c =
CreateCompilation
(new[] { @"
36419
CSharpCompilation c =
CreateCompilation
(new[] { @"
36446
CSharpCompilation c =
CreateCompilation
(new[] { @"
36470
CSharpCompilation c =
CreateCompilation
(new[] { @"
36494
CSharpCompilation c =
CreateCompilation
(new[] { @"
36514
CSharpCompilation c =
CreateCompilation
(new[] { @"
36538
CSharpCompilation c =
CreateCompilation
(new[] { @"
36559
CSharpCompilation c =
CreateCompilation
(new[] { @"
36586
CSharpCompilation c =
CreateCompilation
(new[] { @"
36612
CSharpCompilation c =
CreateCompilation
(@"
36632
CSharpCompilation c =
CreateCompilation
(new[] { @"
36654
CSharpCompilation c =
CreateCompilation
(new[] { @"
36674
var libComp =
CreateCompilation
(@"
36681
var comp =
CreateCompilation
(new[] { @"
36703
var comp =
CreateCompilation
(new[] { @"
36730
var obliviousComp =
CreateCompilation
(@"
36737
var comp =
CreateCompilation
(new[] { @"
36795
CSharpCompilation c =
CreateCompilation
(new[] { @"
36819
CSharpCompilation c =
CreateCompilation
(new[] { @"
36843
CSharpCompilation c =
CreateCompilation
(new[] { @"
36877
CSharpCompilation c =
CreateCompilation
(new[] { @"
36907
CSharpCompilation c =
CreateCompilation
(new[] { @"
36936
CSharpCompilation c =
CreateCompilation
(new[] { @"
37017
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
37289
CSharpCompilation c =
CreateCompilation
(new[] { @"
37335
CSharpCompilation c =
CreateCompilation
(new[] { @"
37356
CSharpCompilation c =
CreateCompilation
(new[] { @"
37380
CSharpCompilation c =
CreateCompilation
(new[] { @"
37402
CSharpCompilation c =
CreateCompilation
(new[] { @"
37427
CSharpCompilation c =
CreateCompilation
(new[] { @"
37454
CSharpCompilation c =
CreateCompilation
(new[] { @"
37495
CSharpCompilation c =
CreateCompilation
(new[] { @"
37521
CSharpCompilation c =
CreateCompilation
(new[] { @"
37540
CSharpCompilation c =
CreateCompilation
(new[] { @"
37563
CSharpCompilation c =
CreateCompilation
(new[] { @"
37586
CSharpCompilation c =
CreateCompilation
(new[] { @"
37613
CSharpCompilation c =
CreateCompilation
(new[] { @"
37641
CSharpCompilation c =
CreateCompilation
(new[] { @"
37661
CSharpCompilation c =
CreateCompilation
(new[] { @"
37687
CSharpCompilation c =
CreateCompilation
(new[] { $@"
37784
var comp =
CreateCompilation
(source);
37810
CSharpCompilation c =
CreateCompilation
(new[] { @"
37844
CSharpCompilation c =
CreateCompilation
(new[] { @"
37860
CSharpCompilation c =
CreateCompilation
(new[] { @"
37899
CSharpCompilation c =
CreateCompilation
(new[] { @"
37938
CSharpCompilation c =
CreateCompilation
(new[] { @"
37969
CSharpCompilation c =
CreateCompilation
(new[] { @"
37998
CSharpCompilation c =
CreateCompilation
(new[] { @"
38027
CSharpCompilation c =
CreateCompilation
(new[] { @"
38078
var compilation2 =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() });
38085
CSharpCompilation c =
CreateCompilation
(new[] { @"
38128
CSharpCompilation c =
CreateCompilation
(new[] { @"
38159
CSharpCompilation c =
CreateCompilation
(new[] { @"
38177
CSharpCompilation c =
CreateCompilation
(new[] { @"
38208
CSharpCompilation c =
CreateCompilation
(new[] { @"
38242
CSharpCompilation c =
CreateCompilation
(new[] { @"
38265
CSharpCompilation c =
CreateCompilation
(new[] { @"
38291
CSharpCompilation c =
CreateCompilation
(new[] { @"
38320
CSharpCompilation c =
CreateCompilation
(new[] { @"
38354
CSharpCompilation c =
CreateCompilation
(new[] { @"
38472
CSharpCompilation c =
CreateCompilation
(new[] { @"
38504
CSharpCompilation c =
CreateCompilation
(new[] { @"
38536
CSharpCompilation c =
CreateCompilation
(new[] { @"
38561
CSharpCompilation c =
CreateCompilation
(new[] { @"
38586
CSharpCompilation c =
CreateCompilation
(new[] { @"
38615
CSharpCompilation c =
CreateCompilation
(new[] { @"
38644
CSharpCompilation c =
CreateCompilation
(new[] { @"
38665
CSharpCompilation c =
CreateCompilation
(new[] { @"
38684
CSharpCompilation c =
CreateCompilation
(new[] { @"
38757
CSharpCompilation c =
CreateCompilation
(new[] { @"
38781
CSharpCompilation c =
CreateCompilation
(new[] { @"
38805
CSharpCompilation c =
CreateCompilation
(new[] { @"
38828
CSharpCompilation c =
CreateCompilation
(new[] { @"
38847
CSharpCompilation c =
CreateCompilation
(@"
38866
CSharpCompilation c =
CreateCompilation
(new[] { @"
38885
CSharpCompilation c =
CreateCompilation
(new[] { @"
38909
CSharpCompilation c =
CreateCompilation
(new[] { @"
38948
CSharpCompilation c =
CreateCompilation
(new[] { @"
38980
CSharpCompilation c =
CreateCompilation
(new[] { @"
38999
CSharpCompilation c =
CreateCompilation
(new[] { @"
39180
CSharpCompilation c =
CreateCompilation
(new[] { @"
39207
CSharpCompilation c =
CreateCompilation
(@"
39225
CSharpCompilation c =
CreateCompilation
(new[] { @"
39252
CSharpCompilation c =
CreateCompilation
(new[] { @"
39276
CSharpCompilation c =
CreateCompilation
(new[] { @"
39301
CSharpCompilation c =
CreateCompilation
(new[] { @"
39327
CSharpCompilation c =
CreateCompilation
(new[] { @"
39351
CSharpCompilation c =
CreateCompilation
(new[] { @"
39370
CSharpCompilation c =
CreateCompilation
(new[] { @"
39393
CSharpCompilation c =
CreateCompilation
(new[] { @"
39432
CSharpCompilation c =
CreateCompilation
(new[] { @"
39457
CSharpCompilation c =
CreateCompilation
(new[] { @"
39477
CSharpCompilation c =
CreateCompilation
(new[] { @"
39502
CSharpCompilation c =
CreateCompilation
(new[] { @"
39521
CSharpCompilation c =
CreateCompilation
(new[] { @"
39585
var comp =
CreateCompilation
(
39656
var comp =
CreateCompilation
(
39714
var comp =
CreateCompilation
(
39781
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
39858
var comp =
CreateCompilation
(
39896
var comp =
CreateCompilation
(
39942
var comp =
CreateCompilation
(
39994
var comp =
CreateCompilation
(
40070
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40188
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40222
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40292
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40306
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source0 }, options: WithNullableEnable());
40324
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
41257
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41302
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41726
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
42170
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
42222
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
43060
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43144
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43460
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43489
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43888
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44077
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, AllowNullAttributeDefinition, source }, options: WithNullableEnable());
44169
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44229
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44269
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44288
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source0 }, options: WithNullableEnable());
45848
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
45968
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46094
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable());
46192
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46218
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46236
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46253
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46286
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46303
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46346
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46374
var c =
CreateCompilation
(new[] { @"
47215
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source });
47244
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, MaybeNullWhenAttributeDefinition, source });
47299
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47375
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47421
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47440
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47454
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source0 }, options: WithNullableEnable());
47471
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
47634
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
48801
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
48844
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
48863
CSharpCompilation c =
CreateCompilation
(new[] { @"
48966
CSharpCompilation c =
CreateCompilation
(new[] { @"
49069
CSharpCompilation c =
CreateCompilation
(new[] { @"
49144
CSharpCompilation c =
CreateCompilation
(new[] { @"
49207
CSharpCompilation c =
CreateCompilation
(new[] { @"
49261
CSharpCompilation c =
CreateCompilation
(new[] { @"
49334
CSharpCompilation c =
CreateCompilation
(new[] { @"
49408
CSharpCompilation c =
CreateCompilation
(@"
49438
CSharpCompilation c =
CreateCompilation
(new[] { @"
49464
CSharpCompilation c =
CreateCompilation
(new[] { @"
49491
CSharpCompilation c =
CreateCompilation
(new[] { @"
49514
CSharpCompilation c =
CreateCompilation
(new[] { @"
49550
CSharpCompilation c =
CreateCompilation
(new[] { @"
49586
var compilation =
CreateCompilation
(new[] { @"
49727
var compilation =
CreateCompilation
(new[] { @"
49760
var compilation =
CreateCompilation
(new[] { @"
49786
var compilation =
CreateCompilation
(new[] { @"
49813
var compilation =
CreateCompilation
(new[] { @"
49838
CSharpCompilation c =
CreateCompilation
(@"
49871
CSharpCompilation c =
CreateCompilation
(@"
51237
CreateCompilation
(source).VerifyDiagnostics(
51947
CreateCompilation
(source).VerifyDiagnostics(
52214
CreateCompilation
(source).VerifyDiagnostics(
52242
CreateCompilation
(source).VerifyDiagnostics(
52287
CreateCompilation
(source).VerifyDiagnostics(
54234
CreateCompilation
(source, targetFramework: targetFramework, options: WithNullableEnable()).VerifyDiagnostics(
54256
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics();
54275
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics(
54350
CSharpCompilation c =
CreateCompilation
(new[] { @"
54377
CSharpCompilation c =
CreateCompilation
(new[] { @"
54405
CSharpCompilation c =
CreateCompilation
(new[] { @"
54432
CSharpCompilation c =
CreateCompilation
(new[] { @"
54459
CSharpCompilation c =
CreateCompilation
(new[] { @"
54486
CSharpCompilation c =
CreateCompilation
(new[] { @"
54504
CSharpCompilation c =
CreateCompilation
(new[] { @"
54537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54564
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54588
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54654
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54691
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54740
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54773
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54826
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54886
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54902
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54983
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55074
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55151
CreateCompilation
(source).VerifyDiagnostics(
55230
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55269
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55290
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55309
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55356
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55409
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55453
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55522
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55555
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55580
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55693
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55749
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55784
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55814
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55824
var comp =
CreateCompilation
(@"
55845
var comp =
CreateCompilation
(@"
55870
var comp =
CreateCompilation
(@"
55895
var comp =
CreateCompilation
(@"
55914
var comp =
CreateCompilation
(@"
55932
var comp =
CreateCompilation
(@"
55953
var comp =
CreateCompilation
(@"
55981
var comp =
CreateCompilation
(@"
56006
var comp =
CreateCompilation
(@"
56025
var comp =
CreateCompilation
(@"
56040
var comp =
CreateCompilation
(@"
56055
var comp =
CreateCompilation
(@"
56116
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56146
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56179
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56251
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56285
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56316
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56344
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56417
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56448
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56512
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56548
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56589
var comp =
CreateCompilation
(source);
56627
var comp =
CreateCompilation
(source);
56659
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56688
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56705
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56727
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56754
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56804
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56829
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56893
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56919
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56940
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56960
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
56986
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57033
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
57110
CreateCompilation
(source).VerifyDiagnostics(
57136
CreateCompilation
(source).VerifyDiagnostics(
57174
CreateCompilation
(source).VerifyDiagnostics(
57220
CreateCompilation
(source).VerifyDiagnostics();
57236
CreateCompilation
(source).VerifyDiagnostics(
57258
CreateCompilation
(source).VerifyDiagnostics();
57279
CreateCompilation
(source).VerifyDiagnostics(
57312
CreateCompilation
(source).VerifyDiagnostics(
57347
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57351
var comp =
CreateCompilation
(@"
57439
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57531
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57555
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57577
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57593
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57608
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
57652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
57728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57768
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57797
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57824
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57852
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57880
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57908
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57936
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57953
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57970
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57987
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58004
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58037
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable(TestOptions.ReleaseExe));
58090
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58230
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58282
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58379
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58476
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58491
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
58571
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
58617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58678
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58754
CSharpCompilation c =
CreateCompilation
(new[] { @"
58820
CSharpCompilation c =
CreateCompilation
(new[] { @"
58869
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58904
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58928
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58962
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58994
CreateCompilation
(source).VerifyDiagnostics(
59003
CSharpCompilation c =
CreateCompilation
(new[] { @"
59050
var comp =
CreateCompilation
(
59087
var comp =
CreateCompilation
(
59114
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59142
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59178
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59208
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59240
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59273
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59307
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59335
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59360
var comp =
CreateCompilation
(
59392
var comp =
CreateCompilation
(
59432
var comp =
CreateCompilation
(
59459
var comp =
CreateCompilation
(
59471
CSharpCompilation c =
CreateCompilation
(new[] { @"
59543
CSharpCompilation c =
CreateCompilation
(new[] { @"
59602
CSharpCompilation c =
CreateCompilation
(new[] { @"
59635
CSharpCompilation c =
CreateCompilation
(new[] { @"
59735
CSharpCompilation c =
CreateCompilation
(new[] { @"
59807
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
59814
CSharpCompilation c =
CreateCompilation
(new[] { @"
59956
CSharpCompilation c =
CreateCompilation
(new[] { @"
60061
CSharpCompilation c =
CreateCompilation
(new[] { @"
60124
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60163
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60198
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60240
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60265
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60310
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60342
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60384
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60408
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60447
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60491
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60509
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60533
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60555
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60571
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60592
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60626
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60676
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60704
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60758
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60793
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60858
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60898
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60931
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60957
var comp =
CreateCompilation
(source);
61064
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61111
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61185
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
61218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
61288
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61336
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61365
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61394
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61423
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61452
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61459
CSharpCompilation c =
CreateCompilation
(
61516
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61543
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61689
var comp =
CreateCompilation
(src);
61729
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61757
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61770
CSharpCompilation c =
CreateCompilation
(new[] { @"
61851
CSharpCompilation c =
CreateCompilation
(new[] { @"
62028
CSharpCompilation c =
CreateCompilation
(new[] { @"
62090
CSharpCompilation c =
CreateCompilation
(new[] { @"
62126
CSharpCompilation c =
CreateCompilation
(new[] { @"
62299
CSharpCompilation c =
CreateCompilation
(new[] { @"
62348
CSharpCompilation c =
CreateCompilation
(new[] { @"
62377
CSharpCompilation c =
CreateCompilation
(new[] { @"
62448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62490
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62532
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62568
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62601
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62668
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62705
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62737
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62764
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62808
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62829
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62850
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62873
var comp =
CreateCompilation
(source).VerifyDiagnostics(
62897
CSharpCompilation c =
CreateCompilation
(new[] { @"
62922
CSharpCompilation c =
CreateCompilation
(new[] { @"
63008
CSharpCompilation c =
CreateCompilation
(new[] { @"
63095
CSharpCompilation c =
CreateCompilation
(new[] { @"
63150
CSharpCompilation c =
CreateCompilation
(new[] { @"
63193
CSharpCompilation c =
CreateCompilation
(new[] { @"
63226
CSharpCompilation c =
CreateCompilation
(new[] { @"
63281
CSharpCompilation c =
CreateCompilation
(new[] { @"
63320
CSharpCompilation c =
CreateCompilation
(new[] { @"
63381
CSharpCompilation c =
CreateCompilation
(new[] { @"
63430
CSharpCompilation c =
CreateCompilation
(new[] { @"
63490
CSharpCompilation c =
CreateCompilation
(new[] { @"
63538
CSharpCompilation c =
CreateCompilation
(new[] { @"
63596
CSharpCompilation c =
CreateCompilation
(new[] { @"
63648
CSharpCompilation c =
CreateCompilation
(new[] { @"
63703
CSharpCompilation c =
CreateCompilation
(new[] { @"
63770
CSharpCompilation c =
CreateCompilation
(new[] { @"
63825
CSharpCompilation c =
CreateCompilation
(new[] { @"
63868
CSharpCompilation notAnnotated =
CreateCompilation
(@"
63885
CSharpCompilation c =
CreateCompilation
(new[] { @"
63928
CSharpCompilation c =
CreateCompilation
(new[] { @"
63963
CSharpCompilation c =
CreateCompilation
(new[] { @"
64014
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64088
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64117
var comp =
CreateCompilation
(source);
64157
var comp =
CreateCompilation
(@"
64181
var comp =
CreateCompilation
(@"
64205
var comp =
CreateCompilation
("""
64256
var comp =
CreateCompilation
(source, options: WithNullableEnable());
64461
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64489
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64525
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64554
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64581
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64606
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64626
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64646
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64671
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64704
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64753
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64777
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64815
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64862
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64905
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64944
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64969
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65286
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65371
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65400
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65503
var comp =
CreateCompilation
(
65537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65559
var comp =
CreateCompilation
(
65604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65624
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65689
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65735
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65770
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65801
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65908
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65929
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
65982
CreateCompilation
(source).VerifyDiagnostics();
66015
CreateCompilation
(source).VerifyDiagnostics();
66049
CreateCompilation
(source).VerifyDiagnostics();
66077
CreateCompilation
(source).VerifyDiagnostics(
66108
CreateCompilation
(source).VerifyDiagnostics(
66144
CreateCompilation
(source).VerifyDiagnostics(
66180
CreateCompilation
(source).VerifyDiagnostics(
66210
CreateCompilation
(source).VerifyDiagnostics(
66234
CreateCompilation
(source).VerifyDiagnostics(
66260
CreateCompilation
(source).VerifyDiagnostics(
66289
CreateCompilation
(source).VerifyDiagnostics(
66318
CreateCompilation
(source).VerifyDiagnostics();
66341
CreateCompilation
(source).VerifyDiagnostics(
66369
CreateCompilation
(source).VerifyDiagnostics(
66397
CreateCompilation
(source).VerifyDiagnostics(
66433
CreateCompilation
(source).VerifyDiagnostics(
66462
CreateCompilation
(source).VerifyDiagnostics(
66503
CreateCompilation
(source).VerifyDiagnostics();
66532
CreateCompilation
(source).VerifyDiagnostics(
66566
CreateCompilation
(source).VerifyDiagnostics();
66595
CreateCompilation
(source).VerifyDiagnostics();
66624
CreateCompilation
(source).VerifyDiagnostics();
66653
CreateCompilation
(source).VerifyDiagnostics();
66687
CreateCompilation
(source).VerifyDiagnostics();
66724
CreateCompilation
(source).VerifyDiagnostics();
66751
CreateCompilation
(source).VerifyDiagnostics(
66787
CreateCompilation
(source).VerifyDiagnostics(
66829
CreateCompilation
(source).VerifyDiagnostics(
66868
CreateCompilation
(source).VerifyDiagnostics(
66918
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
66995
CSharpCompilation c =
CreateCompilation
(new[] { @"
67036
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67112
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67159
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67206
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67231
CSharpCompilation c =
CreateCompilation
(new[] { @"
67309
CSharpCompilation c =
CreateCompilation
(new[] { @"
67348
CSharpCompilation c =
CreateCompilation
(new[] { @"
67387
CSharpCompilation c =
CreateCompilation
(new[] { @"
67426
CSharpCompilation c =
CreateCompilation
(new[] { @"
67465
CSharpCompilation c =
CreateCompilation
(new[] { @"
67505
CSharpCompilation c =
CreateCompilation
(new[] { @"
67545
CSharpCompilation c =
CreateCompilation
(new[] { @"
67570
CSharpCompilation c =
CreateCompilation
(new[] { @"
67612
CSharpCompilation c =
CreateCompilation
(new[] { @"
67665
CSharpCompilation c =
CreateCompilation
(new[] { @"
67712
var compilation =
CreateCompilation
("""
67734
CSharpCompilation c =
CreateCompilation
(new[] { @"
67772
CSharpCompilation c =
CreateCompilation
(new[] { @"
67809
CSharpCompilation c =
CreateCompilation
(new[] { @"
67846
CSharpCompilation c =
CreateCompilation
(new[] { @"
67883
CSharpCompilation c =
CreateCompilation
(new[] { @"
67921
CSharpCompilation c =
CreateCompilation
(new[] { @"
67959
CSharpCompilation c =
CreateCompilation
(new[] { @"
67984
CSharpCompilation c =
CreateCompilation
(new[] { @"
68023
CSharpCompilation c =
CreateCompilation
(new[] { @"
68067
CSharpCompilation c =
CreateCompilation
(new[] { @"
68119
CSharpCompilation c =
CreateCompilation
(new[] { @"
68204
CSharpCompilation c =
CreateCompilation
(new[] { @"
68231
CSharpCompilation c =
CreateCompilation
(new[] { @"
68256
CSharpCompilation c =
CreateCompilation
(new[] { @"
68282
CSharpCompilation c =
CreateCompilation
(new[] { @"
68309
CSharpCompilation c =
CreateCompilation
(new[] { @"
68345
CSharpCompilation c =
CreateCompilation
(new[] { @"
68375
CSharpCompilation c =
CreateCompilation
(new[] { @"
68411
CSharpCompilation c =
CreateCompilation
(new[] { @"
68458
CSharpCompilation c =
CreateCompilation
(new[] { @"
68532
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68565
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68599
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68629
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68655
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68692
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68719
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68753
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68789
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68822
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68856
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68890
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68921
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68955
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68986
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69014
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69042
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69070
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69098
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69121
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
69156
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
69167
CSharpCompilation c =
CreateCompilation
(new[] { @"
69193
CSharpCompilation c =
CreateCompilation
(new[] { @"
69261
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69295
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69320
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69344
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69404
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69481
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69524
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69577
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69620
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69673
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69716
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69769
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69811
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70905
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70947
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70992
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71023
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71067
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71110
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71141
CSharpCompilation c =
CreateCompilation
(new[] { @"
71174
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71195
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71209
CSharpCompilation c =
CreateCompilation
(new[] { @"
71236
CSharpCompilation c =
CreateCompilation
(new[] { @"
71272
CSharpCompilation c =
CreateCompilation
(new[] { @"
71308
var comp =
CreateCompilation
(
71345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
71378
var comp =
CreateCompilation
(
71419
var comp =
CreateCompilation
(
71456
var comp =
CreateCompilation
(
71493
var comp =
CreateCompilation
(
71526
var comp =
CreateCompilation
(
71558
var comp =
CreateCompilation
(
71609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71644
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71671
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71726
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71752
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71784
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71841
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
72065
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72096
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72104
CSharpCompilation c =
CreateCompilation
(new[] { @"
72130
CSharpCompilation c =
CreateCompilation
(new[] { @"
72156
CSharpCompilation c =
CreateCompilation
(new[] { @"
72350
CSharpCompilation c =
CreateCompilation
(new[] { @"
72402
CSharpCompilation c =
CreateCompilation
(new[] { @"
72447
CSharpCompilation c =
CreateCompilation
(new[] { @"
72486
CSharpCompilation c =
CreateCompilation
(new[] { @"
72528
CSharpCompilation c =
CreateCompilation
(new[] { @"
72567
CSharpCompilation c =
CreateCompilation
(new[] { @"
72617
CSharpCompilation c =
CreateCompilation
(new[] { @"
72666
CSharpCompilation c =
CreateCompilation
(new[] { @"
72728
CSharpCompilation c =
CreateCompilation
(new[] { @"
72780
CSharpCompilation c =
CreateCompilation
(new[] { @"
72844
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72896
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable());
72936
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72943
CSharpCompilation c =
CreateCompilation
(new[] { @"
72977
CSharpCompilation c =
CreateCompilation
(new[] { @"
73028
CSharpCompilation c =
CreateCompilation
(new[] { @"
73063
CSharpCompilation c =
CreateCompilation
(new[] { @"
73114
CSharpCompilation c =
CreateCompilation
(new[] { @"
73180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73196
CSharpCompilation c =
CreateCompilation
(new[] { @"
73278
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73285
CSharpCompilation c =
CreateCompilation
(new[] { @"
73438
CSharpCompilation c =
CreateCompilation
(new[] { @"
73494
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73550
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73673
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73719
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73753
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73781
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73807
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73824
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73858
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73913
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73953
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73987
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74022
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74062
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74124
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74177
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74214
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74227
CSharpCompilation c =
CreateCompilation
(new[] { @"
74329
CSharpCompilation c =
CreateCompilation
(
74416
CSharpCompilation c =
CreateCompilation
(new[] { @"
74523
CSharpCompilation c =
CreateCompilation
(new[] { @"
74572
CSharpCompilation c =
CreateCompilation
(new[] { @"
74620
CSharpCompilation c =
CreateCompilation
(new[] { @"
74667
CSharpCompilation c =
CreateCompilation
(new[] { @"
74715
CSharpCompilation c =
CreateCompilation
(new[] { @"
74757
CSharpCompilation c =
CreateCompilation
(new[] { @"
74799
CSharpCompilation c =
CreateCompilation
(new[] { @"
74879
CSharpCompilation c =
CreateCompilation
(new[] { @"
74980
CSharpCompilation c =
CreateCompilation
(new[] { @"
75018
CSharpCompilation c =
CreateCompilation
(
75071
CSharpCompilation c =
CreateCompilation
(new[] { @"
75164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75205
var comp =
CreateCompilation
(source);
75238
var comp =
CreateCompilation
(source);
75272
var comp =
CreateCompilation
(source);
75312
var comp =
CreateCompilation
(source);
75353
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75384
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75414
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition });
75421
CSharpCompilation c =
CreateCompilation
(new[] { @"
75506
CSharpCompilation c =
CreateCompilation
(new[] { @"
75551
CSharpCompilation c =
CreateCompilation
(new[] { @"
75583
CSharpCompilation c =
CreateCompilation
(new[] { @"
75632
CSharpCompilation c =
CreateCompilation
(new[] { @"
75711
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75775
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75927
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75953
CSharpCompilation c =
CreateCompilation
(new[] { @"
76036
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76055
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76077
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76097
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76125
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76159
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76183
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76205
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76232
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76255
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76284
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76302
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76317
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76508
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76528
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76548
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76573
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76589
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76610
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76683
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76787
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76809
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76841
var comp =
CreateCompilation
(source.Replace("OPERATOR", op), options: WithNullableEnable());
76878
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76914
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76939
var comp =
CreateCompilation
(source, options: WithNullableEnable());
77030
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77094
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77131
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77168
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77173
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77182
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77209
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77214
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77243
var compilation =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, options: WithNullableEnable());
77379
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77410
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77437
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77443
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77544
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77560
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77572
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77578
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77605
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77611
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77712
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77731
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77744
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77750
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77853
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77872
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77885
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77891
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77999
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
78030
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
78046
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
78062
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
78091
var comp =
CreateCompilation
(
78115
var comp =
CreateCompilation
(
78151
var comp =
CreateCompilation
(
78187
var comp =
CreateCompilation
(
78246
CSharpCompilation c =
CreateCompilation
(new[] { source },
78292
var comp =
CreateCompilation
(source);
78340
var comp =
CreateCompilation
(source);
78364
var comp =
CreateCompilation
(source);
78385
var comp =
CreateCompilation
(source);
78417
var comp =
CreateCompilation
(source);
78885
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
78912
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78933
var compA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular7);
78944
var compB =
CreateCompilation
(
78972
var comp =
CreateCompilation
(
79008
var comp =
CreateCompilation
(
79138
var comp =
CreateCompilation
(
79202
var comp =
CreateCompilation
(
79258
var comp =
CreateCompilation
(
79284
comp =
CreateCompilation
(
79308
var comp =
CreateCompilation
(
79362
var comp =
CreateCompilation
(
79388
var comp =
CreateCompilation
(
79477
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79501
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79543
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79569
var comp =
CreateCompilation
(source);
79597
var comp =
CreateCompilation
(
79631
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79760
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79789
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79818
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79858
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79895
var comp =
CreateCompilation
(
79926
var comp =
CreateCompilation
(
79994
var comp =
CreateCompilation
(
80025
var comp =
CreateCompilation
(
80055
var comp =
CreateCompilation
(
80088
var comp =
CreateCompilation
(
80141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80208
var comp =
CreateCompilation
(
80252
var comp =
CreateCompilation
(
80316
var comp =
CreateCompilation
(src, options: WithNullableEnable(TestOptions.DebugDll));
80343
var comp =
CreateCompilation
(
80388
var comp =
CreateCompilation
(
80414
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80454
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80581
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80652
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80682
var comp =
CreateCompilation
(
80688
comp =
CreateCompilation
(
80694
comp =
CreateCompilation
(
80720
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80740
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80759
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80779
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80783
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
80787
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
80828
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80900
var comp =
CreateCompilation
(
80923
var comp =
CreateCompilation
(
80946
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80955
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80977
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80983
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81025
var comp =
CreateCompilation
(
81060
var comp =
CreateCompilation
(
81085
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81108
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81137
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81189
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
81195
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81215
var comp =
CreateCompilation
(
81226
comp =
CreateCompilation
(
81237
comp =
CreateCompilation
(
81271
var comp =
CreateCompilation
(
81280
comp =
CreateCompilation
(
81307
var comp =
CreateCompilation
(
81345
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81415
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81458
var comp0 =
CreateCompilation
(
81477
var comp1 =
CreateCompilation
(
81497
var comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
81533
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81600
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81736
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81831
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
81871
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
81918
var libComp =
CreateCompilation
(new[] { libSource });
81938
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3);
81945
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
81970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82015
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
82043
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82081
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable());
82125
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: WithNullableEnable());
82173
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
82218
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82260
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82293
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82358
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable()).VerifyDiagnostics(
82387
var comp =
CreateCompilation
(
82405
var comp =
CreateCompilation
(
82460
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82482
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82507
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82535
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82560
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82582
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82607
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82625
var comp =
CreateCompilation
(
82656
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82678
var comp =
CreateCompilation
(
82699
var comp =
CreateCompilation
(
82714
var comp =
CreateCompilation
(
82745
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82772
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82802
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82837
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82881
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82916
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82939
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82962
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82985
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83010
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83035
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83056
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83076
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83143
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeReleaseDll));
83277
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
83363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83429
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83453
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83478
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83497
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83513
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83546
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83669
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83707
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83756
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83787
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83870
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83985
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84063
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84138
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84225
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84315
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84388
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84505
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84537
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84559
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84587
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84618
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84653
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84781
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84810
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84839
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84869
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84892
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84936
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84987
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85021
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85061
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85098
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85139
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85183
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85245
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85348
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85424
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85503
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85579
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85635
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85680
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85711
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85748
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85774
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85800
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85829
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85863
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85931
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85966
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86014
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86077
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86105
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86131
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86154
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86187
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86221
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86257
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86299
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86337
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86363
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86388
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86418
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86447
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86465
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86487
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86520
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86546
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86576
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86601
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86656
var comp =
CreateCompilation
(source);
86703
var comp =
CreateCompilation
(source);
86771
var comp =
CreateCompilation
(source);
86839
var comp =
CreateCompilation
(source);
86877
var comp =
CreateCompilation
(source);
86905
var comp =
CreateCompilation
(source);
86938
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
86959
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86985
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87015
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87038
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87066
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87120
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87166
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87196
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87223
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87248
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87282
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87308
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87331
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87358
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87429
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87456
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87486
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87513
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87547
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87583
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87618
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87648
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87679
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87709
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87791
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
87816
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87856
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87900
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87935
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87965
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88017
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88058
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88093
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88129
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88153
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88183
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88210
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88243
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88272
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88316
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88342
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88371
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88402
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88465
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88490
var comp =
CreateCompilation
(source);
88513
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88557
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88606
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88658
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88718
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88740
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88783
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88842
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88947
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88953
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88979
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89007
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89010
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89034
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89059
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89079
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89096
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89107
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89109
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89120
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89122
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89134
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89161
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89206
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89247
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89278
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89300
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
89376
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89475
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89746
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89832
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89933
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89965
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90004
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90036
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90159
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90183
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90212
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90275
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90338
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90382
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90433
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90477
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90512
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90578
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90637
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90705
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90761
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90815
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90846
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90926
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
90996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91060
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91124
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91162
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91204
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
91291
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics(
91361
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91539
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91566
var comp =
CreateCompilation
(src);
91602
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91642
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91681
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91708
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
91736
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
91760
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91787
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91816
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91854
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91886
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91915
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91945
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91972
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92002
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92032
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92059
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92091
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92118
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92152
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92182
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92206
var comp =
CreateCompilation
(source);
92233
var comp =
CreateCompilation
(source);
92713
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92738
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92753
CreateCompilation
(source).VerifyDiagnostics(
92779
CreateCompilation
(source).VerifyDiagnostics(
92799
var comp =
CreateCompilation
(
92825
var comp =
CreateCompilation
(
92860
var comp =
CreateCompilation
(
92884
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92906
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92928
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
92942
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92964
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92984
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93032
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93055
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93079
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93099
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93150
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93172
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93194
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93216
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93256
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93317
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93337
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93358
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93383
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93405
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93440
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93471
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93510
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93540
var comp =
CreateCompilation
(
93573
var comp =
CreateCompilation
(
93600
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93625
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93656
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93715
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93729
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93751
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93772
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93802
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeDebugDll));
93857
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93882
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93895
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93949
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93981
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94010
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
94074
var comp =
CreateCompilation
(
94145
var comp =
CreateCompilation
(
94193
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94207
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
94252
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
94303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94337
var comp =
CreateCompilation
(source);
94366
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94390
var comp =
CreateCompilation
(
94414
var comp =
CreateCompilation
(
94438
var comp =
CreateCompilation
(
94462
var comp =
CreateCompilation
(
94485
var comp =
CreateCompilation
(
94506
var comp =
CreateCompilation
(
94535
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94563
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94593
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94612
var comp =
CreateCompilation
(
94631
var comp =
CreateCompilation
(
94652
var comp =
CreateCompilation
(
94684
var comp =
CreateCompilation
(
94722
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94750
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94785
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94817
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94853
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94881
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94996
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95069
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95135
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95170
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95212
var comp0 =
CreateCompilation
(source0);
95228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
95251
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95279
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95311
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95350
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95386
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95433
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95480
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95513
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95550
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95628
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95663
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95693
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95763
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95791
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95814
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95842
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95878
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95908
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95935
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95967
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96005
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96047
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96082
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96113
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96142
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96175
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96204
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96248
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96290
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96324
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96364
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96398
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96429
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96531
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96596
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96648
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96699
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96741
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96829
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96856
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96883
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96956
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97006
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97059
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97100
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97130
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97159
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97202
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97224
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97247
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97275
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97301
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97369
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97419
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97451
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97484
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97514
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97608
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97654
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97755
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97853
var comp =
CreateCompilation
(source);
97898
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97912
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97920
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, skipUsesIsNullable: true);
97923
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9, skipUsesIsNullable: true);
97946
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97979
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98009
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98049
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98077
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98111
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98151
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98182
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98207
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98241
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98275
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98305
var comp =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, parseOptions: TestOptions.Regular9);
98346
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98372
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98388
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() })
98414
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98430
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
98457
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98473
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
98540
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98646
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
98709
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98713
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
98735
var comp4 =
CreateCompilation
(new[] { source1 });
98737
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
98770
var comp =
CreateCompilation
(new[] { source },
98822
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98837
var comp2 =
CreateCompilation
(new[] { source2 },
98891
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98893
var comp2 =
CreateCompilation
(NullableContextAttributeDefinition);
98908
var comp3 =
CreateCompilation
(new[] { source3 },
98963
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98979
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
99040
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99101
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99141
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99176
var comp =
CreateCompilation
(source);
99192
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99195
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
99198
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
99221
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99246
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99334
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
99397
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99401
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
99423
var comp4 =
CreateCompilation
(new[] { source1 });
99425
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
99501
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99503
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
99517
var comp3 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
99520
var comp4 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() });
99523
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() });
99526
var comp6 =
CreateCompilation
(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
99536
var comp7 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp6.ToMetadataReference() });
99539
var comp9 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() });
99606
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99683
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99766
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99849
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99926
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100000
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100056
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100138
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100174
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100178
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100209
var comp4 =
CreateCompilation
(new[] { source1 });
100211
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100223
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100271
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100293
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100297
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100320
var comp4 =
CreateCompilation
(new[] { source1 });
100322
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100328
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100346
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100384
var comp =
CreateCompilation
(new[] { source });
100427
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100471
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3);
100492
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
100524
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100547
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100591
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100633
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100674
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100716
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100811
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100900
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100972
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101025
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101048
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101086
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101169
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101285
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101349
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
101353
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { reference });
101430
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
101434
var comp2 =
CreateCompilation
(source2, options: WithNullable(NullableContextOptions.Warnings), references: new[] { reference });
101470
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101496
var compilation =
CreateCompilation
(source);
101530
var compilation =
CreateCompilation
(source);
101597
var compilation =
CreateCompilation
(source);
101663
var compilation =
CreateCompilation
(source);
101696
var compilation =
CreateCompilation
(source);
101719
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101747
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101776
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib46);
101809
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101855
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101905
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101925
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
101982
var comp1 =
CreateCompilation
(source1);
102005
var comp2 =
CreateCompilation
(source2);
102034
var comp1 =
CreateCompilation
(source1);
102061
var comp1 =
CreateCompilation
(source1);
102088
var comp1 =
CreateCompilation
(source1);
102115
var comp1 =
CreateCompilation
(source1);
102142
var comp1 =
CreateCompilation
(source1);
102169
var comp1 =
CreateCompilation
(source1);
102211
var comp1 =
CreateCompilation
(source1);
102242
var comp1 =
CreateCompilation
(source1);
102276
var comp2 =
CreateCompilation
(source2);
102316
var comp1 =
CreateCompilation
(source1);
102354
var comp1 =
CreateCompilation
(source1);
102392
var comp1 =
CreateCompilation
(source1);
102420
var comp1 =
CreateCompilation
(source1);
102448
var comp1 =
CreateCompilation
(source1);
102476
var comp1 =
CreateCompilation
(source1);
102515
var comp1 =
CreateCompilation
(source1);
102542
var comp1 =
CreateCompilation
(source1);
102564
var comp2 =
CreateCompilation
(source2);
102592
var comp1 =
CreateCompilation
(source1);
102618
var comp1 =
CreateCompilation
(source1);
102644
var comp1 =
CreateCompilation
(source1);
102670
var comp1 =
CreateCompilation
(source1);
102696
var comp1 =
CreateCompilation
(source1);
102722
var comp1 =
CreateCompilation
(source1);
102763
var comp1 =
CreateCompilation
(source1);
102793
var comp1 =
CreateCompilation
(source1);
102826
var comp2 =
CreateCompilation
(source2);
102865
var comp1 =
CreateCompilation
(source1);
102902
var comp1 =
CreateCompilation
(source1);
102939
var comp1 =
CreateCompilation
(source1);
102966
var comp1 =
CreateCompilation
(source1);
102993
var comp1 =
CreateCompilation
(source1);
103020
var comp1 =
CreateCompilation
(source1);
103057
var comp1 =
CreateCompilation
(source1);
103089
var comp1 =
CreateCompilation
(source1);
103120
var comp1 =
CreateCompilation
(source1);
103163
var comp1 =
CreateCompilation
(source1);
103207
var comp1 =
CreateCompilation
(source1);
103248
var comp1 =
CreateCompilation
(source1);
103268
var comp2 =
CreateCompilation
(source2);
103293
var comp3 =
CreateCompilation
(source3);
103322
var comp1 =
CreateCompilation
(source1);
103342
var comp2 =
CreateCompilation
(source2);
103373
var comp1 =
CreateCompilation
(source1);
103393
var comp2 =
CreateCompilation
(source2);
103420
var comp3 =
CreateCompilation
(source3);
103451
var comp1 =
CreateCompilation
(source1);
103472
var comp2 =
CreateCompilation
(source2);
103500
var comp1 =
CreateCompilation
(source1);
103526
var comp2 =
CreateCompilation
(source2);
103553
var comp3 =
CreateCompilation
(source3);
103587
var comp1 =
CreateCompilation
(source1);
103610
var comp2 =
CreateCompilation
(source2);
103634
var comp3 =
CreateCompilation
(source3);
103667
var comp1 =
CreateCompilation
(source1);
103691
var comp2 =
CreateCompilation
(source2);
103716
var comp3 =
CreateCompilation
(source3);
103749
var comp1 =
CreateCompilation
(source1);
103776
var comp2 =
CreateCompilation
(source2);
103804
var comp3 =
CreateCompilation
(source3);
103838
var comp1 =
CreateCompilation
(source1);
103864
var comp2 =
CreateCompilation
(source2);
103891
var comp3 =
CreateCompilation
(source3);
103925
var comp1 =
CreateCompilation
(source1);
103948
var comp2 =
CreateCompilation
(source2);
103972
var comp3 =
CreateCompilation
(source3);
104005
var comp1 =
CreateCompilation
(source1);
104032
var comp2 =
CreateCompilation
(source2);
104060
var comp3 =
CreateCompilation
(source3);
104097
var comp1 =
CreateCompilation
(source1);
104122
var comp2 =
CreateCompilation
(source2);
104148
var comp3 =
CreateCompilation
(source3);
104181
var comp1 =
CreateCompilation
(source1);
104201
var comp1 =
CreateCompilation
(source1);
104223
var comp1 =
CreateCompilation
(source1);
104245
var comp2 =
CreateCompilation
(source2);
104271
var comp1 =
CreateCompilation
(source1);
104292
var comp2 =
CreateCompilation
(source2);
104317
var comp1 =
CreateCompilation
(source1);
104338
var comp1 =
CreateCompilation
(source1);
104368
var comp1 =
CreateCompilation
(source1);
104394
var comp1 =
CreateCompilation
(source1);
104423
var comp1 =
CreateCompilation
(source1);
104455
var comp1 =
CreateCompilation
(source1);
104481
var comp1 =
CreateCompilation
(source1);
104510
var comp1 =
CreateCompilation
(source1);
104538
var comp1 =
CreateCompilation
(source1);
104558
var comp1 =
CreateCompilation
(source1);
104580
var comp1 =
CreateCompilation
(source1);
104607
var comp1 =
CreateCompilation
(source1);
104632
var comp1 =
CreateCompilation
(source1);
104653
var comp1 =
CreateCompilation
(source1);
104683
var comp1 =
CreateCompilation
(source1);
104710
var comp1 =
CreateCompilation
(source1);
104739
var comp1 =
CreateCompilation
(source1);
104770
var comp1 =
CreateCompilation
(source1);
104796
var comp1 =
CreateCompilation
(source1);
104825
var comp1 =
CreateCompilation
(source1);
104864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
104944
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
104960
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
105017
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
105019
var comp2 =
CreateCompilation
(NullableAttributeDefinition);
105035
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
105092
var comp =
CreateCompilation
(new[] { source });
105138
var comp1 =
CreateCompilation
(new[] { source1 });
105189
var comp1 =
CreateCompilation
(new[] { source1 });
105231
var comp1 =
CreateCompilation
(new[] { source1 });
105274
var comp1 =
CreateCompilation
(new[] { source1 });
105313
var comp1 =
CreateCompilation
(new[] { source1 });
105353
var comp1 =
CreateCompilation
(new[] { source1 });
105393
var comp1 =
CreateCompilation
(new[] { source1 });
105439
var comp1 =
CreateCompilation
(new[] { source1 });
105476
var comp1 =
CreateCompilation
(new[] { source1 });
105506
var comp1 =
CreateCompilation
(new[] { source1 });
105592
var comp1 =
CreateCompilation
(new[] { source1 });
105664
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
105700
var comp1 =
CreateCompilation
(new[] { source1 });
105733
var comp1 =
CreateCompilation
(new[] { source1 });
105766
var comp1 =
CreateCompilation
(new[] { source1 });
105796
var comp1 =
CreateCompilation
(new[] { source1 });
105826
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105853
var comp1 =
CreateCompilation
(new[] { source1 });
105874
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105903
var comp =
CreateCompilation
(source);
105928
var comp1 =
CreateCompilation
(new[] { source }, options: options);
105957
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105968
var comp2 =
CreateCompilation
(new[] { source }, options: WithNullableDisable());
106032
var comp1 =
CreateCompilation
(new[] { source1 });
106173
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { reference }, parseOptions: TestOptions.Regular8);
106215
var comp1 =
CreateCompilation
(new[] { source1 });
106246
var comp1 =
CreateCompilation
(new[] { source1 });
106277
var comp1 =
CreateCompilation
(new[] { source1 });
106309
var comp1 =
CreateCompilation
(new[] { source1 });
106342
var comp1 =
CreateCompilation
(new[] { source1 });
106375
var comp1 =
CreateCompilation
(new[] { source1 });
106407
var comp1 =
CreateCompilation
(new[] { source1 });
106439
var comp1 =
CreateCompilation
(new[] { source1 });
106472
var comp1 =
CreateCompilation
(new[] { source1 });
106502
var comp1 =
CreateCompilation
(new[] { source1 });
106533
var comp1 =
CreateCompilation
(new[] { source1 });
106564
var comp1 =
CreateCompilation
(new[] { source1 });
106596
var comp1 =
CreateCompilation
(new[] { source1 });
106628
var comp1 =
CreateCompilation
(new[] { source1 });
106661
var comp1 =
CreateCompilation
(new[] { source1 });
106692
var comp1 =
CreateCompilation
(new[] { source1 });
106724
var comp1 =
CreateCompilation
(new[] { source1 });
106755
var comp1 =
CreateCompilation
(new[] { source1 });
106787
var comp1 =
CreateCompilation
(new[] { source1 });
106817
var comp1 =
CreateCompilation
(new[] { source1 });
106847
var comp1 =
CreateCompilation
(new[] { source1 });
106877
var comp1 =
CreateCompilation
(new[] { source1 });
106907
var comp1 =
CreateCompilation
(new[] { source1 });
107234
var comp1 =
CreateCompilation
(new[] { source1 });
107271
var comp1 =
CreateCompilation
(new[] { source1 });
107307
var comp1 =
CreateCompilation
(new[] { source1 });
107344
var comp1 =
CreateCompilation
(new[] { source1 });
107380
var comp1 =
CreateCompilation
(new[] { source1 });
107418
var comp1 =
CreateCompilation
(new[] { source1 });
107462
var comp1 =
CreateCompilation
(new[] { source1 });
107465
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
107503
var comp1 =
CreateCompilation
(new[] { source1 });
107544
var comp1 =
CreateCompilation
(new[] { source1 });
107580
var comp1 =
CreateCompilation
(new[] { source1 });
107617
var comp1 =
CreateCompilation
(new[] { source1 });
107653
var comp1 =
CreateCompilation
(new[] { source1 });
107689
var comp1 =
CreateCompilation
(new[] { source1 });
107725
var comp1 =
CreateCompilation
(new[] { source1 });
107761
var comp1 =
CreateCompilation
(new[] { source1 });
107786
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107842
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107917
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107978
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108021
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108072
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108142
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108199
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108244
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108289
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108333
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108391
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108456
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108508
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108562
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108603
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108676
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108765
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108835
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108894
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108947
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108979
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109011
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109049
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109087
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109137
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109195
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109256
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109313
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
109317
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { reference });
109372
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109411
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109472
var comp1 =
CreateCompilation
(source);
109523
var comp1 =
CreateCompilation
(source);
109595
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109800
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109827
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109895
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109944
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109971
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110035
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110076
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110151
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110258
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110292
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110351
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110479
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110505
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110535
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110558
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110601
var comp =
CreateCompilation
(source1, new[] { ref0 });
110681
var comp =
CreateCompilation
(source1, new[] { ref0 });
110696
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110744
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110781
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110845
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110936
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111017
var comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111050
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
111063
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111066
comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111069
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111096
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111119
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111172
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
111174
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111185
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111201
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111271
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111303
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111329
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111364
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111386
var comp0 =
CreateCompilation
(source0);
111393
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111405
var comp0 =
CreateCompilation
(source0);
111416
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111434
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111452
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111470
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111503
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111521
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111539
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111557
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111572
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111587
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111606
var comp0 =
CreateCompilation
(new[] { source0 });
111628
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111658
var comp0 =
CreateCompilation
(new[] { source0 }, parseOptions: TestOptions.Regular8);
111714
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111722
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111732
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111743
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
111809
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111863
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111910
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111928
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111952
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111962
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111972
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112014
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112046
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112088
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112134
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112146
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
112189
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112245
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112274
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112315
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112342
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112363
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112405
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112482
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112524
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112552
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112596
var comp0 =
CreateCompilation
(source0);
112598
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112619
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable());
112621
comp =
CreateCompilation
(source, references: new[] { ref0 });
112631
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112634
comp =
CreateCompilation
(source, references: new[] { ref0 });
112650
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112694
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
112705
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112714
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
112724
comp =
CreateCompilation
(source, references: new[] { ref0 });
112733
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112736
comp =
CreateCompilation
(source, references: new[] { ref0 });
112744
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112779
var comp =
CreateCompilation
(source);
112781
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112844
var comp =
CreateCompilation
(new[] { source });
112934
var comp =
CreateCompilation
(new[] { source });
112971
var comp =
CreateCompilation
(new[] { source });
112991
var comp =
CreateCompilation
(new[] { source });
113051
var comp =
CreateCompilation
(new[] { source });
113133
var comp =
CreateCompilation
(new[] { source });
113169
var comp =
CreateCompilation
(new[] { source });
113240
var comp1 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "") });
113243
var comp2 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "annotations") });
113295
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113324
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113361
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113392
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113433
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113455
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113485
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113510
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113540
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113595
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113620
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113653
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113684
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113711
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113730
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113754
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113776
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113809
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113830
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113862
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114087
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114311
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114336
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114369
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114397
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114430
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114458
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114488
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114524
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114561
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114597
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114627
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114659
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114690
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114721
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114751
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114782
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114812
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114841
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114925
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
114928
comp =
CreateCompilation
(new[] { source });
114975
var comp =
CreateCompilation
(new[] { source });
115015
var comp =
CreateCompilation
(new[] { source });
115040
var comp =
CreateCompilation
(new[] { source });
115063
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115095
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115138
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
115181
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115214
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115263
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115292
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115319
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115348
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115389
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115427
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115461
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115544
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115584
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115615
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115650
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115669
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115705
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116017
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116045
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116077
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116109
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116154
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics(
116193
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116212
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116223
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116226
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116249
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116261
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116264
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116287
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116298
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116301
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116324
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116335
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116338
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116361
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116377
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116380
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116403
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116419
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116422
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116442
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116460
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116463
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116483
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116504
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116507
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116530
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116545
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116548
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116571
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116588
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116591
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116608
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll)).VerifyEmitDiagnostics();
116609
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
116859
var comp =
CreateCompilation
(source2, new[] { ref1.WithEmbedInteropTypes(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
116877
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116898
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116923
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116940
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116958
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116976
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117007
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117054
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117083
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117105
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117139
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117161
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117193
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117221
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117254
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117282
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117315
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117338
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117365
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117392
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117419
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117443
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117581
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117670
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117721
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117751
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117779
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117815
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117841
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117858
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117879
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117902
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117925
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117946
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117970
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117996
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118019
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118040
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118063
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118086
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118103
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118124
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118144
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118172
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118199
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118227
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118251
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118271
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118295
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118315
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118340
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118363
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118386
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118411
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118436
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118458
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118478
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118501
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118524
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118550
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118570
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118591
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118609
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118635
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118668
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118700
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118725
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118749
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118774
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118799
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118828
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118859
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118886
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118912
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118934
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118952
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118970
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118993
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119020
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119046
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119078
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119103
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119125
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119152
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119189
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119226
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119255
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119292
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119319
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119348
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119370
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119393
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119414
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119438
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119458
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119485
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119509
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119536
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119560
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119584
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119613
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119634
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119657
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119687
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119724
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119758
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119795
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119828
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119844
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119867
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119894
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119923
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119945
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119968
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119997
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120026
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120055
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120084
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120109
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120135
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120161
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120186
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120219
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120252
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120282
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120318
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120354
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120385
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120437
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120461
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120485
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
120508
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120536
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120567
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120594
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120617
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120643
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120663
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120679
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120695
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120719
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120736
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120757
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120778
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120805
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120832
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120855
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120877
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120899
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120926
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120950
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120967
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120988
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121008
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121031
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121061
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121089
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121118
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121144
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121171
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121191
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121211
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121228
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121255
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121286
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121316
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121342
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121369
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121396
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121420
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121448
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
121473
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121500
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121529
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121560
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121590
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121619
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121646
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121674
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121701
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121729
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121756
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121781
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121805
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121828
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121853
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121878
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121902
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121927
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121951
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121979
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122004
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122030
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122052
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122078
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122099
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122120
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122142
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122163
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122184
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122206
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122228
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122249
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122268
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122293
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122319
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122344
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122369
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122395
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122420
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122446
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122470
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122492
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122513
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122535
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122560
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122586
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122611
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122636
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122661
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122679
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122700
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122719
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122745
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122770
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122797
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122824
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122844
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122867
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122888
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122916
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122943
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122968
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122990
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123008
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123027
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123049
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123067
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123085
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123104
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123126
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123144
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123163
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123189
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123214
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123238
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123260
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123282
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123306
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123328
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123350
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123376
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123406
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123425
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123445
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123469
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123498
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123528
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123554
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
123573
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123610
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123644
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123679
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123716
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123746
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123785
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123816
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123871
var comp =
CreateCompilation
(new[] { source });
123874
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Warnings));
123877
comp =
CreateCompilation
(new[] { @"#nullable enable warnings
123881
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123884
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations));
123887
comp =
CreateCompilation
(new[] { @"#nullable enable annotations
124195
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource) });
124286
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124321
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124357
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124397
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124440
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124487
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124533
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124575
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124657
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124897
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124944
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124982
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125035
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125087
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125114
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125138
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125171
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125176
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
125179
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125190
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125199
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125208
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125217
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125228
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125237
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125248
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125258
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125263
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125269
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125274
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125283
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125294
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125304
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125354
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125359
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option));
125362
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125375
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125378
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Default));
125381
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125384
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125389
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Error));
125392
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125397
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125401
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125405
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125410
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125414
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Hidden));
125417
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125422
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125426
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125525
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
125534
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125543
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125552
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125563
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125572
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125583
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125593
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125598
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125604
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125609
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125618
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125629
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125639
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125945
var comp =
CreateCompilation
(source);
126064
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126068
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126072
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126076
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126082
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126086
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126092
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126097
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126102
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126108
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126113
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126117
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126123
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126128
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126139
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126144
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
126147
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
126210
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
126214
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126218
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126222
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126228
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126232
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126238
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126243
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126248
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126254
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126259
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126263
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126269
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126274
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126744
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126815
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126855
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127187
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
127207
var comp =
CreateCompilation
(source);
127223
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127243
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127258
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127283
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127306
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127352
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127367
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127422
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127454
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127486
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127595
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127688
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127724
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127753
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127816
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127910
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127992
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128053
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128118
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128184
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128238
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128295
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128390
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128510
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128551
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128615
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128668
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128731
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128781
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128847
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128903
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128970
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129014
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129073
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129122
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129176
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129227
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129322
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129363
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129463
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129486
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129591
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129655
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129703
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129761
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129802
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129851
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129899
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129939
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129970
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130017
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130050
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130084
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130126
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130158
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130188
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130219
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130250
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130287
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130310
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130329
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130346
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130373
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130417
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130479
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130563
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130593
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130636
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130675
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130754
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130811
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130847
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130879
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130902
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130976
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131000
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131024
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131051
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, options: WithNullableEnable());
131122
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
131157
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131192
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131228
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131267
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131350
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131380
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131407
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131433
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131459
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131477
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131495
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131514
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131533
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131555
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131589
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131624
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131662
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131684
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131706
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131819
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131852
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131877
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131910
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131945
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131980
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132015
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132043
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132122
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132166
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132209
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132262
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132281
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132307
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132332
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132350
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132398
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
132424
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132450
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132504
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132562
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132588
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132614
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132640
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132669
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132722
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132747
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132771
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132796
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132820
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132918
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132949
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132976
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133006
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133036
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133067
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133099
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133132
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133167
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133215
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133241
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133269
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133353
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133413
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133467
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133529
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133560
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133593
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133629
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133660
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133731
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133813
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133840
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133868
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133899
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133928
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133961
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133997
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134034
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134212
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134308
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134457
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134528
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134578
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134609
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134672
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134698
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134730
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134766
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134784
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134812
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134850
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134882
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134949
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134978
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134995
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135013
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135035
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135062
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135087
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135138
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135168
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135197
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135229
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135249
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135273
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135305
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135352
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135406
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135425
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135462
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135528
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135606
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135656
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135699
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135730
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135754
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135776
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135797
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135818
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135841
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135904
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135971
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136038
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
136093
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136142
var comp =
CreateCompilation
(source);
136182
var comp =
CreateCompilation
(source);
136216
var comp =
CreateCompilation
(source);
136237
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136252
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136282
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136300
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136334
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136398
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136430
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136577
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136601
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136620
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136662
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136703
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136710
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136733
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136739
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136785
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136812
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136841
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136866
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136891
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136923
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136950
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136977
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
137018
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
137037
var comp =
CreateCompilation
(new[] { source1, source2 });
137041
comp =
CreateCompilation
(new[] { source2, source1 });
137069
var comp =
CreateCompilation
(new[] { source1, source2 });
137073
comp =
CreateCompilation
(new[] { source2, source1 });
137103
var comp =
CreateCompilation
(new[] { source1, source2 });
137136
var comp =
CreateCompilation
(new[] { source1, source2 });
137140
comp =
CreateCompilation
(new[] { source2, source1 });
137165
var comp =
CreateCompilation
(new[] { source1, source2 });
137169
comp =
CreateCompilation
(new[] { source2, source1 });
137195
var comp =
CreateCompilation
(new[] { source1 });
137217
var comp =
CreateCompilation
(new[] { source1 });
137239
var comp =
CreateCompilation
(new[] { source1 });
137261
var comp =
CreateCompilation
(new[] { source1 });
137287
var comp =
CreateCompilation
(new[] { source1 });
137314
var comp =
CreateCompilation
(new[] { source1 });
137339
var comp =
CreateCompilation
(new[] { source1 });
137366
var comp =
CreateCompilation
(new[] { source1, source2 });
137370
comp =
CreateCompilation
(new[] { source2, source1 });
137423
var comp1 =
CreateCompilation
(new[] { source0, source1 });
137429
var comp2 =
CreateCompilation
(new[] { source0, source2 });
137435
var comp3 =
CreateCompilation
(new[] { source0, source3 });
137441
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137445
comp =
CreateCompilation
(new[] { source0, source1, source3, source2 });
137449
comp =
CreateCompilation
(new[] { source0, source2, source1, source3 });
137453
comp =
CreateCompilation
(new[] { source0, source2, source3, source1 });
137457
comp =
CreateCompilation
(new[] { source0, source3, source1, source2 });
137461
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137501
var comp1 =
CreateCompilation
(new[] { source });
137542
var comp1 =
CreateCompilation
(new[] { source });
137581
var comp1 =
CreateCompilation
(new[] { source });
137620
var comp1 =
CreateCompilation
(new[] { source });
137669
var comp1 =
CreateCompilation
(new[] { source });
137705
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137708
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137745
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137748
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137789
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137792
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137832
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137835
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137874
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137877
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137910
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137913
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137953
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137956
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
138004
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138007
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138049
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138052
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138102
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138105
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138155
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138200
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138203
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138255
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138571
var comp2 =
CreateCompilation
(source2, [verifier1.Compilation.ToMetadataReference()]);
138779
var comp1 =
CreateCompilation
(source1, assemblyName: nameof(source1)).VerifyDiagnostics().EmitToImageReference();
138824
var comp =
CreateCompilation
(new[] { source1, source2 });
138848
var comp =
CreateCompilation
(new[] { source1, source2 });
138886
var comp =
CreateCompilation
(new[] { source1 });
138924
var comp =
CreateCompilation
(new[] { source1 });
138949
CreateCompilation
(text).VerifyDiagnostics(
138975
CreateCompilation
(text).VerifyDiagnostics(
139001
CreateCompilation
(text).VerifyDiagnostics(
139032
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139065
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139098
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139130
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139156
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139183
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139210
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139251
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139283
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139307
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139331
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139352
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139376
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139396
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139420
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139450
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139478
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139506
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139534
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139562
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139594
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139622
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139650
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139677
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139700
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139723
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139750
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139773
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139796
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139825
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139880
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
139947
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
139991
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140030
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140071
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140118
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140253
var comp =
CreateCompilation
(source);
140278
var comp =
CreateCompilation
(source);
140307
var comp =
CreateCompilation
(source);
140344
var comp =
CreateCompilation
(source);
140374
var comp =
CreateCompilation
(source);
140407
var comp =
CreateCompilation
(source);
140440
var comp =
CreateCompilation
(source);
140480
var comp =
CreateCompilation
(source);
140527
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable());
140556
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
140578
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140676
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140715
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140749
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140778
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140812
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140846
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140879
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140914
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140953
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140995
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics();
141027
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141069
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141111
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141153
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141195
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141235
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141285
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141361
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141402
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141443
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141486
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141531
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141568
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141599
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141627
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141686
var comp =
CreateCompilation
(source);
141751
var comp =
CreateCompilation
(source);
141819
var comp =
CreateCompilation
(source);
141874
var comp =
CreateCompilation
(source);
141928
var comp =
CreateCompilation
(source);
141987
var comp =
CreateCompilation
(source);
142024
var comp =
CreateCompilation
(source);
142054
var comp =
CreateCompilation
(source);
142089
var comp =
CreateCompilation
(source);
142153
var comp =
CreateCompilation
(source);
142175
var comp =
CreateCompilation
(source);
142213
var comp =
CreateCompilation
(source);
142261
var comp =
CreateCompilation
(source);
142279
var comp =
CreateCompilation
(source);
142322
var comp =
CreateCompilation
(source);
142382
var comp =
CreateCompilation
(source);
142418
var comp =
CreateCompilation
(source);
142466
var comp =
CreateCompilation
(source);
142530
var comp =
CreateCompilation
(source);
142576
var comp =
CreateCompilation
(source);
142622
var comp =
CreateCompilation
(source);
142660
var comp =
CreateCompilation
(source);
142705
var comp =
CreateCompilation
(source);
142740
var comp =
CreateCompilation
(source);
142766
var comp =
CreateCompilation
(source);
142801
var comp =
CreateCompilation
(source);
142805
comp =
CreateCompilation
(source);
142843
var comp =
CreateCompilation
(source);
142882
var comp =
CreateCompilation
(source);
142913
var comp =
CreateCompilation
(source);
142941
var comp =
CreateCompilation
(source);
142969
var comp =
CreateCompilation
(source);
142999
var comp =
CreateCompilation
(source);
143032
var comp =
CreateCompilation
(source);
143058
var comp =
CreateCompilation
(source);
143091
var comp =
CreateCompilation
(source);
143122
var comp =
CreateCompilation
(source);
143152
var comp =
CreateCompilation
(source);
143184
var comp =
CreateCompilation
(source);
143215
var comp =
CreateCompilation
(source);
143289
var comp =
CreateCompilation
(source);
143340
var comp =
CreateCompilation
(source);
143366
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143395
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143425
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143469
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143503
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143537
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143573
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143615
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143649
var comp =
CreateCompilation
(source);
143680
var comp =
CreateCompilation
(source);
143706
var comp =
CreateCompilation
(source);
143732
var comp =
CreateCompilation
(source);
143761
var comp =
CreateCompilation
(source);
143793
var comp =
CreateCompilation
(source);
143829
var comp =
CreateCompilation
(source);
143867
var comp =
CreateCompilation
(source);
143905
var comp =
CreateCompilation
(source);
143934
var comp =
CreateCompilation
(source);
143963
var comp =
CreateCompilation
(source);
143999
var comp =
CreateCompilation
(source);
144032
var comp =
CreateCompilation
(source);
144062
var comp =
CreateCompilation
(source);
144091
var comp =
CreateCompilation
(source);
144118
var comp =
CreateCompilation
(source);
144150
var comp =
CreateCompilation
(source);
144185
var comp =
CreateCompilation
(source);
144215
var comp =
CreateCompilation
(source);
144290
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144315
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144365
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144388
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144454
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
144476
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144532
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144564
comp =
CreateCompilation
(source, options: WithNullableEnable());
144589
comp =
CreateCompilation
(source, options: WithNullableEnable());
144625
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144661
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144695
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144724
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144763
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144795
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144833
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144875
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144905
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144948
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144979
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145020
var spanRef =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
145022
var comp =
CreateCompilation
(def + @"
145058
var defComp =
CreateCompilation
(def,
145062
var useComp =
CreateCompilation
(@"
145142
var comp =
CreateCompilation
(@"
145173
var comp =
CreateCompilation
(@"
145217
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145313
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145371
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145407
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145433
var comp =
CreateCompilation
(source);
145470
var comp =
CreateCompilation
(source);
145510
var comp =
CreateCompilation
(source);
145547
var comp =
CreateCompilation
(source);
145586
var comp =
CreateCompilation
(source);
145628
var comp =
CreateCompilation
(source);
145661
var comp =
CreateCompilation
(source);
145693
var comp =
CreateCompilation
(source);
145728
var comp =
CreateCompilation
(source);
145767
var comp =
CreateCompilation
(source);
145798
var comp =
CreateCompilation
(source);
145825
var comp =
CreateCompilation
(source);
145847
var comp =
CreateCompilation
(source);
145861
var comp =
CreateCompilation
(source);
145890
var comp =
CreateCompilation
(source);
145919
var comp =
CreateCompilation
(source);
145948
var comp =
CreateCompilation
(source);
145975
var comp =
CreateCompilation
(source);
146008
var comp =
CreateCompilation
(source);
146039
var comp =
CreateCompilation
(source);
146068
var comp =
CreateCompilation
(source);
146101
var comp =
CreateCompilation
(source);
146126
var comp =
CreateCompilation
(source);
146150
var comp =
CreateCompilation
(source);
146171
var comp =
CreateCompilation
(source);
146197
var comp =
CreateCompilation
(source);
146220
var comp =
CreateCompilation
(source);
146245
var comp =
CreateCompilation
(source);
146269
var comp =
CreateCompilation
(source);
146293
var comp =
CreateCompilation
(source);
146317
var comp =
CreateCompilation
(source);
146352
var comp =
CreateCompilation
(text);
146391
var comp =
CreateCompilation
(text);
146431
var comp =
CreateCompilation
(text);
146470
var comp =
CreateCompilation
(text);
146556
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146589
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146618
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146658
var comp =
CreateCompilation
(source);
146696
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
146736
var comp =
CreateCompilation
(source);
146785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
146836
var comp =
CreateCompilation
(source);
146905
var comp =
CreateCompilation
(source);
146987
var comp =
CreateCompilation
(source);
147052
var comp =
CreateCompilation
(source);
147152
var comp =
CreateCompilation
(source, options: WithNullableEnable());
147239
var comp =
CreateCompilation
(source);
147295
var comp =
CreateCompilation
(source);
147330
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics();
147347
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics();
147371
var comp =
CreateCompilation
(source);
147394
var comp =
CreateCompilation
(source);
147422
var comp =
CreateCompilation
(source);
147635
var comp =
CreateCompilation
(source);
147660
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
147742
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147833
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147955
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148015
var comp =
CreateCompilation
(source);
148134
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148149
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148201
var comp =
CreateCompilation
(source);
148242
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148305
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148406
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148424
comp =
CreateCompilation
(source);
148477
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148489
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148523
var comp =
CreateCompilation
(source);
148561
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148576
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148629
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148656
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148680
comp =
CreateCompilation
(source);
148729
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148735
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148766
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148815
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148847
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148881
var comp =
CreateCompilation
(source);
148907
var comp =
CreateCompilation
(source);
148929
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148950
var comp =
CreateCompilation
(source);
148971
var comp =
CreateCompilation
(source);
148995
var comp =
CreateCompilation
(source);
149033
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149080
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149120
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149164
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149188
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149223
var comp =
CreateCompilation
(source);
149247
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149279
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149303
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149333
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149369
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149426
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149457
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149480
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149502
var comp =
CreateCompilation
(source);
149541
var comp =
CreateCompilation
(source);
149580
var comp =
CreateCompilation
(source);
149620
var comp =
CreateCompilation
(source);
149663
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149692
var comp =
CreateCompilation
(source);
149733
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149773
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
149838
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149886
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149923
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149968
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
150010
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150032
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150041
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150055
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
150061
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150071
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
150081
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150110
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150191
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150276
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150334
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150351
comp =
CreateCompilation
(sourceB0, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150367
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150419
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150453
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150493
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150570
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150600
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150623
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150666
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150723
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150759
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular);
150807
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150887
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150967
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151047
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151130
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151210
comp =
CreateCompilation
(sourceB6, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151302
comp =
CreateCompilation
(sourceB7, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151365
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151401
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular8);
151503
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151583
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151675
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151740
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151765
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151825
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
151873
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151933
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
151978
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152026
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152074
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152116
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152141
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152201
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152249
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152309
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152354
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152402
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152450
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152489
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152510
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152560
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152601
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152651
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152683
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152724
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152765
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152795
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
152820
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152880
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152934
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152994
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
153039
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153086
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153112
comp =
CreateCompilation
(new[] { sourceB1, AllowNullAttributeDefinition }, references: new[] { refA });
153173
comp =
CreateCompilation
(new[] { sourceB3, AllowNullAttributeDefinition }, references: new[] { refA });
153234
comp =
CreateCompilation
(new[] { sourceB5, AllowNullAttributeDefinition }, references: new[] { refA });
153283
comp =
CreateCompilation
(new[] { sourceB6, AllowNullAttributeDefinition }, references: new[] { refA });
153337
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
153361
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153402
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153515
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153544
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153568
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
153610
comp =
CreateCompilation
(new[] { sourceB2, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, references: new[] { refA });
153650
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153678
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
153702
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
153714
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
153738
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
153776
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153831
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153878
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153915
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153954
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153998
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154063
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154102
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154127
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154152
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154177
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154203
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154229
comp =
CreateCompilation
(source6, parseOptions: TestOptions.Regular9);
154256
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154276
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154294
comp =
CreateCompilation
(source2);
154309
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154327
comp =
CreateCompilation
(source4);
154342
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154366
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154396
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154418
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154443
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154466
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154489
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154527
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154577
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154624
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154652
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154702
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154806
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154835
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154902
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154970
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155038
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155083
var comp =
CreateCompilation
(new[] { sourceA, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
155107
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155136
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155183
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155208
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155244
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155269
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155314
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155346
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155370
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155407
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
155427
comp =
CreateCompilation
(sourceB, references: new[] { refA });
155456
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155480
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
155500
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
155512
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
155523
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
155534
comp =
CreateCompilation
(sourceB3, references: new[] { refA });
155545
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
155570
var comp =
CreateCompilation
(source);
155596
var comp =
CreateCompilation
(source);
155623
var comp =
CreateCompilation
(source);
155656
var comp =
CreateCompilation
(source);
155692
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155704
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155751
var comp =
CreateCompilation
(source);
155816
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition });
155853
var comp =
CreateCompilation
(source);
155914
var comp =
CreateCompilation
(source);
155934
var nullableAttrComp =
CreateCompilation
(NullableAttributeDefinition);
155953
var lib =
CreateCompilation
(lib_cs, references: new[] { nullableAttrRef });
155966
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
155978
var executeComp =
CreateCompilation
(executable_cs,
156062
var comp =
CreateCompilation
(source);
156088
var comp =
CreateCompilation
(source);
156113
var comp =
CreateCompilation
(source);
156146
var comp =
CreateCompilation
(source);
156175
var comp =
CreateCompilation
(
156210
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156243
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156277
var comp =
CreateCompilation
(source);
156317
var comp =
CreateCompilation
(source);
156351
var comp =
CreateCompilation
(source);
156385
var comp =
CreateCompilation
(source);
156396
var comp =
CreateCompilation
(@"
156572
var comp =
CreateCompilation
(source);
156590
var comp =
CreateCompilation
(source);
156608
var comp =
CreateCompilation
(source);
156627
var comp =
CreateCompilation
(source);
156646
var comp =
CreateCompilation
(source);
156667
var comp =
CreateCompilation
(source0);
156697
var comp =
CreateCompilation
(source);
156715
var comp =
CreateCompilation
(source0);
156762
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156795
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156831
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156863
var comp =
CreateCompilation
(source);
156905
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156927
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156974
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157001
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157043
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157079
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157113
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157129
var comp =
CreateCompilation
(source0);
157143
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157165
var comp =
CreateCompilation
(source0);
157179
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157212
var comp =
CreateCompilation
(source0);
157289
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157320
var comp =
CreateCompilation
(sourceA);
157449
comp =
CreateCompilation
(new[] { sourceB2 }, references: new[] { refA });
157541
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157567
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157603
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157634
var comp =
CreateCompilation
(src);
157655
var comp =
CreateCompilation
(src);
157673
var comp =
CreateCompilation
(src);
157697
var comp =
CreateCompilation
(src);
157745
var comp =
CreateCompilation
(src);
157796
var comp =
CreateCompilation
(src);
157819
var comp =
CreateCompilation
(src);
157842
var comp =
CreateCompilation
(src);
157865
var comp =
CreateCompilation
(src);
157888
var comp =
CreateCompilation
(src);
157911
var comp =
CreateCompilation
(src);
157934
var comp =
CreateCompilation
(src);
157957
var comp =
CreateCompilation
(src);
157992
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
158030
var comp =
CreateCompilation
(src);
158067
var comp =
CreateCompilation
(src);
158105
var comp =
CreateCompilation
(src);
158139
var comp =
CreateCompilation
(src);
158172
var comp =
CreateCompilation
(src);
158213
var comp =
CreateCompilation
(src);
158248
var comp =
CreateCompilation
(src);
158281
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158308
var comp =
CreateCompilation
(src);
158341
var comp =
CreateCompilation
(src);
158382
var comp =
CreateCompilation
(src);
158422
var comp =
CreateCompilation
(src);
158461
var comp =
CreateCompilation
(src);
158498
var comp =
CreateCompilation
(src);
158533
var comp =
CreateCompilation
(src);
158566
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158593
var comp =
CreateCompilation
(src);
158632
var comp =
CreateCompilation
(src);
158674
var comp =
CreateCompilation
(src);
158716
var comp =
CreateCompilation
(src);
158755
var comp =
CreateCompilation
(src);
158791
var comp =
CreateCompilation
(src);
158821
var comp =
CreateCompilation
(src);
158857
var comp =
CreateCompilation
(src);
158892
var comp =
CreateCompilation
(src);
158931
var comp =
CreateCompilation
(src);
158964
var comp =
CreateCompilation
(src);
158999
CreateCompilation
(source).VerifyDiagnostics();
159027
CreateCompilation
(source).VerifyDiagnostics();
159053
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
159072
var comp =
CreateCompilation
(source);
159098
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
159125
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159163
var comp =
CreateCompilation
(source);
159185
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159223
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159264
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159299
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159325
var comp =
CreateCompilation
(source);
159332
var comp =
CreateCompilation
(@"
159385
var comp =
CreateCompilation
(@"
159428
var comp =
CreateCompilation
(@"
159514
var comp =
CreateCompilation
(@"
159555
var comp =
CreateCompilation
(@"
159613
var comp =
CreateCompilation
(@"
159671
var comp =
CreateCompilation
(@"
159724
var comp =
CreateCompilation
(@"
159767
var comp =
CreateCompilation
(@"
159853
var comp =
CreateCompilation
(@"
159894
var comp =
CreateCompilation
(@"
159952
var comp =
CreateCompilation
(@"
160010
var comp =
CreateCompilation
(@"
160051
var comp =
CreateCompilation
(@"
160101
var comp =
CreateCompilation
(@"
160144
var comp =
CreateCompilation
(@"
160230
var comp =
CreateCompilation
(@"
160271
var comp =
CreateCompilation
(@"
160329
var comp =
CreateCompilation
(@"
160387
var comp =
CreateCompilation
(@"
160604
CSharpCompilation c =
CreateCompilation
(new[] { @"
160672
var comp =
CreateCompilation
(source, options: WithNullableEnable());
160727
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
160777
var comp =
CreateCompilation
(source);
160797
var comp =
CreateCompilation
(@"
160818
var comp =
CreateCompilation
(@"
160849
var comp =
CreateCompilation
(@"
160878
var comp =
CreateCompilation
(@"
160930
var comp =
CreateCompilation
($$"""
160992
var comp =
CreateCompilation
($$"""
161041
var comp =
CreateCompilation
(@"
161066
var comp =
CreateCompilation
(@"
161093
var comp =
CreateCompilation
(@"
161138
var comp =
CreateCompilation
("""
161180
CreateCompilation
(source).VerifyDiagnostics(
161213
CreateCompilation
(source).VerifyDiagnostics();
161246
CreateCompilation
(source).VerifyDiagnostics();
161320
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
161354
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161400
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161440
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161461
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161496
var comp =
CreateCompilation
(source);
161521
var comp =
CreateCompilation
(source);
161547
var comp =
CreateCompilation
(source);
161576
var comp =
CreateCompilation
(source);
161614
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 (99)
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);
12300
var comp1 =
CreateCompilation
(source1);
12306
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()]);
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);
7871
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7909
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7914
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
7951
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
7989
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
7994
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8031
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8036
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8073
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8078
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8113
CreateCompilation
(source1, options: TestOptions.DebugExe, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
8118
CreateCompilation
(source1, options: TestOptions.DebugExe).VerifyDiagnostics(
8154
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8262
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8308
var comp =
CreateCompilation
(source);
8370
var comp =
CreateCompilation
(source);
8404
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
8490
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8538
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8585
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8624
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8659
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8685
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8715
var compilation =
CreateCompilation
(source1, options: TestOptions.DebugExe);
8835
var compilation =
CreateCompilation
(source1);
8920
var compilation =
CreateCompilation
(source);
9057
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9096
CreateCompilation
(source).VerifyDiagnostics(
9120
CreateCompilation
(source).VerifyDiagnostics(
9144
CreateCompilation
(source).VerifyDiagnostics(
9465
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9519
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9520
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9521
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9548
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
9549
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9550
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9569
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
9587
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9599
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9600
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
9619
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9658
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9691
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9726
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9828
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9859
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9892
CreateCompilation
(code).VerifyDiagnostics(
9938
CreateCompilation
(code, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
9968
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
9969
CreateCompilation
(code).VerifyDiagnostics(expectedDiagnostics);
9990
CreateCompilation
(code).VerifyDiagnostics(
10458
CreateCompilation
(code).VerifyDiagnostics(
10492
CreateCompilation
(code).VerifyDiagnostics(
10526
CreateCompilation
(code).VerifyDiagnostics(
10560
CreateCompilation
(code).VerifyDiagnostics(
10572
CreateCompilation
(@"
10597
CreateCompilation
(@"
10750
CreateCompilation
(code).VerifyDiagnostics(
10815
CreateCompilation
(code).VerifyDiagnostics(
10912
CreateCompilation
(code).VerifyDiagnostics(
11207
CreateCompilation
(@"
11296
CreateCompilation
(code).VerifyDiagnostics(
11444
var comp =
CreateCompilation
(code);
11471
CreateCompilation
(code).VerifyDiagnostics(
11520
CreateCompilation
(code, references: new[] { libComp.EmitToImageReference() }).VerifyDiagnostics(
11529
CreateCompilation
(code, references: new[] { libComp.ToMetadataReference() }).VerifyDiagnostics(
11560
CreateCompilation
(code).VerifyDiagnostics(
11652
CreateCompilation
(code).VerifyDiagnostics
11684
CreateCompilation
(code).VerifyDiagnostics
11747
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11751
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11752
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11753
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11796
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11800
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11801
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11802
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11846
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
11850
var ref0 =
CreateCompilation
(source0).EmitToImageReference();
11851
var ref1 =
CreateCompilation
(source1, references: new[] { ref0 }).EmitToImageReference();
11852
comp =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
11887
var comp =
CreateCompilation
(source);
11915
var comp =
CreateCompilation
(source);
11946
CreateCompilation
(source).VerifyDiagnostics();
Semantics\QueryTests.cs (11)
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(
4763
var comp =
CreateCompilation
(code);
4786
var comp =
CreateCompilation
(code);
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 (823)
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
("""
31998
var comp =
CreateCompilation
("""
32037
var spanCompilation =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular8);
32088
var comp =
CreateCompilation
([source0, source1],
32105
var reference =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8).EmitToImageReference();
32121
var comp =
CreateCompilation
(source1, references: [reference], parseOptions: TestOptions.Regular8);
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);
3835
CreateCompilation
(code).VerifyEmitDiagnostics(
4545
CreateCompilation
(@"
4562
CreateCompilation
(@"
4581
CreateCompilation
(@"
4614
CreateCompilation
(@"
4647
CreateCompilation
(@"
4670
CreateCompilation
(@"
4700
CreateCompilation
(@"
4717
CreateCompilation
(@"
4734
var compilation =
CreateCompilation
(@"
4762
var compilation =
CreateCompilation
(@"
4790
var compilation =
CreateCompilation
(@"
4818
var compilation =
CreateCompilation
(@"
4846
var compilation =
CreateCompilation
(@"
4874
var compilation =
CreateCompilation
(@"
4902
var compilation =
CreateCompilation
(@"
5139
CreateCompilation
(code).VerifyEmitDiagnostics(
5164
CreateCompilation
(code).VerifyEmitDiagnostics(
5190
var comp =
CreateCompilation
(code).VerifyEmitDiagnostics(
5236
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
5275
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 (556)
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(
3212
var a1 =
CreateCompilation
(libSource, assemblyName: "A1").VerifyDiagnostics().EmitToImageReference();
3213
var a2 =
CreateCompilation
(libSource, assemblyName: "A2").VerifyDiagnostics().EmitToImageReference();
3217
CreateCompilation
(exeSource, [a1, a2]).VerifyDiagnostics(
3239
CreateCompilation
(source, options: TestOptions.DebugExe.WithSourceReferenceResolver(resolver)).VerifyDiagnostics(
3268
CreateCompilation
(text).VerifyDiagnostics(
3296
var comp =
CreateCompilation
(text);
3334
CreateCompilation
(text).VerifyDiagnostics(
3368
var compilation =
CreateCompilation
(tree);
3428
CreateCompilation
(text).VerifyDiagnostics(
3449
CreateCompilation
(text).VerifyDiagnostics(
3492
CreateCompilation
(text).VerifyDiagnostics(
3523
CreateCompilation
(text).VerifyDiagnostics(
3575
CreateCompilation
(text).VerifyDiagnostics(
3603
CreateCompilation
(source).VerifyDiagnostics(
3674
CreateCompilation
(source).VerifyDiagnostics(
3697
CreateCompilation
(source).VerifyDiagnostics(
3719
CreateCompilation
(text).VerifyDiagnostics(
3740
CreateCompilation
(text).
3754
CreateCompilation
(
3796
CreateCompilation
(source).VerifyDiagnostics(
3848
CreateCompilation
(source).VerifyDiagnostics(
3886
CreateCompilation
(source).VerifyDiagnostics(
3914
CreateCompilation
(source).VerifyDiagnostics(
3939
CreateCompilation
(source).VerifyDiagnostics(
4047
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3);
4062
comp =
CreateCompilation
(text);
4080
CreateCompilation
(
4115
CreateCompilation
(
4184
var comp =
CreateCompilation
(text);
4220
var comp =
CreateCompilation
(text);
4248
var comp =
CreateCompilation
(text);
4306
CreateCompilation
(test).VerifyDiagnostics(
4338
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
4375
CreateCompilation
(text).VerifyDiagnostics(
4394
var comp =
CreateCompilation
(text);
4420
var comp =
CreateCompilation
(text);
4430
CreateCompilation
(
4479
CreateCompilation
(source).VerifyDiagnostics(
4504
CreateCompilation
(source).VerifyDiagnostics(
4520
CreateCompilation
(source).VerifyDiagnostics(
4529
CreateCompilation
(
4560
CreateCompilation
(
4598
var compilation1 =
CreateCompilation
(source1);
4611
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
4640
CreateCompilation
(text).VerifyDiagnostics(
4669
CreateCompilation
(text).VerifyDiagnostics(
4698
CreateCompilation
(text).VerifyDiagnostics(
4726
CreateCompilation
(text).VerifyDiagnostics(
4772
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4778
CreateCompilation
(text).VerifyDiagnostics(
4800
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
4803
CreateCompilation
(text).VerifyDiagnostics(); // dynamic conversion to Exception
4829
CreateCompilation
(text).VerifyDiagnostics(
4944
CreateCompilation
(text).VerifyDiagnostics(
5037
CreateCompilation
(text).VerifyDiagnostics(
5119
CreateCompilation
(text).VerifyDiagnostics(
5165
CreateCompilation
(text).
5189
CreateCompilation
(text).
5245
CreateCompilation
(text).
5294
CreateCompilation
(text).VerifyDiagnostics(
5321
CreateCompilation
(text).
5344
CreateCompilation
(text).
5371
CreateCompilation
(text).
5393
CreateCompilation
(text).
5442
CreateCompilation
(text).
5474
CreateCompilation
(text).
5510
CreateCompilation
(text).
5548
CreateCompilation
(text).VerifyDiagnostics(
5577
CreateCompilation
(text).VerifyDiagnostics(
5605
CreateCompilation
(text).VerifyDiagnostics(
5638
CreateCompilation
(text).VerifyDiagnostics(
5665
CreateCompilation
(text).VerifyDiagnostics(
5691
CreateCompilation
(text).VerifyDiagnostics(
5713
CreateCompilation
(text).VerifyDiagnostics(
5735
CreateCompilation
(text).VerifyDiagnostics(
5759
CreateCompilation
(text).VerifyDiagnostics(
5783
CreateCompilation
(text).VerifyDiagnostics(
5808
CreateCompilation
(text).VerifyDiagnostics(
5835
CreateCompilation
(text).VerifyDiagnostics(
5868
CreateCompilation
(text).VerifyDiagnostics(
5901
CreateCompilation
(text).VerifyDiagnostics(
5937
CreateCompilation
(source).VerifyDiagnostics(
5969
CreateCompilation
(source).VerifyDiagnostics(
6205
CreateCompilation
(
6246
CreateCompilation
(
6349
CreateCompilation
(
6383
CreateCompilation
(
6402
CreateCompilation
(
6422
CreateCompilation
(
6508
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular10);
6556
var comp =
CreateCompilation
(text);
6587
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
6618
CreateCompilation
(text).VerifyDiagnostics(
6637
CreateCompilation
(text).
6657
CreateCompilation
(text).VerifyDiagnostics(
6684
CreateCompilation
(text).VerifyDiagnostics(
6726
CreateCompilation
(text).VerifyDiagnostics(
6749
CreateCompilation
(text).VerifyDiagnostics(
6771
CreateCompilation
(source).VerifyDiagnostics(
6795
CreateCompilation
(source).VerifyDiagnostics(
6827
CreateCompilation
(source).VerifyDiagnostics(
6855
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461).VerifyDiagnostics(
6879
CreateCompilation
(source).VerifyDiagnostics(
6909
CreateCompilation
(text).VerifyDiagnostics(
6931
CreateCompilation
(text).VerifyDiagnostics(
6992
CreateCompilation
(text).
7024
CreateCompilation
(text, parseOptions: TestOptions.Regular10).
7284
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
7385
CreateCompilation
(source).Emit(new System.IO.MemoryStream()).Diagnostics
7432
CreateCompilation
(source).VerifyDiagnostics(
7527
var compilation =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
7616
CreateCompilation
(text, options: TestOptions.ReleaseDll).VerifyDiagnostics(
7621
CreateCompilation
(text, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
7688
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithNullableContextOptions(nullableContextOptions), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics();
7740
CreateCompilation
(source).VerifyDiagnostics(
7770
CreateCompilation
(source).VerifyDiagnostics(
7791
CreateCompilation
(source).VerifyDiagnostics(
7806
CreateCompilation
(source).VerifyDiagnostics(
7814
CreateCompilation
(
7846
var compilation1 =
CreateCompilation
(source1);
7859
var compilation2 =
CreateCompilation
(source2, references: new[] { reference1 });
7885
CreateCompilation
(text).VerifyDiagnostics(
7904
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithTuplesFeature()).VerifyDiagnostics(
7937
var comp =
CreateCompilation
(new[] { Parse(test, options: TestOptions.Regular6) }, new MetadataReference[] { });
8081
CreateCompilation
(text).VerifyDiagnostics(
8110
CreateCompilation
(text).VerifyDiagnostics(
8140
CreateCompilation
(text).VerifyDiagnostics(
8189
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8282
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8318
CreateCompilation
(text).VerifyDiagnostics(
8353
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8378
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8407
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8446
var comp =
CreateCompilation
(text);
8470
CreateCompilation
(text).VerifyDiagnostics(
8489
CreateCompilation
(text).VerifyDiagnostics(
8511
CreateCompilation
(text).VerifyDiagnostics(
8551
CreateCompilation
(text).VerifyDiagnostics(
8633
CreateCompilation
(text).VerifyDiagnostics(
8714
var comp =
CreateCompilation
(text);
8803
CreateCompilation
(
8827
CreateCompilation
(
8858
CreateCompilation
(
8899
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8935
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
8965
CreateCompilation
(text).VerifyDiagnostics(
8974
CreateCompilation
(@"
8998
CreateCompilation
(@"
9024
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9046
CreateCompilation
(text).VerifyDiagnostics(
9088
CreateCompilation
(text).VerifyDiagnostics(
9124
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9148
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9172
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
9207
CreateCompilation
(source).VerifyDiagnostics(
9225
CreateCompilation
(source).VerifyDiagnostics(
9250
CreateCompilation
(source).VerifyDiagnostics(
9275
CreateCompilation
(source).VerifyDiagnostics(
9291
CreateCompilation
(source).VerifyDiagnostics(
9302
CreateCompilation
(source).VerifyDiagnostics();
9313
CreateCompilation
(source).VerifyDiagnostics();
9330
CreateCompilation
(source).VerifyDiagnostics(
9356
CreateCompilation
(source).VerifyDiagnostics(
9374
CreateCompilation
(text).
9396
CreateCompilation
(text).VerifyDiagnostics(
9422
CreateCompilation
(text).
9448
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
9466
CreateCompilation
(source).VerifyDiagnostics(
9527
CreateCompilation
(source).VerifyDiagnostics(
9557
CreateCompilation
(source).VerifyDiagnostics(
9583
CreateCompilation
(source).VerifyDiagnostics(
9619
CreateCompilation
(source).VerifyDiagnostics(
9631
CreateCompilation
(
9688
CreateCompilation
(source).VerifyDiagnostics(
9724
CreateCompilation
(source).VerifyDiagnostics(
9732
CreateCompilation
(
9780
CreateCompilation
(source).VerifyDiagnostics(
9818
CreateCompilation
(source).VerifyDiagnostics(
9850
CreateCompilation
(source).VerifyDiagnostics(
9869
CreateCompilation
(text).VerifyDiagnostics(
9913
CreateCompilation
(text).VerifyDiagnostics(
10154
CreateCompilation
(text).VerifyDiagnostics(
10219
CreateCompilation
(text).VerifyDiagnostics(
10242
CreateCompilation
(source).VerifyDiagnostics(
10257
CreateCompilation
(source).VerifyDiagnostics(
10267
CreateCompilation
(source).VerifyDiagnostics(
10284
CreateCompilation
(source).VerifyDiagnostics(
10317
CreateCompilation
(source).VerifyDiagnostics(
10340
CreateCompilation
(source).VerifyDiagnostics(
10365
CreateCompilation
(source).VerifyDiagnostics(
10387
CreateCompilation
(source).VerifyDiagnostics(
10402
CreateCompilation
(source).VerifyDiagnostics(
10413
CreateCompilation
(source).VerifyDiagnostics(
10436
CreateCompilation
(source).VerifyDiagnostics(
10467
CreateCompilation
(text).VerifyDiagnostics(
10508
CreateCompilation
(source).VerifyDiagnostics(
10580
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10585
CreateCompilation
(text).VerifyDiagnostics(
10610
CreateCompilation
(text, parseOptions: TestOptions.WithoutImprovedOverloadCandidates).VerifyDiagnostics(
10618
CreateCompilation
(text).VerifyDiagnostics(
10658
CreateCompilation
(text).VerifyDiagnostics(
10699
CreateCompilation
(text).VerifyDiagnostics(
10761
CreateCompilation
(source).VerifyDiagnostics(
10791
CreateCompilation
(source).VerifyDiagnostics(
10814
CreateCompilation
(source).VerifyDiagnostics(
10871
CreateCompilation
(text).VerifyDiagnostics(
10942
CreateCompilation
(code).VerifyDiagnostics(
10977
CreateCompilation
(text).VerifyDiagnostics(
11006
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
11044
CreateCompilation
(text).VerifyDiagnostics(
11085
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(noWarns)).VerifyDiagnostics(
11115
CreateCompilation
(text).VerifyDiagnostics(
11130
CreateCompilation
(text).VerifyDiagnostics(
11155
CreateCompilation
(text).VerifyDiagnostics(
11207
CreateCompilation
(text).VerifyDiagnostics(
11229
CreateCompilation
(source).VerifyDiagnostics(
11249
CreateCompilation
(source).VerifyDiagnostics(
11274
CreateCompilation
(source).VerifyDiagnostics(
11314
CreateCompilation
(source).VerifyDiagnostics(
11363
CreateCompilation
(source).VerifyDiagnostics(
11407
CreateCompilation
(source).VerifyDiagnostics(
11452
CreateCompilation
(source).VerifyDiagnostics();
11458
var compilation =
CreateCompilation
(
11494
CreateCompilation
(source).VerifyDiagnostics(
11556
CreateCompilation
(test).VerifyDiagnostics(
11573
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11598
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461);
11634
CreateCompilation
(text).VerifyDiagnostics(
11674
var compilation =
CreateCompilation
(
11712
var compilation =
CreateCompilation
(text);
11731
CreateCompilation
(@"
11771
CreateCompilation
(text).VerifyDiagnostics(
11801
CreateCompilation
(text).VerifyDiagnostics(
11889
CreateCompilation
(code).VerifyDiagnostics(
11897
CreateCompilation
(
11962
CreateCompilation
(text).VerifyDiagnostics(
12010
CreateCompilation
(text).VerifyDiagnostics(
12033
CreateCompilation
(text).VerifyDiagnostics(
12076
var comp =
CreateCompilation
(source);
12099
var comp =
CreateCompilation
(source);
12157
CreateCompilation
(@"
12323
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
12347
var comp =
CreateCompilation
(text);
12832
CreateCompilation
(text).VerifyDiagnostics(
12855
CreateCompilation
(text, options: TestOptions.ReleaseDll.WithWarningLevel(5)).VerifyDiagnostics(
12883
CreateCompilation
(
12906
CreateCompilation
(
12930
CreateCompilation
(
13021
CreateCompilation
(text, parseOptions: TestOptions.Regular10)
13055
var comp =
CreateCompilation
(text);
13121
CreateCompilation
(text).VerifyDiagnostics(
13331
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseExe);
13427
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13479
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13562
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
13613
CreateCompilation
(text).VerifyDiagnostics(
13662
CreateCompilation
(text).VerifyDiagnostics(
13717
CreateCompilation
(source).VerifyDiagnostics(
13726
CreateCompilation
(
13755
CreateCompilation
(
13958
CreateCompilation
(source, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(
14054
CreateCompilation
(text).VerifyDiagnostics(
14079
CreateCompilation
(source).VerifyDiagnostics(
14106
CreateCompilation
(source).VerifyDiagnostics(
14138
CreateCompilation
(source).VerifyDiagnostics(
14205
CreateCompilation
(text).VerifyDiagnostics(
14231
CreateCompilation
(text).VerifyDiagnostics(
14259
CreateCompilation
(text).VerifyDiagnostics(
14287
CreateCompilation
(text).VerifyDiagnostics(
14317
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
14378
CreateCompilation
(text).VerifyDiagnostics(
14439
CreateCompilation
(
14459
CreateCompilation
(
14475
CreateCompilation
(
14502
CreateCompilation
(
14553
CreateCompilation
(
14669
CreateCompilation
(text).VerifyDiagnostics(
14783
CreateCompilation
(text).
14861
CreateCompilation
(text).VerifyDiagnostics(
14883
CreateCompilation
(text).
14936
CreateCompilation
(text).VerifyDiagnostics(
14956
CreateCompilation
(text).
15006
CreateCompilation
(text).VerifyDiagnostics(
15032
CreateCompilation
(text).VerifyDiagnostics(
15110
CreateCompilation
(source).VerifyDiagnostics(
15156
CreateCompilation
(text).VerifyDiagnostics(
15185
CreateCompilation
(text).VerifyDiagnostics(
15235
var comp =
CreateCompilation
(text);
15263
var comp =
CreateCompilation
(text);
15299
var comp =
CreateCompilation
(text);
15355
var comp =
CreateCompilation
(text);
15390
var comp =
CreateCompilation
(text);
15441
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
15469
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
15470
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
15498
var comp =
CreateCompilation
(text);
15527
var comp =
CreateCompilation
(text);
15553
var comp =
CreateCompilation
(text);
15574
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15662
CreateCompilation
(text).
15686
CreateCompilation
(text).VerifyDiagnostics(
15707
CreateCompilation
(text).
15775
CreateCompilation
(text).VerifyDiagnostics(
15804
CreateCompilation
(text).VerifyDiagnostics(
15835
CreateCompilation
(text).VerifyDiagnostics(
15876
CreateCompilation
(text).VerifyDiagnostics(
15906
CreateCompilation
(text).VerifyDiagnostics(
15941
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15959
CreateCompilation
(text).VerifyDiagnostics(
15984
CreateCompilation
(text).
16007
CreateCompilation
(text).VerifyDiagnostics(
16066
CreateCompilation
(text).VerifyDiagnostics(
16119
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
16159
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
16258
CreateCompilation
(source).VerifyDiagnostics(
16279
CreateCompilation
(source).VerifyDiagnostics(
16398
CreateCompilation
(text).VerifyDiagnostics(
16420
var compilation =
CreateCompilation
(text);
16444
var compilation =
CreateCompilation
(text);
16495
CreateCompilation
(text).VerifyDiagnostics(
16524
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16554
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16583
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16608
CreateCompilation
(text).VerifyDiagnostics(
16648
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16682
var comp =
CreateCompilation
(text);
16725
var compilation =
CreateCompilation
(text);
16821
var comp =
CreateCompilation
(text);
16840
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
16899
var compilation = CSharpTestBase.
CreateCompilation
(text);
17051
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
17343
var comp =
CreateCompilation
(program);
17416
CreateCompilation
(text).VerifyDiagnostics(
17643
CreateCompilation
(program).VerifyDiagnostics(
17829
var comp =
CreateCompilation
(text);
17910
CreateCompilation
(text).VerifyDiagnostics(
18042
CreateCompilation
(text).VerifyDiagnostics(
18199
CreateCompilation
(text).VerifyDiagnostics(
18299
CreateCompilation
(text).VerifyDiagnostics(
18367
CreateCompilation
(text).VerifyDiagnostics(
18436
CreateCompilation
(text).VerifyDiagnostics(
18467
CreateCompilation
(text).VerifyDiagnostics(
18490
CreateCompilation
(source).VerifyDiagnostics();
18492
CreateCompilation
(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics();
18547
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18641
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18667
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18965
CreateCompilation
(text).VerifyDiagnostics(
18988
CreateCompilation
(text).VerifyDiagnostics(
19008
CreateCompilation
(text).VerifyDiagnostics(
19039
CreateCompilation
(text).VerifyDiagnostics();
19054
CreateCompilation
(text).VerifyDiagnostics(
19081
CreateCompilation
(text).VerifyDiagnostics(
19108
CreateCompilation
(text).VerifyDiagnostics(
19145
CreateCompilation
(text).VerifyDiagnostics(
19175
CreateCompilation
(text).VerifyDiagnostics(
19208
CreateCompilation
(text).VerifyDiagnostics(
19253
CreateCompilation
(text).VerifyDiagnostics(
19279
CreateCompilation
(text).
19296
CreateCompilation
(text).
19314
CreateCompilation
(text).VerifyDiagnostics(
19337
CreateCompilation
(text).VerifyDiagnostics(
19357
CreateCompilation
(text).VerifyDiagnostics(
19374
var comp =
CreateCompilation
(text);
19403
var comp =
CreateCompilation
(text);
19436
var comp =
CreateCompilation
(text);
19519
CreateCompilation
(text).VerifyDiagnostics(
19568
CreateCompilation
(text).VerifyDiagnostics(
19613
CreateCompilation
(text).VerifyDiagnostics(
19632
CreateCompilation
(text).VerifyDiagnostics(
19650
CreateCompilation
(text).VerifyDiagnostics(
19666
CreateCompilation
(text).VerifyDiagnostics(
19684
CreateCompilation
(text).VerifyDiagnostics(
19708
CreateCompilation
(text).VerifyDiagnostics(
19729
CreateCompilation
(text).VerifyDiagnostics(
19751
CreateCompilation
(text).VerifyDiagnostics();
19771
CreateCompilation
(text).VerifyDiagnostics(
19795
CreateCompilation
(text).VerifyDiagnostics(
19855
CreateCompilation
(text).VerifyDiagnostics();
19902
CreateCompilation
(text).VerifyDiagnostics(
19936
CreateCompilation
(text).VerifyDiagnostics(
19960
CreateCompilation
(text).VerifyDiagnostics();
19978
CreateCompilation
(text).VerifyDiagnostics(
20041
CreateCompilation
(text).VerifyDiagnostics(
20076
CreateCompilation
(text).VerifyDiagnostics(
20114
CreateCompilation
(text).VerifyDiagnostics(
20136
var comp =
CreateCompilation
(text);
20152
var comp =
CreateCompilation
(text);
20217
CreateCompilation
(text).VerifyDiagnostics(
20277
CreateCompilation
(text).VerifyDiagnostics(
20307
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
20341
CreateCompilation
(text).VerifyDiagnostics();
20368
CreateCompilation
(text).VerifyDiagnostics();
20435
var comp =
CreateCompilation
(text);
20646
CreateCompilation
(text).VerifyDiagnostics(
20972
CreateCompilation
(text).VerifyDiagnostics(
21210
CreateCompilation
(text).VerifyDiagnostics(
21240
CreateCompilation
(text).
21262
CreateCompilation
(text).
21289
var comp =
CreateCompilation
(text);
21312
CreateCompilation
(text).VerifyDiagnostics(
21339
CreateCompilation
(text).VerifyDiagnostics(
21364
CreateCompilation
(text).VerifyDiagnostics();
21387
CreateCompilation
(text).VerifyDiagnostics(
21406
CreateCompilation
(text).VerifyDiagnostics(
21429
CreateCompilation
(text).VerifyDiagnostics(
21488
CreateCompilation
(text).VerifyDiagnostics(
21559
var comp =
CreateCompilation
(text);
21597
CreateCompilation
(@"
21625
CreateCompilation
(
21678
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
21709
CreateCompilation
(text).VerifyDiagnostics(
21998
var c =
CreateCompilation
(
22176
CreateCompilation
(text).VerifyDiagnostics(
22235
CreateCompilation
(text).VerifyDiagnostics(
22270
CreateCompilation
(text).
22379
CreateCompilation
(text).VerifyDiagnostics();
22404
CreateCompilation
(text).VerifyDiagnostics(
22449
CreateCompilation
(text).VerifyDiagnostics(
22602
CreateCompilation
(text).VerifyDiagnostics(
22739
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
22762
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
22912
CreateCompilation
(text).VerifyDiagnostics(
22947
CreateCompilation
(text).VerifyDiagnostics(
22989
CreateCompilation
(text).VerifyDiagnostics(
23034
CreateCompilation
(text).VerifyDiagnostics(
23068
CreateCompilation
(text).VerifyEmitDiagnostics(
23115
var comp =
CreateCompilation
(text);
23168
CreateCompilation
(source).VerifyDiagnostics(
23192
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23257
CreateCompilation
(source).VerifyDiagnostics(
23271
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23316
CreateCompilation
(source).VerifyDiagnostics(
23432
CreateCompilation
(text).VerifyDiagnostics(
23576
CreateCompilation
(text).VerifyDiagnostics(
23621
CreateCompilation
(text).VerifyDiagnostics(
23640
CreateCompilation
(text).VerifyDiagnostics(
23657
CreateCompilation
(text).VerifyDiagnostics(
23677
CreateCompilation
(text).VerifyDiagnostics(
23694
CreateCompilation
(text).VerifyDiagnostics(
23719
CreateCompilation
(builder.ToString(), null, TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)).VerifyEmitDiagnostics(
23741
CreateCompilation
(@"
23758
CreateCompilation
(@"
23783
CreateCompilation
(@"
23809
CreateCompilation
(@"
23852
CreateCompilation
(text).VerifyDiagnostics(
23878
CreateCompilation
(text).VerifyDiagnostics(
23896
CreateCompilation
(text).VerifyDiagnostics(
23920
CreateCompilation
(source).VerifyDiagnostics();
23942
CreateCompilation
(source).VerifyDiagnostics(
24008
CreateCompilation
(source).VerifyDiagnostics(
24074
CreateCompilation
(source).VerifyDiagnostics(
24124
CreateCompilation
(text).VerifyDiagnostics(
24154
CreateCompilation
(text).VerifyDiagnostics(
24231
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
24783
var compilation =
CreateCompilation
(text);
24930
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
24967
var comp =
CreateCompilation
(source);
24988
var comp =
CreateCompilation
(source);
25046
var comp =
CreateCompilation
(source);
25070
var comp =
CreateCompilation
(source);
25102
var comp =
CreateCompilation
(source);
25132
var comp =
CreateCompilation
(source);
25163
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
25199
var comp =
CreateCompilation
(source);
25263
var comp =
CreateCompilation
(source);
25360
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);
1314
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1331
var comp =
CreateCompilation
(text, 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);
1391
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1405
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1440
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1458
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1491
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1510
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1545
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1586
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions).VerifyDiagnostics(
1624
var comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1686
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1859
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2013
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2016
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2019
Assert.Throws<System.ArgumentException>(() =>
CreateCompilation
(new[] { Parse(text1, filename: "text1", DefaultParseOptions),
2023
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2080
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2244
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2394
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2397
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2400
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2446
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2591
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2610
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2641
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2666
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2727
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2812
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2869
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2897
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2931
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3045
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3107
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3170
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3237
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3301
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3363
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3426
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3493
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3557
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3619
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3682
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3749
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3813
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3881
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3949
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4098
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4198
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4223
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4244
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4326
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4348
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4400
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4488
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4505
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4529
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4568
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4596
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4634
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4648
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4676
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4693
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4709
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4729
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4744
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4762
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4785
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4800
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4814
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4835
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4856
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4877
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4902
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4922
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4954
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4975
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5007
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5040
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5068
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5098
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5130
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5160
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5186
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5222
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5261
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5317
var comp =
CreateCompilation
(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5380
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5402
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5422
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5443
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5464
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5488
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5513
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5540
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5568
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5595
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5623
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5647
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5672
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5689
var comp =
CreateCompilation
(text);
5743
CreateCompilation
(source,
5756
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5770
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5789
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5810
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5834
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5860
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5881
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5902
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5923
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5944
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5964
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5988
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6006
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6030
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6053
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6090
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6314
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6355
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6398
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6448
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6487
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6498
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6592
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6601
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6649
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6664
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6770
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6781
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6857
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6866
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6915
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6924
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6973
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6982
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7041
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7050
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7120
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7128
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7233
var comp =
CreateCompilation
(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7242
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7327
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7336
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7400
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7410
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7467
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7477
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7556
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7579
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7601
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7639
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7665
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7696
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7714
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7761
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7808
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7877
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7987
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8010
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8029
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8048
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8068
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8086
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8108
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8128
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8147
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8165
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8185
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8197
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll, parseOptions: DefaultParseOptions);
8210
var comp =
CreateCompilation
(text, options: TestOptions.ReleaseModule, parseOptions: DefaultParseOptions);
8326
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8344
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8357
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8366
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8380
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8394
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8408
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8435
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8452
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8469
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8486
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8533
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithOverflowChecks(true), parseOptions: DefaultParseOptions);
8578
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8594
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugExe, parseOptions: DefaultParseOptions);
8621
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8651
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8673
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8692
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8707
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8740
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8760
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8772
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
8783
var comp =
CreateCompilation
(text);
8805
var comp =
CreateCompilation
(text);
8827
var comp =
CreateCompilation
(text);
8954
var comp =
CreateCompilation
(@"
9010
var comp =
CreateCompilation
(@"
9087
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9104
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9121
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9133
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9146
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9164
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
9182
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9237
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9275
var comp =
CreateCompilation
(text);
9309
var comp =
CreateCompilation
(text);
9331
var comp =
CreateCompilation
(text);
9353
var comp =
CreateCompilation
(text);
9382
var comp =
CreateCompilation
(text);
9404
var comp =
CreateCompilation
(text);
9427
var comp =
CreateCompilation
(text);
9454
var comp =
CreateCompilation
(text);
9486
var comp =
CreateCompilation
(text);
9502
var comp =
CreateCompilation
(text);
9518
var comp =
CreateCompilation
(text);
9534
var comp =
CreateCompilation
(text);
9556
var comp =
CreateCompilation
(text);
9576
var comp =
CreateCompilation
(text);
9591
var comp =
CreateCompilation
(text);
9611
var comp =
CreateCompilation
(text);
9631
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
9670
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9687
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9707
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithDocumentationComments);
9733
var comp =
CreateCompilation
(src);
9746
var comp =
CreateCompilation
(src);
9768
var comp =
CreateCompilation
(src);
9790
var comp =
CreateCompilation
(src);
9811
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
9836
var compilation =
CreateCompilation
(source);
9861
var comp =
CreateCompilation
(src);
9901
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9904
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9929
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9932
comp =
CreateCompilation
(new[] { src2, src1 }, options: TestOptions.ReleaseExe);
9957
var comp =
CreateCompilation
(new[] { src1, src2 }, options: TestOptions.ReleaseExe);
9960
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 (5779)
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 (2)
22
var c = (Compilation)
CreateCompilation
(@"
179
var comp =
CreateCompilation
(text);
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 (115)
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);
6126
var 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)
895
var compilation =
CreateCompilation
(source: sourceCode);
1110
var compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1144
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1174
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1204
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1230
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1257
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1285
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1312
compilation = (Compilation)
CreateCompilation
(source: sourceCode);
1353
compilation =
CreateCompilation
(source: sourceCode);
1391
compilation =
CreateCompilation
(source: sourceCode);
1450
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1468
compilation =
CreateCompilation
(source2, new[] { reference1 });
1480
compilation =
CreateCompilation
(source2, new[] { reference1 });
1495
compilation =
CreateCompilation
(source2, new[] { reference1 });
1516
compilation =
CreateCompilation
(source2, new[] { reference1 });
1589
var compilation =
CreateCompilation
(source2, new[] { reference1 });
1604
compilation =
CreateCompilation
(source2, new[] { reference1 });
1619
compilation =
CreateCompilation
(source2, new[] { reference1 });
1660
var compilation =
CreateCompilation
("");
5537
var compilation =
CreateCompilation
(sourceCode);
8429
var compilation =
CreateCompilation
(sourceCode);
8453
var compilation =
CreateCompilation
(sourceCode);
8971
CreateCompilation
(sourceCode).VerifyDiagnostics(
9018
CreateCompilation
(sourceCode).VerifyDiagnostics(
12122
var comp =
CreateCompilation
(tree);
14481
var compilation =
CreateCompilation
(sourceCode);
14649
var comp =
CreateCompilation
(source);
14731
var compilation =
CreateCompilation
(new[] { sourceCode1, sourceCode2 });
14749
var compilation =
CreateCompilation
(
14832
var compilation =
CreateCompilation
(
14929
var pia =
CreateCompilation
(
14968
var compilation =
CreateCompilation
(
15050
var compilation =
CreateCompilation
(sourceCode);
15292
var comp =
CreateCompilation
(@"
15368
var compilation =
CreateCompilation
(sourceCode);
15430
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");
684
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);
1279
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1329
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1355
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1378
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1407
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1431
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.Regular8);
1440
comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1457
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1479
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1504
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1526
var comp =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1635
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1669
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1705
var comp =
CreateCompilation
(new[] { text, AllowNullAttributeDefinition }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1726
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1746
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1772
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1802
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1846
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods, targetFramework: TargetFramework.NetCoreApp);
1878
var comp =
CreateCompilation
(text);
1903
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
1929
CreateCompilation
(source).VerifyDiagnostics(
1934
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
1936
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1963
CreateCompilation
(source).VerifyDiagnostics(
2070
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2208
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2269
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular8);
2278
comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2300
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2335
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2357
var comp =
CreateCompilation
(text, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2418
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2424
var comp2 =
CreateCompilation
(
2455
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2509
var comp =
CreateCompilation
(new[] { text1, text2 }, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2563
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2570
var comp2 =
CreateCompilation
(
2607
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2613
var comp2 =
CreateCompilation
(
2650
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2691
var comp1 =
CreateCompilation
(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
2716
var comp1 =
CreateCompilation
(
2761
var comp1 =
CreateCompilation
(
2805
var comp1 =
CreateCompilation
(source1, assemblyName: "C");
2903
var comp =
CreateCompilation
(csharp, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3050
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3056
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3072
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3094
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3097
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3122
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3131
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3158
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3185
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3215
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3261
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3325
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3353
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3378
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3391
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3407
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3426
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3429
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3453
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3456
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3478
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3534
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3558
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6), parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3598
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3617
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPartialMethods);
3641
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3644
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3679
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3697
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3740
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3743
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3781
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(5));
3784
comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithWarningLevel(6));
3814
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 (30)
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
(
704
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
720
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
754
var comp1 =
CreateCompilation
([source1, source2], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
793
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
809
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
855
var comp1 =
CreateCompilation
(
873
comp1 =
CreateCompilation
(
911
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
951
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
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 (59)
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");
1530
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.ReleaseDll, assemblyName: "Asm2");
1533
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
1536
comp2 =
CreateCompilation
(source2, new[] { comp1.ToMetadataReference() }, options: TestOptions.ReleaseDll, assemblyName: "Asm2");
1574
var bitsA =
CreateCompilation
(moduleA, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1578
var bitsB =
CreateCompilation
(moduleB, new[] { refA }, TestOptions.ReleaseExe, assemblyName: "test").EmitToArray();
1581
var bits0 =
CreateCompilation
(module0, options: TestOptions.ReleaseModule, assemblyName: "asm0").EmitToArray();
1585
var bits1 =
CreateCompilation
(module1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1").EmitToArray();
1589
var bits2 =
CreateCompilation
(module2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2").EmitToArray();
1648
var forwardedTypesCompilation =
CreateCompilation
(forwardedTypes, options: TestOptions.ReleaseDll, assemblyName: "ForwarderTargetAssembly");
1655
var modCompilation =
CreateCompilation
(mod, references: new[] { new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1665
var appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1721
appCompilation =
CreateCompilation
(app, references: new MetadataReference[] { modRef2, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseDll);
1743
appCompilation =
CreateCompilation
(app, references: new[] { modRef1, new CSharpCompilationReference(forwardedTypesCompilation) }, options: TestOptions.ReleaseModule);
1752
appCompilation =
CreateCompilation
(app, references: new[] { modRef1 }, options: TestOptions.ReleaseDll);
1764
var comp0 =
CreateCompilation
(source0, options: TestOptions.ReleaseModule, assemblyName: "asm0");
1768
var comp1 =
CreateCompilation
(source1, new[] { ref0 }, options: TestOptions.ReleaseDll, assemblyName: "asm1");
1775
var comp2 =
CreateCompilation
(source2, new[] { ref1 }, options: TestOptions.ReleaseDll, assemblyName: "asm2");
1860
var cA_v1 =
CreateCompilation
(@"
1866
var cB =
CreateCompilation
(@"
1874
var cC_v1 =
CreateCompilation
(@"
1882
var cA_v2 =
CreateCompilation
(@"
1888
var cD =
CreateCompilation
(@"
1894
var cA_v3 =
CreateCompilation
(@"", new[] { cD_ImageRef, new CSharpCompilationReference(cC_v1) }, options: TestOptions.ReleaseDll, assemblyName: "A");
1896
var cC_v2 =
CreateCompilation
(@"
1928
var context =
CreateCompilation
("", new[] { r1, r2, r3 }, options: TestOptions.ReleaseDll);
1955
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
1959
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
1973
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
1982
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
1988
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
1991
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
1998
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, new CSharpCompilationReference(compB2, aliases: ImmutableArray.Create("B")), refBImpl });
2019
var compA1 =
CreateCompilation
(sourceA1, assemblyName: "A");
2023
var compB1 =
CreateCompilation
(sourceB1, assemblyName: "B");
2037
var comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, refB1 });
2046
var compBImpl =
CreateCompilation
(sourceBImpl, assemblyName: "BImpl");
2052
var compB2 =
CreateCompilation
(sourceB2, references: new[] { refBImpl }, assemblyName: "B");
2055
comp =
CreateCompilation
(sourceProgram, references: new[] { refA1, compB2.EmitToImageReference(aliases: ImmutableArray.Create("B")), refBImpl });
2062
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);
1110
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);
215
var compilation =
CreateCompilation
(source, targetFramework: StaticAbstractMembersInInterfacesTests._supportingFramework);
235
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 (112)
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);
5552
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(
730
var comp =
CreateCompilation
(source).VerifyDiagnostics();
753
var comp =
CreateCompilation
(source);
843
CreateCompilation
("partial public delegate void M();").VerifyDiagnostics(
855
CreateCompilation
("public partial delegate void M();").VerifyDiagnostics(
864
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();
2127
var comp =
CreateCompilation
(source);
2152
var comp =
CreateCompilation
(source);
2302
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2315
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2328
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2343
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2364
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
2379
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
2397
var comp =
CreateCompilation
(source);
2413
var comp =
CreateCompilation
(source);
2432
var comp =
CreateCompilation
(source);
2451
var comp =
CreateCompilation
(source);
2476
var comp =
CreateCompilation
(source);
2526
var comp =
CreateCompilation
(source);
2557
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 (1054)
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(
211
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
309
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
408
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
507
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
621
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
762
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
868
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
880
CreateCompilation
(testInMethod).VerifyDiagnostics(
884
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
942
CreateCompilation
(testInMethod).VerifyDiagnostics(
949
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1011
CreateCompilation
(testInMethod).VerifyDiagnostics(
1015
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1081
CreateCompilation
(testInMethod).VerifyDiagnostics(
1085
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1153
CreateCompilation
(testInMethod).VerifyDiagnostics(
1157
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1317
CreateCompilation
(testInMethod).VerifyDiagnostics(
1321
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1394
CreateCompilation
(testInMethod).VerifyDiagnostics(
1398
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1581
CreateCompilation
(testInMethod).VerifyDiagnostics(
1591
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1685
CreateCompilation
(testInMethod).VerifyDiagnostics(
1695
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1786
CreateCompilation
(testInMethod).VerifyDiagnostics(
1790
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1867
CreateCompilation
(testWithStatement).VerifyDiagnostics(
1880
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1973
CreateCompilation
(testInMethod).VerifyDiagnostics(
1998
CreateCompilation
(testInMethod, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2096
CreateCompilation
(test).VerifyDiagnostics(
2103
CreateCompilation
(test, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2185
CreateCompilation
(testWithStatement).VerifyDiagnostics(
2192
CreateCompilation
(testWithStatement, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2569
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2715
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2862
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
2979
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3125
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3236
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3386
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3537
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3689
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
3815
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
3970
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify();
4090
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4249
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4409
CreateCompilation
(test, parseOptions: TestOptions.Regular8).GetDiagnostics().Verify(
4570
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 (27)
28
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
157
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
249
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
307
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
400
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
487
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
877
var comp =
CreateCompilation
(src);
936
var comp =
CreateCompilation
(src);
1334
var comp =
CreateCompilation
(src);
1394
var comp =
CreateCompilation
(src);
1685
var comp =
CreateCompilation
(src);
1864
var comp =
CreateCompilation
(src);
1909
var comp =
CreateCompilation
(src);
1968
var comp =
CreateCompilation
(src);
2093
var comp =
CreateCompilation
(src);
2490
var comp =
CreateCompilation
(src);
2543
var comp =
CreateCompilation
(src);
2620
var comp =
CreateCompilation
(src);
2708
var comp =
CreateCompilation
(src);
2795
var comp =
CreateCompilation
(src);
2983
var comp =
CreateCompilation
(src);
3043
var comp =
CreateCompilation
(src);
3114
var comp =
CreateCompilation
(src);
3185
var comp =
CreateCompilation
(src);
3254
var comp =
CreateCompilation
(src);
3510
var comp =
CreateCompilation
(src);
5162
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(
1818
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1825
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
1921
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1952
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1971
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2100
CreateCompilation
(text).VerifyDiagnostics(
2177
CreateCompilation
(text).VerifyDiagnostics(
2261
CreateCompilation
(text).VerifyDiagnostics(
2352
CreateCompilation
(text).VerifyDiagnostics(
2447
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2469
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2488
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(
5238
CreateCompilation
(test).VerifyDiagnostics(
5282
CreateCompilation
(test).VerifyDiagnostics(
5313
CreateCompilation
(test).VerifyDiagnostics(
5458
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5459
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
5480
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5493
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5524
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5528
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5564
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5565
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5586
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5590
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5621
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyEmitDiagnostics(
5625
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
5655
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5659
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
5689
CreateCompilation
(text, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
5696
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
5778
CreateCompilation
(test).VerifyDiagnostics(
5816
CreateCompilation
(test).VerifyDiagnostics(
5856
CreateCompilation
(test).VerifyDiagnostics(
5883
CreateCompilation
(test).GetDiagnostics().Verify(
5924
CreateCompilation
(test).VerifyDiagnostics(
5940
CreateCompilation
(test, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp2)).VerifyDiagnostics(
5993
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
5998
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6016
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics();
6020
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6041
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6052
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6079
CreateCompilation
(text, parseOptions: TestOptions.Regular5).VerifyDiagnostics(
6090
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6116
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics(
6126
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6158
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6162
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6182
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6186
CreateCompilation
(text, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6204
CreateCompilation
(text, parseOptions: TestOptions.Regular4).VerifyDiagnostics();
6205
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyDiagnostics(
6226
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6230
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6254
CreateCompilation
(text, parseOptions: TestOptions.Regular3).VerifyEmitDiagnostics(
6258
CreateCompilation
(text, parseOptions: TestOptions.Regular2).VerifyEmitDiagnostics(
6378
CreateCompilation
(source, parseOptions: TestOptions.Regular2).VerifyDiagnostics(
6385
CreateCompilation
(source, parseOptions: TestOptions.Regular1).VerifyDiagnostics(
6425
CreateCompilation
(source, parseOptions: TestOptions.Regular6).VerifyDiagnostics(
6432
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();
1536
var compilation =
CreateCompilation
(source, references, options, parseOptions, targetFramework, assemblyName: GetUniqueName());
1679
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1688
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1697
bool skipUsesIsNullable = false) =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461, assemblyName, sourceFileName, skipUsesIsNullable);
1705
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib46, assemblyName, sourceFileName);
1723
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.WinRT, assemblyName, sourceFileName);
1731
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib461AndCSharp, assemblyName, sourceFileName);
1739
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1747
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40AndSystemCore, assemblyName, sourceFileName);
1755
string sourceFileName = "") =>
CreateCompilation
(source, references, options, parseOptions, TargetFramework.StandardAndCSharp, assemblyName, sourceFileName);
1767
return
CreateCompilation
(source, references, options, parseOptions, TargetFramework.Mscorlib40, assemblyName, sourceFileName);
1794
return
CreateCompilation
(source, allReferences, options, parseOptions, TargetFramework.Empty, assemblyName, sourceFileName);
2041
var c =
CreateCompilation
(cSharpSource, options: compilationOptions, targetFramework: targetFramework);
2047
var compilation =
CreateCompilation
(cSharpSource, new[] { reference }, compilationOptions, targetFramework: targetFramework);
2069
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithAllowUnsafe(allowUnsafe));
2635
var compilation =
CreateCompilation
(testSrc, targetFramework: targetFramework, options: compilationOptions ?? TestOptions.ReleaseDll, parseOptions: parseOptions);
2744
var compilation =
CreateCompilation
(
2763
var compilation =
CreateCompilation
(
2801
var compilation =
CreateCompilation
(
2832
var reference =
CreateCompilation
(
2838
var comp =
CreateCompilation
(
2881
var reference =
CreateCompilation
(TestSources.Index).VerifyDiagnostics();
2883
return
CreateCompilation
(
2892
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range }).VerifyDiagnostics();
2894
return
CreateCompilation
(
2903
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2905
return
CreateCompilation
(
2916
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2920
var reference =
CreateCompilation
(new[] { TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2922
return
CreateCompilation
(
2934
return
CreateCompilation
(text, targetFramework: targetFramework, options: options, parseOptions: parseOptions);
2938
var reference =
CreateCompilation
(new[] { TestSources.Index, TestSources.Range, TestSources.Span, TestSources.MemoryExtensions }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
2940
return
CreateCompilation
(
3219
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
("""