32071 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]);
11299
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
11324
var comp =
CreateCompilation
(@"[assembly: System.CLSCompliant(true)]
15647
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress));
15783
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 (1679)
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);
6974
var comp =
CreateCompilation
(AsyncStreamsTypes, references: new[] { NetStandard20.ExtraReferences.SystemThreadingTasksExtensions }, targetFramework: TargetFramework.NetStandard20);
8999
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9034
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9075
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
9098
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
9113
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
9139
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80);
9156
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], targetFramework: TargetFramework.Net80);
9181
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9202
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9248
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9268
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9330
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9528
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9569
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9614
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9655
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9851
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
9897
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
10352
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net80);
10970
var missingLibS1 =
CreateCompilation
(@"
10977
var libS2 =
CreateCompilation
(@"
10996
var comp =
CreateCompilation
(source, references: [libS2], targetFramework: TargetFramework.Net80);
11007
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, references: [libS2, missingLibS1], targetFramework: TargetFramework.Net80);
11065
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
11108
var comp1 =
CreateCompilation
(
11159
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11180
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11232
var comp1 =
CreateCompilation
(
11291
var comp1 =
CreateCompilation
(
11336
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
11355
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80);
11401
var comp1 =
CreateCompilation
(
11423
comp1 =
CreateCompilation
(
11477
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11501
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11525
comp1 =
CreateCompilation
([source1, source4, CompilerLoweringPreserveAttributeDefinition], targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
11580
var comp1 =
CreateCompilation
(
11642
var comp1 =
CreateCompilation
(
11669
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)
7406
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7469
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseExe);
7603
var comp = CSharpTestBase.
CreateCompilation
(source, options: TestOptions.ReleaseDll);
7727
var comp = CSharpTestBase.
CreateCompilation
(source);
7776
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
7968
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
8010
var comp1 =
CreateCompilation
(
8055
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8075
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8126
var comp1 =
CreateCompilation
(
8179
var comp1 =
CreateCompilation
(
8222
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
8240
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
8285
var comp1 =
CreateCompilation
(
8305
comp1 =
CreateCompilation
(
8353
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8376
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8399
comp1 =
CreateCompilation
([source1, source4, CompilerLoweringPreserveAttributeDefinition], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
8453
var comp1 =
CreateCompilation
(
8509
var comp1 =
CreateCompilation
(
8534
comp1 =
CreateCompilation
(
8581
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);
9907
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10150
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10183
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10495
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10531
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10567
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10604
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
10921
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12066
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12106
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12207
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12251
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12356
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12457
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
12552
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13022
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13066
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
13979
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14033
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14193
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
14963
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)
2458
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2477
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2619
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2651
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2793
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2828
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2863
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2898
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
2935
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3062
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3400
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3431
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3466
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3502
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3579
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3705
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3744
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3783
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3853
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3896
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
3970
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4040
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4131
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4165
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4197
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4229
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4330
CreateCompilation
(source).VerifyDiagnostics(
4388
CreateCompilation
(source).VerifyDiagnostics(
4519
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4561
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
4986
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5124
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5177
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5278
CreateCompilation
(source, parseOptions: TestOptions.Regular9)
5480
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5562
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
5580
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5611
var comp =
CreateCompilation
(source);
5681
var comp =
CreateCompilation
(source);
5738
var comp =
CreateCompilation
(source);
5768
var comp =
CreateCompilation
(source);
5804
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)
2776
var reference =
CreateCompilation
(@"
2807
var reference =
CreateCompilation
(@"
2838
var reference =
CreateCompilation
(@"
2869
var reference =
CreateCompilation
(@"
2899
var reference =
CreateCompilation
(@"
3776
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3827
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3885
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
3949
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4011
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4090
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4146
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4204
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4267
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4340
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4397
var compilation =
CreateCompilation
(code, options: TestOptions.ReleaseExe);
4785
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4795
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4806
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4831
var comp =
CreateCompilation
(src, references: new[] { libChanged.EmitToImageReference(), libUser.EmitToImageReference() });
4845
var libOrig =
CreateCompilation
(libOrig_cs, assemblyName: "lib");
4855
var libChanged =
CreateCompilation
(libChanged_cs, assemblyName: "lib");
4872
var libUser =
CreateCompilation
(libUser_cs, references: new[] { libOrig.EmitToImageReference() });
4911
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)
1593
CreateCompilation
(source).VerifyDiagnostics(
5444
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5503
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5611
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5696
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
5734
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6084
var comp =
CreateCompilation
(source);
6116
var comp =
CreateCompilation
(source);
6140
var comp =
CreateCompilation
(source);
6179
var comp =
CreateCompilation
(source);
6202
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6305
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6329
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6567
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6617
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
6975
var comp =
CreateCompilation
(code, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net60);
7031
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)
544
var comp =
CreateCompilation
(code, options: options);
631
var comp =
CreateCompilation
(code, options: options);
693
var comp =
CreateCompilation
(code, options: options);
779
var comp =
CreateCompilation
(code, options: options);
831
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);
28561
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib461);
28597
var comp =
CreateCompilation
(source);
28629
var comp =
CreateCompilation
(source);
28695
var comp =
CreateCompilation
(source);
28814
var comp =
CreateCompilation
(source + trivialRemainingTuples);
28999
var comp =
CreateCompilation
("", targetFramework: TargetFramework.Minimal);
CodeGen\CodeGenUsingDeclarationTests.cs (26)
817
var comp =
CreateCompilation
(source);
1447
var comp =
CreateCompilation
(source);
1459
comp =
CreateCompilation
(source);
1471
comp =
CreateCompilation
(source);
1499
var comp =
CreateCompilation
(source);
1516
comp =
CreateCompilation
(source);
1555
var comp =
CreateCompilation
(source);
1567
comp =
CreateCompilation
(source);
1579
comp =
CreateCompilation
(source);
1610
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1627
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
1669
var comp =
CreateCompilation
(source);
1681
comp =
CreateCompilation
(source);
1693
comp =
CreateCompilation
(source);
1727
var comp =
CreateCompilation
(source);
1739
comp =
CreateCompilation
(source);
1751
comp =
CreateCompilation
(source);
1785
var comp =
CreateCompilation
(source);
1797
comp =
CreateCompilation
(source);
1809
comp =
CreateCompilation
(source);
1844
var comp =
CreateCompilation
(source);
1851
comp =
CreateCompilation
(source);
1858
comp =
CreateCompilation
(source);
1875
var comp =
CreateCompilation
(source);
1888
comp =
CreateCompilation
(source);
1901
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 (99)
24
var reference =
CreateCompilation
(@"
60
var reference =
CreateCompilation
(@"
87
var reference =
CreateCompilation
(@"
111
var reference =
CreateCompilation
(@"
138
var reference =
CreateCompilation
(@"
162
var reference =
CreateCompilation
(@"
188
var reference =
CreateCompilation
(@"
636
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
692
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
751
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
766
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
822
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
838
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
901
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
916
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
973
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1032
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1087
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1143
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1202
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1217
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1273
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1289
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1352
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1367
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1425
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1484
CreateCompilation
(code, references: new[] { reference }).VerifyDiagnostics(
1746
var comp =
CreateCompilation
(code);
1784
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1787
comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1828
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1849
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll);
1896
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1908
comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1953
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
1993
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2048
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2089
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2101
comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2138
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2180
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2231
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2243
comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2289
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2330
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2364
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2412
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2493
var comp1 =
CreateCompilation
(code1, options: TestOptions.DebugDll);
2518
var comp =
CreateCompilation
(code2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2562
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2596
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
2630
var comp =
CreateCompilation
(code, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
3045
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3096
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3146
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3198
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3214
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3266
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3315
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3368
CreateCompilation
(code, references: new[] { CompileIL(ilSource) }).VerifyDiagnostics(
3380
var reference =
CreateCompilation
(@"
3428
var reference =
CreateCompilation
(@"
3475
var reference =
CreateCompilation
(@"
3530
var reference =
CreateCompilation
(@"
3578
var reference =
CreateCompilation
(@"
3625
var reference =
CreateCompilation
(@"
3670
var reference =
CreateCompilation
(@"
3715
var reference =
CreateCompilation
(@"
3760
var reference =
CreateCompilation
(@"
3805
var reference =
CreateCompilation
(@"
3850
var reference =
CreateCompilation
(@"
3895
var reference =
CreateCompilation
(@"
3941
var reference =
CreateCompilation
(@"
3987
var reference =
CreateCompilation
(@"
4033
var reference =
CreateCompilation
(@"
4079
var reference =
CreateCompilation
(@"
4127
var reference =
CreateCompilation
(@"
4175
var reference =
CreateCompilation
(@"
4230
var reference =
CreateCompilation
(@"
4278
var reference =
CreateCompilation
(@"
4326
var reference =
CreateCompilation
(@"
4372
var reference =
CreateCompilation
(@"
4418
var reference =
CreateCompilation
(@"
4464
var reference =
CreateCompilation
(@"
4510
var reference =
CreateCompilation
(@"
4556
var reference =
CreateCompilation
("public delegate void D(in int p);");
4589
var reference =
CreateCompilation
("public delegate ref readonly int D();");
4622
var reference =
CreateCompilation
(@"
4665
var reference =
CreateCompilation
(@"
4717
var comp =
CreateCompilation
(code).VerifyDiagnostics(
4746
var comp =
CreateCompilation
(code).VerifyDiagnostics(
5049
var testRef =
CreateCompilation
(@"
5096
var testRef =
CreateCompilation
(@"
5143
var testRef =
CreateCompilation
(@"
5192
var testRef =
CreateCompilation
(@"
5244
var testRef =
CreateCompilation
(@"
5303
var ref1 =
CreateCompilation
(refCode).EmitToImageReference();
5304
var ref2 =
CreateCompilation
(refCode).EmitToImageReference();
5312
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);
34491
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34563
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34715
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34896
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
34968
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35040
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35112
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35197
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35388
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35599
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
35818
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
35900
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36069
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36297
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe);
36543
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 (10255)
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(
4623
CreateCompilation
(source).VerifyDiagnostics(
4708
CreateCompilation
(source).VerifyDiagnostics(
4788
CreateCompilation
(source).VerifyDiagnostics(
4878
CreateCompilation
(source).VerifyDiagnostics(
4970
CreateCompilation
(source).VerifyDiagnostics(
5011
CreateCompilation
(source).VerifyDiagnostics(
5044
CreateCompilation
(source).VerifyDiagnostics(
5080
CreateCompilation
(source).VerifyDiagnostics(
5116
CreateCompilation
(source).VerifyDiagnostics(
5147
CreateCompilation
(source).VerifyDiagnostics(
5173
CreateCompilation
(source).VerifyDiagnostics(
5199
CreateCompilation
(source).VerifyDiagnostics();
5221
CreateCompilation
(source).VerifyDiagnostics(
5248
CreateCompilation
(source).VerifyDiagnostics();
5271
CreateCompilation
(source).VerifyDiagnostics(
5301
CreateCompilation
(source).VerifyDiagnostics(
5329
CreateCompilation
(source).VerifyDiagnostics(
5495
var comp =
CreateCompilation
(source);
5511
var comp =
CreateCompilation
(source);
5529
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
5600
CreateCompilation
(source).VerifyDiagnostics(
5623
CreateCompilation
(source).VerifyDiagnostics(
5650
CreateCompilation
(source).VerifyDiagnostics(
5677
CreateCompilation
(source).VerifyDiagnostics(
5708
CreateCompilation
(source).VerifyDiagnostics(
5732
CreateCompilation
(source).VerifyDiagnostics(
5762
CreateCompilation
(source).VerifyDiagnostics(
5793
CreateCompilation
(source).VerifyDiagnostics(
5823
CreateCompilation
(source).VerifyDiagnostics(
5857
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
5889
CreateCompilation
(source).VerifyDiagnostics();
5910
CreateCompilation
(source).VerifyDiagnostics();
5932
CreateCompilation
(source).VerifyDiagnostics();
5954
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
5975
CreateCompilation
(source).VerifyDiagnostics(
5995
CreateCompilation
(source).VerifyDiagnostics(
6019
CreateCompilation
(source).VerifyDiagnostics(
6042
CreateCompilation
(source).VerifyDiagnostics(
6063
CreateCompilation
(source).VerifyDiagnostics(
6085
CreateCompilation
(source).VerifyDiagnostics(
6118
CreateCompilation
(source).VerifyDiagnostics(
6138
CreateCompilation
(source).VerifyDiagnostics(
6158
CreateCompilation
(source).VerifyDiagnostics(
6180
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\PatternsVsRegions.cs (10)
194
var comp =
CreateCompilation
("""
354
var comp =
CreateCompilation
("""
389
var comp =
CreateCompilation
("""
438
var comp =
CreateCompilation
("""
485
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
522
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
559
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
598
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
637
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
685
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
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 (88)
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(
582
CreateCompilation
(source).VerifyDiagnostics(
611
CreateCompilation
(source).VerifyDiagnostics(
639
CreateCompilation
(source).VerifyDiagnostics(
659
CreateCompilation
(source).VerifyDiagnostics(
679
CreateCompilation
(source).VerifyDiagnostics(
705
CreateCompilation
(source).VerifyDiagnostics(
724
CreateCompilation
(source).VerifyDiagnostics(
746
CreateCompilation
(source).VerifyDiagnostics(
774
CreateCompilation
(source).VerifyDiagnostics(
799
CreateCompilation
(source).VerifyDiagnostics(
818
CreateCompilation
(source).VerifyDiagnostics(
836
CreateCompilation
(source).VerifyDiagnostics(
854
CreateCompilation
(source).VerifyDiagnostics(
875
CreateCompilation
(source).VerifyDiagnostics(
897
CreateCompilation
(source).VerifyDiagnostics(
913
CreateCompilation
(source).VerifyDiagnostics();
923
CreateCompilation
(source).VerifyDiagnostics(
942
CreateCompilation
(source).VerifyDiagnostics(
970
CreateCompilation
(source).VerifyDiagnostics(
978
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
980
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
1001
CreateCompilation
(source).VerifyDiagnostics(
1099
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
1251
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
1328
CreateCompilation
(source).VerifyDiagnostics(
1353
CreateCompilation
(source).VerifyDiagnostics(
1498
CreateCompilation
(source).VerifyDiagnostics(
1534
CreateCompilation
(source).VerifyDiagnostics(
1552
CreateCompilation
(source).VerifyDiagnostics(
1590
CreateCompilation
(source).VerifyDiagnostics(
1611
CreateCompilation
(source).VerifyDiagnostics(
1636
CreateCompilation
(source).VerifyDiagnostics(
1804
CreateCompilation
(source).VerifyDiagnostics(
1838
CreateCompilation
(source).VerifyDiagnostics(
2063
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
2164
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2246
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2321
var comp =
CreateCompilation
(source).VerifyDiagnostics();
2595
CreateCompilation
(source).VerifyDiagnostics(
2632
CreateCompilation
(source).VerifyDiagnostics(
2690
CreateCompilation
(source).VerifyDiagnostics(
2765
CreateCompilation
(source).VerifyDiagnostics(
2803
CreateCompilation
(source).VerifyDiagnostics(
2843
CreateCompilation
(source).VerifyDiagnostics(
2895
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics);
2896
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
2925
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable)).VerifyDiagnostics(expectedDiagnostics);
2926
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations)).VerifyDiagnostics(expectedDiagnostics);
2952
var comp =
CreateCompilation
(source).VerifyDiagnostics();
3005
CreateCompilation
(source).VerifyDiagnostics(
3046
CreateCompilation
(source).VerifyDiagnostics(
3068
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3093
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
3130
CreateCompilation
(source).VerifyDiagnostics(
3174
CreateCompilation
(source).VerifyDiagnostics(
3222
CreateCompilation
(source).VerifyDiagnostics(
3292
CreateCompilation
(source).VerifyDiagnostics(
3331
CreateCompilation
(source).VerifyDiagnostics(
3384
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
3631
CreateCompilation
(source).VerifyDiagnostics(
3746
var lib =
CreateCompilation
([source1, CallerArgumentExpressionAttributeDefinition])
3750
CompileAndVerify(
CreateCompilation
(source2, references: [lib]),
3810
CreateCompilation
([source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition]).VerifyDiagnostics(
3894
CreateCompilation
(source).VerifyDiagnostics(
RefReadonlyParameterTests.cs (267)
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(
543
var comp =
CreateCompilation
(source);
636
CreateCompilation
(source).VerifyDiagnostics(
750
CreateCompilation
(source).VerifyDiagnostics(
785
CreateCompilation
(source).VerifyDiagnostics(
883
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithMetadataImportOptions(MetadataImportOptions.All));
1269
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1293
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1310
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1328
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1343
var comp2 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1353
var comp1b =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1").VerifyDiagnostics();
1355
var comp2b =
CreateCompilation
(source2, new[] { comp1bRef }, assemblyName: "Assembly2", options: TestOptions.UnsafeDebugDll);
1369
var comp3 =
CreateCompilation
(source3, new[] { comp1bRef }, assemblyName: "Assembly3", options: TestOptions.UnsafeDebugDll);
1393
var comp1v1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1409
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics();
1436
var comp4 =
CreateCompilation
(source4, assemblyName: "Assembly4").VerifyDiagnostics();
1440
var comp1v2 =
CreateCompilation
(source1, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1454
var comp1v3 =
CreateCompilation
(new[] { source1, source5 }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1461
var comp1v4 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, new[] { comp4Ref }, assemblyName: "Assembly1", options: TestOptions.UnsafeReleaseDll);
1490
var comp1 =
CreateCompilation
(source1, assemblyName: "Assembly1").VerifyDiagnostics();
1500
var comp2 =
CreateCompilation
(new[] { source2, RequiresLocationAttributeDefinition }, new[] { comp1Ref },
1513
var comp3 =
CreateCompilation
(source2, new[] { comp1Ref }, assemblyName: "Assembly3", options: TestOptions.UnsafeReleaseDll);
1546
var comp =
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics();
1566
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
1582
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
1598
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
1613
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1614
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(expectedDiagnostics);
1662
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1667
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
1668
var comp =
CreateCompilation
(source).VerifyDiagnostics();
1683
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1705
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1724
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1739
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1740
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1762
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1763
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1764
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1776
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1791
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1792
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1814
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1815
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1816
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1828
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1849
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1850
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1869
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1870
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1871
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1890
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1891
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1892
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1911
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1912
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1913
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1925
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1940
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1941
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1960
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
1961
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1962
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
1974
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1989
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
1990
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2009
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2010
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2011
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2023
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2038
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2039
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2058
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2059
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2060
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2072
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2077
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2078
CreateCompilation
(source).VerifyDiagnostics();
2097
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2098
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2099
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2111
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2116
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2117
CreateCompilation
(source).VerifyDiagnostics();
2129
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2134
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2135
CreateCompilation
(source).VerifyDiagnostics();
2163
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2164
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2165
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2193
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2194
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2195
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2223
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
2224
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2225
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2237
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2242
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
2243
CreateCompilation
(source).VerifyDiagnostics();
2256
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2271
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2272
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2274
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2293
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
2308
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
2309
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
2311
CreateCompilation
(source, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2427
CreateCompilation
(source).VerifyDiagnostics(
2506
CreateCompilation
(source).VerifyDiagnostics(
2532
CreateCompilation
(source).VerifyDiagnostics(
2588
CreateCompilation
(source).VerifyDiagnostics(
2670
CreateCompilation
(source).VerifyDiagnostics(
2759
CreateCompilation
(source).VerifyDiagnostics(
2818
CreateCompilation
(source).VerifyDiagnostics(
2857
CreateCompilation
(source).VerifyDiagnostics(
2875
CreateCompilation
(source).VerifyDiagnostics();
2895
CreateCompilation
(source).VerifyDiagnostics(
2921
CreateCompilation
(source).VerifyDiagnostics(
2963
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3016
CreateCompilation
(source).VerifyDiagnostics(
3085
CreateCompilation
(source).VerifyDiagnostics(
3165
CreateCompilation
(source).VerifyDiagnostics(
3187
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics(
3205
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3220
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3221
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
3260
CreateCompilation
(source).VerifyDiagnostics(
3312
CreateCompilation
(source).VerifyDiagnostics(
3358
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
3414
CreateCompilation
(source).VerifyDiagnostics(
3436
CreateCompilation
(source).VerifyDiagnostics(
3485
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3556
CreateCompilation
(source).VerifyDiagnostics(
3586
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3646
CreateCompilation
(source).VerifyDiagnostics(
3681
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
3725
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3726
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3752
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
3810
CreateCompilation
(source).VerifyDiagnostics(
3857
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
3872
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3873
CreateCompilation
(source).VerifyDiagnostics(expectedDiagnostics);
3893
CreateCompilation
(source).VerifyDiagnostics(
3951
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
3952
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(expectedDiagnostics);
3999
CreateCompilation
(new[] { source1, source3 }).VerifyDiagnostics(
4157
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics2);
4158
CreateCompilation
(new[] { source1, source2 }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics2);
4159
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(expectedDiagnostics2);
4166
CreateCompilation
(new[] { source1, source3 }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
4527
CreateCompilation
(source).VerifyDiagnostics(
4571
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4572
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4622
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4623
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4650
CreateCompilation
(source).VerifyDiagnostics(
4672
CreateCompilation
(source).VerifyDiagnostics(
4691
CreateCompilation
(source).VerifyDiagnostics(
4760
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warnings1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4761
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4826
CreateCompilation
(source).VerifyDiagnostics(
4861
?
CreateCompilation
(source2, new[] {
CreateCompilation
(source1).VerifyDiagnostics(warning1).EmitToImageReference() }, options: TestOptions.ReleaseExe)
4862
:
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseExe);
4896
CreateCompilation
(source).VerifyDiagnostics(
4915
var comp =
CreateCompilation
(source);
5274
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
5327
CreateCompilation
(source).VerifyDiagnostics(
5374
CreateCompilation
(source).VerifyDiagnostics(
5450
CreateCompilation
(source).VerifyDiagnostics(
5793
CreateCompilation
(source).VerifyDiagnostics(
5811
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5837
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
5862
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Mscorlib40).VerifyDiagnostics();
6077
CreateCompilation
(source).VerifyDiagnostics(
6096
CreateCompilation
(source).VerifyDiagnostics(
6117
CreateCompilation
(source, targetFramework: TargetFramework.Net50).VerifyDiagnostics(
6568
CreateCompilation
(source).VerifyDiagnostics(
6698
var comp1v1 =
CreateCompilation
(source1v1, assemblyName: "Assembly1");
6707
var comp1v2 =
CreateCompilation
(source1v2, assemblyName: "Assembly1");
6716
var comp2 =
CreateCompilation
(source2, new[] { comp1v1Ref }, assemblyName: "Assembly2");
6719
var comp3v1 =
CreateCompilation
("", new[] { comp2Ref, comp1v1Ref }, assemblyName: "Assembly3");
6726
var comp3v2 =
CreateCompilation
("", new[] { comp2Ref, comp1v2Ref }, assemblyName: "Assembly3");
6749
CreateCompilation
(source).VerifyDiagnostics(
6859
CreateCompilation
(source).VerifyDiagnostics(
6883
CreateCompilation
(source).VerifyDiagnostics(
6909
CreateCompilation
(source).VerifyDiagnostics(
6928
CreateCompilation
(source).VerifyEmitDiagnostics();
6944
CreateCompilation
(source).VerifyEmitDiagnostics();
6960
CreateCompilation
(source).VerifyDiagnostics(
6982
CreateCompilation
(source).VerifyDiagnostics(
7005
CreateCompilation
(source).VerifyDiagnostics(
7031
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7036
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7056
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7061
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
7085
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
7090
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
7120
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7148
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose)).VerifyDiagnostics(
7262
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
7301
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7302
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(expectedDiagnostics);
7355
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7421
CreateCompilation
(source).VerifyDiagnostics(
7462
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7513
CreateCompilation
(new[] { source1, source2 }).VerifyDiagnostics(
7653
CreateCompilation
(source2).VerifyDiagnostics(
7712
CreateCompilation
(source3, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7713
CreateCompilation
(source3).VerifyDiagnostics(expectedDiagnostics);
7729
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7745
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7763
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7764
CreateCompilation
(source2, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7768
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7800
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7831
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
7850
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7877
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
7878
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
7906
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
7995
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8020
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8047
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8048
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8070
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8105
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8106
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8107
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8140
CreateCompilation
(new[] { source, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8200
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8236
var comp1 =
CreateCompilation
(new[] { source1, RequiresLocationAttributeDefinition }, options: TestOptions.UnsafeDebugDll);
8254
var comp =
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe);
8275
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8276
CreateCompilation
(source2, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8351
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
8366
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8396
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(
8408
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8409
CreateCompilation
(source3, new[] { comp1Ref }, options: TestOptions.UnsafeDebugExe).VerifyDiagnostics(expectedDiagnostics);
8442
CreateCompilation
(source).VerifyDiagnostics(
8505
CreateCompilation
(source1).VerifyDiagnostics(
8539
var comp1 =
CreateCompilation
(source1);
8549
CreateCompilation
(source2, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8578
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8590
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8591
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8627
var comp1 =
CreateCompilation
(source1);
8642
CreateCompilation
(source2 + Environment.NewLine + source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8669
CreateCompilation
(source3, new[] { comp1Ref }, parseOptions: TestOptions.Regular12).VerifyDiagnostics(expectedDiagnostics);
8670
CreateCompilation
(source3, new[] { comp1Ref }).VerifyDiagnostics(expectedDiagnostics);
8689
CreateCompilation
(source).VerifyDiagnostics(
8712
CreateCompilation
(source).VerifyDiagnostics(
8736
CreateCompilation
(source).VerifyDiagnostics(
RefStructInterfacesTests.cs (659)
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
(@"
28620
var comp =
CreateCompilation
("""
28667
var comp =
CreateCompilation
("""
28743
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28801
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28870
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28918
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
28978
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29038
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29113
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29152
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29184
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29210
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29223
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29236
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29239
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29251
var comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29254
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29257
comp3 =
CreateCompilation
(text3, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29278
var comp1 =
CreateCompilation
(text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29291
var comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29307
comp2 =
CreateCompilation
(text2 + text1, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular12);
29320
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, parseOptions: TestOptions.Regular13);
29323
comp2 =
CreateCompilation
(text2, references: [comp1.ToMetadataReference()], targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29369
var comp =
CreateCompilation
(text, targetFramework: s_targetFrameworkSupportingByRefLikeGenerics, options: TestOptions.ReleaseExe);
29395
var piaCompilation =
CreateCompilation
(pia, options: TestOptions.ReleaseDll, assemblyName: "Pia", targetFramework: s_targetFrameworkSupportingByRefLikeGenerics);
29410
var compilation1 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
29414
var compilation2 =
CreateCompilation
(consumer, options: TestOptions.ReleaseExe,
29503
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
29533
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29560
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29590
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29618
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29646
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29672
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
29699
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 (700)
149
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
186
var comp =
CreateCompilation
(source);
221
var comp =
CreateCompilation
(source);
256
var comp =
CreateCompilation
(source);
284
var comp =
CreateCompilation
(source);
312
var comp =
CreateCompilation
(source);
337
var comp =
CreateCompilation
(source);
356
var comp =
CreateCompilation
(source);
375
var comp =
CreateCompilation
(source);
396
var comp =
CreateCompilation
(source);
420
var comp =
CreateCompilation
([source, s_collectionExtensions]);
444
var comp =
CreateCompilation
(source);
469
var comp =
CreateCompilation
([source, s_collectionExtensions]);
550
var comp =
CreateCompilation
(source);
583
var comp =
CreateCompilation
(source);
691
var comp =
CreateCompilation
(source);
713
var comp =
CreateCompilation
(source);
780
var comp =
CreateCompilation
(source);
805
var comp =
CreateCompilation
(source);
839
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
866
var comp =
CreateCompilation
(source);
901
var comp =
CreateCompilation
(source);
955
var comp =
CreateCompilation
(source);
1047
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
1134
CreateCompilation
(source).VerifyEmitDiagnostics(
1233
var comp =
CreateCompilation
(source);
1432
var comp =
CreateCompilation
(
1527
var comp =
CreateCompilation
(
1627
var comp =
CreateCompilation
(
1731
var comp =
CreateCompilation
(
1811
var comp =
CreateCompilation
(
1847
comp =
CreateCompilation
(
1917
var comp =
CreateCompilation
(
1924
comp =
CreateCompilation
(
1931
comp =
CreateCompilation
(
1957
comp =
CreateCompilation
(
1963
comp =
CreateCompilation
(
1970
comp =
CreateCompilation
(
2005
var comp =
CreateCompilation
(
2026
comp =
CreateCompilation
(
2074
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80);
2077
comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net80);
2106
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
2215
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
2243
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyEmitDiagnostics(
2308
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(version)).VerifyDiagnostics(
2335
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
2373
CreateCompilation
(source, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
2582
CreateCompilation
(source,
2586
CreateCompilation
(source,
2590
CreateCompilation
(source,
2769
CreateCompilation
(source,
2773
CreateCompilation
(source,
2777
CreateCompilation
(source,
2935
CreateCompilation
(source,
2939
CreateCompilation
(source,
2943
CreateCompilation
(source,
2987
var comp =
CreateCompilation
(source);
3073
var comp =
CreateCompilation
(
3111
var comp =
CreateCompilation
(
3145
var comp =
CreateCompilation
(
3187
var comp =
CreateCompilation
(
3273
var comp =
CreateCompilation
(source);
3311
var comp =
CreateCompilation
(source);
3335
var comp =
CreateCompilation
(source);
3361
var comp =
CreateCompilation
(source);
3405
var comp =
CreateCompilation
(source);
3436
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3460
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
3501
var comp =
CreateCompilation
(source);
3531
var comp =
CreateCompilation
(source);
3556
var comp =
CreateCompilation
(source);
3679
var comp =
CreateCompilation
(source);
3727
var comp =
CreateCompilation
(source);
3768
var comp =
CreateCompilation
(source);
3807
var comp =
CreateCompilation
(source);
3849
var comp =
CreateCompilation
(source);
3902
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3926
var comp =
CreateCompilation
(source);
3950
var comp =
CreateCompilation
(source);
3975
var comp =
CreateCompilation
(source);
4013
var comp =
CreateCompilation
(source);
4045
var comp =
CreateCompilation
(source);
4064
var comp =
CreateCompilation
(source);
4196
var comp =
CreateCompilation
(source);
4244
var comp =
CreateCompilation
(source);
4343
var comp =
CreateCompilation
(source);
4373
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4459
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4481
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4531
var comp =
CreateCompilation
(source);
4562
var comp =
CreateCompilation
(source);
4687
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
4764
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
4811
var comp =
CreateCompilation
(source);
4833
var comp =
CreateCompilation
(source);
4860
var comp =
CreateCompilation
(source);
4887
var comp =
CreateCompilation
(source);
4914
var comp =
CreateCompilation
(source);
6133
var comp =
CreateCompilation
(source);
6361
var comp =
CreateCompilation
(source);
6383
var comp =
CreateCompilation
(source);
6931
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
6960
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7521
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7528
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7570
var comp =
CreateCompilation
(source);
7598
var comp =
CreateCompilation
(source);
7659
var comp =
CreateCompilation
(source);
7720
var comp =
CreateCompilation
(source);
7796
var comp =
CreateCompilation
(source);
7873
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
7900
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
7928
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseExe);
7978
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net80);
8348
var comp =
CreateCompilation
(source);
8386
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8411
var comp =
CreateCompilation
(source);
8442
var comp =
CreateCompilation
(source);
8495
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
8589
var comp =
CreateCompilation
(source);
8720
var comp =
CreateCompilation
(source);
8752
var comp =
CreateCompilation
(source);
8777
var comp =
CreateCompilation
(source);
8848
var comp =
CreateCompilation
(source);
8880
var comp =
CreateCompilation
(source);
8907
var comp =
CreateCompilation
(source);
8936
var comp =
CreateCompilation
(source);
8968
var comp =
CreateCompilation
(source);
9106
var comp =
CreateCompilation
(new[] { sourceA, sourceB1, s_collectionExtensions });
9166
var comp =
CreateCompilation
(source);
9195
var comp =
CreateCompilation
(source);
9224
var comp =
CreateCompilation
(source);
9257
var comp =
CreateCompilation
(source);
9281
var comp =
CreateCompilation
(source);
9312
var comp =
CreateCompilation
(source);
9349
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
9434
var comp =
CreateCompilation
(source);
9467
var comp =
CreateCompilation
(source);
9492
var comp =
CreateCompilation
(sourceA);
9505
comp =
CreateCompilation
(sourceB, references: new[] { refA });
9563
var comp =
CreateCompilation
(source);
9595
var comp =
CreateCompilation
(source);
9659
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9734
var comp =
CreateCompilation
(source);
9769
var comp =
CreateCompilation
(source);
9873
var comp =
CreateCompilation
(source);
9917
var comp =
CreateCompilation
(source);
9954
var comp =
CreateCompilation
(source);
9983
var comp =
CreateCompilation
(source);
10015
var comp =
CreateCompilation
(source);
10047
var comp =
CreateCompilation
(source);
10084
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
10147
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
10232
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
10317
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
10410
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
10461
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
10511
var comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
10644
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
10662
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
10716
var comp =
CreateCompilation
(new[] { sourceA, sourceB1 });
10745
comp =
CreateCompilation
(new[] { sourceA, sourceB2 });
10889
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
10965
var comp =
CreateCompilation
(source);
10992
var comp =
CreateCompilation
(source);
11018
var comp =
CreateCompilation
(source);
11037
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
11059
comp =
CreateCompilation
(sourceB, references: new[] { refA });
11082
comp =
CreateCompilation
(new[] { sourceC, s_collectionExtensions }, references: new[] { refB });
11189
var comp =
CreateCompilation
(source);
11561
var comp =
CreateCompilation
(source);
11582
var comp =
CreateCompilation
(source);
11604
var comp =
CreateCompilation
(source);
11938
var comp =
CreateCompilation
(source);
12305
var comp =
CreateCompilation
(source);
12324
var comp =
CreateCompilation
(source);
12343
var comp =
CreateCompilation
(source);
12793
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
12840
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
12898
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
12981
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, references: new[] { CSharpRef }, options: TestOptions.ReleaseExe);
13053
var comp =
CreateCompilation
(new[] { sourceA, sourceB, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13275
var comp =
CreateCompilation
(source);
13303
comp =
CreateCompilation
(source);
13313
comp =
CreateCompilation
(source);
13323
comp =
CreateCompilation
(source);
13333
comp =
CreateCompilation
(source);
13894
var comp =
CreateCompilation
(source);
13916
var comp =
CreateCompilation
(source);
13999
var comp =
CreateCompilation
(source);
14015
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
14027
comp =
CreateCompilation
(sourceB, references: new[] { refA });
14036
comp =
CreateCompilation
(sourceC, references: new[] { refA, refB });
14039
comp =
CreateCompilation
(sourceC, references: new[] { refB });
14078
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
14149
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
14252
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
14272
comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
15220
var comp =
CreateCompilation
(source);
15255
var comp =
CreateCompilation
(source);
15593
var comp =
CreateCompilation
(source);
15620
var comp =
CreateCompilation
(source);
15645
var comp =
CreateCompilation
(source);
15703
var comp =
CreateCompilation
(source);
15732
var comp =
CreateCompilation
(source);
15843
var comp =
CreateCompilation
(source);
15880
var comp =
CreateCompilation
(source);
15918
var comp =
CreateCompilation
(source);
15951
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions });
15971
CreateCompilation
(source).VerifyDiagnostics(
15992
CreateCompilation
(source).VerifyDiagnostics(
16016
CreateCompilation
(source).VerifyDiagnostics(
16058
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16128
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16201
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16215
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16269
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16338
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16383
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16441
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16543
var comp =
CreateCompilation
(new[] { src, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
16670
var comp =
CreateCompilation
(source);
16701
var comp =
CreateCompilation
(source);
16731
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
16782
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
16842
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, options: TestOptions.ReleaseExe);
16910
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
16964
var comp =
CreateCompilation
(source);
16989
var comp =
CreateCompilation
(source);
17021
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17212
var comp =
CreateCompilation
(sources, targetFramework: targetFramework);
17229
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: targetFramework, options: TestOptions.ReleaseExe);
17422
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17450
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17478
comp =
CreateCompilation
(sourceC, references: new[] { refA }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17520
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17608
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17657
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17706
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17755
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17795
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17810
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
17857
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17922
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
17971
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18013
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18028
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18067
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18117
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
18152
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
18186
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18218
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18232
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18247
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
18275
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18290
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18338
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
18374
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18417
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
18458
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18510
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
18550
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18591
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18631
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
18674
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
18726
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
18756
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18771
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18805
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18820
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
18859
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18926
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
18991
var comp =
CreateCompilation
(new[] { sourceAttribute, sourceA }, targetFramework: TargetFramework.Net80);
19052
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19096
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19144
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
19180
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19229
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19278
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19324
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19370
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19413
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19428
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19461
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19506
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19521
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19552
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19567
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19608
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
19655
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19707
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19767
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19782
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19812
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19827
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19857
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19872
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19915
var comp =
CreateCompilation
(new[] { sourceA, sourceAttribute }, targetFramework: TargetFramework.Net80);
19929
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
19959
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
19973
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
20039
var comp =
CreateCompilation
(
20110
var comp =
CreateCompilation
(
20161
var comp =
CreateCompilation
(
20209
var comp =
CreateCompilation
(
20344
var comp =
CreateCompilation
(
20391
var comp =
CreateCompilation
(
20439
var comp =
CreateCompilation
(
20487
var comp =
CreateCompilation
(
20530
var comp =
CreateCompilation
(
20573
var comp =
CreateCompilation
(
20616
var comp =
CreateCompilation
(
20659
var comp =
CreateCompilation
(
20692
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
20707
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
20749
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
20783
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
20798
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
20829
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
20844
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
20887
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
20926
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
20959
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
20989
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
21022
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21063
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
21093
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
21110
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21164
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
21223
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
21259
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
21277
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
21330
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
21361
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
21375
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21407
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
21445
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
21510
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
21538
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
21555
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21616
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21673
var comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21698
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA, targetFramework: TargetFramework.Net80);
21713
comp =
CreateCompilation
(sourceB, references: new[] { refA }, targetFramework: TargetFramework.Net80);
21723
comp =
CreateCompilation
(sourceC, references: new[] { refB }, targetFramework: TargetFramework.Net80);
22035
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22065
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22099
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22135
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
22168
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
22195
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
22626
var comp =
CreateCompilation
(
22851
var comp =
CreateCompilation
(source);
23630
var comp =
CreateCompilation
(
23987
var comp =
CreateCompilation
(source);
24018
var comp =
CreateCompilation
(source);
24118
CreateCompilation
(source).VerifyDiagnostics(
24383
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
24471
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
24502
var comp =
CreateCompilation
(
24529
comp =
CreateCompilation
(
24641
var comp =
CreateCompilation
(new[] { sourceA, CollectionBuilderAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp10), targetFramework: TargetFramework.Net60);
24668
comp =
CreateCompilation
(new[] { sourceB, s_collectionExtensions }, references: new[] { refA }, targetFramework: TargetFramework.Net60, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
25339
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
25709
var comp =
CreateCompilation
(
25880
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
26068
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26150
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26348
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
26385
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
26421
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
26453
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
26486
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80);
26520
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26677
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26702
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26722
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26754
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26782
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26965
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
26999
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
27110
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
27482
var comp =
CreateCompilation
(source, targetFramework: targetFramework);
27609
var comp =
CreateCompilation
(
28223
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
28265
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
28301
var comp =
CreateCompilation
(source);
28327
var comp =
CreateCompilation
(source);
28447
var comp =
CreateCompilation
(source);
28573
var comp =
CreateCompilation
(source);
28640
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
28699
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
28784
var comp =
CreateCompilation
(source);
28853
var comp =
CreateCompilation
(source);
28911
var comp =
CreateCompilation
(source);
28981
var comp =
CreateCompilation
(source);
29059
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
29121
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
29156
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
29228
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
29277
var comp =
CreateCompilation
(source);
29338
var comp =
CreateCompilation
(source, references: new[] { CSharpRef });
29367
var comp =
CreateCompilation
(source);
29390
var comp =
CreateCompilation
(source);
29469
var comp =
CreateCompilation
(source);
29510
var comp =
CreateCompilation
(source);
29543
var comp =
CreateCompilation
(source);
29591
var comp =
CreateCompilation
([sourceB, sourceA]);
29669
var comp =
CreateCompilation
([sourceB, sourceA]);
29756
var comp =
CreateCompilation
([sourceB, sourceA]);
29828
var comp =
CreateCompilation
([sourceB, sourceA]);
29921
var comp =
CreateCompilation
([sourceB, sourceA]);
30012
var comp =
CreateCompilation
([sourceB, sourceA]);
30089
var comp =
CreateCompilation
([sourceB, sourceA]);
30159
var comp =
CreateCompilation
(source);
30182
var comp =
CreateCompilation
(source);
30214
var comp =
CreateCompilation
(source);
30300
CreateCompilation
(source).VerifyEmitDiagnostics(
30323
CreateCompilation
(source).VerifyEmitDiagnostics(
30343
CreateCompilation
(source).VerifyEmitDiagnostics(
30363
CreateCompilation
(source).VerifyEmitDiagnostics(
30409
CreateCompilation
(source).VerifyEmitDiagnostics(
30432
CreateCompilation
(source).VerifyEmitDiagnostics(
30455
CreateCompilation
(source).VerifyEmitDiagnostics(
30478
CreateCompilation
(source).VerifyEmitDiagnostics(
30506
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30536
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30559
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30582
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30601
CreateCompilation
(source).VerifyEmitDiagnostics(
30628
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30652
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30675
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }).VerifyEmitDiagnostics();
30695
CreateCompilation
(source).VerifyEmitDiagnostics(
30717
CreateCompilation
(source).VerifyEmitDiagnostics(
30741
CreateCompilation
(source).VerifyEmitDiagnostics(
30763
CreateCompilation
(source).VerifyEmitDiagnostics(
30777
CreateCompilation
(source).VerifyEmitDiagnostics(
30798
CreateCompilation
(source).VerifyEmitDiagnostics(
30820
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
30845
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
30888
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
30922
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net80);
30952
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
30996
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31039
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31085
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31128
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31168
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31207
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31246
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
31274
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31327
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31381
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31442
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31506
CreateCompilation
(source).VerifyEmitDiagnostics();
31534
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31576
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31623
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics(
31674
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
31714
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net80);
31773
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31799
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31823
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31847
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31870
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31928
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
31987
var comp =
CreateCompilation
(new[] { source, s_collectionExtensions }, targetFramework: TargetFramework.Net70);
32025
CreateCompilation
(source).VerifyEmitDiagnostics(
32058
CreateCompilation
(source).VerifyEmitDiagnostics(
32086
CreateCompilation
(source).VerifyEmitDiagnostics(
32113
CreateCompilation
(source).VerifyEmitDiagnostics(
32144
CreateCompilation
(source, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
32182
CreateCompilation
(source).VerifyEmitDiagnostics(
32210
CreateCompilation
(source).VerifyEmitDiagnostics(
32239
CreateCompilation
(source).VerifyEmitDiagnostics(
32272
CreateCompilation
(source).VerifyEmitDiagnostics(
32306
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
32334
CreateCompilation
(source).VerifyEmitDiagnostics(
32369
var comp =
CreateCompilation
(source).VerifyEmitDiagnostics();
32397
CreateCompilation
(source).VerifyEmitDiagnostics(
32421
var comp =
CreateCompilation
(new[] { sourceA, s_collectionExtensions }, targetFramework: TargetFramework.Net80, options: ExecutionConditionUtil.IsMonoOrCoreClr ? TestOptions.DebugExe : TestOptions.DebugDll);
32625
var comp =
CreateCompilation
([sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
32737
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net60);
32761
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net60);
32796
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
32818
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
32850
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Mscorlib40);
32872
comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Mscorlib40);
33608
var comp =
CreateCompilation
(source);
33636
var comp =
CreateCompilation
(source);
33676
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
33725
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net80);
33746
CreateCompilation
(src).VerifyEmitDiagnostics(
33776
CreateCompilation
(src).VerifyEmitDiagnostics(
33797
CreateCompilation
(src).VerifyEmitDiagnostics(
33818
CreateCompilation
(src).VerifyEmitDiagnostics(
33846
CreateCompilation
(src, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe.WithSpecificDiagnosticOptions(WithSpanAllocWarning)).VerifyEmitDiagnostics(
33898
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33941
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
33979
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
34012
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34049
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
34090
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34136
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34179
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
34227
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
34281
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34343
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34383
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
34437
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34487
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34539
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34582
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34625
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34667
CreateCompilation
(src).VerifyEmitDiagnostics(
34714
CreateCompilation
(source).VerifyEmitDiagnostics(
34746
CreateCompilation
(source).VerifyEmitDiagnostics(
34795
CreateCompilation
(source).VerifyEmitDiagnostics(
34828
CreateCompilation
(source).VerifyEmitDiagnostics(
34872
CreateCompilation
(source).VerifyEmitDiagnostics(
34921
CreateCompilation
(source).VerifyEmitDiagnostics(
34943
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
34959
CreateCompilation
(src).VerifyEmitDiagnostics(
34978
CreateCompilation
(src).VerifyEmitDiagnostics(
34999
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
35042
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics();
35067
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
35098
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
35140
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
35187
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(
35244
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35296
CreateCompilation
(src).VerifyEmitDiagnostics(
35340
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35403
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35453
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35485
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35514
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35558
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35592
CreateCompilation
(src2, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35638
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35678
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35704
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35738
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35788
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35827
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35866
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35907
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
35950
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
36000
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
36033
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(
36056
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics();
36071
CreateCompilation
(src).VerifyEmitDiagnostics(
36088
CreateCompilation
(src).VerifyEmitDiagnostics(
36104
CreateCompilation
(src).VerifyEmitDiagnostics(
36141
var comp =
CreateCompilation
(new[] { source, CollectionBuilderAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions(WithSpanAllocWarning));
36172
var compilation =
CreateCompilation
(code);
36209
var compilation =
CreateCompilation
(code);
36860
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
37363
var comp =
CreateCompilation
(new[] { source, s_collectionExtensionsWithSpan }, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net80);
37420
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
37465
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
37510
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
38139
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
38233
var comp =
CreateCompilation
([source, s_collectionExtensions], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
39251
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
39964
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
40840
var comp =
CreateCompilation
(source);
40864
var comp =
CreateCompilation
(source);
40899
var comp =
CreateCompilation
(source);
40936
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
40973
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
41010
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
41047
var comp =
CreateCompilation
(source);
41090
var comp =
CreateCompilation
(source);
41143
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
41222
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
41263
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
41313
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
41358
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
41407
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
41463
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41493
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41542
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41572
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41625
var comp =
CreateCompilation
([sourceB1, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41659
comp =
CreateCompilation
([sourceB2, sourceA, s_collectionExtensions], options: TestOptions.ReleaseExe);
41705
comp =
CreateCompilation
(sourceB, references: [refA1]);
41730
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refA2, refB], options: TestOptions.ReleaseExe);
41844
var comp =
CreateCompilation
([sourceA, sourceB2]);
41877
var comp =
CreateCompilation
([sourceA, sourceB1]);
41938
var comp =
CreateCompilation
(sourceA);
41941
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
41987
var comp =
CreateCompilation
([sourceA, sourceC, s_collectionExtensions]);
42049
var comp =
CreateCompilation
([sourceA, sourceB3]);
42118
var comp =
CreateCompilation
(source);
42227
var comp =
CreateCompilation
(source);
42299
var comp =
CreateCompilation
(source);
42482
var comp =
CreateCompilation
(source);
42545
var comp =
CreateCompilation
(source);
42582
var comp =
CreateCompilation
(source);
42611
var comp =
CreateCompilation
(source);
42674
var comp =
CreateCompilation
(sourceB, references: [refA]);
42768
var comp =
CreateCompilation
([sourceA, sourceB]);
42840
var comp =
CreateCompilation
(source);
42874
var comp =
CreateCompilation
(source);
42911
var comp =
CreateCompilation
(source);
42942
var comp =
CreateCompilation
(sourceA);
42960
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
42996
var comp =
CreateCompilation
(sourceA);
43020
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
43077
var comp =
CreateCompilation
([sourceB2, sourceA]);
43136
var comp =
CreateCompilation
(sourceB, references: [refA]);
43261
var comp =
CreateCompilation
(sourceB, references: [refA]);
43294
var comp =
CreateCompilation
(source);
43363
var comp =
CreateCompilation
(source);
43537
var comp =
CreateCompilation
(sourceA);
43555
comp =
CreateCompilation
([sourceB, s_collectionExtensions], references: [refA]);
43639
var comp =
CreateCompilation
([source, s_collectionExtensions], options: TestOptions.ReleaseExe);
43720
var comp =
CreateCompilation
(sourceB, references: [refA]);
43754
var comp =
CreateCompilation
(source);
43798
var comp =
CreateCompilation
(source);
43852
var comp =
CreateCompilation
([sourceA, sourceB2]);
43929
CreateCompilation
([sourceA, sourceB1, s_collectionExtensions]).VerifyDiagnostics(
43967
var comp =
CreateCompilation
([sourceA, sourceB]);
44010
var comp =
CreateCompilation
([sourceA, sourceB]);
44120
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions]);
44163
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions]);
44209
var comp =
CreateCompilation
([sourceA, sourceB2]);
44238
var comp =
CreateCompilation
(source);
44267
var comp =
CreateCompilation
(source);
44315
var comp =
CreateCompilation
([sourceA, sourceB2]);
44348
var comp =
CreateCompilation
(source);
44396
var comp =
CreateCompilation
([sourceA, sourceB2]);
44459
var comp =
CreateCompilation
([sourceA, sourceB1]);
44517
var comp =
CreateCompilation
([sourceA, sourceB1]);
44654
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensions], options: TestOptions.UnsafeReleaseExe);
44702
var comp =
CreateCompilation
([sourceA, sourceB1, s_collectionExtensions], options: TestOptions.UnsafeReleaseExe);
44830
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
44844
comp =
CreateCompilation
(sourceB, references: [refA]);
44866
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refB]);
44891
var comp =
CreateCompilation
(sourceA, assemblyName: assemblyA);
44905
comp =
CreateCompilation
(sourceB, references: [refA]);
44923
comp =
CreateCompilation
([sourceC, s_collectionExtensions], references: [refB]);
44962
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
45018
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
45065
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
45117
var comp =
CreateCompilation
([sourceB, sourceA], targetFramework: TargetFramework.Net80);
45242
var compilation =
CreateCompilation
([s_collectionExtensions, singleElement, source]);
45316
var comp =
CreateCompilation
([source, s_collectionExtensions]);
45332
var comp =
CreateCompilation
([source, s_collectionExtensions]);
45351
var comp =
CreateCompilation
([source, s_collectionExtensions]);
45368
var comp =
CreateCompilation
(source);
45385
var comp =
CreateCompilation
([source, s_collectionExtensions]);
45637
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
45650
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
45666
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
45717
var comp1 =
CreateCompilation
(source1, options: TestOptions.UnsafeDebugDll);
45730
var comp2 =
CreateCompilation
(source2, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
45746
var comp3 =
CreateCompilation
(source3, references: [comp1Ref], options: TestOptions.UnsafeDebugExe);
45772
var myCollection_v0 =
CreateCompilation
(myCollection_v0Source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
45784
var builder =
CreateCompilation
(builderSource, references: [myCollection_v0.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
45799
var myCollection =
CreateCompilation
(myCollectionSource, references: [builder.ToMetadataReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, assemblyName: "Collection");
45817
var comp =
CreateCompilation
(src, references: [myCollectionRef, builder.EmitToImageReference()], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
45824
comp =
CreateCompilation
(src, references: [myCollectionRef], targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
45843
var comp =
CreateCompilation
(source);
45876
var comp =
CreateCompilation
(source);
45907
var comp =
CreateCompilation
(source);
45938
var comp =
CreateCompilation
(source);
45972
var comp =
CreateCompilation
(source);
46007
var comp =
CreateCompilation
(source);
46037
var comp =
CreateCompilation
(source);
46059
var comp =
CreateCompilation
(source);
46082
var comp =
CreateCompilation
(source);
46109
var comp =
CreateCompilation
(source);
46153
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
46182
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
46211
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
46240
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
46278
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46333
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46341
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46390
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46445
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46453
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46470
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46604
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
46696
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
46927
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
46953
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
46977
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47003
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47025
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47050
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47076
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47098
var comp =
CreateCompilation
([source, s_collectionWithRefStructElementType], targetFramework: TargetFramework.Net90);
47176
var comp =
CreateCompilation
([sourceA, sourceB, s_collectionExtensionsWithSpan], targetFramework: TargetFramework.Net100);
47248
var libraryComp =
CreateCompilation
(librarySource, targetFramework: TargetFramework.Net80);
47286
var consumerComp =
CreateCompilation
([consumerSource, s_collectionExtensionsWithSpan], options: TestOptions.ReleaseExe, references: [libraryRef], 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 (661)
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);
1087
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1090
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1093
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1140
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1177
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1220
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1270
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1377
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1413
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1482
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
1519
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1539
var comp1 =
CreateCompilation
(src1);
1579
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
1623
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
1626
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
1629
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
1681
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1733
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1806
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1866
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1922
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1963
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2000
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2034
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2076
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2131
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2181
var comp1 =
CreateCompilation
(src1);
2184
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2200
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2203
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2223
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
2226
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2229
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2243
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
2287
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2325
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2387
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2435
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2490
var comp =
CreateCompilation
(src);
2530
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2574
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2623
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2669
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2708
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
2755
var comp1 =
CreateCompilation
(src1);
2758
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
2761
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
2764
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
2817
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2875
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2924
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2959
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3012
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3092
CreateCompilation
(source).VerifyDiagnostics(
3154
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
3205
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3244
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3284
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3342
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3405
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3445
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3495
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3553
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3594
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3623
var comp =
CreateCompilation
(src);
3904
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3946
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
3986
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4029
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4079
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4130
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
4190
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4224
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
4270
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
4517
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4598
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4633
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4701
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4726
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4777
var comp1 =
CreateCompilation
(src1);
4780
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4796
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4799
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4820
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4823
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4826
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4840
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
4895
var comp1 =
CreateCompilation
(src1);
4898
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
4914
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4917
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4939
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
4942
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
4945
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
4959
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
5014
var comp5 =
CreateCompilation
(src5);
5017
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
5020
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
5023
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
5070
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5124
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5172
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5220
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5269
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5317
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5366
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5417
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5472
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5528
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5586
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5658
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5729
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5800
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5858
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5921
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
5986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
6054
var comp =
CreateCompilation
(src);
6122
var comp =
CreateCompilation
(src);
6196
var comp =
CreateCompilation
(src);
6295
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
6298
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
6301
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
6359
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6403
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6440
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6481
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6530
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6580
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6626
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6661
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6701
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6761
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6794
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6839
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6867
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
6914
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
6948
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7055
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7140
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7174
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7208
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7277
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7339
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
7376
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7413
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7457
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
7460
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7463
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7512
var comp1 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
7515
var comp2 =
CreateCompilation
([src1, src2, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
7518
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
7570
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7614
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7666
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7746
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7821
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7865
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7925
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7983
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8025
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8069
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8099
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8141
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
8179
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8223
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8261
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8316
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8360
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8407
var comp1 =
CreateCompilation
(src1);
8410
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8426
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8429
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8478
var comp1 =
CreateCompilation
(src1);
8481
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
8497
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
8500
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
8517
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
8561
var comp4 =
CreateCompilation
(src4);
8564
var comp5 =
CreateCompilation
(src5, references: [comp4Ref], options: TestOptions.DebugExe);
8577
var comp6 =
CreateCompilation
(src6, references: [comp4Ref], options: TestOptions.DebugExe);
8615
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8653
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8689
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8721
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8749
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8780
CreateCompilation
(source).VerifyDiagnostics();
8807
CreateCompilation
(source).VerifyDiagnostics();
8838
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
8870
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
8906
CreateCompilation
(source).VerifyDiagnostics();
8942
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8984
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9032
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9091
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9144
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9199
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9249
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9289
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9343
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9402
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9460
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9499
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9548
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9604
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9648
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9690
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
9724
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9783
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9832
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9880
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9910
var comp =
CreateCompilation
(src);
10206
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10248
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10290
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10334
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10376
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
10418
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
10448
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
10494
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10562
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10663
var comp =
CreateCompilation
(src);
10760
var comp =
CreateCompilation
(src);
10901
var comp =
CreateCompilation
(src);
11069
var comp =
CreateCompilation
(src);
11237
var comp =
CreateCompilation
(src);
11312
var comp =
CreateCompilation
(src);
11361
var comp =
CreateCompilation
(src);
11419
var comp =
CreateCompilation
(src);
11459
var comp =
CreateCompilation
(src);
11520
var comp =
CreateCompilation
(src);
11587
var comp1 =
CreateCompilation
(src1);
11590
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
11606
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11609
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11627
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
11630
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
11633
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
11647
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
11689
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11737
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11808
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11865
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
11931
var comp =
CreateCompilation
(src);
11990
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12031
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
12034
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12037
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12093
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
12096
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
12099
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
12167
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12213
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12294
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12352
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12392
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12429
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12475
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12525
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
12569
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12613
var comp3 =
CreateCompilation
(src3, options: TestOptions.DebugExe);
12666
var comp4 =
CreateCompilation
(src4, options: TestOptions.DebugExe);
12724
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12780
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12887
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12937
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12966
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13035
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
13072
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13092
var comp1 =
CreateCompilation
(src1);
13132
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
13176
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13179
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13182
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13234
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13286
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13358
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13418
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13474
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13518
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13565
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
13604
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13649
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13697
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13752
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13838
var comp1 =
CreateCompilation
(src1);
13841
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
13857
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
13860
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
13911
var comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
13914
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugDll);
13916
comp =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
13919
comp =
CreateCompilation
(src2, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
13958
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14028
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14035
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14110
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14117
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14167
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14230
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14278
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14334
var comp =
CreateCompilation
(src1, options: TestOptions.DebugExe);
14344
comp =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
14403
var comp1 =
CreateCompilation
(src1);
14404
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14459
var comp1 =
CreateCompilation
(src1);
14460
var comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
14508
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14550
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14606
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14655
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14715
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14764
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14808
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14852
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
14893
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14930
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14980
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15035
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15076
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15150
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15213
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15277
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15336
var comp =
CreateCompilation
(src);
15404
var comp =
CreateCompilation
(src);
15447
var comp =
CreateCompilation
(src);
15549
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
15552
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
15555
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
15671
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15718
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15750
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15793
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15849
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15887
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
15935
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15974
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16020
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16081
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16136
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16187
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16257
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16313
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16347
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16385
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16432
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16482
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
16566
CreateCompilation
(source).VerifyDiagnostics(
16629
CreateCompilation
(source).VerifyDiagnostics(
16671
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16713
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16754
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
16786
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16850
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
16920
CreateCompilation
(source).VerifyDiagnostics(
16975
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17033
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17090
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
17129
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
17201
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17243
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17285
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17337
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17377
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17428
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17487
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17542
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17597
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17638
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17692
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17762
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17810
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17856
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17927
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
17995
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18065
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18121
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18170
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18228
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18289
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18352
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
18398
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18445
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18486
var comp =
CreateCompilation
(src);
18828
var comp1 =
CreateCompilation
(src1);
18831
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18834
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18837
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18869
var comp3 =
CreateCompilation
(src3);
18872
var comp4 =
CreateCompilation
(src2, references: [comp3Ref], options: TestOptions.DebugExe);
18940
var comp1 =
CreateCompilation
(src1);
18943
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
18959
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18962
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
18981
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
18984
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
18987
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19003
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19067
var comp1 =
CreateCompilation
(src1);
19070
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
19086
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19089
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19108
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
19111
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
19114
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
19130
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
19174
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19234
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19295
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19334
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19377
var comp2 =
CreateCompilation
(src, options: TestOptions.DebugExe);
19420
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19465
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19512
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
19562
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19598
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19630
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19666
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19717
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19759
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19803
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19845
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
19870
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19912
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19967
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20200
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20281
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20316
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20362
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
20422
var comp1 =
CreateCompilation
(src1);
20425
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20441
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20444
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20465
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20468
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20471
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20485
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20549
var comp1 =
CreateCompilation
(src1);
20552
var comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe);
20568
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20571
comp2 =
CreateCompilation
(src2, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20592
var comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe);
20595
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20598
comp3 =
CreateCompilation
(src3, references: [comp1Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20612
var comp4 =
CreateCompilation
(src4, references: [comp1Ref]);
20676
var comp5 =
CreateCompilation
(src5);
20679
var comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe);
20682
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
20685
comp6 =
CreateCompilation
(src6, references: [comp5Ref], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
20732
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20786
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20834
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20882
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20931
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
20979
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21079
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21134
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21190
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21248
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21320
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21391
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21462
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
21520
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21583
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21648
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21716
var comp =
CreateCompilation
(src);
21784
var comp =
CreateCompilation
(src);
21858
var comp =
CreateCompilation
(src);
21921
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
21924
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
21927
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
21972
var comp =
CreateCompilation
(src);
22017
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22055
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22092
var comp =
CreateCompilation
(src);
22189
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22245
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22285
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22322
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22361
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22413
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22466
var comp1 =
CreateCompilation
(src1, options: TestOptions.DebugExe);
22510
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
22560
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22612
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22647
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22687
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22749
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22783
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22831
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22859
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90, options: TestOptions.DebugExe);
22906
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
22940
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23047
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23132
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23166
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23200
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23269
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23331
var comp =
CreateCompilation
([src, OverloadResolutionPriorityAttributeDefinition], options: TestOptions.DebugExe);
23368
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23405
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23425
var comp1 =
CreateCompilation
(src1);
23465
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23485
var comp1 =
CreateCompilation
(src1);
23525
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23546
var comp1 =
CreateCompilation
(src1);
23586
var comp2 =
CreateCompilation
(src2, options: TestOptions.DebugExe);
23630
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23633
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23636
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23687
var comp1 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe);
23690
var comp2 =
CreateCompilation
([src1, src2], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular14);
23693
comp2 =
CreateCompilation
(src2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe, parseOptions: TestOptions.Regular13);
23745
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23789
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23841
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
23921
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
23996
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24040
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24099
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24157
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24187
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24217
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24270
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
24303
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24336
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24387
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24437
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24474
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24529
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24573
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24607
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24645
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
24681
CreateCompilation
(source).VerifyDiagnostics(
24733
CreateCompilation
(source).VerifyDiagnostics(
24795
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24844
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
24876
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics(
24913
CreateCompilation
(source).VerifyDiagnostics();
24946
CreateCompilation
(source).VerifyDiagnostics(
24998
CreateCompilation
(source).VerifyDiagnostics(
25050
CreateCompilation
(source).VerifyDiagnostics();
25080
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25110
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25140
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp).VerifyDiagnostics();
25178
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25286
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.UnsafeDebugDll);
25342
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25373
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25417
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25455
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25492
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25515
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25539
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25567
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25597
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics();
25621
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25650
CreateCompilation
([source, CompilerFeatureRequiredAttribute]).VerifyDiagnostics(
25694
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25762
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
25834
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25876
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25920
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
25975
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26026
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26089
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26134
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26192
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26247
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26286
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26335
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26391
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26435
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26477
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
26510
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26565
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe);
26611
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26662
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
26695
var comp =
CreateCompilation
(src);
27000
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
27045
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
27090
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
27134
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27166
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithAllowUnsafe(true));
27207
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27239
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27273
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27302
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
27327
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll.WithAllowUnsafe(true));
27367
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27395
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
27430
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27485
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27534
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27589
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
27632
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27642
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27675
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27682
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27715
CSharpCompilation comp1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute]);
27722
var comp2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
27755
var comp =
CreateCompilation
(src);
27792
var comp =
CreateCompilation
(src);
27834
var comp =
CreateCompilation
(src);
27922
var comp =
CreateCompilation
(src);
28049
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
28139
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
28341
var comp =
CreateCompilation
(src);
28504
var comp =
CreateCompilation
(src);
28671
var comp =
CreateCompilation
(src);
28798
var comp =
CreateCompilation
(src);
29096
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
29228
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29271
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29354
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29397
CreateCompilation
([src, CompilerFeatureRequiredAttribute]).VerifyEmitDiagnostics(
29511
var comp =
CreateCompilation
(src);
29559
var comp =
CreateCompilation
(src);
29614
var comp =
CreateCompilation
(src);
29662
var comp =
CreateCompilation
(src);
29690
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
29717
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
29744
var comp =
CreateCompilation
(src);
29776
var comp =
CreateCompilation
(src);
29800
var comp =
CreateCompilation
(src);
29833
var comp =
CreateCompilation
(src);
29873
var comp =
CreateCompilation
(src);
29913
var comp =
CreateCompilation
(src);
29941
var comp =
CreateCompilation
(src);
29977
var comp =
CreateCompilation
(src);
30005
var comp =
CreateCompilation
(src);
30033
var comp =
CreateCompilation
(src);
30066
var comp =
CreateCompilation
(src);
30101
var comp =
CreateCompilation
(src);
30117
var comp =
CreateCompilation
(src);
30150
var comp =
CreateCompilation
(src);
30183
var comp =
CreateCompilation
(src);
30216
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
Semantics\ExtensionTests.cs (1450)
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);
3288
var comp =
CreateCompilation
(src);
3307
var comp =
CreateCompilation
(src);
3326
var comp =
CreateCompilation
(src);
3350
var comp =
CreateCompilation
(src);
3366
var comp =
CreateCompilation
(src);
3388
var comp =
CreateCompilation
(src);
3410
var comp =
CreateCompilation
(src);
3432
var comp =
CreateCompilation
(src);
3451
var comp =
CreateCompilation
(src);
3467
var comp =
CreateCompilation
(src);
3483
var comp =
CreateCompilation
(src);
3503
var comp =
CreateCompilation
(src);
3527
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
3543
var comp =
CreateCompilation
(src);
3559
var comp =
CreateCompilation
(src);
3576
var comp =
CreateCompilation
(src);
3600
var comp =
CreateCompilation
(src);
3616
var comp =
CreateCompilation
(src);
3632
var comp =
CreateCompilation
(src);
3658
var comp =
CreateCompilation
(src);
3671
var comp =
CreateCompilation
(src);
3692
var comp =
CreateCompilation
(src);
3725
var comp =
CreateCompilation
(src);
3741
var comp =
CreateCompilation
(src);
3764
var comp =
CreateCompilation
(src);
3798
var comp =
CreateCompilation
(src);
3815
var comp =
CreateCompilation
(src);
3828
var comp =
CreateCompilation
(src);
3847
var comp =
CreateCompilation
(src);
3876
var comp =
CreateCompilation
(src);
3896
var comp =
CreateCompilation
(src);
3919
var comp =
CreateCompilation
(src);
3943
var comp =
CreateCompilation
(src);
3970
var comp =
CreateCompilation
(src);
3989
var comp =
CreateCompilation
(src);
4002
var comp =
CreateCompilation
(src);
4018
var comp =
CreateCompilation
(src);
4033
var comp =
CreateCompilation
(src);
4059
var comp =
CreateCompilation
(src);
4075
var comp =
CreateCompilation
(src);
4088
var comp =
CreateCompilation
(src);
4110
var comp =
CreateCompilation
(src);
4139
comp =
CreateCompilation
(src);
4158
var comp =
CreateCompilation
(src);
4174
var comp =
CreateCompilation
(src);
4191
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4204
var comp =
CreateCompilation
(src);
4221
var comp =
CreateCompilation
(src);
4235
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
4251
var comp =
CreateCompilation
(src);
4280
var comp =
CreateCompilation
(src);
4307
var comp =
CreateCompilation
(src);
4330
var comp =
CreateCompilation
(src);
4354
var comp =
CreateCompilation
(src);
4387
var comp =
CreateCompilation
(src);
4421
var comp =
CreateCompilation
(src);
4458
var comp =
CreateCompilation
(src);
4537
var comp =
CreateCompilation
(src);
4585
var comp =
CreateCompilation
(src);
4611
var libComp =
CreateCompilation
(libSrc);
4619
var comp =
CreateCompilation
([src, libSrc]);
4623
comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
4627
comp =
CreateCompilation
(src, references: [libComp.ToMetadataReference()]);
4667
var comp =
CreateCompilation
(src);
4704
var comp =
CreateCompilation
(src);
4738
var comp =
CreateCompilation
(src);
4771
var comp =
CreateCompilation
(src);
4803
var comp =
CreateCompilation
(src);
4830
var comp =
CreateCompilation
(src);
4856
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4884
var comp =
CreateCompilation
(src);
4921
var comp =
CreateCompilation
(src);
5033
var comp =
CreateCompilation
(src);
5065
var comp =
CreateCompilation
(src);
5109
var comp =
CreateCompilation
(src);
5155
var comp =
CreateCompilation
(src);
5201
var comp =
CreateCompilation
(src);
5246
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5293
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
5313
var comp =
CreateCompilation
(src);
5413
var comp1 =
CreateCompilation
(src1);
5441
comp1 =
CreateCompilation
(src1);
5445
comp1 =
CreateCompilation
(src1);
5553
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5588
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5639
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5645
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
5697
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference], options: TestOptions.DebugExe);
5738
comp4 =
CreateCompilation
(src4, references: [comp1ImageReference], options: TestOptions.DebugExe);
5745
var comp5 =
CreateCompilation
(src1);
5763
var comp1 =
CreateCompilation
(src1);
5778
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5793
var comp1 =
CreateCompilation
(src1);
5807
var comp4 =
CreateCompilation
(src4, references: [comp1MetadataReference]);
5829
var comp1 =
CreateCompilation
(src1);
5968
var comp2 =
CreateCompilation
(src2);
6000
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6003
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6023
var comp1 =
CreateCompilation
(src1);
6167
var comp2 =
CreateCompilation
(src2);
6199
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6202
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6221
var comp1 =
CreateCompilation
(src1);
6550
var comp2 =
CreateCompilation
(src2);
6579
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6613
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6636
var comp1 =
CreateCompilation
(src1);
6884
var comp2 =
CreateCompilation
(src2);
6916
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
6919
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
6943
var comp1 =
CreateCompilation
(src1);
7062
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
7099
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
7132
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
7175
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
7209
var comp1 =
CreateCompilation
(src1);
7426
var comp2 =
CreateCompilation
(src2);
7466
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7469
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7498
var comp1 =
CreateCompilation
(src1);
7700
var comp2 =
CreateCompilation
(src2);
7740
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
7743
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
7767
var comp1 =
CreateCompilation
(src1);
8113
var comp2 =
CreateCompilation
(src2);
8142
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
8145
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
8170
var comp1 =
CreateCompilation
(src1);
8430
var comp2 =
CreateCompilation
(src2);
8462
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
8465
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
8484
var comp1 =
CreateCompilation
(src1);
8613
var comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8649
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8701
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8707
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8758
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8808
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8842
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe);
8848
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe);
8882
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8928
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8962
comp2 =
CreateCompilation
(src2, references: [comp1MetadataReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8968
comp2 =
CreateCompilation
(src2, references: [comp1ImageReference], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8975
var comp5 =
CreateCompilation
(src1);
9000
var comp1 =
CreateCompilation
(src1);
9137
var comp2 =
CreateCompilation
(src2);
9389
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9392
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9412
var comp1 =
CreateCompilation
(src1);
9554
var comp2 =
CreateCompilation
(src2);
9586
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9589
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9608
var comp1 =
CreateCompilation
(src1);
9935
var comp2 =
CreateCompilation
(src2);
9964
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
9967
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
9987
var comp1 =
CreateCompilation
(src1);
10233
var comp2 =
CreateCompilation
(src2);
10265
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10268
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
10284
var comp1 =
CreateCompilation
(src1);
10400
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10433
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10482
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10492
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10526
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10532
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10571
var comp5 =
CreateCompilation
(src1);
10592
var comp1 =
CreateCompilation
(src1);
10705
var comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10736
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10785
comp3 =
CreateCompilation
(src3, references: [comp1MetadataReference], options: TestOptions.DebugExe);
10791
comp3 =
CreateCompilation
(src3, references: [comp1ImageReference], options: TestOptions.DebugExe);
10812
var comp5 =
CreateCompilation
(src1);
10833
var comp1 =
CreateCompilation
(src1);
10935
var comp3 =
CreateCompilation
(src3, references: [comp1.ToMetadataReference()], options: TestOptions.DebugExe);
10967
comp3 =
CreateCompilation
(src3, references: [comp1.EmitToImageReference()], options: TestOptions.DebugExe);
11001
var comp =
CreateCompilation
(src);
11134
var comp2 =
CreateCompilation
(src2);
11165
var comp =
CreateCompilation
(src);
11298
var comp2 =
CreateCompilation
(src2);
11326
var comp =
CreateCompilation
(src);
11456
var comp2 =
CreateCompilation
(src2);
11480
var comp =
CreateCompilation
(src);
11612
var comp2 =
CreateCompilation
(src2);
11636
var comp =
CreateCompilation
(src);
11768
var comp2 =
CreateCompilation
(src2);
11799
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
11983
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12006
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
12160
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12183
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
12330
var comp2 =
CreateCompilation
(src2, targetFramework: TargetFramework.StandardAndCSharp);
12348
var comp =
CreateCompilation
(src);
12371
var comp =
CreateCompilation
(src);
12397
comp =
CreateCompilation
(src);
12436
var comp =
CreateCompilation
(src);
12461
comp =
CreateCompilation
(src);
12489
var comp =
CreateCompilation
(src);
12518
var comp =
CreateCompilation
(src);
12557
var comp =
CreateCompilation
(src);
12578
var comp1 =
CreateCompilation
(lib1_cs, assemblyName: "missing");
12582
var comp2 =
CreateCompilation
(lib2_cs, [comp1.EmitToImageReference()]);
12599
var comp =
CreateCompilation
(src, [comp2.EmitToImageReference()]);
12614
var comp =
CreateCompilation
(text);
12632
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
12697
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12755
var comp =
CreateCompilation
(src2, options: TestOptions.DebugExe);
12782
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12822
var comp =
CreateCompilation
([src, eSrc], options: TestOptions.DebugExe);
12852
comp =
CreateCompilation
([src, eSrc]);
12888
var comp =
CreateCompilation
(src);
12928
var comp =
CreateCompilation
(src);
12984
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13034
var comp =
CreateCompilation
(src);
13073
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13104
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13136
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13172
var comp =
CreateCompilation
(src);
13207
var comp =
CreateCompilation
(src);
13243
var comp =
CreateCompilation
(src);
13285
var comp =
CreateCompilation
(src);
13313
var comp =
CreateCompilation
(src);
13345
var comp =
CreateCompilation
(src);
13373
var comp =
CreateCompilation
(src);
13405
var comp =
CreateCompilation
(src);
13434
var comp =
CreateCompilation
(src);
13467
var comp =
CreateCompilation
(src);
13501
var comp =
CreateCompilation
(src);
13531
var comp =
CreateCompilation
(source);
13559
var comp =
CreateCompilation
(source);
13590
var comp =
CreateCompilation
(source);
13617
var comp =
CreateCompilation
(src);
13651
var comp =
CreateCompilation
(src);
13681
var comp =
CreateCompilation
(src);
13708
var comp =
CreateCompilation
(src);
13738
var comp =
CreateCompilation
(src);
13764
comp =
CreateCompilation
(src);
13789
var comp =
CreateCompilation
(src);
13814
var comp =
CreateCompilation
(src);
13833
var comp =
CreateCompilation
(src);
13859
var comp =
CreateCompilation
(src);
13884
var comp =
CreateCompilation
(src);
13916
var comp =
CreateCompilation
(src);
13945
var comp =
CreateCompilation
(src);
13976
var comp =
CreateCompilation
(src);
14008
var comp =
CreateCompilation
(src);
14046
var comp =
CreateCompilation
(src);
14091
var comp =
CreateCompilation
(src);
14131
var comp =
CreateCompilation
(src);
14158
var comp =
CreateCompilation
(src);
14190
var comp =
CreateCompilation
(src);
14218
var comp =
CreateCompilation
(src);
14246
var comp =
CreateCompilation
(src);
14288
var comp =
CreateCompilation
(src);
14318
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14345
var comp =
CreateCompilation
([source, ExpressionTestLibrary]);
14389
var comp =
CreateCompilation
(source);
14423
var comp =
CreateCompilation
(source);
14456
var comp =
CreateCompilation
(source);
14499
var comp =
CreateCompilation
(source);
14533
var comp =
CreateCompilation
(source);
14568
var comp =
CreateCompilation
(source);
14607
var comp =
CreateCompilation
(source);
14633
var comp =
CreateCompilation
(source);
14656
var comp =
CreateCompilation
(source);
14685
var comp =
CreateCompilation
(source);
14720
var comp =
CreateCompilation
(source);
14746
comp =
CreateCompilation
(source);
14770
var comp =
CreateCompilation
(source);
14797
var comp =
CreateCompilation
(source);
14828
var comp =
CreateCompilation
(source);
14862
var comp =
CreateCompilation
(source);
14889
var comp =
CreateCompilation
(source);
14911
comp =
CreateCompilation
(source);
14935
var comp =
CreateCompilation
(source);
14964
var comp =
CreateCompilation
(src);
15014
var comp =
CreateCompilation
(source);
15043
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15085
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
15125
var comp =
CreateCompilation
(src);
15163
var comp =
CreateCompilation
(src);
15193
var comp =
CreateCompilation
(src);
15229
var comp =
CreateCompilation
(src);
15264
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15297
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15342
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
15369
var comp =
CreateCompilation
(src);
15397
var comp =
CreateCompilation
(src);
15424
var comp =
CreateCompilation
(src);
15448
var comp =
CreateCompilation
(src);
15486
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15513
var comp =
CreateCompilation
(src);
15555
var comp =
CreateCompilation
(src);
15640
var comp =
CreateCompilation
(src);
15682
var comp =
CreateCompilation
(src);
15718
var comp =
CreateCompilation
(src);
15747
comp =
CreateCompilation
(src);
15775
var comp =
CreateCompilation
(src);
15802
var comp =
CreateCompilation
(src);
15834
var comp =
CreateCompilation
(src);
15866
var comp =
CreateCompilation
(src);
15894
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
15916
var comp =
CreateCompilation
(src);
15950
var comp =
CreateCompilation
(src);
15972
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
15982
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
15987
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
16005
var comp =
CreateCompilation
(src, references: [derivedRef]);
16027
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16032
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
16048
var comp =
CreateCompilation
(src, references: [derivedRef]);
16064
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16070
var derivedRef =
CreateCompilation
(derivedSrc, references: [missingRef]).EmitToImageReference();
16086
var comp =
CreateCompilation
(src, references: [derivedRef]);
16112
var comp =
CreateCompilation
(src);
16138
var comp =
CreateCompilation
(src);
16164
var comp =
CreateCompilation
(src);
16177
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16182
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16195
var comp =
CreateCompilation
(src, references: [containerRef]);
16217
comp =
CreateCompilation
(src, references: [containerRef]);
16234
comp =
CreateCompilation
(src, references: [containerRef]);
16250
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16255
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16281
var comp =
CreateCompilation
(src, references: [containerRef]);
16301
comp =
CreateCompilation
(src, references: [containerRef]);
16331
comp =
CreateCompilation
(src, references: [containerRef]);
16360
comp =
CreateCompilation
(src, references: [containerRef]);
16370
var missingRef =
CreateCompilation
(missingSrc, assemblyName: "missing").EmitToImageReference();
16375
var containerRef =
CreateCompilation
(containerSrc, references: [missingRef]).EmitToImageReference();
16388
var comp =
CreateCompilation
(src, references: [containerRef]);
16417
var comp =
CreateCompilation
(src);
16441
var comp =
CreateCompilation
(src);
16468
var comp =
CreateCompilation
(src);
16497
var comp =
CreateCompilation
(src);
16522
var comp =
CreateCompilation
(src);
16549
var comp =
CreateCompilation
(source);
16588
var comp =
CreateCompilation
(src);
16619
var comp =
CreateCompilation
(src);
16647
var comp =
CreateCompilation
(source);
16679
var comp =
CreateCompilation
(source);
16706
var comp =
CreateCompilation
(source);
16734
var comp =
CreateCompilation
(source);
16776
var comp =
CreateCompilation
(source);
16812
var comp =
CreateCompilation
(source);
16837
var comp =
CreateCompilation
(source);
16874
var comp =
CreateCompilation
(source);
16906
var comp =
CreateCompilation
(source);
16930
comp =
CreateCompilation
(source);
16955
var comp =
CreateCompilation
(source);
16982
var comp =
CreateCompilation
(source);
17007
var comp =
CreateCompilation
(source);
17031
var comp =
CreateCompilation
(source);
17056
var comp =
CreateCompilation
(source);
17079
var comp =
CreateCompilation
(source);
17104
var comp =
CreateCompilation
(source);
17136
var comp =
CreateCompilation
(source);
17166
var comp =
CreateCompilation
(source);
17193
var comp =
CreateCompilation
(source);
17220
var comp =
CreateCompilation
(source);
17250
var comp =
CreateCompilation
(source);
17270
comp =
CreateCompilation
(source);
17300
var comp =
CreateCompilation
(source);
17319
comp =
CreateCompilation
(source);
17341
var comp =
CreateCompilation
(source);
17364
var comp =
CreateCompilation
(source);
17402
var comp =
CreateCompilation
(source);
17425
var comp =
CreateCompilation
(source);
17449
var comp =
CreateCompilation
(source);
17474
var comp =
CreateCompilation
(source);
17498
var comp =
CreateCompilation
(source);
17523
var comp =
CreateCompilation
(source);
17552
var comp =
CreateCompilation
(source);
17582
var comp =
CreateCompilation
(source);
17614
var comp =
CreateCompilation
(source);
17642
var comp =
CreateCompilation
(source);
17671
var comp =
CreateCompilation
(source);
17698
var comp =
CreateCompilation
(source);
17731
var comp =
CreateCompilation
(source);
17760
var comp =
CreateCompilation
(src);
17775
comp =
CreateCompilation
(src);
17797
var comp =
CreateCompilation
(src);
17813
comp =
CreateCompilation
(src);
17841
var comp =
CreateCompilation
(source);
17877
var comp =
CreateCompilation
(source);
17914
var comp =
CreateCompilation
(source);
17941
var comp =
CreateCompilation
(source);
17977
var comp =
CreateCompilation
(source);
18016
var comp =
CreateCompilation
(source);
18058
var comp =
CreateCompilation
(source);
18086
var comp =
CreateCompilation
(source);
18114
var comp =
CreateCompilation
(src);
18142
var comp =
CreateCompilation
(src);
18170
var comp =
CreateCompilation
(src);
18198
var comp =
CreateCompilation
(src);
18232
var comp =
CreateCompilation
(src);
18265
var comp =
CreateCompilation
(source);
18303
var comp =
CreateCompilation
(src);
18335
var comp =
CreateCompilation
(src);
18365
var comp =
CreateCompilation
(src);
18393
var comp =
CreateCompilation
(src);
18425
var comp =
CreateCompilation
(src);
18457
var comp =
CreateCompilation
(src);
18481
var comp =
CreateCompilation
(src);
18515
var comp =
CreateCompilation
(src);
18550
var comp =
CreateCompilation
(src);
18577
var comp =
CreateCompilation
(src);
18618
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18656
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18695
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18733
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18774
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18818
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18862
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18904
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18943
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
18982
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19014
var comp =
CreateCompilation
(source);
19049
var comp =
CreateCompilation
(source);
19099
var comp =
CreateCompilation
(source);
19131
var comp =
CreateCompilation
(source);
19167
var comp =
CreateCompilation
(source);
19215
var comp =
CreateCompilation
(source);
19247
var comp =
CreateCompilation
(source);
19285
var comp =
CreateCompilation
(source);
19316
var comp =
CreateCompilation
(source);
19355
var comp =
CreateCompilation
(source);
19405
var comp =
CreateCompilation
(source);
19447
var comp =
CreateCompilation
(source);
19480
var comp =
CreateCompilation
(source);
19507
var comp =
CreateCompilation
(source);
19537
var comp =
CreateCompilation
(source);
19564
var comp =
CreateCompilation
(source);
19591
var comp =
CreateCompilation
(source);
19617
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
19640
var comp =
CreateCompilation
(source);
19668
var comp =
CreateCompilation
(source);
19699
var comp =
CreateCompilation
(source);
19732
var comp =
CreateCompilation
(source);
19758
var comp =
CreateCompilation
(source);
19784
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugExe);
19816
var comp =
CreateCompilation
(source);
19847
var comp =
CreateCompilation
(source);
19876
var comp =
CreateCompilation
(source);
19896
var comp =
CreateCompilation
(source);
19924
var comp =
CreateCompilation
(source);
19948
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
19977
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
20000
var comp =
CreateCompilation
(src);
20026
var comp =
CreateCompilation
(src);
20051
var comp =
CreateCompilation
(src);
20080
var comp =
CreateCompilation
(src);
20112
var comp =
CreateCompilation
(src);
20137
var comp =
CreateCompilation
(src);
20164
var comp =
CreateCompilation
(src);
20189
var comp =
CreateCompilation
(src);
20217
var comp =
CreateCompilation
(src);
20235
var comp =
CreateCompilation
(src);
20256
var comp =
CreateCompilation
(src);
20277
var comp =
CreateCompilation
(src);
20298
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20322
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
20348
var comp =
CreateCompilation
(src);
20386
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20431
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20476
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20524
var comp =
CreateCompilation
(source);
20561
var comp =
CreateCompilation
(source);
20609
var comp =
CreateCompilation
(source);
20657
var comp =
CreateCompilation
(source);
20704
var comp =
CreateCompilation
(source);
20754
var comp =
CreateCompilation
(source);
20808
var comp =
CreateCompilation
(source);
20862
var comp =
CreateCompilation
(source);
20916
var comp =
CreateCompilation
(source);
20967
var comp =
CreateCompilation
(source);
21015
var comp =
CreateCompilation
(source);
21055
var comp =
CreateCompilation
(source);
21095
var comp =
CreateCompilation
(source);
21135
var comp =
CreateCompilation
(source);
21178
var comp =
CreateCompilation
(source);
21218
var comp =
CreateCompilation
(source);
21261
var comp =
CreateCompilation
(source);
21295
var comp =
CreateCompilation
(source);
21331
var comp =
CreateCompilation
(source);
21352
var comp =
CreateCompilation
(src);
21373
comp =
CreateCompilation
(src);
21393
var comp =
CreateCompilation
(src);
21414
var comp =
CreateCompilation
(src);
21443
var comp =
CreateCompilation
(src);
21466
var comp =
CreateCompilation
(src);
21514
var comp =
CreateCompilation
(src);
21555
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21582
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21618
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21653
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21696
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
21746
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21894
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
21935
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22093
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22133
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22178
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22180
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22182
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22279
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22328
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22330
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22332
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22429
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
22526
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22604
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22651
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22653
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22655
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostic);
22700
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22747
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22749
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22751
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
22824
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22907
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23020
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23117
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23231
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23343
var comp1 =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
23413
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23463
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23517
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23571
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23625
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23682
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
23762
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23836
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23838
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23840
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23912
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23914
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23916
CreateCompilation
(exeSource, references: [useMetadataRef ? comp1.ToMetadataReference() : comp1.EmitToImageReference()], targetFramework: TargetFramework.Net90).VerifyDiagnostics(expectedDiagnostics);
23944
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23998
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24175
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24239
CreateCompilation
([exeSource, src], targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24286
CreateCompilation
([src, exeSource], parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24346
var comp1 =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
24378
CreateCompilation
(src, targetFramework: TargetFramework.Net90, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
24413
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
24706
var comp =
CreateCompilation
(code, targetFramework: TargetFramework.NetCoreApp);
24739
var comp =
CreateCompilation
(src);
24770
var comp =
CreateCompilation
(src);
24807
var comp =
CreateCompilation
(src);
24835
var comp =
CreateCompilation
(src);
24863
var comp =
CreateCompilation
(src);
24889
var comp =
CreateCompilation
(src);
24912
var comp =
CreateCompilation
(src);
24942
var comp =
CreateCompilation
(src);
24979
var comp =
CreateCompilation
(src);
25015
var comp =
CreateCompilation
(src);
25038
var comp =
CreateCompilation
(src);
25068
var comp =
CreateCompilation
(src);
25111
var comp =
CreateCompilation
(src);
25155
var comp =
CreateCompilation
(src);
25192
var comp =
CreateCompilation
(src);
25231
var comp =
CreateCompilation
(src);
25262
var comp =
CreateCompilation
(src);
25328
var comp =
CreateCompilation
(src);
25349
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25369
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25391
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
25436
var comp =
CreateCompilation
(src);
25483
var comp =
CreateCompilation
(src);
25519
var comp =
CreateCompilation
(src);
25552
var comp =
CreateCompilation
(src);
25582
var comp =
CreateCompilation
(src);
25603
comp =
CreateCompilation
(src);
25631
var comp =
CreateCompilation
(src);
25650
comp =
CreateCompilation
(src);
25681
var comp =
CreateCompilation
(src);
25713
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25740
var comp =
CreateCompilation
(src);
25768
var comp =
CreateCompilation
(src);
25790
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25802
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25831
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25858
var comp =
CreateCompilation
(src);
25893
var comp =
CreateCompilation
(src);
25929
var comp =
CreateCompilation
(src);
25977
var comp =
CreateCompilation
(src);
26007
comp =
CreateCompilation
(src);
26040
var comp =
CreateCompilation
(src);
26063
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
26073
var comp =
CreateCompilation
(src, references: [libRef]);
26076
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
26079
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
26108
var comp =
CreateCompilation
(src);
26187
var comp =
CreateCompilation
(src);
26213
var comp =
CreateCompilation
(src);
26253
var comp =
CreateCompilation
(src).VerifyEmitDiagnostics(expectedDiagnostics);
26298
var comp =
CreateCompilation
(src);
26325
var comp =
CreateCompilation
(src);
26339
comp =
CreateCompilation
(src);
26371
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26400
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26427
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, targetFramework: TargetFramework.Net90);
26462
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
26512
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26549
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26573
comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26611
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeReleaseExe);
26677
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe);
26717
var comp =
CreateCompilation
(text);
26757
var comp =
CreateCompilation
(text);
26810
var comp =
CreateCompilation
(text);
26844
var comp =
CreateCompilation
(text);
26870
comp =
CreateCompilation
(text);
26907
var comp =
CreateCompilation
(text);
26933
comp =
CreateCompilation
(text);
26970
var comp =
CreateCompilation
(text);
27003
comp =
CreateCompilation
(text);
27040
var comp =
CreateCompilation
(text);
27066
comp =
CreateCompilation
(text);
27103
var comp =
CreateCompilation
(text);
27129
comp =
CreateCompilation
(text);
27164
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27192
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27217
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27233
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27257
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27288
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27307
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27340
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27376
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27401
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27430
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27450
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27474
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27492
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27515
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27565
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27590
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27609
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27634
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27662
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27681
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
27702
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
27708
var comp =
CreateCompilation
(src, references: [libRef]);
27716
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
27722
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
27746
var comp =
CreateCompilation
(src);
27773
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27828
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27861
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27908
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27953
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
27986
comp =
CreateCompilation
([src, spanSrc]);
28019
var comp =
CreateCompilation
(src);
28060
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28116
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28152
var comp =
CreateCompilation
(src);
28187
var comp =
CreateCompilation
(src);
28217
var comp =
CreateCompilation
(src);
28247
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
28269
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28275
var comp =
CreateCompilation
(src, references: [libRef]);
28283
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28289
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28310
var comp =
CreateCompilation
(src);
28334
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28352
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28377
var comp =
CreateCompilation
(src);
28402
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28423
var libRef =
CreateCompilation
(libSrc).EmitToImageReference();
28429
var comp =
CreateCompilation
(src, references: [libRef]);
28437
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
28443
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
28473
var comp =
CreateCompilation
(src);
28526
var comp =
CreateCompilation
(src);
28589
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
28696
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28730
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28761
var comp =
CreateCompilation
(source);
28780
comp =
CreateCompilation
(source);
28810
var comp =
CreateCompilation
(source);
28829
comp =
CreateCompilation
(source);
28857
var comp =
CreateCompilation
(src);
28917
var comp =
CreateCompilation
(src);
28970
var comp =
CreateCompilation
(source);
28996
var comp =
CreateCompilation
(source);
29031
var comp =
CreateCompilation
(source);
29066
var comp =
CreateCompilation
(source);
29094
var comp =
CreateCompilation
(source);
29129
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
29183
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
29219
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
29254
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29286
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net90);
29312
var comp =
CreateCompilation
(src);
29346
var comp =
CreateCompilation
(src);
29376
var comp =
CreateCompilation
(src);
29404
var comp =
CreateCompilation
(src);
29432
var comp =
CreateCompilation
(src);
29462
var comp =
CreateCompilation
(src);
29492
var comp =
CreateCompilation
(src);
29516
var comp =
CreateCompilation
(src);
29545
var comp =
CreateCompilation
(src);
29574
var comp =
CreateCompilation
(src);
29602
var comp =
CreateCompilation
(src);
29629
var comp =
CreateCompilation
(src);
29658
var comp =
CreateCompilation
(src);
29694
var comp =
CreateCompilation
(src);
29725
var comp =
CreateCompilation
(src);
29754
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
29775
var comp =
CreateCompilation
(source);
29813
var comp =
CreateCompilation
(source);
29856
var comp =
CreateCompilation
(source);
29964
var comp2 =
CreateCompilation
(source2, references: [comp.EmitToImageReference()]);
29976
var comp =
CreateCompilation
(src);
30009
var comp =
CreateCompilation
(src);
30048
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
30082
var comp =
CreateCompilation
(src);
30100
var comp =
CreateCompilation
(source);
30123
var comp =
CreateCompilation
(source);
30146
var comp =
CreateCompilation
(src);
30161
var comp =
CreateCompilation
(src);
30178
var comp =
CreateCompilation
(src);
30202
var comp =
CreateCompilation
(src);
30237
var comp =
CreateCompilation
(src);
30262
var comp =
CreateCompilation
(src);
30314
var comp =
CreateCompilation
(src);
30351
var comp =
CreateCompilation
(src);
30397
var comp =
CreateCompilation
(src);
30470
var comp =
CreateCompilation
(src);
30528
var comp =
CreateCompilation
(src);
30544
var comp =
CreateCompilation
(src);
30577
var comp =
CreateCompilation
(src);
30653
var comp =
CreateCompilation
(src);
30737
var comp =
CreateCompilation
(src);
30845
var comp =
CreateCompilation
(src);
30882
var comp =
CreateCompilation
(src);
30952
var comp =
CreateCompilation
(src);
30972
var comp =
CreateCompilation
(src);
31011
var comp =
CreateCompilation
(src);
31078
var comp =
CreateCompilation
(src);
31115
var comp =
CreateCompilation
(src);
31161
var comp =
CreateCompilation
(src);
31234
var comp =
CreateCompilation
(src);
31292
var comp =
CreateCompilation
(src);
31314
var comp =
CreateCompilation
(src);
31361
var comp =
CreateCompilation
(src);
31399
var comp =
CreateCompilation
(src);
31431
var comp =
CreateCompilation
(src);
31468
var comp =
CreateCompilation
(src);
31504
var comp =
CreateCompilation
(src);
31532
var comp =
CreateCompilation
(src);
31560
var comp =
CreateCompilation
(src);
31599
var comp =
CreateCompilation
(src);
31631
var comp =
CreateCompilation
(src);
31673
var comp =
CreateCompilation
(src);
31700
var comp =
CreateCompilation
(src);
31733
var comp =
CreateCompilation
(src);
31758
var comp =
CreateCompilation
(src);
31798
var comp =
CreateCompilation
(src);
31830
var comp =
CreateCompilation
(src);
31932
var comp =
CreateCompilation
(src);
31967
comp =
CreateCompilation
("""
32120
var comp =
CreateCompilation
(src);
32161
comp =
CreateCompilation
("""
32220
var comp =
CreateCompilation
(src);
32246
var comp =
CreateCompilation
(src);
32340
var comp =
CreateCompilation
(src);
32418
var comp =
CreateCompilation
(src);
32453
var comp =
CreateCompilation
(src);
32511
var comp =
CreateCompilation
(src);
32534
comp =
CreateCompilation
("""
32557
comp =
CreateCompilation
("""
32639
var comp =
CreateCompilation
(src);
32662
comp =
CreateCompilation
("""
32744
var comp =
CreateCompilation
(src);
32770
comp =
CreateCompilation
("""
32862
var comp =
CreateCompilation
(src);
32910
var comp =
CreateCompilation
(src);
32943
var comp =
CreateCompilation
(src);
32976
var comp =
CreateCompilation
(src);
33002
var comp =
CreateCompilation
(src);
33024
var comp =
CreateCompilation
(src);
33053
var comp =
CreateCompilation
(src);
33094
var comp =
CreateCompilation
(src);
33138
var comp =
CreateCompilation
(src);
33175
var comp =
CreateCompilation
(src);
33206
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
33239
var comp =
CreateCompilation
(src);
33265
var comp =
CreateCompilation
(src);
33306
var comp =
CreateCompilation
(src);
33359
var comp =
CreateCompilation
(src);
33385
var comp =
CreateCompilation
(src);
33413
var comp =
CreateCompilation
(src);
33572
var comp =
CreateCompilation
(src);
33614
var comp =
CreateCompilation
(src);
33657
var comp =
CreateCompilation
(src);
33704
var comp =
CreateCompilation
(src);
33750
var comp =
CreateCompilation
(src);
33789
var comp =
CreateCompilation
(src);
33828
var comp =
CreateCompilation
(src);
33858
var comp =
CreateCompilation
(src);
33880
var comp =
CreateCompilation
(source);
33910
var comp =
CreateCompilation
(source);
33937
var comp =
CreateCompilation
(source);
33964
var comp =
CreateCompilation
(source);
33991
var comp =
CreateCompilation
(source);
34014
var comp =
CreateCompilation
(src);
34038
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34068
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34076
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34077
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
34083
var comp3 =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34114
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34139
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34170
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34198
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34227
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34252
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34277
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34280
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34281
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34306
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34314
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34315
var comp2 =
CreateCompilation
(source, references: [libComp.EmitToImageReference()]);
34349
var comp =
CreateCompilation
(source);
34380
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34388
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34389
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34416
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34443
var comp =
CreateCompilation
([source, OverloadResolutionPriorityAttributeDefinition]);
34474
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34482
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34483
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34520
var comp =
CreateCompilation
([source, libSrc, OverloadResolutionPriorityAttributeDefinition]);
34528
var libComp =
CreateCompilation
([libSrc, OverloadResolutionPriorityAttributeDefinition]);
34529
var comp2 =
CreateCompilation
([source], references: [libComp.EmitToImageReference()]);
34561
var comp =
CreateCompilation
(source);
34581
var comp =
CreateCompilation
(source);
34615
var comp =
CreateCompilation
(source);
34655
var comp =
CreateCompilation
(src);
34691
var comp =
CreateCompilation
(src);
34731
var comp =
CreateCompilation
(src);
34775
var comp =
CreateCompilation
(src);
34825
var comp =
CreateCompilation
(src);
34861
var comp =
CreateCompilation
(src);
34886
var comp =
CreateCompilation
(src);
34918
var comp =
CreateCompilation
(src);
34951
var comp =
CreateCompilation
(src);
34981
var comp =
CreateCompilation
(src);
35011
var comp =
CreateCompilation
(src);
35043
var comp =
CreateCompilation
(src);
35074
var comp =
CreateCompilation
(src);
35107
var comp =
CreateCompilation
(src);
35138
var comp =
CreateCompilation
(src);
35169
var comp =
CreateCompilation
(src);
35202
var comp =
CreateCompilation
(src);
35228
var comp =
CreateCompilation
(src);
35252
var comp =
CreateCompilation
(src);
35278
var comp =
CreateCompilation
(src);
35302
var comp =
CreateCompilation
(src);
35325
var comp =
CreateCompilation
(src);
35349
var comp =
CreateCompilation
(src);
35369
var comp =
CreateCompilation
(src);
35387
var comp =
CreateCompilation
(src);
35405
var comp =
CreateCompilation
(src);
35423
var comp =
CreateCompilation
(src);
35441
var comp =
CreateCompilation
(src);
35459
var comp =
CreateCompilation
(src);
35490
var comp =
CreateCompilation
(src);
35522
var comp =
CreateCompilation
(src);
35543
var comp =
CreateCompilation
(src);
35577
var comp =
CreateCompilation
(src);
35601
var comp =
CreateCompilation
(src);
35627
var comp =
CreateCompilation
(src);
35655
var comp =
CreateCompilation
(src);
35681
var comp =
CreateCompilation
(src);
35704
var comp =
CreateCompilation
(src);
35726
var comp =
CreateCompilation
(src);
35756
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp);
35779
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics(
35800
var comp =
CreateCompilation
(source);
35820
var comp =
CreateCompilation
(source);
35845
var comp =
CreateCompilation
(source);
35875
var comp =
CreateCompilation
(source);
35912
var comp =
CreateCompilation
(source);
35947
var comp =
CreateCompilation
(source);
35980
var comp =
CreateCompilation
(source);
36017
var comp =
CreateCompilation
(source);
36044
var comp =
CreateCompilation
(source);
36083
var comp =
CreateCompilation
(source);
36113
var comp =
CreateCompilation
(source);
36154
comp =
CreateCompilation
(source);
36196
var comp =
CreateCompilation
(source);
36231
var comp =
CreateCompilation
(source);
36257
var comp =
CreateCompilation
(source);
36288
var comp =
CreateCompilation
(src);
36315
var comp =
CreateCompilation
(src);
36344
var comp =
CreateCompilation
(source);
36375
var comp =
CreateCompilation
(source);
36406
var comp =
CreateCompilation
(src);
36437
var comp =
CreateCompilation
(src);
36468
var comp =
CreateCompilation
(src);
36500
var comp =
CreateCompilation
(src);
36538
var comp =
CreateCompilation
(src);
36576
var comp =
CreateCompilation
(src);
36619
var comp =
CreateCompilation
(src);
36668
var comp =
CreateCompilation
(src);
36703
var comp =
CreateCompilation
(src);
36734
var comp =
CreateCompilation
(src);
36768
var comp =
CreateCompilation
(src);
36806
var comp =
CreateCompilation
(src);
36837
var comp =
CreateCompilation
(src);
36864
var comp =
CreateCompilation
(src);
36891
var comp =
CreateCompilation
(src);
36919
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36945
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
36980
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
37005
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
37041
var comp =
CreateCompilation
(src);
37072
var comp =
CreateCompilation
(src);
37100
var comp =
CreateCompilation
(src);
37128
var comp =
CreateCompilation
(src);
37159
var comp =
CreateCompilation
(src);
37190
var comp =
CreateCompilation
(src);
37208
var comp =
CreateCompilation
(src);
37232
var comp =
CreateCompilation
(src);
37252
var comp =
CreateCompilation
(src);
37275
var comp =
CreateCompilation
(src);
37296
var comp =
CreateCompilation
(src);
37502
var comp =
CreateCompilation
(src);
37529
var comp =
CreateCompilation
(src);
37560
var comp =
CreateCompilation
(src);
37591
var comp =
CreateCompilation
(src);
37615
var comp =
CreateCompilation
(src);
37635
comp =
CreateCompilation
(src);
37662
var comp =
CreateCompilation
(src);
37688
var comp =
CreateCompilation
(src);
37714
var comp =
CreateCompilation
(src);
37749
var comp =
CreateCompilation
(src);
37791
var comp =
CreateCompilation
(src);
37814
var comp =
CreateCompilation
(src);
37835
comp =
CreateCompilation
(src);
37874
var comp =
CreateCompilation
(src);
37932
var comp =
CreateCompilation
(src);
37971
var comp =
CreateCompilation
(src);
38010
var comp =
CreateCompilation
(src);
38042
var comp =
CreateCompilation
(src);
38083
var comp =
CreateCompilation
(src);
38114
var comp =
CreateCompilation
(src);
38142
var comp =
CreateCompilation
(src);
38170
var comp =
CreateCompilation
(src);
38204
var comp =
CreateCompilation
(src);
38235
var comp =
CreateCompilation
(src);
38265
var comp =
CreateCompilation
(src);
38305
var comp =
CreateCompilation
(src);
38341
var comp =
CreateCompilation
(src);
38375
var comp =
CreateCompilation
(src);
38411
var comp =
CreateCompilation
(src);
38447
var comp =
CreateCompilation
(src);
38483
var comp =
CreateCompilation
(src);
38517
var comp =
CreateCompilation
(src);
38541
var comp =
CreateCompilation
(src);
38572
var comp =
CreateCompilation
(src);
38603
var comp =
CreateCompilation
(src);
38637
var comp =
CreateCompilation
(src);
38666
var comp =
CreateCompilation
(src);
38691
var comp =
CreateCompilation
(src);
38717
var comp =
CreateCompilation
(src);
38765
var comp =
CreateCompilation
(source);
38809
var comp =
CreateCompilation
(src);
38838
var comp =
CreateCompilation
(src);
38865
var comp =
CreateCompilation
(src);
38895
var comp =
CreateCompilation
(src);
38920
var comp =
CreateCompilation
(src);
38947
var comp =
CreateCompilation
(src);
38987
var comp =
CreateCompilation
(src);
39020
var comp =
CreateCompilation
(src);
39063
var comp =
CreateCompilation
(src);
39100
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39115
var comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular13);
39118
comp =
CreateCompilation
(srcCompat, references: [libRef], parseOptions: TestOptions.Regular14);
39121
comp =
CreateCompilation
(srcCompat, references: [libRef]);
39131
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39147
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39163
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39167
comp =
CreateCompilation
(src, references: [libRef]);
39174
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39181
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39185
comp =
CreateCompilation
(src, references: [libRef]);
39214
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39223
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39226
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39229
comp =
CreateCompilation
(src, references: [libRef]);
39245
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39261
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39264
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39267
comp =
CreateCompilation
(src, references: [libRef]);
39285
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39306
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
39309
comp =
CreateCompilation
(src, references: [libRef], options: TestOptions.DebugExe);
39312
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14, options: TestOptions.DebugExe);
39315
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39335
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39347
var comp =
CreateCompilation
(src, references: [libRef]);
39350
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39353
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39357
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39368
comp =
CreateCompilation
(src);
39371
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39374
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39377
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39400
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39419
var comp =
CreateCompilation
(src, references: [libRef]);
39422
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39425
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39431
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39454
comp =
CreateCompilation
(src);
39457
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39460
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39463
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39480
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39493
var comp =
CreateCompilation
(src, references: [libRef]);
39496
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39499
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39502
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39519
comp =
CreateCompilation
(src);
39522
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39525
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39528
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39545
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39558
var comp =
CreateCompilation
(src, references: [libRef]);
39561
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39564
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39568
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39585
comp =
CreateCompilation
(src);
39588
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39591
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39595
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39615
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39628
var comp =
CreateCompilation
(src, references: [libRef]);
39631
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39634
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39637
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39654
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39666
var comp =
CreateCompilation
(src, references: [libRef]);
39669
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39672
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39675
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39696
var comp =
CreateCompilation
(src);
39699
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
39702
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
39705
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular12);
39725
var libComp =
CreateCompilation
(libSrc, parseOptions: TestOptions.Regular14);
39744
var comp =
CreateCompilation
(src, references: [libRef]);
39747
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14);
39750
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13);
39755
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular12);
39784
var comp =
CreateCompilation
(src);
39815
var comp =
CreateCompilation
(src);
39857
var comp =
CreateCompilation
(src);
39880
var comp =
CreateCompilation
(src);
39913
var comp =
CreateCompilation
(src);
39933
var comp =
CreateCompilation
(src);
39956
var comp =
CreateCompilation
(src);
39983
var comp =
CreateCompilation
(src);
40002
var comp =
CreateCompilation
(src);
40029
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
40052
var comp =
CreateCompilation
(src);
40380
var comp =
CreateCompilation
(src);
40402
var comp =
CreateCompilation
(src);
40425
var comp =
CreateCompilation
(src);
40448
var comp =
CreateCompilation
(src);
40474
var comp =
CreateCompilation
(src);
40501
var comp =
CreateCompilation
(src);
40524
var comp =
CreateCompilation
(src);
40550
var comp =
CreateCompilation
(src);
40577
var comp =
CreateCompilation
(src);
40602
var comp =
CreateCompilation
(src);
40643
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40687
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
40718
var comp =
CreateCompilation
(src);
40744
var comp =
CreateCompilation
(src);
40775
var comp =
CreateCompilation
(src);
40799
var comp =
CreateCompilation
(src);
40827
comp =
CreateCompilation
(src);
40850
comp =
CreateCompilation
(src);
40871
var comp =
CreateCompilation
(src);
40906
var comp =
CreateCompilation
(src);
40933
var comp =
CreateCompilation
(src);
40953
var comp =
CreateCompilation
(src);
40973
var comp =
CreateCompilation
(src);
41005
var comp =
CreateCompilation
(src);
41191
CreateCompilation
(source).VerifyDiagnostics();
41241
var comp =
CreateCompilation
(src, options: TestOptions.ReleaseExe);
41492
CreateCompilation
(source)
41525
CreateCompilation
(source)
41565
var comp =
CreateCompilation
(src);
41593
comp =
CreateCompilation
(src);
41629
var comp =
CreateCompilation
(src);
41657
comp =
CreateCompilation
(src);
41690
CreateCompilation
(src).VerifyEmitDiagnostics(
41718
CreateCompilation
(src).VerifyEmitDiagnostics(
41742
CreateCompilation
(src).VerifyEmitDiagnostics();
41772
CreateCompilation
(source)
41807
CreateCompilation
(src).VerifyEmitDiagnostics();
41831
CreateCompilation
(src).VerifyEmitDiagnostics();
41862
CreateCompilation
(src).VerifyEmitDiagnostics();
41886
CreateCompilation
(src).VerifyEmitDiagnostics();
41920
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41955
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
41990
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42032
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42071
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42115
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42150
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42189
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42228
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42263
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
42280
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42301
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42324
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
42347
var comp =
CreateCompilation
(source);
42370
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
42401
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42506
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42604
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42675
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
42786
var comp =
CreateCompilation
(source);
42816
var comp =
CreateCompilation
(source);
42840
var comp =
CreateCompilation
(source);
42863
var comp =
CreateCompilation
(source);
43019
CreateCompilation
(source).VerifyDiagnostics(
43038
var comp =
CreateCompilation
(source);
43063
var comp =
CreateCompilation
(source);
43111
var comp =
CreateCompilation
(source);
43141
var comp =
CreateCompilation
(source);
43174
var comp =
CreateCompilation
(source);
43207
var comp =
CreateCompilation
(source);
43238
var comp =
CreateCompilation
(source);
43274
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
43303
var comp =
CreateCompilation
(source);
43471
var comp =
CreateCompilation
(source);
43597
comp =
CreateCompilation
(source);
44071
CreateCompilation
(source).VerifyEmitDiagnostics(
44102
var comp =
CreateCompilation
(source);
44237
var comp =
CreateCompilation
(source);
44379
var comp =
CreateCompilation
(source);
44414
var comp =
CreateCompilation
(source);
44457
var comp =
CreateCompilation
(source);
44505
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
44529
var comp =
CreateCompilation
(source);
44574
var comp =
CreateCompilation
(source);
44619
var comp =
CreateCompilation
(source);
44659
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44662
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44678
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44683
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44702
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E.<G>$BA41CFE2B5EDAEB8C1B9062F59ED4D69"));
44722
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E."));
44727
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E. "));
44732
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(""));
44736
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(" "));
44741
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName(".A"));
44759
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44762
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44778
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44781
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44797
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
44805
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe.WithMainTypeName("E"));
44824
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
44839
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular14);
44851
comp =
CreateCompilation
(source);
44872
var comp =
CreateCompilation
(source);
44893
var comp =
CreateCompilation
(src);
44922
var comp =
CreateCompilation
(src);
44955
var comp =
CreateCompilation
(source);
45001
var comp =
CreateCompilation
(source);
45045
var comp =
CreateCompilation
(source);
45083
var comp =
CreateCompilation
(source);
45139
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
45188
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Net90);
45220
var comp =
CreateCompilation
(source);
45255
var comp =
CreateCompilation
(source);
45293
var comp =
CreateCompilation
(source);
45331
var comp =
CreateCompilation
(source);
45378
var comp =
CreateCompilation
(source);
45485
var comp =
CreateCompilation
(source);
45501
comp =
CreateCompilation
(source);
45581
var comp =
CreateCompilation
(source);
45673
var comp =
CreateCompilation
(source);
45719
var comp =
CreateCompilation
(source);
45757
var comp =
CreateCompilation
(source);
45783
var comp =
CreateCompilation
(source);
45809
var comp =
CreateCompilation
(source);
45852
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
45933
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
46001
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
46078
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
46133
var comp =
CreateCompilation
(src);
46162
var comp =
CreateCompilation
(src);
46191
var comp =
CreateCompilation
(src);
46238
var comp =
CreateCompilation
([src, libSrc]);
46241
var libComp =
CreateCompilation
(libSrc);
46242
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46274
var comp =
CreateCompilation
(src);
46316
var comp =
CreateCompilation
(src);
46350
var comp =
CreateCompilation
(src);
46391
var comp =
CreateCompilation
(src);
46424
var comp =
CreateCompilation
(src);
46465
var comp =
CreateCompilation
([src, libSrc]);
46468
var libComp =
CreateCompilation
(libSrc);
46469
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46516
var comp =
CreateCompilation
([src, libSrc]);
46519
var libComp =
CreateCompilation
(libSrc);
46520
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
46547
var comp =
CreateCompilation
(src);
46585
var comp =
CreateCompilation
(src);
46641
var comp =
CreateCompilation
(src);
46716
var comp =
CreateCompilation
(src);
46752
var comp =
CreateCompilation
(src);
46789
var comp =
CreateCompilation
(src);
46833
var comp =
CreateCompilation
(src);
46878
var comp =
CreateCompilation
(src);
46938
var comp =
CreateCompilation
(src);
46986
var comp =
CreateCompilation
(src);
47019
var comp =
CreateCompilation
(src);
47046
var comp =
CreateCompilation
(src);
47078
var comp =
CreateCompilation
(src);
47121
var comp =
CreateCompilation
(src);
47163
var comp =
CreateCompilation
(src);
47202
var comp =
CreateCompilation
(src);
47248
var comp =
CreateCompilation
(src);
47280
var comp =
CreateCompilation
(src);
47310
var comp =
CreateCompilation
(src);
47351
var comp =
CreateCompilation
(src);
47387
var comp =
CreateCompilation
(src);
47423
var comp =
CreateCompilation
(src);
47459
var comp =
CreateCompilation
(src);
47508
var comp =
CreateCompilation
([src, libSrc]);
47514
var libComp =
CreateCompilation
(libSrc);
47645
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
47667
var comp =
CreateCompilation
(src);
47731
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
47734
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
47735
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
47786
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47816
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47846
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47876
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47911
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47954
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
47998
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48060
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48133
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48171
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48209
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48225
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48250
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48285
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48351
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48391
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48423
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48452
comp =
CreateCompilation
(src);
48473
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48493
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48521
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48573
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48601
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48630
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48657
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48688
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
48719
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
48882
var comp2 =
CreateCompilation
(src2, references: [comp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48921
var comp =
CreateCompilation
([src, libSrc], targetFramework: TargetFramework.Net90);
48924
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Net90);
48925
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], targetFramework: TargetFramework.Net90);
48975
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
49003
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
49034
var comp =
CreateCompilation
(src);
49065
comp =
CreateCompilation
(src);
49105
var comp =
CreateCompilation
(src);
49138
var comp =
CreateCompilation
(src);
49168
var comp =
CreateCompilation
(src);
49201
var comp =
CreateCompilation
(src);
49224
comp =
CreateCompilation
(src);
49251
var comp =
CreateCompilation
(src);
49275
var comp =
CreateCompilation
(src);
49298
var comp =
CreateCompilation
(src);
49328
var comp =
CreateCompilation
(src);
49392
var comp =
CreateCompilation
([src, IsExternalInitTypeDefinition]);
49457
var comp =
CreateCompilation
([src, IsExternalInitTypeDefinition]);
49487
var comp =
CreateCompilation
(src);
49517
var comp =
CreateCompilation
(src);
49547
var comp =
CreateCompilation
(src);
49577
var comp =
CreateCompilation
(src);
49607
var comp =
CreateCompilation
(src);
49637
var comp =
CreateCompilation
(src);
49680
var comp =
CreateCompilation
(src);
49715
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
49739
comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
49776
var comp =
CreateCompilation
(src);
49804
var comp =
CreateCompilation
(src);
49848
var comp =
CreateCompilation
(src);
49887
var comp =
CreateCompilation
(source);
49914
var comp =
CreateCompilation
(source);
50207
var comp =
CreateCompilation
(src);
50247
var comp =
CreateCompilation
(src);
50339
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
50362
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
50392
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "Test");
50542
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50615
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50654
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
50721
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50807
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50863
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50924
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
50973
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
51029
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
51079
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "test");
51124
var comp =
CreateCompilation
(
51183
var comp =
CreateCompilation
(
51228
var libComp =
CreateCompilation
(src);
51238
var comp =
CreateCompilation
("", references: [libComp.EmitToImageReference()]);
51260
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51280
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51283
var comp =
CreateCompilation
("", references: [moduleRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51302
moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51309
comp =
CreateCompilation
(source2, assemblyName: "name", references: [moduleRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51337
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments, assemblyName: "Test");
51383
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51403
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51424
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51454
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51476
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51497
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51517
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51538
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51560
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51584
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51610
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51627
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51658
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51682
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51711
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51737
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51765
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51794
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51818
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments,
51841
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments,
51869
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments,
51907
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51929
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51955
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51977
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
51999
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
52025
var comp =
CreateCompilation
(src);
52093
var comp =
CreateCompilation
(src);
52149
var comp =
CreateCompilation
(src);
52193
var comp =
CreateCompilation
(src);
52265
var comp =
CreateCompilation
(source);
Semantics\ExtensionTests2.cs (884)
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);
2566
var comp =
CreateCompilation
(source);
2603
var comp =
CreateCompilation
([source, NotNullAttributeDefinition]);
2629
var comp =
CreateCompilation
([src, libSrc]);
2632
var libComp =
CreateCompilation
(libSrc);
2633
var comp2 =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
2643
comp =
CreateCompilation
([src2, libSrc]);
2646
libComp =
CreateCompilation
(libSrc);
2647
comp2 =
CreateCompilation
(src2, references: [libComp.EmitToImageReference()]);
2673
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2700
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2736
var comp =
CreateCompilation
(src);
2758
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2776
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
2784
var comp =
CreateCompilation
("""
2864
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
2896
var comp =
CreateCompilation
(src);
2983
var comp =
CreateCompilation
(src);
3051
var libComp =
CreateCompilation
(libSrc, targetFramework: TargetFramework.Mscorlib40);
3056
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Mscorlib46, references: [libComp.ToMetadataReference()]);
4293
var libComp =
CreateCompilation
(libSrc);
4297
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
5028
var comp =
CreateCompilation
(src);
5051
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5107
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5139
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5160
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5200
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5234
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5281
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5313
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5349
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5385
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5418
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5453
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5486
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5519
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5548
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5577
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5609
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5639
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5670
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5704
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5737
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5769
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5795
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5828
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5858
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5891
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5920
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5955
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
5995
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6033
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6071
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6109
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6134
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6168
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6201
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6241
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6265
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6288
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6321
var comp =
CreateCompilation
([(src1, "file1"), (src2, "file2")], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6357
var libComp =
CreateCompilation
(libSrc);
6358
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()],
6394
var libComp =
CreateCompilation
(libSrc);
6395
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
6427
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6447
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6476
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6506
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6542
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6545
var comp2 =
CreateCompilation
("", references: [comp.EmitToImageReference(documentation: new TestDocumentationProvider())]);
6576
var libComp =
CreateCompilation
(libSrc);
6584
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6605
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6635
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6671
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6709
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6739
comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6761
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6796
var libComp =
CreateCompilation
(libSrc);
6805
var comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular13.WithDocumentationMode(DocumentationMode.Diagnose));
6811
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.Regular14.WithDocumentationMode(DocumentationMode.Diagnose));
6814
comp =
CreateCompilation
(src, references: [libRef], parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6831
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6851
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6867
var comp2 =
CreateCompilation
(src2, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6891
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6911
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6935
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6960
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
6985
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7010
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7042
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7070
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7099
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7120
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7150
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreviewWithDocumentationComments);
7259
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
7318
var comp2 =
CreateCompilation
([src2]);
7393
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7444
var comp2 =
CreateCompilation
([src2]);
7529
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7637
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7729
var comp2 =
CreateCompilation
([src2]);
7819
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
7874
var comp2 =
CreateCompilation
([src2]);
7978
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8096
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8189
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8315
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
8465
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8561
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
8662
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8777
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
8834
var comp2 =
CreateCompilation
(src2);
8919
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9028
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9231
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9323
var comp2 =
CreateCompilation
(src2);
9424
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9640
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithAllowUnsafe(true));
9807
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9907
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10015
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10131
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10192
var comp2 =
CreateCompilation
(src2);
10279
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10369
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10486
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10546
var comp2 =
CreateCompilation
(src2);
10627
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10754
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10870
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10931
var comp2 =
CreateCompilation
(src2);
11018
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11108
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11225
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11285
var comp2 =
CreateCompilation
(src2);
11366
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11526
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11758
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
11898
var comp2 =
CreateCompilation
(src2);
12019
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12217
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12635
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
12825
var comp2 =
CreateCompilation
(src2);
12976
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13340
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13446
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13503
var comp2 =
CreateCompilation
(src2);
13586
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13695
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13877
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
13966
var comp2 =
CreateCompilation
(src2);
14068
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14244
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14321
var comp2 =
CreateCompilation
(src2);
14403
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14473
var comp2 =
CreateCompilation
(src2);
14541
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14658
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14762
var comp2 =
CreateCompilation
(src2);
14853
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
14916
var comp2 =
CreateCompilation
(src2);
15018
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15151
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15253
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
15379
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15491
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15580
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15680
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
15755
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
15894
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16039
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16143
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16228
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16343
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16516
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16645
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16794
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
16894
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
16983
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17061
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17136
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17267
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17400
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17504
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17578
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
17696
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17851
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
17965
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18086
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18232
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18310
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
18378
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18504
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18674
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18748
var comp2 =
CreateCompilation
([src2, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute]);
18860
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
18993
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19084
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
19168
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19279
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19403
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19513
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19626
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19719
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe);
19825
var comp =
CreateCompilation
([src, InterpolatedStringHandlerAttribute, InterpolatedStringHandlerArgumentAttribute], options: TestOptions.DebugExe.WithAllowUnsafe(true));
19914
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
19981
var comp2 =
CreateCompilation
([src2]);
20057
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20110
var comp2 =
CreateCompilation
([src2]);
20172
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20282
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20382
var comp2 =
CreateCompilation
([src2]);
20473
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20529
var comp2 =
CreateCompilation
([src2]);
20634
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20758
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20853
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
20947
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21050
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21101
var comp2 =
CreateCompilation
([src2]);
21156
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21260
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21387
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21442
var comp2 =
CreateCompilation
([src2]);
21541
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21639
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21706
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe.WithAllowUnsafe(true));
21773
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21863
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
21958
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
22051
var comp =
CreateCompilation
([src], options: TestOptions.DebugExe);
22095
var comp =
CreateCompilation
(src);
22169
var comp =
CreateCompilation
(src);
22204
var comp =
CreateCompilation
(src);
22227
var comp =
CreateCompilation
(src);
22250
var comp =
CreateCompilation
(src);
22279
var comp =
CreateCompilation
(src);
22300
var comp =
CreateCompilation
(src);
22321
var comp =
CreateCompilation
(src);
22348
var comp =
CreateCompilation
(src);
22376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
22383
comp =
CreateCompilation
(src);
22402
var comp =
CreateCompilation
(src);
22423
var comp =
CreateCompilation
(src);
22481
var comp =
CreateCompilation
(src);
22507
var comp =
CreateCompilation
(src);
22530
var comp =
CreateCompilation
(src);
22551
var comp =
CreateCompilation
(src);
22574
var comp =
CreateCompilation
(src);
22595
var comp =
CreateCompilation
(src);
22615
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22635
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22655
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
22690
var comp =
CreateCompilation
(src);
22713
var comp =
CreateCompilation
(src);
22733
var comp =
CreateCompilation
(src);
22753
var comp =
CreateCompilation
(src);
22773
var comp =
CreateCompilation
(src);
22799
var comp =
CreateCompilation
(src);
22881
var comp =
CreateCompilation
(src);
22904
var comp =
CreateCompilation
(src);
22929
var comp =
CreateCompilation
(src);
22947
comp =
CreateCompilation
(src);
22973
var comp =
CreateCompilation
(src);
22996
var comp =
CreateCompilation
(src);
23019
var comp =
CreateCompilation
(src);
23043
var comp =
CreateCompilation
(src);
23062
comp =
CreateCompilation
(src);
23087
var comp =
CreateCompilation
(src);
23107
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23124
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23144
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23179
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23199
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
23219
var comp =
CreateCompilation
(src);
23240
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23261
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23280
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
23301
var comp =
CreateCompilation
(src);
23322
var comp =
CreateCompilation
(src);
23341
var comp =
CreateCompilation
(src);
23364
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23384
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23404
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23424
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23444
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23464
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23484
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23507
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23528
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23549
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23570
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23605
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23641
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23677
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23715
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23737
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23757
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23792
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23814
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23839
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23864
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
23889
var comp =
CreateCompilation
(src);
23909
var comp =
CreateCompilation
(src);
23931
var comp =
CreateCompilation
(src);
23954
var comp =
CreateCompilation
(src);
23985
var comp =
CreateCompilation
(src);
24018
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
24059
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
24084
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
24124
var comp =
CreateCompilation
(src);
24145
comp =
CreateCompilation
(src);
24165
comp =
CreateCompilation
(src);
24206
var comp =
CreateCompilation
(src);
24228
var comp =
CreateCompilation
(src);
24277
var comp =
CreateCompilation
(src);
24310
var comp =
CreateCompilation
(src);
24339
var comp =
CreateCompilation
(src);
24368
var comp =
CreateCompilation
(src);
24415
var comp =
CreateCompilation
(src);
24450
var comp =
CreateCompilation
(src);
24483
var comp =
CreateCompilation
(src);
24519
var comp =
CreateCompilation
(src);
24545
var comp =
CreateCompilation
(src);
24575
var comp =
CreateCompilation
(src);
24646
var comp =
CreateCompilation
(src);
24670
var comp =
CreateCompilation
(src);
24740
comp =
CreateCompilation
(src);
24779
var comp =
CreateCompilation
(src);
24806
var comp =
CreateCompilation
(src);
24829
comp =
CreateCompilation
(src);
24861
var comp =
CreateCompilation
(src);
24892
var comp =
CreateCompilation
(src);
24912
comp =
CreateCompilation
(src);
24954
var comp =
CreateCompilation
(src);
24988
var comp =
CreateCompilation
(src);
25015
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25042
var comp =
CreateCompilation
(src);
25086
var comp =
CreateCompilation
(src);
25116
var comp =
CreateCompilation
(src);
25144
var comp =
CreateCompilation
(src);
25168
var comp =
CreateCompilation
(src);
25195
var comp =
CreateCompilation
(src);
25224
var comp =
CreateCompilation
(src);
25252
var comp =
CreateCompilation
(src);
25275
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
25298
var comp =
CreateCompilation
(src);
25319
var comp =
CreateCompilation
(src);
25342
var comp =
CreateCompilation
(src);
25363
var comp =
CreateCompilation
(src);
25384
var comp =
CreateCompilation
(src);
25399
comp =
CreateCompilation
(src);
25418
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25446
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25482
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
25509
var comp =
CreateCompilation
(src);
25531
var comp =
CreateCompilation
(src);
25553
var comp =
CreateCompilation
(src);
25578
var comp =
CreateCompilation
(src);
25598
comp =
CreateCompilation
(src);
25624
var comp =
CreateCompilation
(src);
25650
var comp =
CreateCompilation
(src);
25675
var comp =
CreateCompilation
(src);
25699
var comp =
CreateCompilation
(src);
25725
var comp =
CreateCompilation
(src);
25749
var comp =
CreateCompilation
(src);
25773
var comp =
CreateCompilation
(src);
25798
var comp =
CreateCompilation
(src);
25829
var comp =
CreateCompilation
(src);
25853
var comp =
CreateCompilation
(src);
25886
var comp =
CreateCompilation
(src);
25911
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
26320
var comp =
CreateCompilation
(src);
26352
var comp =
CreateCompilation
(src);
26384
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
26411
var comp =
CreateCompilation
(src);
26435
var comp =
CreateCompilation
(src);
26459
var comp =
CreateCompilation
(src);
26483
var comp =
CreateCompilation
(src);
26510
var comp =
CreateCompilation
(src);
26537
var comp =
CreateCompilation
(src);
26566
var comp =
CreateCompilation
(src);
26593
var comp =
CreateCompilation
(src);
26623
var comp =
CreateCompilation
(src);
26704
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
26714
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
26733
var comp =
CreateCompilation
(src);
26755
var comp =
CreateCompilation
(src);
26835
var comp =
CreateCompilation
(src);
26848
var libComp =
CreateCompilation
(ExtensionMarkerAttributeDefinition);
26859
var comp =
CreateCompilation
(src, references: [libComp.EmitToImageReference()]);
26881
var comp =
CreateCompilation
(src);
26906
var comp =
CreateCompilation
(src);
26943
var comp =
CreateCompilation
(src);
27007
var comp =
CreateCompilation
(src);
27079
var comp =
CreateCompilation
(src);
27151
var comp =
CreateCompilation
(src);
27203
var comp =
CreateCompilation
(src);
27238
var comp =
CreateCompilation
(src);
27274
var comp =
CreateCompilation
(src);
27310
var comp =
CreateCompilation
(src);
27346
var comp =
CreateCompilation
(src);
27379
var comp =
CreateCompilation
(src);
27404
var comp =
CreateCompilation
(src);
27443
var comp =
CreateCompilation
(src);
27484
var comp =
CreateCompilation
(src);
27518
var comp =
CreateCompilation
(src);
27546
var comp =
CreateCompilation
(src);
27570
var comp =
CreateCompilation
(src);
27591
var comp =
CreateCompilation
(src);
27603
var libComp1 =
CreateCompilation
(libSrc, assemblyName: "assembly1");
27604
var libComp2 =
CreateCompilation
(libSrc, assemblyName: "assembly2");
27618
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27648
var comp =
CreateCompilation
(src);
27685
var comp =
CreateCompilation
(src);
27720
var comp =
CreateCompilation
(src);
27755
var comp =
CreateCompilation
(src);
27789
var comp =
CreateCompilation
(src);
27824
var comp =
CreateCompilation
(src);
27851
var comp =
CreateCompilation
(src);
27867
var comp =
CreateCompilation
(src);
27875
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27876
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27896
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27921
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27922
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27936
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27946
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27947
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27961
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
27975
var libComp1 =
CreateCompilation
("public class A { }", assemblyName: "assembly1");
27976
var libComp2 =
CreateCompilation
("public class A { }", assemblyName: "assembly2");
27990
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28004
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
28005
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
28021
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28035
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
28036
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
28052
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28066
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28067
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28081
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28104
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28105
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28125
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28139
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28140
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28156
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28177
var libComp1 =
CreateCompilation
("public interface A { }", assemblyName: "assembly1");
28178
var libComp2 =
CreateCompilation
("public interface A { }", assemblyName: "assembly2");
28192
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28213
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28214
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28230
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28255
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28256
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28275
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28315
var comp =
CreateCompilation
(src);
28348
var comp =
CreateCompilation
(src);
28381
var comp =
CreateCompilation
(src);
28390
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28391
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28412
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28437
var libComp1 =
CreateCompilation
("public struct A { }", assemblyName: "assembly1");
28438
var libComp2 =
CreateCompilation
("public struct A { }", assemblyName: "assembly2");
28459
var comp =
CreateCompilation
(src, references: [libComp1.EmitToImageReference().WithAliases(["alias1"]), libComp2.EmitToImageReference().WithAliases(["alias2"])]);
28491
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll);
28507
var comp =
CreateCompilation
(src);
28523
var comp =
CreateCompilation
(src);
28539
var comp =
CreateCompilation
(src);
28555
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
28571
var comp =
CreateCompilation
(src);
28587
var comp =
CreateCompilation
(src);
28633
var comp =
CreateCompilation
([src, src2, src3]);
28638
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
28664
var comp =
CreateCompilation
(src);
28669
comp =
CreateCompilation
(defineTestDirective + src);
28702
var comp =
CreateCompilation
([src, src2, src3]);
28707
comp =
CreateCompilation
([src, defineTestDirective + src2, src3]);
28731
var comp =
CreateCompilation
(src);
28771
var comp =
CreateCompilation
(src);
28798
var comp =
CreateCompilation
(src);
28837
var comp =
CreateCompilation
(src);
28863
var comp =
CreateCompilation
(src);
28899
var comp =
CreateCompilation
(src);
28925
var comp =
CreateCompilation
(src);
28944
var comp =
CreateCompilation
(src);
28963
var comp =
CreateCompilation
(src);
28979
var comp =
CreateCompilation
(src);
29002
var comp =
CreateCompilation
(src);
29022
var comp =
CreateCompilation
(src);
29044
var comp =
CreateCompilation
(src);
29066
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
29084
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
29102
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.Net90);
29117
var comp =
CreateCompilation
(src);
29141
var comp =
CreateCompilation
(src);
29156
var comp =
CreateCompilation
(src);
29171
var comp =
CreateCompilation
(src);
29188
var comp =
CreateCompilation
(src);
29211
var comp =
CreateCompilation
(src);
29231
var comp =
CreateCompilation
(src);
29252
var comp =
CreateCompilation
(src);
29277
var comp =
CreateCompilation
(src);
29304
var comp =
CreateCompilation
(src);
29333
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29376
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29426
var moduleComp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29455
CreateCompilation
(source, references: [moduleRef]).VerifyEmitDiagnostics(
29481
var module1Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29484
var module2Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29487
CreateCompilation
("", references: [module1Ref, module2Ref]).VerifyEmitDiagnostics(
29509
var module1Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29512
var module2Comp =
CreateCompilation
(moduleSource, options: TestOptions.ReleaseModule);
29515
CreateCompilation
("", references: [module1Ref, module2Ref]).VerifyEmitDiagnostics(
29532
var moduleComp =
CreateCompilation
(source, options: TestOptions.ReleaseModule);
29576
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29584
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29638
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29646
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29685
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29693
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29727
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29741
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"])]);
29747
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"])]);
29753
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29757
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"])]);
29788
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
29793
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugModule, references: [comp1ImageRef]);
29800
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29852
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29857
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugModule, references: [comp1ImageRef]);
29860
CreateCompilation
("", references: [comp2ImageRef]).VerifyEmitDiagnostics(
29870
comp1 =
CreateCompilation
(source3, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29900
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions");
29902
var module =
CreateCompilation
(source1, options: TestOptions.ReleaseModule, assemblyName: "Module");
29910
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"]), moduleRef]);
29916
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), moduleRef]);
29922
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29926
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), moduleRef]);
29944
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
29945
var comp2 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions2");
29951
var module1 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module1");
29954
var module2 =
CreateCompilation
(source2, references: [comp2.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module2");
29957
var comp =
CreateCompilation
("", references: [comp1.EmitToImageReference(), comp2.EmitToImageReference(), module1Ref, module2Ref]);
29963
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), comp2.ToMetadataReference(), module1Ref, module2Ref]);
29969
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
29975
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), comp2.ToMetadataReference(), module1Ref, module2Ref]);
29993
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
29994
var comp2 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions2");
30003
var comp =
CreateCompilation
(source2, references: [comp1.EmitToImageReference().WithAliases(["A"]), comp2.EmitToImageReference().WithAliases(["B"])]);
30009
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), comp2.ToMetadataReference().WithAliases(["B"])]);
30015
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
30021
comp =
CreateCompilation
(source2, references: [comp1.ToMetadataReference().WithAliases(["A"]), comp2.ToMetadataReference().WithAliases(["B"])]);
30039
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll, assemblyName: "Extensions1");
30045
var module1 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module1");
30048
var module2 =
CreateCompilation
(source2, references: [comp1.ToMetadataReference()], options: TestOptions.ReleaseModule, assemblyName: "Module2");
30051
var comp =
CreateCompilation
("", references: [comp1.EmitToImageReference(), module1Ref, module2Ref]);
30054
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), module1Ref, module2Ref]);
30057
var comp3 =
CreateCompilation
("public class ForceRetargeting;", options: TestOptions.ReleaseDll);
30062
comp =
CreateCompilation
("", references: [comp1.ToMetadataReference(), module1Ref, module2Ref]);
30108
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
30128
var comp =
CreateCompilation
(src);
30148
var comp =
CreateCompilation
(src);
30168
var comp =
CreateCompilation
(src);
30187
var comp =
CreateCompilation
(src);
30206
var comp =
CreateCompilation
(src);
30225
var comp =
CreateCompilation
(src);
30244
var comp =
CreateCompilation
(src);
30263
var comp =
CreateCompilation
(src);
30281
var comp =
CreateCompilation
(src);
30370
var comp =
CreateCompilation
(src);
30389
var comp =
CreateCompilation
(src);
30408
var comp =
CreateCompilation
(src);
30427
var comp =
CreateCompilation
(src);
30446
var comp =
CreateCompilation
(src);
30465
var comp =
CreateCompilation
(src);
30484
var comp =
CreateCompilation
(src);
30500
var comp =
CreateCompilation
(src);
30523
var comp =
CreateCompilation
(src);
30547
var comp =
CreateCompilation
(src);
30568
var comp =
CreateCompilation
(src);
30587
var comp =
CreateCompilation
(src);
30605
var comp =
CreateCompilation
(src);
30629
var comp =
CreateCompilation
(src);
30650
var comp =
CreateCompilation
(src);
30669
var comp =
CreateCompilation
(src);
30690
var comp =
CreateCompilation
(src);
30711
var comp =
CreateCompilation
(src);
30729
var comp =
CreateCompilation
(src);
30755
var comp =
CreateCompilation
(src);
30992
var comp =
CreateCompilation
(src);
31015
var comp =
CreateCompilation
(src);
31041
var comp =
CreateCompilation
(src);
31064
var comp =
CreateCompilation
(src);
31090
var comp =
CreateCompilation
(src);
31273
var comp =
CreateCompilation
(src);
31324
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31353
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31385
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31408
var comp =
CreateCompilation
(src);
31434
var comp =
CreateCompilation
(src);
31462
var comp =
CreateCompilation
(src);
31493
var comp =
CreateCompilation
(src);
31527
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
31563
var comp =
CreateCompilation
(src);
31633
comp =
CreateCompilation
(src);
31719
var comp =
CreateCompilation
(src);
31742
comp =
CreateCompilation
(src);
31772
var comp =
CreateCompilation
(src);
31793
var comp =
CreateCompilation
(src);
31821
var comp =
CreateCompilation
(src);
31842
var comp =
CreateCompilation
(src);
31858
comp =
CreateCompilation
(src);
31874
comp =
CreateCompilation
(src);
31907
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
31940
var comp =
CreateCompilation
(src);
31968
comp =
CreateCompilation
(src);
32004
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32039
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32073
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32107
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32143
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
32173
var comp =
CreateCompilation
(src);
32242
var comp =
CreateCompilation
(src);
32281
var comp =
CreateCompilation
(src);
32397
var comp =
CreateCompilation
(src);
32610
var libComp =
CreateCompilation
(libSrc);
32613
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32717
var libComp =
CreateCompilation
(libSrc);
32720
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32751
var libComp =
CreateCompilation
(libSrc);
32754
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32784
var libComp =
CreateCompilation
(libSrc);
32787
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32819
var libComp =
CreateCompilation
(libSrc);
32822
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32854
var libComp =
CreateCompilation
(libSrc);
32857
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32888
var libComp =
CreateCompilation
(libSrc);
32891
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32925
var libComp =
CreateCompilation
(libSrc);
32928
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32961
var libComp =
CreateCompilation
(libSrc);
32964
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
32995
var libComp =
CreateCompilation
(libSrc);
32998
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33039
var libComp =
CreateCompilation
(libSrc);
33042
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33075
var libComp =
CreateCompilation
(libSrc);
33078
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33110
var libComp =
CreateCompilation
(libSrc);
33113
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33222
var libComp =
CreateCompilation
(libSrc);
33225
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33259
var libComp =
CreateCompilation
(libSrc);
33262
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33300
var libComp =
CreateCompilation
(libSrc);
33303
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33337
var libComp =
CreateCompilation
(libSrc);
33340
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33377
var libComp =
CreateCompilation
(libSrc);
33380
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33497
var libComp =
CreateCompilation
(libSrc);
33500
var comp =
CreateCompilation
("", references: [AsReference(libComp, useCompilationReference)]);
33798
var comp =
CreateCompilation
(src);
33819
var comp =
CreateCompilation
(src);
33840
var comp =
CreateCompilation
(src);
33947
var comp =
CreateCompilation
(src);
33974
var comp =
CreateCompilation
(src);
34003
var comp =
CreateCompilation
(src);
34034
var comp =
CreateCompilation
(src);
34069
var comp =
CreateCompilation
(src);
34098
var comp =
CreateCompilation
(src);
34133
var comp =
CreateCompilation
(src);
34137
var comp2 =
CreateCompilation
("", references: [compRef]);
34203
var comp =
CreateCompilation
(src);
34221
var comp2 =
CreateCompilation
("", references: [compRef]);
34448
var comp =
CreateCompilation
(src);
34451
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34470
var comp =
CreateCompilation
(src);
34493
var comp =
CreateCompilation
(src);
34514
var comp =
CreateCompilation
(src);
34535
var comp =
CreateCompilation
(src);
34571
var comp =
CreateCompilation
(src);
34574
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34604
var comp =
CreateCompilation
(src);
34607
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(comp, useCompilationReference)]);
34625
var comp =
CreateCompilation
(src);
34658
var comp =
CreateCompilation
(src);
34689
var comp =
CreateCompilation
([src, srcCaller]);
34692
var libComp =
CreateCompilation
(src);
34693
comp =
CreateCompilation
(srcCaller, references: [libComp.EmitToImageReference()]);
34717
comp =
CreateCompilation
(src);
34742
var comp =
CreateCompilation
([src, srcCaller]);
34754
var libComp =
CreateCompilation
(src);
34755
comp =
CreateCompilation
(srcCaller, references: [libComp.EmitToImageReference()]);
34784
var comp =
CreateCompilation
(src);
34828
var comp =
CreateCompilation
([src, callerSrc]);
34831
var libComp =
CreateCompilation
(src);
34832
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34871
var comp =
CreateCompilation
([src, callerSrc]);
34874
var libComp =
CreateCompilation
(src);
34875
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34903
var comp =
CreateCompilation
([src, callerSrc]);
34906
var libComp =
CreateCompilation
(src);
34907
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
34937
var comp =
CreateCompilation
([src, callerSrc]);
34940
var libComp =
CreateCompilation
(src);
34941
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference)]);
35042
var comp =
CreateCompilation
([src, callerSrc]);
35045
var libComp =
CreateCompilation
(src);
35046
var comp2 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference: false)]);
35049
var comp3 =
CreateCompilation
(callerSrc, references: [AsReference(libComp, useCompilationReference: true)]);
35083
var comp =
CreateCompilation
(source);
35116
var comp =
CreateCompilation
(source);
35139
var comp =
CreateCompilation
(source);
35143
var comp2 =
CreateCompilation
("", references: [comp.EmitToImageReference()]);
35230
var comp =
CreateCompilation
([(code, "file1.cs"), (code2, "file2.cs")], parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
35284
var comp =
CreateCompilation
([(code, "file1.cs"), (code2, "file2.cs")]);
35311
var comp =
CreateCompilation
(src);
35327
comp =
CreateCompilation
(src);
35350
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
35376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net90);
35401
var comp =
CreateCompilation
([code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false)]);
35425
comp =
CreateCompilation
([code, InterpolatedStringHandlerArgumentAttribute, GetInterpolatedStringCustomHandlerType("CustomHandler", "struct", useBoolReturns: false)]);
35448
var comp =
CreateCompilation
(src);
35468
var comp =
CreateCompilation
(src);
35488
var comp =
CreateCompilation
(src);
35505
var comp =
CreateCompilation
(src);
35535
var comp =
CreateCompilation
(src);
35559
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35621
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35655
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35691
var comp =
CreateCompilation
(src);
35714
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35737
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35763
var comp =
CreateCompilation
(src);
35787
var comp =
CreateCompilation
(src);
35816
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35888
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35933
var comp =
CreateCompilation
([src, CompilerFeatureRequiredAttribute]);
35979
var comp =
CreateCompilation
(src);
36005
var comp =
CreateCompilation
(src);
36025
var comp =
CreateCompilation
(src);
36061
var comp =
CreateCompilation
(src);
36091
var comp =
CreateCompilation
(src);
36123
var comp =
CreateCompilation
(src);
36161
var comp =
CreateCompilation
(src);
36199
var comp =
CreateCompilation
(src);
36239
var comp =
CreateCompilation
(src);
36263
var comp =
CreateCompilation
(src);
36295
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
36322
var comp =
CreateCompilation
(src);
36354
var comp =
CreateCompilation
(src);
36385
var comp =
CreateCompilation
(src);
36413
var comp =
CreateCompilation
(src);
36440
var comp =
CreateCompilation
(src);
36467
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
36497
var comp =
CreateCompilation
(src, options: TestOptions.UnsafeDebugExe);
36519
var comp =
CreateCompilation
(src);
36541
var comp =
CreateCompilation
(src);
36568
var comp =
CreateCompilation
(src);
36593
var comp =
CreateCompilation
(src);
36614
var comp =
CreateCompilation
(src);
36635
var comp =
CreateCompilation
(src);
36657
var comp =
CreateCompilation
(src);
36698
var comp =
CreateCompilation
(src);
36744
var comp =
CreateCompilation
(src);
36782
var comp =
CreateCompilation
(src);
36828
var comp =
CreateCompilation
(src);
36874
var comp =
CreateCompilation
(src);
Semantics\InlineArrayTests.cs (547)
101
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
135
var comp =
CreateCompilation
(src);
158
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
181
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
227
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
252
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
384
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
449
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
514
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
581
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
604
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
685
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
775
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
854
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
960
var comp =
CreateCompilation
(src, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
998
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1085
var comp =
CreateCompilation
(consumer + src, targetFramework: TargetFramework.Net80);
1165
var comp1 =
CreateCompilation
(src1 + InlineArrayAttributeDefinition, targetFramework: TargetFramework.Net50);
1166
var comp2 =
CreateCompilation
("", references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net60);
1186
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1212
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1242
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1279
var comp =
CreateCompilation
(src);
1304
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1330
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1361
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1387
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1412
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1436
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1533
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
1572
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1607
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1642
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1677
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1712
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1737
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1764
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1787
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1811
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1848
var comp =
CreateCompilation
(src);
1872
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1902
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1917
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
1986
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2010
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2028
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2113
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2131
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
2153
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2175
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2201
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2228
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2251
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2279
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2299
var comp2 =
CreateCompilation
(src2, references: new[] { comp1.ToMetadataReference() }, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
2324
var comp1 =
CreateCompilation
(src1, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll);
2353
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2422
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
2462
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2492
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
2495
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
2553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2590
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2633
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2671
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2703
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2782
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2824
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2864
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2889
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2914
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2945
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
2983
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3015
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3041
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3070
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3100
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3134
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3197
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3260
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3560
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
3792
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4017
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4142
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4271
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4402
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4678
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4836
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4894
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4950
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
4997
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5027
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
5074
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5309
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5527
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5871
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
5988
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6017
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6020
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6071
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6167
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6183
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
6186
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
6247
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6291
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6329
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6362
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6401
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6444
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6487
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6528
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6553
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6584
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6622
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6655
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6681
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6711
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6741
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6757
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6780
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
6813
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6857
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6907
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
6957
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7013
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7063
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7118
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7153
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7187
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7257
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7336
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7473
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7619
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7788
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
7951
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8110
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8168
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8210
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8255
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8285
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8318
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8342
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
8345
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
8377
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8430
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8485
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8548
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8664
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8696
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8726
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8758
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8778
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8812
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8891
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8945
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
8985
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9022
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9059
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9124
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
9165
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9199
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9248
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9295
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9346
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9397
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9436
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9481
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9527
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9564
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9599
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9647
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9699
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9751
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9791
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9831
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9877
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9916
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9956
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
9985
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10019
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10066
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10117
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10156
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10193
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10228
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10267
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10310
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10351
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10396
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10437
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10466
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
10498
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10534
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10608
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10660
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10712
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10752
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10798
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10844
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10879
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10914
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10953
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
10992
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11032
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11066
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11100
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11136
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11182
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11228
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11278
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11352
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11404
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11443
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11478
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
11520
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11549
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11575
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11628
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11656
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11680
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11706
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11729
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11752
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11775
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11796
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11817
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11838
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11864
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11890
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11911
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11937
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
11965
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12006
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12062
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12112
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12146
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12176
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12203
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12266
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12333
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12382
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12417
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12445
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12479
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12502
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12529
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12557
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12591
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12614
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12641
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12668
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12706
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12731
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12754
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12796
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
12841
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12873
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12898
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12920
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
12974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13033
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13086
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13123
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular10);
13160
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13216
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13275
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13317
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13348
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13365
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13388
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13402
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13434
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
13479
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13530
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13548
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13591
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13609
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular10);
13659
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13700
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13754
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13812
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13870
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13923
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
13974
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14025
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
14061
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14092
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14122
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14162
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14191
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14241
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14271
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14300
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14344
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14372
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14426
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14451
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14475
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14507
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14544
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14569
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14602
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14641
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14690
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14739
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14787
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14834
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14878
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
14935
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
14979
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15029
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15087
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
15123
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15169
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15198
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
15201
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
15253
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15309
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15351
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15390
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15445
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15506
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15569
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15623
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15651
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15677
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15703
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15733
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15776
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15818
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15860
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
15899
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15925
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15954
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
15983
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16018
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16053
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16090
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16127
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16150
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16188
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16236
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16288
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16323
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16362
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16397
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16438
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16488
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16539
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16584
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16623
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16676
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16883
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
16912
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80);
16946
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16976
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
16979
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular12);
16982
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular11);
17014
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17040
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17051
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17054
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17085
var comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17101
comp =
CreateCompilation
(src + Buffer10Definition, parseOptions: TestOptions.Regular14, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17104
comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17134
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17168
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17191
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17218
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17240
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17272
var compilation =
CreateCompilation
(source);
17300
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17339
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17393
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
17420
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17447
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17474
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17501
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
17546
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17608
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17664
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17739
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
17781
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17816
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17852
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17910
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
17993
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18016
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18052
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18088
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18124
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18173
var comp =
CreateCompilation
(src + Buffer10Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18192
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18223
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18249
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
18280
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18308
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18337
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18376
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18408
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18439
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18469
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18509
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe.WithAllowUnsafe(true));
18546
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18644
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18717
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18779
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18801
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18824
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
18827
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular12);
18830
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular11);
18871
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
18956
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19006
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19070
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19092
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19128
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19163
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19205
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19293
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19340
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19373
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19428
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19495
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19595
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19636
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19674
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19712
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19750
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19787
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19816
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19851
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
19914
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
19952
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
19993
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugDll.WithAllowUnsafe(true));
20051
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20189
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20239
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20390
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20480
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20520
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
20574
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20711
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20760
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
20911
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
20945
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
20976
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21025
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21128
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21160
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21205
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21223
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21225
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21256
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21273
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21275
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21307
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21322
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21324
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21374
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21386
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21388
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21414
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21430
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21432
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21458
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21470
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21472
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21521
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21523
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21551
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
21563
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
21564
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21603
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21621
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21623
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
21672
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21742
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21789
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
21862
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
21901
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
21932
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
21991
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22061
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22108
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22181
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22223
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22254
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseDll);
22302
var comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22365
comp =
CreateCompilation
(src + Buffer4Definition, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22405
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22458
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22476
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22478
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22517
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22534
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22536
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22576
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22591
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22593
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22641
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22653
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22655
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22681
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22697
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22699
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22725
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22737
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22739
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22786
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22788
comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.DebugExe);
22814
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
22826
CreateCompilation
(src, targetFramework: TargetFramework.Net80, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
22827
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22864
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
22882
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22884
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyEmitDiagnostics(expectedDiagnostics);
22905
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22938
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22965
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
22989
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
23008
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80);
23045
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23068
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23104
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23132
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23154
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23187
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23220
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23242
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23264
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23293
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23319
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23355
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23399
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net80, options: TestOptions.ReleaseExe);
23422
CreateCompilation
(src, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net80).VerifyDiagnostics(
23449
CreateCompilation
(src, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23450
CreateCompilation
(src, targetFramework: TargetFramework.Net80).VerifyDiagnostics(expectedDiagnostics);
23630
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);
7318
var comp =
CreateCompilation
(source);
7335
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7370
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
8561
var comp =
CreateCompilation
(sourceA);
8576
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10177
var comp =
CreateCompilation
(sourceA);
10192
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.RegularPreview);
10994
var comp =
CreateCompilation
(sourceA);
11036
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11352
var comp =
CreateCompilation
(sourceA);
11371
comp =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularPreview);
11551
var comp =
CreateCompilation
(source);
11617
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11887
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11927
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
11970
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
12233
CreateCompilation
(@"
12292
CreateCompilation
(@"
Semantics\PatternMatchingTests_ListPatterns.cs (110)
971
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithListPatterns);
1651
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1798
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
1828
var csCompilation =
CreateCompilation
(csSource, references: new[] { vbCompilation.EmitToImageReference() });
2599
var compilation =
CreateCompilation
(new[] { source, TestSources.Index }, options: TestOptions.ReleaseExe);
2643
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2772
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
2931
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3062
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3122
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3319
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3330
var lib2Ref =
CreateCompilation
(lib2_cs, references: new[] { missingRef })
3345
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range },
3414
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
3428
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
3441
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
3491
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3494
var rangeComp =
CreateCompilation
(new[] { range_cs, TestSources.Index }, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "range");
3498
var libComp =
CreateCompilation
(lib_cs, references: new[] { rangeRef }, assemblyName: "lib");
3513
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference(), rangeRef });
3542
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
3612
var missingComp =
CreateCompilation
(missing_cs, assemblyName: "missing");
3615
var libComp =
CreateCompilation
(lib_cs, references: new[] { missingComp.EmitToImageReference() }, assemblyName: "lib");
3618
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range }, references: new[] { libComp.EmitToImageReference() });
3678
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3735
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
3775
var compilation =
CreateCompilation
(source);
3897
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3930
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3960
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
3991
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4027
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4062
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4119
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4206
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4289
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4351
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
4403
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4533
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4593
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
4659
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
4692
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5094
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
5206
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5250
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5345
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5407
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5428
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5447
var missingRef =
CreateCompilation
(missing_cs, assemblyName: "missing")
5459
var lib2Ref =
CreateCompilation
(new[] { lib2_cs, TestSources.Index, TestSources.Range }, references: new[] { missingRef })
5474
var compilation =
CreateCompilation
(source, references: new[] { lib2Ref });
5512
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5551
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5592
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5636
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5724
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
5786
var compilation =
CreateCompilation
(new[] { source, TestSources.Index });
5834
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
5896
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
5912
comp =
CreateCompilation
(src);
5989
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6041
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6080
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6104
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6143
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6173
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6197
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6224
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range });
6253
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6277
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6307
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
6745
var comp =
CreateCompilation
(new[] { src, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
7217
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, _iTupleSource }, options: TestOptions.DebugExe);
7291
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7630
var comp =
CreateCompilation
(src);
7665
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7710
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7738
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7764
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7790
var comp =
CreateCompilation
(new[] { src, TestSources.Index });
7797
comp =
CreateCompilation
(src);
8050
var compilation =
CreateCompilation
(source);
8080
compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8139
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8165
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8200
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8245
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8316
var compilation =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, IsExternalInitTypeDefinition });
8360
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8380
var comp =
CreateCompilation
(source);
8406
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8420
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8435
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8456
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8477
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8498
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8512
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8533
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseExe);
8625
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray });
8647
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.GetSubArray }, options: TestOptions.ReleaseDll);
8690
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8726
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range });
8748
var comp =
CreateCompilation
(new[] { source, TestSources.Index, TestSources.Range, TestSources.ITuple });
9262
var comp =
CreateCompilation
(source);
9287
var comp =
CreateCompilation
(source);
9355
var comp =
CreateCompilation
(source);
9550
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
9589
var compilation =
CreateCompilation
([source, TestSources.Index], options: TestOptions.UnsafeReleaseDll);
9628
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
9667
var compilation =
CreateCompilation
([source, TestSources.Index], options: TestOptions.UnsafeReleaseDll);
Semantics\PatternMatchingTests_NullableTypes.cs (8)
35
var comp =
CreateCompilation
(source);
104
var comp =
CreateCompilation
(source);
187
var comp =
CreateCompilation
(source);
276
var comp =
CreateCompilation
(source);
352
var comp =
CreateCompilation
(source);
434
var comp =
CreateCompilation
(source);
512
var comp =
CreateCompilation
(source);
578
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)
501
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithoutRecursivePatterns).VerifyDiagnostics(
509
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8).VerifyDiagnostics();
794
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
1212
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
1215
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
1462
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.RegularWithRecursivePatterns);
1987
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2008
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2032
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2073
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2110
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2162
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2199
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2221
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
2264
var compilation =
CreateCompilation
(source);
2308
var compilation =
CreateCompilation
(source);
2344
var compilation =
CreateCompilation
(source);
2416
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2417
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2451
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics();
2452
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics();
2478
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2536
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2577
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2615
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2653
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2683
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2718
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2750
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
2869
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators).VerifyDiagnostics(
3002
CreateCompilation
(source).VerifyDiagnostics(
3020
CreateCompilation
(source).VerifyDiagnostics(
3042
CreateCompilation
(source).VerifyDiagnostics(
3287
var comp =
CreateCompilation
(source);
3672
CreateCompilation
(source).VerifyDiagnostics(
Semantics\PatternMatchingTests3.cs (134)
420
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
470
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
593
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
636
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
679
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
722
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
746
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
769
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
812
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
854
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
902
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
961
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
989
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1036
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1089
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1142
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1195
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Disable));
1229
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
1243
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular8).VerifyDiagnostics();
1263
CreateCompilation
(source).VerifyDiagnostics(
1281
CreateCompilation
(source).VerifyDiagnostics(
1305
CreateCompilation
(source).VerifyDiagnostics(
1327
CreateCompilation
(source).VerifyDiagnostics(
1355
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "0");
1379
CompileAndVerify(
CreateCompilation
(source, options: TestOptions.ReleaseExe).VerifyDiagnostics(), expectedOutput: "null");
1608
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1626
CreateCompilation
(source).VerifyDiagnostics(
1647
CreateCompilation
(source).VerifyDiagnostics(
1696
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
1726
var comp =
CreateCompilation
(source);
1761
var comp =
CreateCompilation
(source);
1793
var comp =
CreateCompilation
(source);
1825
var comp =
CreateCompilation
(source);
1852
var compilation =
CreateCompilation
(source);
1918
var compilation =
CreateCompilation
(source);
1997
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2093
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2165
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2237
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2286
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2335
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2366
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2422
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.ReleaseExe);
2466
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2497
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2537
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2575
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2604
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2646
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9), options: TestOptions.DebugExe);
2662
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2688
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2716
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2739
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2810
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2869
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2910
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2967
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
2996
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3067
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3136
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3274
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3362
var compilation =
CreateCompilation
(source + _iTupleSource, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
3435
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3482
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
3573
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3667
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3701
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3754
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3950
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4052
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
4611
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4777
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4867
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
4961
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5038
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5085
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseDll, parseOptions: TestOptions.RegularWithPatternCombinators);
5245
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5314
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp9));
5528
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
5555
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5577
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5600
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5621
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5646
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5672
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5696
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators, targetFramework: TargetFramework.NetCoreApp);
5717
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5745
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5783
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5812
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5845
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5866
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5901
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5930
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5959
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
5980
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6006
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6027
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6068
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6120
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6172
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.RegularWithPatternCombinators);
6481
var comp =
CreateCompilation
(source);
6689
var comp =
CreateCompilation
(source);
6715
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6753
var comp =
CreateCompilation
(source);
6811
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
6852
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6893
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6918
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6945
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
6978
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7005
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7030
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7059
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7089
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7116
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7150
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7184
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7217
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7241
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7265
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7288
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7307
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7327
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7353
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7381
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7410
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
7448
var compilation =
CreateCompilation
(source);
7483
var compilation =
CreateCompilation
(source);
7517
var compilation =
CreateCompilation
(source);
7553
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7585
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7611
var compilation =
CreateCompilation
(new[] { sourceA, sourceB });
7639
var compilation =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
Semantics\PatternMatchingTests4.cs (125)
23
var comp =
CreateCompilation
(@"
45
var comp =
CreateCompilation
(@"
90
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
105
comp =
CreateCompilation
(source);
130
var comp =
CreateCompilation
(@"
3076
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3106
var compilation2 =
CreateCompilation
(source2, new[] { reference1 });
3484
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3502
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3521
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll).VerifyDiagnostics(
3830
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
3858
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3879
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3901
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3923
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3947
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
3974
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: TestOptions.ReleaseDll).VerifyDiagnostics(
4012
var comp =
CreateCompilation
(source);
4074
var comp =
CreateCompilation
(source);
4226
var comp =
CreateCompilation
(source);
4270
var comp =
CreateCompilation
(source);
4316
var comp =
CreateCompilation
(source);
4398
var comp =
CreateCompilation
(source);
4480
var comp =
CreateCompilation
(source);
4569
var comp =
CreateCompilation
(source);
4658
var comp =
CreateCompilation
(source);
4742
var comp =
CreateCompilation
(source);
4835
var comp =
CreateCompilation
(source);
4889
var comp =
CreateCompilation
(source);
4946
var comp =
CreateCompilation
(source);
4996
var comp =
CreateCompilation
(source);
5046
var comp =
CreateCompilation
(source);
5093
var comp =
CreateCompilation
(source);
5124
var comp =
CreateCompilation
(source);
5166
var comp =
CreateCompilation
(source);
5225
var comp =
CreateCompilation
(source);
5272
var comp =
CreateCompilation
(source);
5322
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5362
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5416
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5463
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5518
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5582
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5639
var comp =
CreateCompilation
(source);
5678
var comp =
CreateCompilation
(source);
5716
var comp =
CreateCompilation
(source);
5746
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5768
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
5794
var comp =
CreateCompilation
(source);
5832
var comp =
CreateCompilation
(source);
5924
var comp =
CreateCompilation
(source);
5937
var comp =
CreateCompilation
(source);
5964
var comp =
CreateCompilation
(source);
5988
var comp =
CreateCompilation
(source);
6037
var compilation =
CreateCompilation
(source);
6127
var compilation =
CreateCompilation
(source);
6198
var compilation =
CreateCompilation
(source);
6236
var comp =
CreateCompilation
(source);
6271
var comp =
CreateCompilation
(source);
6301
var comp =
CreateCompilation
(source);
6331
var comp =
CreateCompilation
(source);
6360
var comp =
CreateCompilation
(source);
6397
var comp =
CreateCompilation
(source);
6470
var compilation =
CreateCompilation
(source);
6517
var compilation =
CreateCompilation
(source);
6557
var compilation =
CreateCompilation
(source);
6612
var compilation =
CreateCompilation
(source);
6668
var compilation =
CreateCompilation
(source);
6726
var compilation =
CreateCompilation
(source);
6823
var compilation =
CreateCompilation
(source);
6913
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
6943
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
6979
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7027
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7069
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7105
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7153
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7200
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7239
var compilation =
CreateCompilation
(source);
7277
var comp =
CreateCompilation
(source);
7320
var comp =
CreateCompilation
(source);
7364
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7393
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7438
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7492
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7534
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7582
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7631
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7673
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7729
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7799
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7860
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7927
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
7985
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8043
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8142
var comp =
CreateCompilation
(source);
8186
var comp =
CreateCompilation
(source);
8199
var comp =
CreateCompilation
(source);
8247
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8378
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8486
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8598
var comp =
CreateCompilation
(source);
8667
var comp =
CreateCompilation
(source);
8694
var comp =
CreateCompilation
(source);
8715
var comp =
CreateCompilation
(source);
8737
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8759
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8784
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
8804
var comp =
CreateCompilation
(source);
8832
var compilation =
CreateCompilation
(source);
8858
var compilation =
CreateCompilation
(source);
8896
var compilation =
CreateCompilation
(source);
8929
var compilation =
CreateCompilation
(source);
8971
var comp =
CreateCompilation
(source);
9006
var comp =
CreateCompilation
(source);
9025
var comp =
CreateCompilation
(source);
9086
var comp =
CreateCompilation
(source);
9180
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
9210
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
9224
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Net80);
9241
var compilation =
CreateCompilation
(source);
9292
var comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular13);
9295
comp =
CreateCompilation
(src, parseOptions: TestOptions.Regular14);
9307
comp =
CreateCompilation
(src);
9328
var compilation =
CreateCompilation
(source);
Semantics\PatternMatchingTests5.cs (56)
66
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
173
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
225
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
292
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.ReleaseExe);
340
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
370
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
404
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
423
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
560
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
718
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
746
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
787
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
833
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
887
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
976
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1070
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns, options: TestOptions.UnsafeDebugDll);
1428
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1478
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1559
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1596
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
1630
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1661
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1696
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1739
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1769
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1801
var compilation =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1874
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1915
var comp =
CreateCompilation
(program, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
1940
var comp =
CreateCompilation
(source);
1986
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2030
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2077
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2078
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2080
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2124
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference(aliases: ImmutableArray.Create("A"));
2125
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2127
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2179
var comp =
CreateCompilation
(new[] { source, INumberBaseDefinition });
2238
var ref1 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "A").EmitToImageReference();
2239
var ref2 =
CreateCompilation
(INumberBaseDefinition, assemblyName: "B").EmitToImageReference();
2241
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2302
var ref1 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference(aliases: ImmutableArray.Create("A"));
2303
var ref2 =
CreateCompilation
(INumberBaseDefinition).EmitToImageReference();
2305
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref1, ref2 });
2512
var comp =
CreateCompilation
(source);
2555
var comp =
CreateCompilation
(source);
2584
var comp =
CreateCompilation
(source);
2616
var comp =
CreateCompilation
(source);
2649
var comp =
CreateCompilation
(source);
2687
var comp =
CreateCompilation
(source);
2725
var comp =
CreateCompilation
(source);
2765
var comp =
CreateCompilation
(source);
2873
var comp =
CreateCompilation
(source);
3037
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3134
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(nullableEnable ? NullableContextOptions.Enable : NullableContextOptions.Disable));
3357
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 (461)
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);
88
CreateCompilation
(src1, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll)
106
CreateCompilation
(src1).VerifyDiagnostics(
142
CreateCompilation
(src1, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll)
163
CreateCompilation
(src1, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll)
184
CreateCompilation
(src1, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll)
208
CreateCompilation
(src1, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), options: TestOptions.ReleaseDll)
222
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
229
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
232
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
264
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
271
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
274
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
289
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
299
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
306
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
325
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
332
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
335
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
350
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
360
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
367
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
386
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll).VerifyDiagnostics(
394
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll).VerifyDiagnostics(
399
CreateCompilation
(src1, options: TestOptions.ReleaseDll).VerifyDiagnostics(
416
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll).VerifyDiagnostics(
424
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll).VerifyDiagnostics(
429
CreateCompilation
(src1, options: TestOptions.ReleaseDll).VerifyDiagnostics(
444
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
451
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
454
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
465
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
468
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
471
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
482
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular11, options: TestOptions.ReleaseDll);
485
comp =
CreateCompilation
(src1, parseOptions: TestOptions.Regular12, options: TestOptions.ReleaseDll);
488
comp =
CreateCompilation
(src1, options: TestOptions.ReleaseDll);
496
var comp =
CreateCompilation
(@"
531
var comp =
CreateCompilation
(keyword + @" C(int x, string y);");
599
var comp =
CreateCompilation
(@"
635
var comp =
CreateCompilation
(src + src2);
638
comp =
CreateCompilation
(src);
639
var comp2 =
CreateCompilation
(src2, references: new[] { comp.EmitToImageReference() });
647
var comp =
CreateCompilation
(@"
673
var comp =
CreateCompilation
(@"
696
var comp =
CreateCompilation
(@"
738
var comp =
CreateCompilation
(keyword + @" C();");
790
var comp =
CreateCompilation
(@"
824
var comp =
CreateCompilation
(@"
880
var comp =
CreateCompilation
(@"
924
var comp =
CreateCompilation
(@"
944
var comp =
CreateCompilation
(@"
985
var comp =
CreateCompilation
(src);
1021
var comp =
CreateCompilation
(src);
1057
var comp =
CreateCompilation
(src);
1087
var comp =
CreateCompilation
(src);
1116
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
1198
var comp =
CreateCompilation
(src);
1420
var comp =
CreateCompilation
(src);
1486
var comp =
CreateCompilation
(src);
1532
var comp =
CreateCompilation
(src);
1585
var comp =
CreateCompilation
(src);
1647
var comp =
CreateCompilation
(src);
1736
var comp =
CreateCompilation
(src);
1821
var comp =
CreateCompilation
(src);
1848
var comp =
CreateCompilation
(src);
1874
var comp =
CreateCompilation
(src);
1906
var comp =
CreateCompilation
(src);
1932
var comp =
CreateCompilation
(src);
1974
var comp =
CreateCompilation
(src);
2014
var comp =
CreateCompilation
(src);
2163
var comp =
CreateCompilation
(src);
2197
var comp =
CreateCompilation
(src);
2231
var comp =
CreateCompilation
(src);
2413
var comp =
CreateCompilation
(src);
2543
var comp =
CreateCompilation
(src);
2582
var comp =
CreateCompilation
(src);
2634
var comp =
CreateCompilation
(src);
2653
var comp =
CreateCompilation
(src);
2675
var comp =
CreateCompilation
(src);
2694
var comp =
CreateCompilation
(src);
2710
var comp =
CreateCompilation
(src);
2737
var comp =
CreateCompilation
(src);
2767
var comp =
CreateCompilation
(src);
2800
var comp =
CreateCompilation
(src);
2834
var comp =
CreateCompilation
(src);
2878
var comp =
CreateCompilation
(src);
2968
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
2990
var comp =
CreateCompilation
(src);
3020
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3045
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3071
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3084
var comp =
CreateCompilation
(src);
3113
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3137
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
3217
var comp =
CreateCompilation
(source);
3266
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
3330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
3334
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
3338
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
3382
var comp =
CreateCompilation
(source);
3408
var comp =
CreateCompilation
(source);
3441
var comp =
CreateCompilation
(source);
3485
var comp =
CreateCompilation
(source);
3516
var comp =
CreateCompilation
(source);
3537
var comp =
CreateCompilation
(source);
3572
var comp =
CreateCompilation
(source);
3628
var comp =
CreateCompilation
(source);
3673
var comp =
CreateCompilation
(source);
3691
var comp =
CreateCompilation
(source);
3717
var comp =
CreateCompilation
(source);
3740
var comp =
CreateCompilation
(source);
3762
var comp =
CreateCompilation
(source);
3784
var comp =
CreateCompilation
(source);
3821
var comp =
CreateCompilation
(text1);
4192
var comp =
CreateCompilation
(text1);
4270
var comp =
CreateCompilation
(text1);
4405
var comp =
CreateCompilation
(text1);
4621
var comp =
CreateCompilation
(text1);
4727
var comp =
CreateCompilation
(text1);
4935
var comp =
CreateCompilation
(text1);
5040
var comp =
CreateCompilation
(text1);
5253
var comp =
CreateCompilation
(text1);
5356
var comp =
CreateCompilation
(text1);
5595
var comp =
CreateCompilation
(text1);
5674
var comp =
CreateCompilation
(text1);
5799
var comp =
CreateCompilation
(text1);
5902
var comp =
CreateCompilation
(text1);
5958
var comp =
CreateCompilation
(text1);
6030
var comp =
CreateCompilation
(text1);
6188
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6221
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6268
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6305
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6327
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6348
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6371
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6398
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6423
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6461
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6491
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6525
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6559
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6594
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6629
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6669
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6709
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6752
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6793
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6838
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6880
var comp =
CreateCompilation
(src, parseOptions: TestOptions.RegularPreview.WithDocumentationMode(DocumentationMode.Diagnose));
6926
var compilation1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net60);
6946
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
6968
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
6994
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
7020
var comp =
CreateCompilation
(source);
7045
var comp =
CreateCompilation
(src);
7073
var comp =
CreateCompilation
(src);
7101
var comp =
CreateCompilation
(src);
7129
var comp =
CreateCompilation
(src);
7248
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
7931
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
8445
var comp =
CreateCompilation
(src);
8489
var comp =
CreateCompilation
(src);
8555
var comp =
CreateCompilation
(src);
8666
var comp =
CreateCompilation
(src);
8753
var comp =
CreateCompilation
(src);
8794
var comp =
CreateCompilation
(src);
8893
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9299
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9478
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9501
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9556
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9593
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
9615
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9657
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
9679
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll);
9713
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10018
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10048
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10078
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10131
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10154
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10176
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10286
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10325
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10360
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10403
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10445
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10476
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10516
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10548
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10584
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10623
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10662
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10698
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10734
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10773
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10812
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10855
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
10887
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10923
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
10959
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11010
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11054
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11098
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11141
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11184
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11226
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11271
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11306
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11333
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11371
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11398
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11436
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11471
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11503
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11534
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11577
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11620
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11652
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
11695
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11738
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11918
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
11969
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12082
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
12129
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12170
var comp1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe);
12196
var comp2 =
CreateCompilation
(source2);
12250
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12290
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12333
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12383
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12456
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12533
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
12589
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12626
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12658
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12681
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12705
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12737
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12760
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12805
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12828
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12857
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12880
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12919
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
12970
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
13011
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
13026
CreateCompilation
(@"
13062
CreateCompilation
(@"
13090
CreateCompilation
(@"
13116
CreateCompilation
(@"
13155
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13180
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics();
13199
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13226
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13258
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13290
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13324
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13362
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13406
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13439
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13476
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13537
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13567
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13630
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(expected);
13661
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13703
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyEmitDiagnostics(
13756
CreateCompilation
(text).VerifyEmitDiagnostics();
13802
CreateCompilation
(text).VerifyEmitDiagnostics(
13871
CreateCompilation
(text).VerifyEmitDiagnostics(
13917
CreateCompilation
(text).VerifyEmitDiagnostics();
13932
CreateCompilation
(text).VerifyEmitDiagnostics(
13956
CreateCompilation
(text).VerifyEmitDiagnostics(
14002
CreateCompilation
(text).VerifyEmitDiagnostics();
14016
CreateCompilation
(text).VerifyEmitDiagnostics();
14037
CreateCompilation
(new[] { text1, text2 }).VerifyEmitDiagnostics(
14043
CreateCompilation
(new[] { text2, text1 }).VerifyEmitDiagnostics(
14078
var comp =
CreateCompilation
(source);
14115
var comp =
CreateCompilation
(source);
14148
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14189
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14338
CreateCompilation
(text).VerifyEmitDiagnostics(
14421
CreateCompilation
(text).VerifyEmitDiagnostics(
14510
var comp =
CreateCompilation
(source);
14553
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
14590
var comp =
CreateCompilation
(source);
14614
var comp =
CreateCompilation
(source);
14635
var comp =
CreateCompilation
(source);
14661
var comp =
CreateCompilation
(source1 + source2);
14669
comp =
CreateCompilation
(source2 + source1);
14687
var comp =
CreateCompilation
(source);
14701
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14731
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14735
comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14752
var comp =
CreateCompilation
(source);
14799
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
14825
var comp =
CreateCompilation
(source);
14854
var comp =
CreateCompilation
(source);
14883
var comp =
CreateCompilation
(source);
14912
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
14939
var comp =
CreateCompilation
(source);
14976
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
14993
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15015
var comp =
CreateCompilation
(source);
15035
var comp =
CreateCompilation
(source);
15077
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15116
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15149
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15201
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: TestOptions.ReleaseExe);
15232
var comp =
CreateCompilation
(source);
15266
var comp =
CreateCompilation
(source);
15300
var comp =
CreateCompilation
(source);
15334
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15366
var comp =
CreateCompilation
(source);
15408
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15430
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
15457
var comp =
CreateCompilation
(source);
15482
var comp =
CreateCompilation
(source);
15529
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition });
15573
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
15589
var comp =
CreateCompilation
(source);
15615
var comp =
CreateCompilation
(source);
15637
var comp =
CreateCompilation
(source);
15656
var comp =
CreateCompilation
(source);
15683
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15715
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
15737
var comp =
CreateCompilation
(source);
15756
var comp =
CreateCompilation
(source);
15789
var comp =
CreateCompilation
(source);
15830
var comp =
CreateCompilation
(source);
15851
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15873
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15894
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15915
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
15973
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16203
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16224
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16249
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16267
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16293
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16319
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16337
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16355
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16381
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16407
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
16433
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16459
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16480
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16511
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
16545
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
16727
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
16959
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17219
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17510
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17568
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17664
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
17753
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
17884
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
18093
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18355
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
18652
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
18997
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19167
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19390
var comp1 =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19464
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugExe);
19617
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19700
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19749
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
19822
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19847
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19877
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19902
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
19923
var comp =
CreateCompilation
(new[] { source1, source2 });
19953
var comp =
CreateCompilation
([source1, source2]);
19989
var comp =
CreateCompilation
([source1, source2]);
20021
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
20056
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
20092
var comp =
CreateCompilation
([source1, source2], targetFramework: TargetFramework.Net80);
20118
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20141
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20253
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20318
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.ReleaseDll);
20353
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20396
var comp =
CreateCompilation
(src);
20426
var comp =
CreateCompilation
(source);
20450
var comp =
CreateCompilation
(source);
20492
var comp =
CreateCompilation
(new[] { source1, source2 });
20539
var comp =
CreateCompilation
(new[] { source1, source2 });
20572
var comp =
CreateCompilation
(new[] { source1, source2 });
20633
var comp =
CreateCompilation
(new[] { source1, source2, source3 });
20656
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20690
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
20738
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.Mscorlib461Extended);
20762
var comp =
CreateCompilation
(src1, targetFramework: TargetFramework.NetCoreApp);
20782
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20815
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20856
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20900
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
20947
var comp =
CreateCompilation
(src1, parseOptions: TestOptions.RegularPreview);
21003
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21035
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21067
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21099
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21121
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21143
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21172
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21194
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21228
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21265
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21299
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21336
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21371
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21406
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21441
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21474
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21505
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21534
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21574
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21605
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21642
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21691
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21734
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21773
var comp =
CreateCompilation
(source1 + source2 + source3, options: TestOptions.ReleaseDll);
21783
comp =
CreateCompilation
(source2 + source1 + source3, options: TestOptions.ReleaseDll);
21815
var comp =
CreateCompilation
(new[] { source1, source2, source3 }, options: TestOptions.ReleaseDll);
21856
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
21921
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
21982
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
22043
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll, targetFramework: TargetFramework.NetCoreApp);
22079
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22098
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
22117
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22166
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22195
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
22210
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22231
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22257
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22283
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22314
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
22336
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22381
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.ReleaseDll);
22447
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll);
22485
var comp =
CreateCompilation
(source);
22530
var comp =
CreateCompilation
(source);
22571
var comp1 =
CreateCompilation
(
22576
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22579
var comp3 =
CreateCompilation
([source2], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22620
var comp1 =
CreateCompilation
(
22625
var comp2 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22628
var comp3 =
CreateCompilation
([source2, IsExternalInitTypeDefinition], references: [comp1.EmitToImageReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22661
var comp1 =
CreateCompilation
(
22686
var comp0 =
CreateCompilation
(source0);
22714
var comp1 =
CreateCompilation
(
22719
var comp2 =
CreateCompilation
([source2], references: [comp1.ToMetadataReference()], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All));
22745
var comp0 =
CreateCompilation
(source0);
22773
var comp1 =
CreateCompilation
(
22778
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);
30408
var compB =
CreateCompilation
(sourceB, references: new[] { refA }, options: TestOptions.ReleaseDll.WithSpecificDiagnosticOptions("CS1701", ReportDiagnostic.Suppress), parseOptions: TestOptions.Regular9, targetFramework: TargetFramework.NetCoreApp);
30522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: TargetFramework.Net60);
30581
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30605
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "never"), targetFramework: TargetFramework.NetCoreApp);
30656
var comp =
CreateCompilation
(new[] { src, IsExternalInitTypeDefinition }, targetFramework: TargetFramework.NetCoreApp);
30659
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 (13)
EndToEndTests.cs (13)
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));
947
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithConcurrentBuild(false));
1011
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.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 (12069)
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 (96)
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);
4100
CreateCompilation
(text).VerifyDiagnostics(
4125
CreateCompilation
(text).VerifyDiagnostics(
4146
CreateCompilation
(text).VerifyDiagnostics(
4170
CreateCompilation
(text).VerifyDiagnostics(
4196
CreateCompilation
(text).VerifyDiagnostics(
4223
CreateCompilation
(text).VerifyDiagnostics(
4246
CreateCompilation
(text).VerifyDiagnostics(
4271
CreateCompilation
(text).VerifyEmitDiagnostics(
Semantics\ColorColorTests.cs (29)
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);
2434
CreateCompilation
(source).VerifyEmitDiagnostics(
2493
var compilation =
CreateCompilation
(source);
2530
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);
4142
var comp =
CreateCompilation
(source);
4194
var comp1 =
CreateCompilation
(source1);
4225
var comp2 =
CreateCompilation
(source2);
4329
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4360
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4466
var comp1 =
CreateCompilation
(source1);
4494
var comp2 =
CreateCompilation
(source2);
4594
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4616
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4636
var comp1 =
CreateCompilation
(source1);
4652
var comp2 =
CreateCompilation
(source2);
4715
var comp1 =
CreateCompilation
(source1);
4736
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4746
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4808
var comp1 =
CreateCompilation
(source1);
4824
var comp2 =
CreateCompilation
(source2);
4883
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4893
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
4913
var comp1 =
CreateCompilation
(source1);
4929
var comp2 =
CreateCompilation
(source2);
4965
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
4975
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5017
var comp1 =
CreateCompilation
(source1);
5033
var comp2 =
CreateCompilation
(source2);
5072
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5082
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5101
var comp1 =
CreateCompilation
(source1);
5143
var comp1 =
CreateCompilation
(source1);
5174
var comp2 =
CreateCompilation
(source2);
5287
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5318
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5437
var comp1 =
CreateCompilation
(source1);
5465
var comp2 =
CreateCompilation
(source2);
5574
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5596
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5614
var comp1 =
CreateCompilation
(source1);
5642
var comp2 =
CreateCompilation
(source2);
5724
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5752
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5840
var comp1 =
CreateCompilation
(source1);
5865
var comp2 =
CreateCompilation
(source2);
5940
var comp1 =
CreateCompilation
(source1, parseOptions: TestOptions.Script);
5959
var comp2 =
CreateCompilation
(source2, parseOptions: TestOptions.Script);
5974
var comp =
CreateCompilation
(source);
6014
var comp =
CreateCompilation
(source);
6057
var comp =
CreateCompilation
(source);
6097
var comp =
CreateCompilation
(source);
6139
var comp =
CreateCompilation
(source);
6276
CreateCompilation
(text).VerifyEmitDiagnostics(
6314
CreateCompilation
(text).VerifyEmitDiagnostics(
6340
CreateCompilation
(text).VerifyEmitDiagnostics(
6375
CreateCompilation
(text).VerifyEmitDiagnostics(
6403
CreateCompilation
(source).VerifyEmitDiagnostics(
6437
CreateCompilation
(source).VerifyEmitDiagnostics(
6546
var comp =
CreateCompilation
(code);
6566
CreateCompilation
(source).VerifyDiagnostics(
6599
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 (173)
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(
3679
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3713
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3743
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3845
var comp =
CreateCompilation
(source);
4069
CreateCompilation
(source, options: TestOptions.DebugDll.WithAllowUnsafe(true)).VerifyDiagnostics(
4142
var compilation2 =
CreateCompilation
(source2, new[] { reference.WithEmbedInteropTypes(true), CSharpRef }, options: TestOptions.ReleaseExe);
4165
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4192
var compilation =
CreateCompilation
(source, new[] { CSharpRef }, options: TestOptions.DebugDll);
4369
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4392
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4493
var compilation1 =
CreateCompilation
(consumer1, options: TestOptions.ReleaseExe,
4509
var compilation2 =
CreateCompilation
(consumer2, options: TestOptions.ReleaseExe,
4774
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
4794
CreateCompilation
(code).VerifyDiagnostics(
4818
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4849
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4874
CreateCompilation
(code).VerifyDiagnostics(
4899
CreateCompilation
(code).VerifyDiagnostics(
4932
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
4993
CreateCompilation
(code, targetFramework: TargetFramework.StandardAndCSharp).VerifyDiagnostics(
5031
CreateCompilation
(code).VerifyDiagnostics(
5071
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5123
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5153
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5195
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5247
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5276
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5318
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5370
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
5400
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5436
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5477
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5521
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5565
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5609
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5648
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
5673
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5711
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5750
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5786
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5827
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
5872
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
5917
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
5962
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6003
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
6030
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6069
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6117
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6168
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6198
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6240
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6291
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe, parseOptions: parseOptions);
6321
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6360
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp);
6411
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
6441
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6471
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6514
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6560
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: parseOptions);
6604
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6647
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6701
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true), targetFramework: TargetFramework.StandardAndCSharp);
6766
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6830
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6875
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
6939
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
6985
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7050
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7086
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7154
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7212
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7257
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7324
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7370
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7437
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7486
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7554
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7599
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7676
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7736
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7781
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7842
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7887
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
7948
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
7990
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8062
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8123
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8168
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8229
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8273
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8333
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8378
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8442
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8487
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8551
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8596
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8660
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8706
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8771
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
8819
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8888
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
8956
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9019
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9078
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9109
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9168
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9200
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9259
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9290
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9346
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9407
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9464
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9496
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9528
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9585
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9617
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9648
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9704
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9735
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9762
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9814
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9846
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9873
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9925
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
9957
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
9984
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10035
var comp2 =
CreateCompilation
(source2, options: TestOptions.DebugExe);
10066
var comp3 =
CreateCompilation
(source3, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10104
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10184
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10232
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10312
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10360
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10440
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10477
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10514
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10593
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10648
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10735
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10796
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10884
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
10945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
10985
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.ReleaseExe);
11021
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11066
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11152
var comp3 =
CreateCompilation
(source3, targetFramework: TargetFramework.StandardAndCSharp);
11195
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11279
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11357
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp);
11412
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11465
var comp1 =
CreateCompilation
(source1, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11512
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11545
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11589
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11630
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11679
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11731
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11774
var comp1 =
CreateCompilation
(source1, options: TestOptions.DebugExe, targetFramework: TargetFramework.StandardAndCSharp, parseOptions: TestOptions.Regular12);
11820
var comp1 =
CreateCompilation
(
11862
var comp1 =
CreateCompilation
(
11904
var comp1 =
CreateCompilation
(
11944
var comp1 =
CreateCompilation
(
11984
var comp1 =
CreateCompilation
(
12001
comp1 =
CreateCompilation
(
12046
var comp1 =
CreateCompilation
(
12068
comp1 =
CreateCompilation
(
12113
var comp1 =
CreateCompilation
(
12156
var comp1 =
CreateCompilation
(
12176
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 (70)
41
CreateCompilation
(text).VerifyDiagnostics(
60
CreateCompilation
(text).VerifyDiagnostics(
80
CreateCompilation
(text).VerifyDiagnostics(
254
CreateCompilation
(source).VerifyDiagnostics(
276
CreateCompilation
(source).VerifyEmitDiagnostics(
298
CreateCompilation
(source).VerifyEmitDiagnostics(
321
CreateCompilation
(source).VerifyEmitDiagnostics(
344
CreateCompilation
(source).VerifyEmitDiagnostics(
369
CreateCompilation
(source).VerifyEmitDiagnostics(
394
CreateCompilation
(source).VerifyEmitDiagnostics(
469
CreateCompilation
(source, targetFramework: TargetFramework.StandardAndCSharp).VerifyEmitDiagnostics(
494
CreateCompilation
(source).VerifyEmitDiagnostics(
551
CreateCompilation
(source).VerifyEmitDiagnostics(
575
CreateCompilation
(source).VerifyDiagnostics(
596
CreateCompilation
(source).VerifyDiagnostics(
617
CreateCompilation
(source).VerifyDiagnostics(
637
CreateCompilation
(text).VerifyDiagnostics(
656
CreateCompilation
(text).VerifyDiagnostics(
675
CreateCompilation
(text).VerifyDiagnostics(
706
CreateCompilation
(text).VerifyDiagnostics(
737
CreateCompilation
(text).VerifyDiagnostics(
768
CreateCompilation
(text).VerifyDiagnostics(
801
CreateCompilation
(text, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
806
CreateCompilation
(text).VerifyDiagnostics(
840
CreateCompilation
(text).VerifyDiagnostics(
873
CreateCompilation
(text).VerifyDiagnostics(
906
CreateCompilation
(text).VerifyDiagnostics(
939
CreateCompilation
(text).VerifyDiagnostics(
970
CreateCompilation
(text).VerifyDiagnostics(
1001
CreateCompilation
(text).VerifyDiagnostics(
1037
CreateCompilation
(text).VerifyDiagnostics(
1070
CreateCompilation
(text).VerifyDiagnostics(
1103
CreateCompilation
(text).VerifyDiagnostics(
1136
CreateCompilation
(text).VerifyDiagnostics(
1167
CreateCompilation
(text).VerifyDiagnostics(
1203
CreateCompilation
(text).VerifyDiagnostics(
1234
CreateCompilation
(text).VerifyDiagnostics(
1265
CreateCompilation
(text).VerifyDiagnostics(
1295
CreateCompilation
(text).VerifyDiagnostics(
1325
CreateCompilation
(text).VerifyDiagnostics(
1372
CreateCompilation
(text).VerifyDiagnostics(
1421
CreateCompilation
(text).VerifyDiagnostics(
1457
CreateCompilation
(text).VerifyDiagnostics(
1475
CreateCompilation
(text).VerifyDiagnostics(
1493
CreateCompilation
(text).VerifyDiagnostics(
1512
CreateCompilation
(text).VerifyDiagnostics(
1555
CreateCompilation
(text).VerifyDiagnostics(
1574
CreateCompilation
(text).VerifyDiagnostics(
1607
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
1626
CreateCompilation
(source).VerifyDiagnostics(
1648
CreateCompilation
(source).VerifyDiagnostics(
1676
CreateCompilation
(source).VerifyDiagnostics(
1701
CreateCompilation
(source).VerifyDiagnostics(
2308
var compilation =
CreateCompilation
(text);
2568
CreateCompilation
(source, parseOptions: options).VerifyDiagnostics(
2578
CreateCompilation
(condDefSource).VerifyDiagnostics(
2622
Assert.NotEmpty(
CreateCompilation
(source).GetDiagnostics());
2689
var comp =
CreateCompilation
(source);
3372
CreateCompilation
(source).VerifyDiagnostics(
3437
CreateCompilation
(source).VerifyDiagnostics(
3478
CreateCompilation
(source).VerifyDiagnostics(
3503
CreateCompilation
(source).VerifyDiagnostics(
3828
var comp =
CreateCompilation
("""
3850
var comp =
CreateCompilation
("""
3934
var compilation =
CreateCompilation
(source);
4027
CreateCompilation
(@"
4058
CreateCompilation
(@"
4089
CreateCompilation
(@"
4118
CreateCompilation
(@"
4171
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 (305)
44
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
88
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular8);
166
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
211
var comp =
CreateCompilation
(source);
263
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
291
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
314
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
347
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, references: new[] { CSharpRef });
368
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, references: new[] { CSharpRef });
399
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
433
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
451
var comp =
CreateCompilation
(source);
471
var comp =
CreateCompilation
(source);
495
var comp =
CreateCompilation
(source);
516
var comp =
CreateCompilation
(source);
540
var comp =
CreateCompilation
(source);
565
var comp =
CreateCompilation
(source);
593
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
611
var comp =
CreateCompilation
(source);
638
var comp =
CreateCompilation
(source);
658
var comp =
CreateCompilation
(source);
694
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
721
var comp =
CreateCompilation
(source);
751
var comp =
CreateCompilation
(source);
775
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
801
var comp =
CreateCompilation
(source);
832
var comp =
CreateCompilation
(source);
873
var comp =
CreateCompilation
(source);
903
var comp =
CreateCompilation
(source).VerifyDiagnostics(
948
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
980
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1005
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1024
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1046
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1069
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1090
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1116
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1136
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1199
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1224
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1247
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1268
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1293
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1312
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1341
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1365
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseDll).VerifyDiagnostics(
1400
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1418
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1452
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics();
1485
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
1516
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1549
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1579
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1608
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1640
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1663
var comp =
CreateCompilation
(source).VerifyDiagnostics(
1689
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1729
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1756
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1781
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1799
_ =
CreateCompilation
(source, options: TestOptions.DebugExe).VerifyDiagnostics(
1833
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
1854
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1884
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1914
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1945
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1967
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
1997
var comp =
CreateCompilation
(source);
2024
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2059
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview, options: TestOptions.DebugExe);
2104
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2157
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2180
var comp =
CreateCompilation
(source);
2206
var comp =
CreateCompilation
(source);
2237
var comp =
CreateCompilation
(source);
2260
var comp =
CreateCompilation
(source);
2281
var comp =
CreateCompilation
(source);
2302
var comp =
CreateCompilation
(source);
2322
var comp =
CreateCompilation
(source);
2349
var comp =
CreateCompilation
(source);
2392
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2416
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2435
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2456
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2477
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2500
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2526
var comp =
CreateCompilation
(source);
2550
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2583
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2611
var comp =
CreateCompilation
(source);
2641
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
2673
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2695
var comp =
CreateCompilation
(source);
2717
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2737
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2757
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2778
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
2798
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2836
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2873
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2943
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
2972
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3002
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe.WithAllowUnsafe(true));
3026
var comp =
CreateCompilation
(source);
3049
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3069
var comp =
CreateCompilation
(source);
3086
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3105
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3124
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3146
var comp =
CreateCompilation
(source);
3168
var comp =
CreateCompilation
(source);
3194
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3239
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3256
var comp =
CreateCompilation
(source);
3269
var comp =
CreateCompilation
(source);
3291
var comp =
CreateCompilation
(source);
3309
var comp =
CreateCompilation
(source);
3334
var comp =
CreateCompilation
(source, references: new[] { CSharpRef }, options: TestOptions.DebugExe);
3374
var comp =
CreateCompilation
(source);
3477
var comp =
CreateCompilation
(source);
3574
var comp =
CreateCompilation
(source);
3651
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe);
3673
var compilation =
CreateCompilation
(source, options: TestOptions.DebugExe);
3700
var comp =
CreateCompilation
(text, options: TestOptions.DebugDll);
3731
var comp =
CreateCompilation
(text).VerifyDiagnostics(
3755
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3776
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3811
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
3858
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3903
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
3943
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4003
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4046
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4065
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4084
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4103
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4124
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4144
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4171
var comp =
CreateCompilation
(source, parseOptions: ImplicitObjectCreationTestOptions);
4208
var comp =
CreateCompilation
(source);
4223
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4231
var libComp =
CreateCompilation
(lib, references: new[] { missingComp.EmitToImageReference() });
4244
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
4262
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4272
var libComp =
CreateCompilation
(lib, references: new[] { missingComp.EmitToImageReference() });
4286
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
4307
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4315
var libComp =
CreateCompilation
(lib, references: new[] { missingComp.EmitToImageReference() });
4327
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
4339
var missingComp =
CreateCompilation
(missing, assemblyName: "missing");
4347
var libComp =
CreateCompilation
(lib, references: new[] { missingComp.EmitToImageReference() });
4360
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
4378
var libBv1 =
CreateCompilation
(string.Format(libBTemplate, "1"), assemblyName: "B", options: signedDll);
4379
var libBv2 =
CreateCompilation
(string.Format(libBTemplate, "2"), assemblyName: "B", options: signedDll);
4391
var libAv1 =
CreateCompilation
(
4409
var comp =
CreateCompilation
(source, new[] { new CSharpCompilationReference(libAv1), new CSharpCompilationReference(libBv2) },
4458
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4491
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
4516
var compilation =
CreateCompilation
(source);
4559
var compilation =
CreateCompilation
(source);
4590
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4622
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4654
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp, parseOptions: TestOptions.RegularPreview);
4692
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
4742
var compilation1 =
CreateCompilation
(source1);
4762
var compilation2 =
CreateCompilation
(source2, references: new[] { compilation1.EmitToImageReference() });
4791
var compilation1 =
CreateCompilation
(source1);
4815
var compilation1 =
CreateCompilation
(source1);
4836
var compilation =
CreateCompilation
(source);
4866
var compilation =
CreateCompilation
(source);
4890
var comp =
CreateCompilation
(source);
4950
var comp =
CreateCompilation
(source);
4979
var comp =
CreateCompilation
(source);
5021
var comp =
CreateCompilation
(source);
5064
var comp =
CreateCompilation
(source);
5096
var comp =
CreateCompilation
(source);
5121
var comp =
CreateCompilation
(source);
5153
var comp =
CreateCompilation
(source);
5182
var comp =
CreateCompilation
(source);
5211
var comp =
CreateCompilation
(source);
5240
var comp =
CreateCompilation
(source);
5266
var comp =
CreateCompilation
(source);
5298
var comp =
CreateCompilation
(source);
5334
var comp =
CreateCompilation
(source);
5367
var comp =
CreateCompilation
(source);
5403
var comp =
CreateCompilation
(source);
5436
var comp =
CreateCompilation
(source);
5462
var comp =
CreateCompilation
(source);
5490
var comp =
CreateCompilation
(source);
5522
var comp =
CreateCompilation
(source);
5557
var comp =
CreateCompilation
(source);
5599
var comp =
CreateCompilation
(source);
5646
var comp =
CreateCompilation
(source);
5693
var comp =
CreateCompilation
(source);
5727
var comp =
CreateCompilation
(source);
5769
var comp =
CreateCompilation
(source);
5812
var comp =
CreateCompilation
(source);
5849
var comp =
CreateCompilation
(source);
5887
var comp =
CreateCompilation
(source);
5929
var comp =
CreateCompilation
(source);
5956
var comp =
CreateCompilation
(source);
5983
var comp =
CreateCompilation
(source);
6013
var comp =
CreateCompilation
(source);
6038
var comp =
CreateCompilation
(source);
6058
var comp =
CreateCompilation
(source);
6082
var comp =
CreateCompilation
(source);
6102
var comp =
CreateCompilation
(source);
6126
var comp =
CreateCompilation
(source);
6146
var comp =
CreateCompilation
(source);
6170
var comp =
CreateCompilation
(source);
6190
var comp =
CreateCompilation
(source);
6214
var comp =
CreateCompilation
(source);
6236
var comp =
CreateCompilation
(source);
6268
var comp =
CreateCompilation
(source);
6300
var comp =
CreateCompilation
(source);
6326
var comp =
CreateCompilation
(source);
6361
var comp =
CreateCompilation
(source);
6405
var comp =
CreateCompilation
(source);
6449
var comp =
CreateCompilation
(source);
6479
var comp =
CreateCompilation
(source);
6509
var comp =
CreateCompilation
(source);
6536
var comp =
CreateCompilation
(source);
6569
var comp =
CreateCompilation
(source);
6602
var comp =
CreateCompilation
(source);
6625
var comp1 =
CreateCompilation
(source1);
6641
var comp2 =
CreateCompilation
(source2);
6700
var comp1 =
CreateCompilation
(source1);
6737
var comp1 =
CreateCompilation
(source1);
6759
var comp1 =
CreateCompilation
(source1);
6781
var comp =
CreateCompilation
(source);
6806
var comp =
CreateCompilation
(source);
6841
var comp =
CreateCompilation
(source);
6863
var comp =
CreateCompilation
(source);
6885
var comp =
CreateCompilation
(source);
6903
var comp =
CreateCompilation
(source);
6928
var comp =
CreateCompilation
(source);
6950
var comp =
CreateCompilation
(source);
6972
var comp =
CreateCompilation
(source);
6990
var comp =
CreateCompilation
(source);
7012
var comp =
CreateCompilation
(source);
7034
var comp =
CreateCompilation
(source);
7059
var comp =
CreateCompilation
(source);
7081
var comp =
CreateCompilation
(source);
7109
var comp =
CreateCompilation
(source);
7137
var comp =
CreateCompilation
(source);
7166
var comp =
CreateCompilation
(source);
7199
var comp =
CreateCompilation
(source);
7219
var comp =
CreateCompilation
(source);
7247
var comp =
CreateCompilation
(source);
7275
var comp =
CreateCompilation
(source);
7304
var comp =
CreateCompilation
(source);
7337
var comp =
CreateCompilation
(source);
7357
var comp =
CreateCompilation
(source);
7385
var comp =
CreateCompilation
(source);
7417
var comp =
CreateCompilation
(source);
7450
var comp =
CreateCompilation
(source);
7487
var comp =
CreateCompilation
(source);
7511
var comp =
CreateCompilation
(source);
7537
var comp1 =
CreateCompilation
(source1);
7564
var comp1 =
CreateCompilation
(source1);
7592
var comp1 =
CreateCompilation
(source1);
7620
var comp1 =
CreateCompilation
(source1);
7651
var comp1 =
CreateCompilation
(source1);
7669
var comp =
CreateCompilation
(source);
7694
var comp =
CreateCompilation
(source);
7716
var comp =
CreateCompilation
(source);
7740
var comp =
CreateCompilation
(source);
7764
var comp =
CreateCompilation
(source);
7788
var comp =
CreateCompilation
(source);
7813
var comp1 =
CreateCompilation
(source1);
7842
var comp1 =
CreateCompilation
(source1);
7868
var comp1 =
CreateCompilation
(source1);
7897
var comp1 =
CreateCompilation
(source1);
7919
var comp1 =
CreateCompilation
(source1);
7946
var comp1 =
CreateCompilation
(source1);
7973
var comp1 =
CreateCompilation
(source1);
8000
var comp1 =
CreateCompilation
(source1);
8031
var comp1 =
CreateCompilation
(source1);
8052
var comp1 =
CreateCompilation
(source1);
8081
var comp1 =
CreateCompilation
(source1);
8107
var comp1 =
CreateCompilation
(source1);
8136
var comp1 =
CreateCompilation
(source1);
8154
var comp =
CreateCompilation
(source);
8176
var comp =
CreateCompilation
(source);
8201
var comp =
CreateCompilation
(source);
8227
var comp =
CreateCompilation
(source);
8251
var comp =
CreateCompilation
(source);
8274
var comp =
CreateCompilation
(source);
8296
var comp =
CreateCompilation
(source);
8318
var comp =
CreateCompilation
(source);
8340
var comp =
CreateCompilation
(source);
8362
var comp =
CreateCompilation
(source);
8384
var comp =
CreateCompilation
(source);
8406
var comp =
CreateCompilation
(source);
8431
var comp =
CreateCompilation
(source);
8456
var comp =
CreateCompilation
(source);
8478
var comp =
CreateCompilation
(source);
8505
var comp =
CreateCompilation
(source);
8528
CreateCompilation
(text).VerifyDiagnostics(
8553
CreateCompilation
(text).VerifyDiagnostics(
8573
CreateCompilation
(text).VerifyDiagnostics(
8599
var comp =
CreateCompilation
(source);
8620
var comp =
CreateCompilation
(source);
8642
var comp =
CreateCompilation
(source);
8668
var comp =
CreateCompilation
(source);
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);
5888
var comp =
CreateCompilation
(source);
5911
var comp =
CreateCompilation
(source);
5933
var comp =
CreateCompilation
(source);
5958
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
5986
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6030
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6033
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6058
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6092
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
6119
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6165
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview);
6186
var comp =
CreateCompilation
(source);
6209
var comp =
CreateCompilation
(source);
6234
var comp =
CreateCompilation
(source);
6256
var comp =
CreateCompilation
(source);
6277
var comp =
CreateCompilation
(source);
6299
var comp =
CreateCompilation
(source);
6320
var comp =
CreateCompilation
(source);
6341
var comp =
CreateCompilation
(source);
6363
var comp =
CreateCompilation
(source);
6384
var comp =
CreateCompilation
(source);
6405
var comp =
CreateCompilation
(source);
6426
var comp =
CreateCompilation
(source);
6447
var comp =
CreateCompilation
(source);
6467
var comp =
CreateCompilation
(source);
6487
var comp =
CreateCompilation
(source);
6519
var comp =
CreateCompilation
(@"
6555
var comp =
CreateCompilation
(@"
6590
var comp =
CreateCompilation
(@"
6624
var comp =
CreateCompilation
(@"
6660
var comp =
CreateCompilation
(@"
6692
var comp =
CreateCompilation
(@"
6715
var comp =
CreateCompilation
(@"
6748
var comp =
CreateCompilation
(@"
6772
var comp =
CreateCompilation
(@"
6796
var comp =
CreateCompilation
(@"
6825
var comp =
CreateCompilation
(@"
6866
var comp =
CreateCompilation
(source);
6899
CreateCompilation
("""
6919
CreateCompilation
("""
6954
CreateCompilation
("""
7000
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7026
var comp =
CreateCompilation
(source);
7055
var comp =
CreateCompilation
(source);
7086
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
7125
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
7130
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
7149
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
7168
var comp =
CreateCompilation
(source);
7190
var comp =
CreateCompilation
(source);
7213
var comp =
CreateCompilation
(source);
7233
var comp =
CreateCompilation
(source);
7255
var comp =
CreateCompilation
(source);
7274
var comp =
CreateCompilation
(source);
7296
var comp =
CreateCompilation
(source);
7315
var comp =
CreateCompilation
(source);
7347
var comp =
CreateCompilation
(source);
7376
var comp =
CreateCompilation
(source);
7400
var comp =
CreateCompilation
(source);
7420
var comp =
CreateCompilation
(source);
7449
var comp =
CreateCompilation
(source);
7472
var comp =
CreateCompilation
(source);
7493
var comp =
CreateCompilation
(source);
7511
var comp =
CreateCompilation
(source);
7531
var comp =
CreateCompilation
(source);
7547
var comp =
CreateCompilation
(source);
7563
var comp =
CreateCompilation
(source);
7579
var comp =
CreateCompilation
(source);
7598
var comp =
CreateCompilation
(source);
7616
var comp =
CreateCompilation
(source);
7654
var comp =
CreateCompilation
(source);
7676
var comp =
CreateCompilation
(source);
7698
var comp =
CreateCompilation
(source);
7717
var comp =
CreateCompilation
(source);
7736
var comp =
CreateCompilation
(source);
7759
var comp =
CreateCompilation
(source);
7776
var comp =
CreateCompilation
(source);
7800
var comp =
CreateCompilation
(source);
7824
var comp =
CreateCompilation
(source);
7848
var comp =
CreateCompilation
(source);
7874
CreateCompilation
(source).VerifyDiagnostics(
7900
CreateCompilation
(source).VerifyDiagnostics(
7918
CreateCompilation
(source).VerifyDiagnostics(
7932
CreateCompilation
(source).VerifyDiagnostics(
7944
CreateCompilation
(source).VerifyDiagnostics(
7962
CreateCompilation
(source).VerifyDiagnostics();
7978
CreateCompilation
(source).VerifyDiagnostics(
7994
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8042
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8067
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8099
var comp =
CreateCompilation
(source).VerifyDiagnostics(
8139
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8190
CreateCompilation
(source).VerifyDiagnostics(
8216
var comp =
CreateCompilation
(tree);
8241
CreateCompilation
(source, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
8246
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics();
8258
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).VerifyDiagnostics(
8292
CreateCompilation
(source).VerifyDiagnostics(
8304
CreateCompilation
(source).VerifyDiagnostics(
8327
CreateCompilation
(source).VerifyDiagnostics(
8344
var comp =
CreateCompilation
(source).VerifyDiagnostics();
8377
var comp =
CreateCompilation
(source);
8453
CreateCompilation
(source).VerifyDiagnostics(
8465
CreateCompilation
(source).VerifyDiagnostics(
8477
CreateCompilation
(source).VerifyDiagnostics(
8490
CreateCompilation
(source).VerifyDiagnostics(
8503
CreateCompilation
(source).VerifyDiagnostics();
8515
CreateCompilation
(source).VerifyDiagnostics(
8527
CreateCompilation
(source).VerifyDiagnostics(
8539
CreateCompilation
(source).VerifyDiagnostics(
8642
var comp =
CreateCompilation
(source);
8665
var comp =
CreateCompilation
(source);
8693
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
8748
var r =
CreateCompilation
(includeAttribute ? TestSources.ParamsCollectionAttribute : "").VerifyDiagnostics().ToMetadataReference();
8785
CreateCompilation
(source, options: TestOptions.ReleaseModule).VerifyDiagnostics(
8806
CreateCompilation
(source, options: TestOptions.ReleaseModule).VerifyDiagnostics(
8828
CreateCompilation
([source, ExtensionMarkerAttributeDefinition], options: TestOptions.ReleaseModule).VerifyDiagnostics(
8846
var comp =
CreateCompilation
(source1);
8893
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
8923
CreateCompilation
(source).VerifyDiagnostics(
8951
var compilation =
CreateCompilation
(source, parseOptions: options);
9001
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
9030
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics(
9060
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyDiagnostics();
9087
var compilation =
CreateCompilation
(source).VerifyDiagnostics(
9117
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
9152
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
9191
var comp1 =
CreateCompilation
(
9231
var comp1 =
CreateCompilation
([source1, source2, CompilerLoweringPreserveAttributeDefinition]);
9246
comp1 =
CreateCompilation
([source1, source3, CompilerLoweringPreserveAttributeDefinition]);
9288
var comp1 =
CreateCompilation
(
9305
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 (14)
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);
1235
CreateCompilation
(source).VerifyEmitDiagnostics();
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 (3745)
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());
3261
var comp =
CreateCompilation
(source.Replace("FIELDTYPE", fieldType), options: WithNullableEnable());
3296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3364
var comp =
CreateCompilation
(source);
3384
var comp =
CreateCompilation
(source);
3441
var comp =
CreateCompilation
(src);
3481
var comp =
CreateCompilation
(src);
3503
CreateCompilation
(text).VerifyDiagnostics(
3607
CreateCompilation
(source).VerifyDiagnostics(
3639
var comp =
CreateCompilation
(source);
3685
var comp =
CreateCompilation
(source);
3733
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3748
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3763
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3823
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3887
var comp =
CreateCompilation
(source, options: WithNullableEnable());
3952
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4027
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4111
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4145
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
4155
var c2 =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
4406
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4441
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4464
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4488
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4504
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
4528
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4561
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4593
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithDocumentationComments, options: WithNullableEnable());
4622
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4646
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
4681
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
4750
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4936
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
4980
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5025
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5075
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5111
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5152
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
5196
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
5246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll);
5292
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5338
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5400
var comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll);
5413
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Disable));
5426
comp =
CreateCompilation
(new[] { source0, source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5467
var comp =
CreateCompilation
(source);
5493
var comp =
CreateCompilation
(source);
5518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5543
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5563
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5583
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5605
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5623
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5645
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5674
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5708
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5743
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
5820
var comp =
CreateCompilation
(new[] { source1, source2, source3, source4 },
5863
var comp =
CreateCompilation
(source);
5889
var comp =
CreateCompilation
(source, options: WithNullableEnable());
5909
var comp =
CreateCompilation
(source);
5927
var comp =
CreateCompilation
(source);
5945
var comp =
CreateCompilation
(source);
5961
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Annotations));
5979
var comp =
CreateCompilation
(source, options: WithNullableDisable());
5997
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6022
var comp =
CreateCompilation
(source);
6042
var comp =
CreateCompilation
(source);
6062
var comp =
CreateCompilation
(source);
6081
var comp =
CreateCompilation
(source);
6100
var comp =
CreateCompilation
(source);
6119
var comp =
CreateCompilation
(source);
6142
var comp =
CreateCompilation
(source);
6166
var comp =
CreateCompilation
(source);
6185
var comp =
CreateCompilation
(source);
6208
var comp =
CreateCompilation
(source);
6229
var comp =
CreateCompilation
(source);
6253
var comp =
CreateCompilation
(source);
6277
var comp =
CreateCompilation
(source);
6299
var comp =
CreateCompilation
(source, options: WithNullable(NullableContextOptions.Warnings));
6323
var comp =
CreateCompilation
(source, options: WithNullableDisable());
6347
var comp =
CreateCompilation
(source, options: WithNullableEnable());
6364
var comp1 =
CreateCompilation
(source);
6371
var comp2 =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Suppress));
6388
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6405
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6425
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6449
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6472
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6494
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6516
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6539
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6561
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6583
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
6608
var comp =
CreateCompilation
(source);
6630
var comp =
CreateCompilation
(source);
6650
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
6674
var comp =
CreateCompilation
(source);
6711
var comp =
CreateCompilation
(source);
6742
var comp =
CreateCompilation
(source);
6796
var comp =
CreateCompilation
(source);
6858
var comp =
CreateCompilation
(source);
6889
var comp =
CreateCompilation
(source);
6911
var comp =
CreateCompilation
(source);
6929
var comp =
CreateCompilation
(source);
6954
var comp =
CreateCompilation
(source);
6972
var comp =
CreateCompilation
(source);
6994
var comp =
CreateCompilation
(source);
7021
var comp =
CreateCompilation
(source);
7052
var comp =
CreateCompilation
(source);
7074
var comp =
CreateCompilation
(source);
7101
var comp =
CreateCompilation
(source);
7131
var comp =
CreateCompilation
(source);
7160
var comp =
CreateCompilation
(source);
7187
var comp =
CreateCompilation
(source);
7216
var comp =
CreateCompilation
(source);
7245
var comp =
CreateCompilation
(source);
7266
var comp =
CreateCompilation
(source);
7287
var comp =
CreateCompilation
(source);
7318
var comp =
CreateCompilation
(source);
7359
var comp =
CreateCompilation
(source);
7431
var comp =
CreateCompilation
(source);
7535
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
7584
comp =
CreateCompilation
(source, options: WithNullableEnable());
7627
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7651
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7679
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7709
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7731
var c =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8, options: WithNullableEnable());
7755
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7803
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7818
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
7860
var c =
CreateCompilation
(new[] { source });
7863
c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
7873
var c2 =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
7894
var c =
CreateCompilation
(new[] { source });
7913
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7947
var c =
CreateCompilation
(new[] { source });
7950
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7968
var c =
CreateCompilation
(new[] { source });
7971
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
7992
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8014
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8055
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8114
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8136
var c =
CreateCompilation
(source);
8150
CSharpCompilation c =
CreateCompilation
(new[] { @"
8173
CSharpCompilation c =
CreateCompilation
(new[] { @"
8190
CSharpCompilation c =
CreateCompilation
(new[] { @"
8212
CSharpCompilation c =
CreateCompilation
(new[] { @"
8234
CSharpCompilation c =
CreateCompilation
(new[] { @"
8259
CSharpCompilation c =
CreateCompilation
(new[] { @"
8431
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8434
var c2 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
8468
var c3 =
CreateCompilation
(new[] { source }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
8493
CSharpCompilation c =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
8524
var comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8531
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8534
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.EmitToImageReference() });
8541
comp2 =
CreateCompilation
(new[] { client }, options: WithNullableEnable(), references: new[] { c.ToMetadataReference() });
8567
var comp =
CreateCompilation
(source);
8579
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
8589
var comp =
CreateCompilation
("", options: WithNullableDisable(), parseOptions: TestOptions.Regular7);
8596
var comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8602
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8608
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8611
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8614
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8617
comp =
CreateCompilation
("", options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8620
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular7_3);
8623
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Enable), parseOptions: TestOptions.Regular8);
8626
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular7_3);
8629
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
8632
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular7_3);
8635
comp =
CreateCompilation
(new string[] { }, options: WithNullable(NullableContextOptions.Disable), parseOptions: TestOptions.Regular8);
8683
CSharpCompilation c =
CreateCompilation
(new[] { @"
8815
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8822
var comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8825
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8830
comp1 =
CreateCompilation
(source1, references: compRefs0);
8833
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8838
comp0 =
CreateCompilation
(source0);
8845
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8848
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8853
comp1 =
CreateCompilation
(source1, references: compRefs0);
8856
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8860
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8863
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8868
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
8875
comp1 =
CreateCompilation
(source1, references: compRefs0, parseOptions: TestOptions.Regular7);
8878
comp1 =
CreateCompilation
(source1, references: metadataRefs0, parseOptions: TestOptions.Regular7);
8883
comp1 =
CreateCompilation
(source1, references: compRefs0);
8886
comp1 =
CreateCompilation
(source1, references: metadataRefs0);
8890
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: compRefs0);
8896
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: metadataRefs0);
8932
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8949
var comp1A =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
8952
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
8979
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
8999
var comp1A =
CreateCompilation
(source1, references: new[] { new CSharpCompilationReference(comp0) });
9002
var comp1B =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9021
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9047
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
9085
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9087
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9159
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9162
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9178
comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(),
9246
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9250
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9254
var comp2A =
CreateCompilation
(source2, references: new[] { ref0, ref1 }, parseOptions: TestOptions.Regular7);
9257
var comp2B =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9260
var comp2C =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9281
var comp2D =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { ref0, ref1 });
9329
var comp0 =
CreateCompilation
(source0);
9340
var comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9344
var comp2 =
CreateCompilation
(source2, references: new[] { ref0, ref1 });
9372
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
9376
comp1 =
CreateCompilation
(source1, references: new[] { ref0 }, parseOptions: TestOptions.Regular7);
9380
comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
9428
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
9431
var comp1 =
CreateCompilation
(source1, references: new MetadataReference[] { new CSharpCompilationReference(comp0) });
9434
comp1 =
CreateCompilation
(source1, references: new[] { comp0.EmitToImageReference() });
9452
var comp =
CreateCompilation
(new[] { source });
9471
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9482
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9496
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9504
var lib =
CreateCompilation
(lib_cs, assemblyName: "lib");
9507
var lib2 =
CreateCompilation
(lib2_cs, references: new[] { lib.EmitToImageReference() }, assemblyName: "lib2");
9513
var comp =
CreateCompilation
(source_cs, references: new[] { lib2.EmitToImageReference() });
9538
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9552
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9570
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9657
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9702
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
9721
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9739
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9808
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9858
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9867
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
9927
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
9960
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
9971
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10036
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10087
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10099
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10165
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10207
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10217
var libComp =
CreateCompilation
(new[] { lib }, options: WithNullableEnable());
10282
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10316
var obliviousComp =
CreateCompilation
(new[] { obliviousLib });
10319
var compilation =
CreateCompilation
("", options: TestOptions.ReleaseDll,
10334
var comp =
CreateCompilation
(new[] { source });
10353
var comp =
CreateCompilation
(new[] { source });
10383
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10386
comp =
CreateCompilation
(new[] { source });
10389
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10408
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
10411
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
10417
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10431
var obliviousComp =
CreateCompilation
(obliviousLib, parseOptions: TestOptions.Regular7);
10445
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
10515
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10615
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10688
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10774
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10849
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
10937
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
10980
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11031
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11082
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11127
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
11174
var comp =
CreateCompilation
(new[] { source });
11249
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
11334
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11365
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11389
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11410
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11433
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
11454
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11492
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11567
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11626
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11693
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11732
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11760
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11820
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
11885
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11923
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
11999
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12081
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12176
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12247
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12308
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12398
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12454
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
12488
var comp =
CreateCompilation
(new[] { source });
12515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12541
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12563
var comp =
CreateCompilation
(new[] { source });
12607
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12665
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12764
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12870
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
12952
var compilation =
CreateCompilation
(new[] { source });
13018
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13109
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13188
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13250
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13312
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13380
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13453
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13511
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13558
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13591
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
13629
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13666
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13728
var compilation =
CreateCompilation
(new[] { source });
13853
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource, prependDefaultHeader: false) },
13896
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
13966
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14017
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14074
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14130
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14174
var compilation =
CreateCompilation
(new[] { source });
14227
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14283
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
14337
var compilation1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
14342
var compilation2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(),
14389
var compilation1 =
CreateCompilation
(new[] { source1 }, options: options1);
14396
var compilation2 =
CreateCompilation
(new[] { source2 }, options: options2,
14403
var compilation3 =
CreateCompilation
(new[] { source1, source2 }, options: options1);
14407
var compilation4 =
CreateCompilation
(new[] { source2, source1 }, options: options1);
14439
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14489
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll);
14565
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14667
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14694
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14767
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14873
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14904
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14934
var comp =
CreateCompilation
(src, options: WithNullableEnable());
14950
var comp =
CreateCompilation
(@"
14994
var comp =
CreateCompilation
(@"
15056
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15110
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15175
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15217
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15250
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15275
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15323
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15344
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15365
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15386
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15407
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15440
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15473
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15499
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15541
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15562
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15583
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15604
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15625
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15673
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15730
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15798
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15857
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15903
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15931
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
15952
var comp =
CreateCompilation
(src, options: WithNullableEnable());
15986
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16014
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16042
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: WithNullableEnable());
16063
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16091
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16138
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16182
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16236
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16264
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16302
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16346
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16403
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16445
var comp =
CreateCompilation
(src, options: WithNullableEnable());
16496
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16552
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16624
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16709
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16794
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
16867
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17000
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17075
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17147
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17173
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
17189
var comp2 =
CreateCompilation
(source2, references: new[] { comp1.ToMetadataReference() }, options: WithNullableEnable());
17233
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
17409
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17477
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17558
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17642
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe));
17726
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17787
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17837
var compilation =
CreateCompilation
(source).VerifyDiagnostics();
17868
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
17892
compilation =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() }, options: TestOptions.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.All));
17913
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
17986
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
18038
var compilation =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
18107
CreateCompilation
(new[] { source }, options: WithNullableEnable()).
18133
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18140
CSharpCompilation c =
CreateCompilation
(
18639
CSharpCompilation c =
CreateCompilation
(new[] { @"
18787
CSharpCompilation c =
CreateCompilation
(new[] { @"
18819
CSharpCompilation c =
CreateCompilation
(new[] { @"
18881
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18945
var c =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
18967
var c2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable());
18978
CSharpCompilation c =
CreateCompilation
(new[] { @"
19023
CSharpCompilation c =
CreateCompilation
(new[] { @"
19068
CSharpCompilation c =
CreateCompilation
(new[] { @"
19100
CSharpCompilation c =
CreateCompilation
(new[] { @"
19135
CSharpCompilation c =
CreateCompilation
(new[] { @"
19198
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19252
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19276
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19312
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19346
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19356
CSharpCompilation c =
CreateCompilation
(new[] { @"
19421
CSharpCompilation c =
CreateCompilation
(new[] { @"
19498
CSharpCompilation c =
CreateCompilation
(new[] { @"
19541
CSharpCompilation c =
CreateCompilation
(new[] { @"
19605
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19634
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
19653
CSharpCompilation c0 =
CreateCompilation
(@"
19675
CSharpCompilation c =
CreateCompilation
(new[] { @"
19804
CSharpCompilation c0 =
CreateCompilation
(@"
19811
CSharpCompilation c =
CreateCompilation
(new[] { @"
19872
CSharpCompilation c0 =
CreateCompilation
(@"
19879
CSharpCompilation c =
CreateCompilation
(new[] { @"
19917
CSharpCompilation c0 =
CreateCompilation
(@"
19924
CSharpCompilation c =
CreateCompilation
(new[] { @"
19988
CSharpCompilation c0 =
CreateCompilation
(@"
19995
CSharpCompilation c =
CreateCompilation
(new[] { @"
20038
CSharpCompilation c0 =
CreateCompilation
(@"
20045
CSharpCompilation c =
CreateCompilation
(new[] { @"
20118
CSharpCompilation c0 =
CreateCompilation
(@"
20125
CSharpCompilation c =
CreateCompilation
(new[] { @"
20173
CSharpCompilation c0 =
CreateCompilation
(@"
20193
CSharpCompilation c =
CreateCompilation
(new[] { @"
20300
CSharpCompilation c =
CreateCompilation
(new[] { @"
20338
CSharpCompilation c =
CreateCompilation
(new[] { @"
20374
CSharpCompilation c =
CreateCompilation
(new[] { @"
20407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20441
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
20461
CSharpCompilation c =
CreateCompilation
(new[] { @"
20519
CSharpCompilation c =
CreateCompilation
(new[] { @"
20563
CSharpCompilation c =
CreateCompilation
(new[] { @"
20607
CSharpCompilation c =
CreateCompilation
(new[] { @"
20642
CSharpCompilation c =
CreateCompilation
(new[] { @"
20688
CSharpCompilation c =
CreateCompilation
(new[] { @"
20734
CSharpCompilation c =
CreateCompilation
(new[] { @"
20775
CSharpCompilation c =
CreateCompilation
(new[] { @"
20817
CSharpCompilation c =
CreateCompilation
(new[] { @"
21896
var c =
CreateCompilation
(["""
21915
var c =
CreateCompilation
(["""
21937
var c =
CreateCompilation
(["""
21956
var c =
CreateCompilation
(["""
23703
var c =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular8);
23722
var c2 =
CreateCompilation
(new[] { source, MemberNotNullAttributeDefinition, MemberNotNullWhenAttributeDefinition }, parseOptions: TestOptions.Regular9);
26903
var c =
CreateCompilation
(@"
26934
var c =
CreateCompilation
(new[] { @"
26967
var c =
CreateCompilation
(new[] { @"
27006
var c =
CreateCompilation
(new[] { @"
27045
var c =
CreateCompilation
(new[] { @"
27084
var c =
CreateCompilation
(new[] { @"
27118
var c =
CreateCompilation
(new[] { @"
27153
var c =
CreateCompilation
(new[] { @"
27187
var c =
CreateCompilation
(new[] { @"
27216
var c =
CreateCompilation
(new[] { @"
27297
var comp =
CreateCompilation
(src);
27330
var comp =
CreateCompilation
(src);
27357
var comp =
CreateCompilation
(src);
27380
var comp =
CreateCompilation
(src);
27412
var comp =
CreateCompilation
(src);
27437
var comp =
CreateCompilation
(src);
27479
var comp =
CreateCompilation
(src);
27517
var comp =
CreateCompilation
(src);
27582
var comp =
CreateCompilation
(src);
27608
var c =
CreateCompilation
(new[] { @"
27642
var c =
CreateCompilation
(new[] { @"
27673
var c =
CreateCompilation
(new[] { @"
27712
var c =
CreateCompilation
(new[] { @"
27751
var c =
CreateCompilation
(new[] { @"
27788
var c =
CreateCompilation
(new[] { @"
27821
var c =
CreateCompilation
(new[] { @"
27854
var c =
CreateCompilation
(new[] { @"
27887
var c =
CreateCompilation
(new[] { @"
27925
var c =
CreateCompilation
(new[] { @"
27956
var c =
CreateCompilation
(new[] { @"
27991
var c =
CreateCompilation
(new[] { @"
28029
var c =
CreateCompilation
(new[] { @"
28058
var c =
CreateCompilation
(new[] { @"
28093
var c =
CreateCompilation
(new[] { @"
28134
var c =
CreateCompilation
(new[] { @"
28164
var c =
CreateCompilation
(new[] { @"
28198
var c =
CreateCompilation
(new[] { @"
28232
var c =
CreateCompilation
(new[] { @"
28266
var c =
CreateCompilation
(new[] { @"
28300
var c =
CreateCompilation
(new[] { @"
28334
var c =
CreateCompilation
(new[] { @"
28367
var c =
CreateCompilation
(new[] { @"
28394
var c =
CreateCompilation
(new[] { @"
28421
var c =
CreateCompilation
(new[] { @"
28448
var c =
CreateCompilation
(new[] { @"
28471
var c =
CreateCompilation
(new[] { @"
28498
var c =
CreateCompilation
(new[] { @"
28615
var c =
CreateCompilation
(new[] { @"
28646
var c =
CreateCompilation
(new[] { @"
28903
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }).VerifyDiagnostics(
29664
var c =
CreateCompilation
(new[] { @"
29827
var c =
CreateCompilation
(new[] { @"
29922
var c =
CreateCompilation
(new[] { @"
29953
var c =
CreateCompilation
(new[] { @"
29981
var c =
CreateCompilation
(new[] { @"
30011
var c =
CreateCompilation
(new[] { @"
30047
var c =
CreateCompilation
(new[] { @"
30076
var c =
CreateCompilation
(new[] { @"
30968
var c =
CreateCompilation
(new[] { @"
30996
var c =
CreateCompilation
(new[] { @"
31393
var c =
CreateCompilation
(new[] { @"
31425
var c =
CreateCompilation
(new[] { @"
31791
CSharpCompilation c =
CreateCompilation
(new[] { @"
31822
CSharpCompilation c =
CreateCompilation
(new[] { @"
31851
CSharpCompilation c =
CreateCompilation
(new[] { @"
31879
CSharpCompilation c =
CreateCompilation
(new[] { @"
31917
CSharpCompilation c =
CreateCompilation
(new[] { @"
31949
CSharpCompilation c =
CreateCompilation
(new[] { @"
31980
CSharpCompilation c =
CreateCompilation
(new[] { @"
31996
CSharpCompilation c =
CreateCompilation
(new[] { @"
32098
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition },
33964
CSharpCompilation c =
CreateCompilation
(new[] { @"
34745
CSharpCompilation c =
CreateCompilation
(new[] { @"
34782
CSharpCompilation c =
CreateCompilation
(new[] { @"
34822
CSharpCompilation c =
CreateCompilation
(new[] { @"
34840
CSharpCompilation c =
CreateCompilation
(new[] { @"
34858
CSharpCompilation c =
CreateCompilation
(new[] { @"
34877
CSharpCompilation c =
CreateCompilation
(new[] { @"
34899
CSharpCompilation c =
CreateCompilation
(new[] { @"
34918
CSharpCompilation c =
CreateCompilation
(new[] { @"
34943
CSharpCompilation c =
CreateCompilation
(new[] { @"
34969
CSharpCompilation c =
CreateCompilation
(new[] { @"
35049
CSharpCompilation c =
CreateCompilation
(new[] { @"
35073
CSharpCompilation c =
CreateCompilation
(new[] { @"
35093
CSharpCompilation c =
CreateCompilation
(new[] { @"
35128
var comp =
CreateCompilation
(source);
35135
CSharpCompilation c =
CreateCompilation
(new[] { @"
35160
CSharpCompilation c =
CreateCompilation
(new[] { @"
35182
CSharpCompilation c =
CreateCompilation
(new[] { @"
35206
CSharpCompilation c =
CreateCompilation
(new[] { @"
35233
CSharpCompilation c =
CreateCompilation
(new[] { @"
35258
CSharpCompilation c =
CreateCompilation
(new[] { @"
35282
CSharpCompilation c =
CreateCompilation
(new[] { @"
35309
CSharpCompilation c =
CreateCompilation
(new[] { @"
35330
var c =
CreateCompilation
(@"
35354
var c =
CreateCompilation
(@"
35379
var c =
CreateCompilation
(@"
35407
var c =
CreateCompilation
(@"
35436
var c =
CreateCompilation
(@"
35480
var c =
CreateCompilation
(@"
35515
var c =
CreateCompilation
(@"
35539
var c =
CreateCompilation
(@"
35563
var c =
CreateCompilation
(@"
35609
var c =
CreateCompilation
(@"
35646
var c =
CreateCompilation
(@"
35762
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition });
35794
var comp =
CreateCompilation
(source);
35818
var comp =
CreateCompilation
(source);
35853
var comp =
CreateCompilation
(source);
35888
var comp =
CreateCompilation
(source);
35983
var c =
CreateCompilation
(@"
36003
var c =
CreateCompilation
(@"
36028
var c =
CreateCompilation
(@"
36076
var c =
CreateCompilation
(@"
36103
var c =
CreateCompilation
(@"
36128
var c =
CreateCompilation
(@"
36162
var c =
CreateCompilation
(@"
36194
var c =
CreateCompilation
(@"
36218
var c =
CreateCompilation
(@"
36242
var c =
CreateCompilation
(@"
36262
var c =
CreateCompilation
(@"
36288
var c =
CreateCompilation
(@"
36332
CSharpCompilation c =
CreateCompilation
(new[] { @"
36353
CSharpCompilation c =
CreateCompilation
(new[] { @"
36374
CSharpCompilation c =
CreateCompilation
(new[] { @"
36399
CSharpCompilation c =
CreateCompilation
(new[] { @"
36426
CSharpCompilation c =
CreateCompilation
(new[] { @"
36447
CSharpCompilation c =
CreateCompilation
(new[] { @"
36474
CSharpCompilation c =
CreateCompilation
(new[] { @"
36498
CSharpCompilation c =
CreateCompilation
(new[] { @"
36522
CSharpCompilation c =
CreateCompilation
(new[] { @"
36542
CSharpCompilation c =
CreateCompilation
(new[] { @"
36566
CSharpCompilation c =
CreateCompilation
(new[] { @"
36587
CSharpCompilation c =
CreateCompilation
(new[] { @"
36614
CSharpCompilation c =
CreateCompilation
(new[] { @"
36640
CSharpCompilation c =
CreateCompilation
(@"
36660
CSharpCompilation c =
CreateCompilation
(new[] { @"
36682
CSharpCompilation c =
CreateCompilation
(new[] { @"
36702
var libComp =
CreateCompilation
(@"
36709
var comp =
CreateCompilation
(new[] { @"
36731
var comp =
CreateCompilation
(new[] { @"
36758
var obliviousComp =
CreateCompilation
(@"
36765
var comp =
CreateCompilation
(new[] { @"
36823
CSharpCompilation c =
CreateCompilation
(new[] { @"
36847
CSharpCompilation c =
CreateCompilation
(new[] { @"
36871
CSharpCompilation c =
CreateCompilation
(new[] { @"
36905
CSharpCompilation c =
CreateCompilation
(new[] { @"
36935
CSharpCompilation c =
CreateCompilation
(new[] { @"
36964
CSharpCompilation c =
CreateCompilation
(new[] { @"
37045
var comp =
CreateCompilation
(new[] { source, DoesNotReturnAttributeDefinition });
37317
CSharpCompilation c =
CreateCompilation
(new[] { @"
37363
CSharpCompilation c =
CreateCompilation
(new[] { @"
37384
CSharpCompilation c =
CreateCompilation
(new[] { @"
37408
CSharpCompilation c =
CreateCompilation
(new[] { @"
37430
CSharpCompilation c =
CreateCompilation
(new[] { @"
37455
CSharpCompilation c =
CreateCompilation
(new[] { @"
37482
CSharpCompilation c =
CreateCompilation
(new[] { @"
37523
CSharpCompilation c =
CreateCompilation
(new[] { @"
37549
CSharpCompilation c =
CreateCompilation
(new[] { @"
37568
CSharpCompilation c =
CreateCompilation
(new[] { @"
37591
CSharpCompilation c =
CreateCompilation
(new[] { @"
37614
CSharpCompilation c =
CreateCompilation
(new[] { @"
37641
CSharpCompilation c =
CreateCompilation
(new[] { @"
37669
CSharpCompilation c =
CreateCompilation
(new[] { @"
37689
CSharpCompilation c =
CreateCompilation
(new[] { @"
37715
CSharpCompilation c =
CreateCompilation
(new[] { $@"
37812
var comp =
CreateCompilation
(source);
37838
CSharpCompilation c =
CreateCompilation
(new[] { @"
37872
CSharpCompilation c =
CreateCompilation
(new[] { @"
37888
CSharpCompilation c =
CreateCompilation
(new[] { @"
37927
CSharpCompilation c =
CreateCompilation
(new[] { @"
37966
CSharpCompilation c =
CreateCompilation
(new[] { @"
37997
CSharpCompilation c =
CreateCompilation
(new[] { @"
38026
CSharpCompilation c =
CreateCompilation
(new[] { @"
38055
CSharpCompilation c =
CreateCompilation
(new[] { @"
38106
var compilation2 =
CreateCompilation
("", references: new[] { compilation.EmitToImageReference() });
38113
CSharpCompilation c =
CreateCompilation
(new[] { @"
38156
CSharpCompilation c =
CreateCompilation
(new[] { @"
38187
CSharpCompilation c =
CreateCompilation
(new[] { @"
38205
CSharpCompilation c =
CreateCompilation
(new[] { @"
38236
CSharpCompilation c =
CreateCompilation
(new[] { @"
38270
CSharpCompilation c =
CreateCompilation
(new[] { @"
38293
CSharpCompilation c =
CreateCompilation
(new[] { @"
38319
CSharpCompilation c =
CreateCompilation
(new[] { @"
38348
CSharpCompilation c =
CreateCompilation
(new[] { @"
38382
CSharpCompilation c =
CreateCompilation
(new[] { @"
38500
CSharpCompilation c =
CreateCompilation
(new[] { @"
38532
CSharpCompilation c =
CreateCompilation
(new[] { @"
38564
CSharpCompilation c =
CreateCompilation
(new[] { @"
38589
CSharpCompilation c =
CreateCompilation
(new[] { @"
38614
CSharpCompilation c =
CreateCompilation
(new[] { @"
38643
CSharpCompilation c =
CreateCompilation
(new[] { @"
38672
CSharpCompilation c =
CreateCompilation
(new[] { @"
38693
CSharpCompilation c =
CreateCompilation
(new[] { @"
38712
CSharpCompilation c =
CreateCompilation
(new[] { @"
38785
CSharpCompilation c =
CreateCompilation
(new[] { @"
38809
CSharpCompilation c =
CreateCompilation
(new[] { @"
38833
CSharpCompilation c =
CreateCompilation
(new[] { @"
38856
CSharpCompilation c =
CreateCompilation
(new[] { @"
38875
CSharpCompilation c =
CreateCompilation
(@"
38894
CSharpCompilation c =
CreateCompilation
(new[] { @"
38913
CSharpCompilation c =
CreateCompilation
(new[] { @"
38937
CSharpCompilation c =
CreateCompilation
(new[] { @"
38976
CSharpCompilation c =
CreateCompilation
(new[] { @"
39008
CSharpCompilation c =
CreateCompilation
(new[] { @"
39027
CSharpCompilation c =
CreateCompilation
(new[] { @"
39208
CSharpCompilation c =
CreateCompilation
(new[] { @"
39235
CSharpCompilation c =
CreateCompilation
(@"
39253
CSharpCompilation c =
CreateCompilation
(new[] { @"
39280
CSharpCompilation c =
CreateCompilation
(new[] { @"
39304
CSharpCompilation c =
CreateCompilation
(new[] { @"
39329
CSharpCompilation c =
CreateCompilation
(new[] { @"
39355
CSharpCompilation c =
CreateCompilation
(new[] { @"
39379
CSharpCompilation c =
CreateCompilation
(new[] { @"
39398
CSharpCompilation c =
CreateCompilation
(new[] { @"
39421
CSharpCompilation c =
CreateCompilation
(new[] { @"
39460
CSharpCompilation c =
CreateCompilation
(new[] { @"
39485
CSharpCompilation c =
CreateCompilation
(new[] { @"
39505
CSharpCompilation c =
CreateCompilation
(new[] { @"
39530
CSharpCompilation c =
CreateCompilation
(new[] { @"
39549
CSharpCompilation c =
CreateCompilation
(new[] { @"
39613
var comp =
CreateCompilation
(
39684
var comp =
CreateCompilation
(
39742
var comp =
CreateCompilation
(
39809
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition, AllowNullAttributeDefinition, NotNullAttributeDefinition, MaybeNullAttributeDefinition });
39886
var comp =
CreateCompilation
(
39924
var comp =
CreateCompilation
(
39970
var comp =
CreateCompilation
(
40022
var comp =
CreateCompilation
(
40098
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40216
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40250
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40320
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source }, options: WithNullableEnable());
40334
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source0 }, options: WithNullableEnable());
40352
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
41285
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41330
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, source });
41754
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition });
42198
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
42250
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source });
43088
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43172
var comp =
CreateCompilation
(new[] { DoesNotReturnAttributeDefinition, source });
43488
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43517
var comp =
CreateCompilation
(new[] { MaybeNullWhenAttributeDefinition, source });
43916
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44105
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, AllowNullAttributeDefinition, source }, options: WithNullableEnable());
44197
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44257
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44297
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
44316
var comp =
CreateCompilation
(new[] { DisallowNullAttributeDefinition, source0 }, options: WithNullableEnable());
45876
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
45996
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46122
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable());
46220
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46246
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46264
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46281
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46314
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source0 }, options: WithNullableEnable());
46331
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
46374
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source }, options: WithNullableEnable());
46402
var c =
CreateCompilation
(new[] { @"
47243
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, source });
47272
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, MaybeNullWhenAttributeDefinition, source });
47327
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47403
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47449
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47468
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
47482
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source0 }, options: WithNullableEnable());
47499
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
47662
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
48829
var comp =
CreateCompilation
(new[] { MaybeNullAttributeDefinition, NotNullAttributeDefinition, source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
48872
var comp =
CreateCompilation
(new[] { AllowNullAttributeDefinition, DisallowNullAttributeDefinition, source }, options: WithNullableEnable());
48891
CSharpCompilation c =
CreateCompilation
(new[] { @"
48994
CSharpCompilation c =
CreateCompilation
(new[] { @"
49097
CSharpCompilation c =
CreateCompilation
(new[] { @"
49172
CSharpCompilation c =
CreateCompilation
(new[] { @"
49235
CSharpCompilation c =
CreateCompilation
(new[] { @"
49289
CSharpCompilation c =
CreateCompilation
(new[] { @"
49362
CSharpCompilation c =
CreateCompilation
(new[] { @"
49436
CSharpCompilation c =
CreateCompilation
(@"
49466
CSharpCompilation c =
CreateCompilation
(new[] { @"
49492
CSharpCompilation c =
CreateCompilation
(new[] { @"
49519
CSharpCompilation c =
CreateCompilation
(new[] { @"
49542
CSharpCompilation c =
CreateCompilation
(new[] { @"
49578
CSharpCompilation c =
CreateCompilation
(new[] { @"
49614
var compilation =
CreateCompilation
(new[] { @"
49755
var compilation =
CreateCompilation
(new[] { @"
49788
var compilation =
CreateCompilation
(new[] { @"
49814
var compilation =
CreateCompilation
(new[] { @"
49841
var compilation =
CreateCompilation
(new[] { @"
49866
CSharpCompilation c =
CreateCompilation
(@"
49899
CSharpCompilation c =
CreateCompilation
(@"
51265
CreateCompilation
(source).VerifyDiagnostics(
51975
CreateCompilation
(source).VerifyDiagnostics(
52248
CreateCompilation
(source).VerifyDiagnostics(
52276
CreateCompilation
(source).VerifyDiagnostics(
52321
CreateCompilation
(source).VerifyDiagnostics(
54274
CreateCompilation
(source, targetFramework: targetFramework, options: WithNullableEnable()).VerifyDiagnostics(
54296
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics();
54315
CreateCompilation
([source, NotNullWhenAttributeDefinition], options: WithNullableEnable()).VerifyDiagnostics(
54390
CSharpCompilation c =
CreateCompilation
(new[] { @"
54417
CSharpCompilation c =
CreateCompilation
(new[] { @"
54445
CSharpCompilation c =
CreateCompilation
(new[] { @"
54472
CSharpCompilation c =
CreateCompilation
(new[] { @"
54499
CSharpCompilation c =
CreateCompilation
(new[] { @"
54526
CSharpCompilation c =
CreateCompilation
(new[] { @"
54544
CSharpCompilation c =
CreateCompilation
(new[] { @"
54577
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54604
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54628
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54655
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54694
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54731
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54780
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54813
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54866
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
54942
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55023
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
55114
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55191
CreateCompilation
(source).VerifyDiagnostics(
55270
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55309
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55330
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55396
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55449
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55542
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55562
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55595
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55620
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55733
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55824
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55854
var comp =
CreateCompilation
(source, options: WithNullableEnable());
55864
var comp =
CreateCompilation
(@"
55885
var comp =
CreateCompilation
(@"
55910
var comp =
CreateCompilation
(@"
55935
var comp =
CreateCompilation
(@"
55954
var comp =
CreateCompilation
(@"
55972
var comp =
CreateCompilation
(@"
55993
var comp =
CreateCompilation
(@"
56021
var comp =
CreateCompilation
(@"
56046
var comp =
CreateCompilation
(@"
56065
var comp =
CreateCompilation
(@"
56080
var comp =
CreateCompilation
(@"
56095
var comp =
CreateCompilation
(@"
56156
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56186
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56219
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56256
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56291
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56325
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56356
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56384
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56457
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56488
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56517
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56552
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56629
var comp =
CreateCompilation
(source);
56667
var comp =
CreateCompilation
(source);
56699
var comp =
CreateCompilation
(source, options: WithNullableEnable());
56728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
56745
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56767
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56794
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56844
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56869
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56905
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56933
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
56959
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
56980
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57000
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
57026
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57073
var comp =
CreateCompilation
(source, options: WithNullableEnable(), references: new[] { ref0 });
57150
CreateCompilation
(source).VerifyDiagnostics(
57176
CreateCompilation
(source).VerifyDiagnostics(
57214
CreateCompilation
(source).VerifyDiagnostics(
57260
CreateCompilation
(source).VerifyDiagnostics();
57276
CreateCompilation
(source).VerifyDiagnostics(
57298
CreateCompilation
(source).VerifyDiagnostics();
57319
CreateCompilation
(source).VerifyDiagnostics(
57352
CreateCompilation
(source).VerifyDiagnostics(
57387
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57391
var comp =
CreateCompilation
(@"
57479
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57539
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57571
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57595
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57633
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
57648
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
57692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
57768
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57808
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57837
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
57864
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57892
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57920
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57948
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57976
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
57993
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58010
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58027
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58044
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
58077
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable(TestOptions.ReleaseExe));
58130
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58220
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58270
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58322
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58419
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58516
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58531
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
58611
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
58657
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58768
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
58794
CSharpCompilation c =
CreateCompilation
(new[] { @"
58860
CSharpCompilation c =
CreateCompilation
(new[] { @"
58909
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
58944
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
58968
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
59002
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
59034
CreateCompilation
(source).VerifyDiagnostics(
59043
CSharpCompilation c =
CreateCompilation
(new[] { @"
59090
var comp =
CreateCompilation
(
59127
var comp =
CreateCompilation
(
59154
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59182
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59248
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59280
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59313
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59347
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59375
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
59400
var comp =
CreateCompilation
(
59432
var comp =
CreateCompilation
(
59472
var comp =
CreateCompilation
(
59499
var comp =
CreateCompilation
(
59511
CSharpCompilation c =
CreateCompilation
(new[] { @"
59583
CSharpCompilation c =
CreateCompilation
(new[] { @"
59642
CSharpCompilation c =
CreateCompilation
(new[] { @"
59675
CSharpCompilation c =
CreateCompilation
(new[] { @"
59775
CSharpCompilation c =
CreateCompilation
(new[] { @"
59847
var c =
CreateCompilation
(source, parseOptions: TestOptions.Regular7);
59854
CSharpCompilation c =
CreateCompilation
(new[] { @"
59996
CSharpCompilation c =
CreateCompilation
(new[] { @"
60101
CSharpCompilation c =
CreateCompilation
(new[] { @"
60164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60203
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60238
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60280
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60305
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60327
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60350
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60382
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60424
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60487
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60531
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60549
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60573
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60595
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
60611
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60632
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60666
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60716
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60744
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60798
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60833
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60898
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60938
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
60971
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
60997
var comp =
CreateCompilation
(source);
61104
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61151
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61225
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
61258
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
61328
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61376
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61434
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61463
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61492
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61499
CSharpCompilation c =
CreateCompilation
(
61556
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61729
var comp =
CreateCompilation
(src);
61769
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61797
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
61810
CSharpCompilation c =
CreateCompilation
(new[] { @"
61891
CSharpCompilation c =
CreateCompilation
(new[] { @"
62068
CSharpCompilation c =
CreateCompilation
(new[] { @"
62130
CSharpCompilation c =
CreateCompilation
(new[] { @"
62166
CSharpCompilation c =
CreateCompilation
(new[] { @"
62339
CSharpCompilation c =
CreateCompilation
(new[] { @"
62388
CSharpCompilation c =
CreateCompilation
(new[] { @"
62417
CSharpCompilation c =
CreateCompilation
(new[] { @"
62488
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62530
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62549
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62572
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62608
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62641
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62677
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62708
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62745
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62777
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62804
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62848
var comp =
CreateCompilation
(source, options: WithNullableEnable());
62869
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62890
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
62913
var comp =
CreateCompilation
(source).VerifyDiagnostics(
62937
CSharpCompilation c =
CreateCompilation
(new[] { @"
62962
CSharpCompilation c =
CreateCompilation
(new[] { @"
63048
CSharpCompilation c =
CreateCompilation
(new[] { @"
63135
CSharpCompilation c =
CreateCompilation
(new[] { @"
63190
CSharpCompilation c =
CreateCompilation
(new[] { @"
63233
CSharpCompilation c =
CreateCompilation
(new[] { @"
63266
CSharpCompilation c =
CreateCompilation
(new[] { @"
63321
CSharpCompilation c =
CreateCompilation
(new[] { @"
63360
CSharpCompilation c =
CreateCompilation
(new[] { @"
63421
CSharpCompilation c =
CreateCompilation
(new[] { @"
63470
CSharpCompilation c =
CreateCompilation
(new[] { @"
63530
CSharpCompilation c =
CreateCompilation
(new[] { @"
63578
CSharpCompilation c =
CreateCompilation
(new[] { @"
63636
CSharpCompilation c =
CreateCompilation
(new[] { @"
63688
CSharpCompilation c =
CreateCompilation
(new[] { @"
63743
CSharpCompilation c =
CreateCompilation
(new[] { @"
63810
CSharpCompilation c =
CreateCompilation
(new[] { @"
63865
CSharpCompilation c =
CreateCompilation
(new[] { @"
63908
CSharpCompilation notAnnotated =
CreateCompilation
(@"
63925
CSharpCompilation c =
CreateCompilation
(new[] { @"
63968
CSharpCompilation c =
CreateCompilation
(new[] { @"
64003
CSharpCompilation c =
CreateCompilation
(new[] { @"
64054
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64128
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64157
var comp =
CreateCompilation
(source);
64197
var comp =
CreateCompilation
(@"
64221
var comp =
CreateCompilation
(@"
64245
var comp =
CreateCompilation
("""
64296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
64501
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64529
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64565
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64621
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64646
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64666
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64686
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64744
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64793
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64817
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
64855
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
64902
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64945
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
64984
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65009
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65326
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65411
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65440
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65543
var comp =
CreateCompilation
(
65577
var comp =
CreateCompilation
(source, options: WithNullableEnable());
65599
var comp =
CreateCompilation
(
65644
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65664
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65729
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65775
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65810
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65841
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65948
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
65969
var comp1 =
CreateCompilation
(source1).VerifyDiagnostics();
66022
CreateCompilation
(source).VerifyDiagnostics();
66055
CreateCompilation
(source).VerifyDiagnostics();
66089
CreateCompilation
(source).VerifyDiagnostics();
66117
CreateCompilation
(source).VerifyDiagnostics(
66148
CreateCompilation
(source).VerifyDiagnostics(
66184
CreateCompilation
(source).VerifyDiagnostics(
66220
CreateCompilation
(source).VerifyDiagnostics(
66250
CreateCompilation
(source).VerifyDiagnostics(
66274
CreateCompilation
(source).VerifyDiagnostics(
66300
CreateCompilation
(source).VerifyDiagnostics(
66329
CreateCompilation
(source).VerifyDiagnostics(
66358
CreateCompilation
(source).VerifyDiagnostics();
66381
CreateCompilation
(source).VerifyDiagnostics(
66409
CreateCompilation
(source).VerifyDiagnostics(
66437
CreateCompilation
(source).VerifyDiagnostics(
66473
CreateCompilation
(source).VerifyDiagnostics(
66502
CreateCompilation
(source).VerifyDiagnostics(
66543
CreateCompilation
(source).VerifyDiagnostics();
66572
CreateCompilation
(source).VerifyDiagnostics(
66606
CreateCompilation
(source).VerifyDiagnostics();
66635
CreateCompilation
(source).VerifyDiagnostics();
66664
CreateCompilation
(source).VerifyDiagnostics();
66693
CreateCompilation
(source).VerifyDiagnostics();
66727
CreateCompilation
(source).VerifyDiagnostics();
66764
CreateCompilation
(source).VerifyDiagnostics();
66791
CreateCompilation
(source).VerifyDiagnostics(
66827
CreateCompilation
(source).VerifyDiagnostics(
66869
CreateCompilation
(source).VerifyDiagnostics(
66908
CreateCompilation
(source).VerifyDiagnostics(
66958
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
67035
CSharpCompilation c =
CreateCompilation
(new[] { @"
67076
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
67105
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67152
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67199
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67246
var comp =
CreateCompilation
(source, options: WithNullableEnable());
67271
CSharpCompilation c =
CreateCompilation
(new[] { @"
67349
CSharpCompilation c =
CreateCompilation
(new[] { @"
67388
CSharpCompilation c =
CreateCompilation
(new[] { @"
67427
CSharpCompilation c =
CreateCompilation
(new[] { @"
67466
CSharpCompilation c =
CreateCompilation
(new[] { @"
67505
CSharpCompilation c =
CreateCompilation
(new[] { @"
67545
CSharpCompilation c =
CreateCompilation
(new[] { @"
67585
CSharpCompilation c =
CreateCompilation
(new[] { @"
67610
CSharpCompilation c =
CreateCompilation
(new[] { @"
67652
CSharpCompilation c =
CreateCompilation
(new[] { @"
67705
CSharpCompilation c =
CreateCompilation
(new[] { @"
67752
var compilation =
CreateCompilation
("""
67774
CSharpCompilation c =
CreateCompilation
(new[] { @"
67812
CSharpCompilation c =
CreateCompilation
(new[] { @"
67849
CSharpCompilation c =
CreateCompilation
(new[] { @"
67886
CSharpCompilation c =
CreateCompilation
(new[] { @"
67923
CSharpCompilation c =
CreateCompilation
(new[] { @"
67961
CSharpCompilation c =
CreateCompilation
(new[] { @"
67999
CSharpCompilation c =
CreateCompilation
(new[] { @"
68024
CSharpCompilation c =
CreateCompilation
(new[] { @"
68063
CSharpCompilation c =
CreateCompilation
(new[] { @"
68107
CSharpCompilation c =
CreateCompilation
(new[] { @"
68159
CSharpCompilation c =
CreateCompilation
(new[] { @"
68244
CSharpCompilation c =
CreateCompilation
(new[] { @"
68271
CSharpCompilation c =
CreateCompilation
(new[] { @"
68296
CSharpCompilation c =
CreateCompilation
(new[] { @"
68322
CSharpCompilation c =
CreateCompilation
(new[] { @"
68349
CSharpCompilation c =
CreateCompilation
(new[] { @"
68385
CSharpCompilation c =
CreateCompilation
(new[] { @"
68415
CSharpCompilation c =
CreateCompilation
(new[] { @"
68451
CSharpCompilation c =
CreateCompilation
(new[] { @"
68498
CSharpCompilation c =
CreateCompilation
(new[] { @"
68572
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68605
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68639
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68669
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68695
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68732
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68759
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68793
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68829
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68862
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68896
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
68930
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
68961
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
68995
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69026
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69054
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, NotNullAttributeDefinition });
69082
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69110
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69138
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute, MaybeNullAttributeDefinition });
69161
var comp =
CreateCompilation
(new[] { code, InterpolatedStringHandlerAttribute });
69196
var comp =
CreateCompilation
(new[] { code, handler, InterpolatedStringHandlerArgumentAttribute });
69207
CSharpCompilation c =
CreateCompilation
(new[] { @"
69233
CSharpCompilation c =
CreateCompilation
(new[] { @"
69301
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69335
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69384
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69405
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69444
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69478
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69521
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69564
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69617
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69660
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69713
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69756
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69809
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69851
var comp =
CreateCompilation
(source, options: WithNullableEnable());
69903
var comp =
CreateCompilation
(source, options: WithNullableEnable());
70945
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
70987
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71032
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71063
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71107
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71150
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71181
CSharpCompilation c =
CreateCompilation
(new[] { @"
71214
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71235
var comp0 =
CreateCompilation
(source0, options: WithNullableEnable());
71249
CSharpCompilation c =
CreateCompilation
(new[] { @"
71276
CSharpCompilation c =
CreateCompilation
(new[] { @"
71312
CSharpCompilation c =
CreateCompilation
(new[] { @"
71348
var comp =
CreateCompilation
(
71385
var comp =
CreateCompilation
(source, options: WithNullableEnable());
71418
var comp =
CreateCompilation
(
71459
var comp =
CreateCompilation
(
71496
var comp =
CreateCompilation
(
71533
var comp =
CreateCompilation
(
71566
var comp =
CreateCompilation
(
71598
var comp =
CreateCompilation
(
71649
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71684
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71711
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71737
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71766
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71792
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71824
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71852
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
71881
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithFeature("run-nullable-analysis", "always"), options: WithNullableEnable());
72105
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72136
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72144
CSharpCompilation c =
CreateCompilation
(new[] { @"
72170
CSharpCompilation c =
CreateCompilation
(new[] { @"
72196
CSharpCompilation c =
CreateCompilation
(new[] { @"
72390
CSharpCompilation c =
CreateCompilation
(new[] { @"
72442
CSharpCompilation c =
CreateCompilation
(new[] { @"
72487
CSharpCompilation c =
CreateCompilation
(new[] { @"
72526
CSharpCompilation c =
CreateCompilation
(new[] { @"
72568
CSharpCompilation c =
CreateCompilation
(new[] { @"
72607
CSharpCompilation c =
CreateCompilation
(new[] { @"
72657
CSharpCompilation c =
CreateCompilation
(new[] { @"
72706
CSharpCompilation c =
CreateCompilation
(new[] { @"
72768
CSharpCompilation c =
CreateCompilation
(new[] { @"
72820
CSharpCompilation c =
CreateCompilation
(new[] { @"
72884
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72936
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable());
72976
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
72983
CSharpCompilation c =
CreateCompilation
(new[] { @"
73017
CSharpCompilation c =
CreateCompilation
(new[] { @"
73068
CSharpCompilation c =
CreateCompilation
(new[] { @"
73103
CSharpCompilation c =
CreateCompilation
(new[] { @"
73154
CSharpCompilation c =
CreateCompilation
(new[] { @"
73220
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73236
CSharpCompilation c =
CreateCompilation
(new[] { @"
73318
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73325
CSharpCompilation c =
CreateCompilation
(new[] { @"
73478
CSharpCompilation c =
CreateCompilation
(new[] { @"
73534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73590
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73634
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73657
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73681
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73713
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73759
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73793
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73821
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73847
var comp =
CreateCompilation
(source, options: WithNullableEnable());
73864
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73898
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73953
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
73993
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74027
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74062
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74102
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74164
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74217
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74254
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
74267
CSharpCompilation c =
CreateCompilation
(new[] { @"
74369
CSharpCompilation c =
CreateCompilation
(
74456
CSharpCompilation c =
CreateCompilation
(new[] { @"
74563
CSharpCompilation c =
CreateCompilation
(new[] { @"
74612
CSharpCompilation c =
CreateCompilation
(new[] { @"
74660
CSharpCompilation c =
CreateCompilation
(new[] { @"
74707
CSharpCompilation c =
CreateCompilation
(new[] { @"
74755
CSharpCompilation c =
CreateCompilation
(new[] { @"
74797
CSharpCompilation c =
CreateCompilation
(new[] { @"
74839
CSharpCompilation c =
CreateCompilation
(new[] { @"
74919
CSharpCompilation c =
CreateCompilation
(new[] { @"
75020
CSharpCompilation c =
CreateCompilation
(new[] { @"
75058
CSharpCompilation c =
CreateCompilation
(
75111
CSharpCompilation c =
CreateCompilation
(new[] { @"
75204
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75245
var comp =
CreateCompilation
(source);
75278
var comp =
CreateCompilation
(source);
75312
var comp =
CreateCompilation
(source);
75352
var comp =
CreateCompilation
(source);
75393
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75424
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
75454
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition });
75461
CSharpCompilation c =
CreateCompilation
(new[] { @"
75546
CSharpCompilation c =
CreateCompilation
(new[] { @"
75591
CSharpCompilation c =
CreateCompilation
(new[] { @"
75623
CSharpCompilation c =
CreateCompilation
(new[] { @"
75672
CSharpCompilation c =
CreateCompilation
(new[] { @"
75751
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75815
var comp =
CreateCompilation
(source, options: WithNullableEnable());
75967
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
75993
CSharpCompilation c =
CreateCompilation
(new[] { @"
76076
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76095
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76117
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76137
var comp2 =
CreateCompilation
(source2, references: new[] { comp.EmitToImageReference() }, options: WithNullableEnable());
76165
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76199
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76223
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76245
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76272
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76295
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76324
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
76342
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76357
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics();
76548
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76568
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76588
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76613
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76629
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76650
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76723
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76774
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76827
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76849
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
76881
var comp =
CreateCompilation
(source.Replace("OPERATOR", op), options: WithNullableEnable());
76918
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76954
var comp =
CreateCompilation
(source, options: WithNullableEnable());
76979
var comp =
CreateCompilation
(source, options: WithNullableEnable());
77070
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77134
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
77171
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77208
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77213
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77222
CSharpCompilation c0 =
CreateCompilation
(new[] { @"
77249
CSharpCompilation c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77254
c =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
77283
var compilation =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, options: WithNullableEnable());
77419
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77450
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77477
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77483
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77584
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77600
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77612
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77618
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77645
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77651
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77752
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77771
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77784
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77790
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
77893
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
77912
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
77925
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
77931
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
78039
CSharpCompilation c =
CreateCompilation
(new[] { lib, source1, source2 },
78070
CSharpCompilation c1 =
CreateCompilation
(new[] { lib },
78086
c =
CreateCompilation
(new[] { source2 }, new[] { c1.ToMetadataReference() },
78102
c =
CreateCompilation
(new[] { source2 }, new[] { c1.EmitToImageReference() },
78131
var comp =
CreateCompilation
(
78155
var comp =
CreateCompilation
(
78191
var comp =
CreateCompilation
(
78227
var comp =
CreateCompilation
(
78286
CSharpCompilation c =
CreateCompilation
(new[] { source },
78332
var comp =
CreateCompilation
(source);
78380
var comp =
CreateCompilation
(source);
78404
var comp =
CreateCompilation
(source);
78425
var comp =
CreateCompilation
(source);
78454
var comp =
CreateCompilation
(source);
78922
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable()).VerifyDiagnostics(
78949
var compilation =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
78970
var compA =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular7);
78981
var compB =
CreateCompilation
(
79009
var comp =
CreateCompilation
(
79045
var comp =
CreateCompilation
(
79175
var comp =
CreateCompilation
(
79239
var comp =
CreateCompilation
(
79295
var comp =
CreateCompilation
(
79321
comp =
CreateCompilation
(
79345
var comp =
CreateCompilation
(
79399
var comp =
CreateCompilation
(
79425
var comp =
CreateCompilation
(
79514
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79538
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79580
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe);
79606
var comp =
CreateCompilation
(source);
79634
var comp =
CreateCompilation
(
79668
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79734
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79771
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79797
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79826
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79855
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79895
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
79932
var comp =
CreateCompilation
(
79963
var comp =
CreateCompilation
(
80031
var comp =
CreateCompilation
(
80062
var comp =
CreateCompilation
(
80092
var comp =
CreateCompilation
(
80125
var comp =
CreateCompilation
(
80178
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80245
var comp =
CreateCompilation
(
80289
var comp =
CreateCompilation
(
80353
var comp =
CreateCompilation
(src, options: WithNullableEnable(TestOptions.DebugDll));
80380
var comp =
CreateCompilation
(
80425
var comp =
CreateCompilation
(
80451
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80491
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80618
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80689
var comp =
CreateCompilation
(source, options: WithNullableEnable());
80719
var comp =
CreateCompilation
(
80725
comp =
CreateCompilation
(
80731
comp =
CreateCompilation
(
80757
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80777
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80796
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80816
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
80820
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
80824
comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
80865
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
80937
var comp =
CreateCompilation
(
80960
var comp =
CreateCompilation
(
80983
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
80992
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81014
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
81020
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81062
var comp =
CreateCompilation
(
81097
var comp =
CreateCompilation
(
81122
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81145
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81174
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81201
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81226
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
81232
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81252
var comp =
CreateCompilation
(
81263
comp =
CreateCompilation
(
81274
comp =
CreateCompilation
(
81308
var comp =
CreateCompilation
(
81317
comp =
CreateCompilation
(
81344
var comp =
CreateCompilation
(
81382
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81400
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(),
81426
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81452
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81495
var comp0 =
CreateCompilation
(
81514
var comp1 =
CreateCompilation
(
81534
var comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
81570
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81637
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81773
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
81868
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
81908
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7, skipUsesIsNullable: true);
81955
var libComp =
CreateCompilation
(new[] { libSource });
81975
var comp =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() }, parseOptions: TestOptions.Regular7_3);
81982
var comp2 =
CreateCompilation
(source, references: new[] { libComp.EmitToImageReference() });
82007
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82052
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
82080
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82118
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable());
82162
var comp =
CreateCompilation
(new[] { source, IsExternalInitTypeDefinition }, options: WithNullableEnable());
82210
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable());
82255
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82297
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82330
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82395
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition }, options: WithNullableEnable()).VerifyDiagnostics(
82424
var comp =
CreateCompilation
(
82442
var comp =
CreateCompilation
(
82497
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82519
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82544
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82572
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82597
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82619
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82644
var comp =
CreateCompilation
(source, options: WithNullableEnable());
82662
var comp =
CreateCompilation
(
82693
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82715
var comp =
CreateCompilation
(
82736
var comp =
CreateCompilation
(
82751
var comp =
CreateCompilation
(
82782
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82809
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82839
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82874
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82918
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82953
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82976
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
82999
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83022
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83047
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83072
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83093
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83113
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83180
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeReleaseDll));
83314
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83361
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
83400
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83426
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83466
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83490
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83515
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83534
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83550
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83706
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83744
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83793
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83824
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
83907
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84022
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84100
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84175
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84262
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
84352
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84425
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84485
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84542
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84574
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84596
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84624
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84655
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84690
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84765
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84818
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84847
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
84876
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84929
var comp =
CreateCompilation
(source, options: WithNullableEnable());
84973
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85024
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85058
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85098
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85135
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85176
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85220
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85282
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85385
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85461
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85540
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85616
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85672
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85717
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85748
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85785
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85811
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85837
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85866
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85900
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85924
var comp =
CreateCompilation
(source, options: WithNullableEnable());
85968
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86003
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86051
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86114
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86142
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86168
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86191
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86224
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86258
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86336
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86374
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86400
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86425
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86455
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86484
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86524
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86557
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86583
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86613
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86638
var comp =
CreateCompilation
(source, options: WithNullableEnable());
86693
var comp =
CreateCompilation
(source);
86740
var comp =
CreateCompilation
(source);
86808
var comp =
CreateCompilation
(source);
86876
var comp =
CreateCompilation
(source);
86914
var comp =
CreateCompilation
(source);
86942
var comp =
CreateCompilation
(source);
86975
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithExtendedPropertyPatterns);
86996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87022
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87052
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87075
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87103
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87157
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87203
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87233
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87260
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87285
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87319
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87345
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87368
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87395
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87429
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87466
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87493
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87523
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87550
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87584
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87620
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87655
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87685
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87716
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87746
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87782
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87828
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: WithNullableEnable());
87853
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87893
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
87972
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88002
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88054
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88095
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88130
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
88166
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88190
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88220
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88247
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88280
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88309
var comp =
CreateCompilation
(new[] { source }, new[] { ref0 }, options: WithNullableEnable());
88333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88353
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88379
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88408
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88439
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88469
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88527
var comp =
CreateCompilation
(source);
88550
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88594
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88643
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88695
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88724
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88755
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88777
var comp =
CreateCompilation
(source, options: WithNullableEnable());
88820
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88879
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), targetFramework: TargetFramework.Mscorlib46);
88984
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
88990
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89016
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89044
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89047
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89071
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89096
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89116
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89133
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89144
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89146
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89157
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
89159
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89171
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89198
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89243
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89284
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89315
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
89337
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
89413
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89512
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89641
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89718
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89783
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89869
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89926
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
89970
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90002
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90041
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90073
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90196
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90220
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90249
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90312
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90375
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90419
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90470
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90514
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90549
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90668
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90736
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90792
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
90846
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90877
var comp =
CreateCompilation
(source, options: WithNullableEnable());
90957
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
91027
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91091
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91155
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91193
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91235
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
91322
CreateCompilation
(source, options: WithNullableEnable(TestOptions.DebugExe)).VerifyDiagnostics(
91392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91598
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
91625
var comp =
CreateCompilation
(src);
91661
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91701
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91740
var comp =
CreateCompilation
(source, options: WithNullableEnable());
91767
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable());
91795
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
91819
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91846
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91875
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91913
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91945
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
91974
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92004
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92031
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92061
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92091
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92118
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92150
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92177
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92211
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92241
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92265
var comp =
CreateCompilation
(source);
92292
var comp =
CreateCompilation
(source);
92772
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92797
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular9);
92812
CreateCompilation
(source).VerifyDiagnostics(
92838
CreateCompilation
(source).VerifyDiagnostics(
92858
var comp =
CreateCompilation
(
92884
var comp =
CreateCompilation
(
92919
var comp =
CreateCompilation
(
92943
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
92965
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
92987
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93001
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93023
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93043
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93091
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93114
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93138
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93158
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93209
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93231
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93253
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93275
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93315
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93376
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93396
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93417
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93442
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93464
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93530
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93569
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93599
var comp =
CreateCompilation
(
93632
var comp =
CreateCompilation
(
93659
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93684
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93715
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93740
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93774
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93788
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93810
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93831
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
93861
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(TestOptions.UnsafeDebugDll));
93916
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
93941
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
93954
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94008
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
94040
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94069
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
94133
var comp =
CreateCompilation
(
94204
var comp =
CreateCompilation
(
94252
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
94266
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { ref0 });
94311
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0, ref1 });
94362
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94396
var comp =
CreateCompilation
(source);
94425
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94449
var comp =
CreateCompilation
(
94473
var comp =
CreateCompilation
(
94497
var comp =
CreateCompilation
(
94521
var comp =
CreateCompilation
(
94544
var comp =
CreateCompilation
(
94565
var comp =
CreateCompilation
(
94594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94622
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94652
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94671
var comp =
CreateCompilation
(
94690
var comp =
CreateCompilation
(
94711
var comp =
CreateCompilation
(
94743
var comp =
CreateCompilation
(
94781
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94809
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94844
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94876
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94912
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94940
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
94985
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95055
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95128
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95194
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95229
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95256
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95271
var comp0 =
CreateCompilation
(source0);
95287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
95310
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95338
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95370
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95409
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95445
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95492
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95539
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95572
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95609
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95653
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
95687
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95722
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95752
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95786
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95822
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95850
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95873
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95901
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95937
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95967
var comp =
CreateCompilation
(source, options: WithNullableEnable());
95994
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96026
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96064
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96106
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96141
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96172
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96201
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96234
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96263
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96307
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96383
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96423
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96457
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96488
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96655
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96707
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96758
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96800
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96852
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96888
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96915
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96942
var comp =
CreateCompilation
(source, options: WithNullableEnable());
96974
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97015
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97118
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97159
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97189
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97218
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97239
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97261
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97283
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97306
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97334
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97360
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97428
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97478
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97510
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97543
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97573
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97600
var comp =
CreateCompilation
(source, options: WithNullableEnable());
97642
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97667
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97713
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
97754
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97814
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97871
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
97912
var comp =
CreateCompilation
(source);
97957
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97971
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
97979
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8, skipUsesIsNullable: true);
97982
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular9, skipUsesIsNullable: true);
98005
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98038
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98068
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98108
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98136
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98170
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98210
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98241
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98266
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98300
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98334
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
98364
var comp =
CreateCompilation
(new[] { source, NullableAttributeDefinition }, parseOptions: TestOptions.Regular9);
98405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98431
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98447
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() })
98473
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98489
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
98516
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98532
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
98599
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
98705
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
98768
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98772
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
98794
var comp4 =
CreateCompilation
(new[] { source1 });
98796
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
98829
var comp =
CreateCompilation
(new[] { source },
98881
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98896
var comp2 =
CreateCompilation
(new[] { source2 },
98950
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
98952
var comp2 =
CreateCompilation
(NullableContextAttributeDefinition);
98967
var comp3 =
CreateCompilation
(new[] { source3 },
99022
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99038
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
99099
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99127
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99160
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99200
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99235
var comp =
CreateCompilation
(source);
99251
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99254
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7_3);
99257
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
99280
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99305
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99393
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
99456
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99460
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings), parseOptions: TestOptions.Regular8);
99482
var comp4 =
CreateCompilation
(new[] { source1 });
99484
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
99560
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
99562
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
99576
var comp3 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
99579
var comp4 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.ToMetadataReference() });
99582
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp1.EmitToImageReference() });
99585
var comp6 =
CreateCompilation
(new[] { source1 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
99595
var comp7 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp6.ToMetadataReference() });
99598
var comp9 =
CreateCompilation
(new[] { source2 }, options: WithNullableDisable(), references: new[] { comp6.ToMetadataReference() });
99665
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99742
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99825
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
99908
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
99985
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100059
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100115
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100197
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100233
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100237
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100268
var comp4 =
CreateCompilation
(new[] { source1 });
100270
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100282
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100330
var comp1 =
CreateCompilation
(new[] { source2, source1 }, options: WithNullableEnable());
100352
var comp2 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
100356
var comp3 =
CreateCompilation
(new[] { source2 }, references: new[] { comp2.ToMetadataReference() }, options: WithNullable(NullableContextOptions.Warnings));
100379
var comp4 =
CreateCompilation
(new[] { source1 });
100381
var comp5 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp4.ToMetadataReference() });
100387
var comp6 =
CreateCompilation
(new[] { source2 }, references: new[] { comp4.ToMetadataReference() });
100405
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100443
var comp =
CreateCompilation
(new[] { source });
100486
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100530
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3);
100551
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
100583
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100606
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100650
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100692
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100733
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
100775
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100870
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
100959
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101031
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101058
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101084
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101107
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101145
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101228
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101344
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101408
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
101412
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { reference });
101489
var comp1 =
CreateCompilation
(source1, options: WithNullableEnable());
101493
var comp2 =
CreateCompilation
(source2, options: WithNullable(NullableContextOptions.Warnings), references: new[] { reference });
101529
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
101555
var compilation =
CreateCompilation
(source);
101589
var compilation =
CreateCompilation
(source);
101656
var compilation =
CreateCompilation
(source);
101722
var compilation =
CreateCompilation
(source);
101755
var compilation =
CreateCompilation
(source);
101778
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101806
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101835
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.Mscorlib46);
101868
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101914
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101964
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, source }, targetFramework: TargetFramework.Mscorlib46);
101984
var compilation =
CreateCompilation
(new[] { Tuple2NonNullable, TupleRestNonNullable, source }, targetFramework: TargetFramework.Mscorlib46, parseOptions: TestOptions.Regular7_3, skipUsesIsNullable: true);
102041
var comp1 =
CreateCompilation
(source1);
102064
var comp2 =
CreateCompilation
(source2);
102093
var comp1 =
CreateCompilation
(source1);
102120
var comp1 =
CreateCompilation
(source1);
102147
var comp1 =
CreateCompilation
(source1);
102174
var comp1 =
CreateCompilation
(source1);
102201
var comp1 =
CreateCompilation
(source1);
102228
var comp1 =
CreateCompilation
(source1);
102270
var comp1 =
CreateCompilation
(source1);
102301
var comp1 =
CreateCompilation
(source1);
102335
var comp2 =
CreateCompilation
(source2);
102375
var comp1 =
CreateCompilation
(source1);
102413
var comp1 =
CreateCompilation
(source1);
102451
var comp1 =
CreateCompilation
(source1);
102479
var comp1 =
CreateCompilation
(source1);
102507
var comp1 =
CreateCompilation
(source1);
102535
var comp1 =
CreateCompilation
(source1);
102574
var comp1 =
CreateCompilation
(source1);
102601
var comp1 =
CreateCompilation
(source1);
102623
var comp2 =
CreateCompilation
(source2);
102651
var comp1 =
CreateCompilation
(source1);
102677
var comp1 =
CreateCompilation
(source1);
102703
var comp1 =
CreateCompilation
(source1);
102729
var comp1 =
CreateCompilation
(source1);
102755
var comp1 =
CreateCompilation
(source1);
102781
var comp1 =
CreateCompilation
(source1);
102822
var comp1 =
CreateCompilation
(source1);
102852
var comp1 =
CreateCompilation
(source1);
102885
var comp2 =
CreateCompilation
(source2);
102924
var comp1 =
CreateCompilation
(source1);
102961
var comp1 =
CreateCompilation
(source1);
102998
var comp1 =
CreateCompilation
(source1);
103025
var comp1 =
CreateCompilation
(source1);
103052
var comp1 =
CreateCompilation
(source1);
103079
var comp1 =
CreateCompilation
(source1);
103116
var comp1 =
CreateCompilation
(source1);
103148
var comp1 =
CreateCompilation
(source1);
103179
var comp1 =
CreateCompilation
(source1);
103222
var comp1 =
CreateCompilation
(source1);
103266
var comp1 =
CreateCompilation
(source1);
103307
var comp1 =
CreateCompilation
(source1);
103327
var comp2 =
CreateCompilation
(source2);
103352
var comp3 =
CreateCompilation
(source3);
103381
var comp1 =
CreateCompilation
(source1);
103401
var comp2 =
CreateCompilation
(source2);
103432
var comp1 =
CreateCompilation
(source1);
103452
var comp2 =
CreateCompilation
(source2);
103479
var comp3 =
CreateCompilation
(source3);
103510
var comp1 =
CreateCompilation
(source1);
103531
var comp2 =
CreateCompilation
(source2);
103559
var comp1 =
CreateCompilation
(source1);
103585
var comp2 =
CreateCompilation
(source2);
103612
var comp3 =
CreateCompilation
(source3);
103646
var comp1 =
CreateCompilation
(source1);
103669
var comp2 =
CreateCompilation
(source2);
103693
var comp3 =
CreateCompilation
(source3);
103726
var comp1 =
CreateCompilation
(source1);
103750
var comp2 =
CreateCompilation
(source2);
103775
var comp3 =
CreateCompilation
(source3);
103808
var comp1 =
CreateCompilation
(source1);
103835
var comp2 =
CreateCompilation
(source2);
103863
var comp3 =
CreateCompilation
(source3);
103897
var comp1 =
CreateCompilation
(source1);
103923
var comp2 =
CreateCompilation
(source2);
103950
var comp3 =
CreateCompilation
(source3);
103984
var comp1 =
CreateCompilation
(source1);
104007
var comp2 =
CreateCompilation
(source2);
104031
var comp3 =
CreateCompilation
(source3);
104064
var comp1 =
CreateCompilation
(source1);
104091
var comp2 =
CreateCompilation
(source2);
104119
var comp3 =
CreateCompilation
(source3);
104156
var comp1 =
CreateCompilation
(source1);
104181
var comp2 =
CreateCompilation
(source2);
104207
var comp3 =
CreateCompilation
(source3);
104240
var comp1 =
CreateCompilation
(source1);
104260
var comp1 =
CreateCompilation
(source1);
104282
var comp1 =
CreateCompilation
(source1);
104304
var comp2 =
CreateCompilation
(source2);
104330
var comp1 =
CreateCompilation
(source1);
104351
var comp2 =
CreateCompilation
(source2);
104376
var comp1 =
CreateCompilation
(source1);
104397
var comp1 =
CreateCompilation
(source1);
104427
var comp1 =
CreateCompilation
(source1);
104453
var comp1 =
CreateCompilation
(source1);
104482
var comp1 =
CreateCompilation
(source1);
104514
var comp1 =
CreateCompilation
(source1);
104540
var comp1 =
CreateCompilation
(source1);
104569
var comp1 =
CreateCompilation
(source1);
104597
var comp1 =
CreateCompilation
(source1);
104617
var comp1 =
CreateCompilation
(source1);
104639
var comp1 =
CreateCompilation
(source1);
104666
var comp1 =
CreateCompilation
(source1);
104691
var comp1 =
CreateCompilation
(source1);
104712
var comp1 =
CreateCompilation
(source1);
104742
var comp1 =
CreateCompilation
(source1);
104769
var comp1 =
CreateCompilation
(source1);
104798
var comp1 =
CreateCompilation
(source1);
104829
var comp1 =
CreateCompilation
(source1);
104855
var comp1 =
CreateCompilation
(source1);
104884
var comp1 =
CreateCompilation
(source1);
104923
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
105003
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
105019
var comp2 =
CreateCompilation
(new[] { source2 }, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
105076
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable());
105078
var comp2 =
CreateCompilation
(NullableAttributeDefinition);
105094
var comp3 =
CreateCompilation
(new[] { source3 }, options: WithNullableEnable(),
105151
var comp =
CreateCompilation
(new[] { source });
105197
var comp1 =
CreateCompilation
(new[] { source1 });
105248
var comp1 =
CreateCompilation
(new[] { source1 });
105290
var comp1 =
CreateCompilation
(new[] { source1 });
105333
var comp1 =
CreateCompilation
(new[] { source1 });
105372
var comp1 =
CreateCompilation
(new[] { source1 });
105412
var comp1 =
CreateCompilation
(new[] { source1 });
105452
var comp1 =
CreateCompilation
(new[] { source1 });
105498
var comp1 =
CreateCompilation
(new[] { source1 });
105535
var comp1 =
CreateCompilation
(new[] { source1 });
105565
var comp1 =
CreateCompilation
(new[] { source1 });
105651
var comp1 =
CreateCompilation
(new[] { source1 });
105723
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
105759
var comp1 =
CreateCompilation
(new[] { source1 });
105792
var comp1 =
CreateCompilation
(new[] { source1 });
105825
var comp1 =
CreateCompilation
(new[] { source1 });
105855
var comp1 =
CreateCompilation
(new[] { source1 });
105885
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105912
var comp1 =
CreateCompilation
(new[] { source1 });
105933
var comp1 =
CreateCompilation
(new[] { source1 }, parseOptions: TestOptions.Regular8);
105962
var comp =
CreateCompilation
(source);
105987
var comp1 =
CreateCompilation
(new[] { source }, options: options);
106016
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
106027
var comp2 =
CreateCompilation
(new[] { source }, options: WithNullableDisable());
106091
var comp1 =
CreateCompilation
(new[] { source1 });
106232
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { reference }, parseOptions: TestOptions.Regular8);
106274
var comp1 =
CreateCompilation
(new[] { source1 });
106305
var comp1 =
CreateCompilation
(new[] { source1 });
106336
var comp1 =
CreateCompilation
(new[] { source1 });
106368
var comp1 =
CreateCompilation
(new[] { source1 });
106401
var comp1 =
CreateCompilation
(new[] { source1 });
106434
var comp1 =
CreateCompilation
(new[] { source1 });
106466
var comp1 =
CreateCompilation
(new[] { source1 });
106498
var comp1 =
CreateCompilation
(new[] { source1 });
106531
var comp1 =
CreateCompilation
(new[] { source1 });
106561
var comp1 =
CreateCompilation
(new[] { source1 });
106592
var comp1 =
CreateCompilation
(new[] { source1 });
106623
var comp1 =
CreateCompilation
(new[] { source1 });
106655
var comp1 =
CreateCompilation
(new[] { source1 });
106687
var comp1 =
CreateCompilation
(new[] { source1 });
106720
var comp1 =
CreateCompilation
(new[] { source1 });
106751
var comp1 =
CreateCompilation
(new[] { source1 });
106783
var comp1 =
CreateCompilation
(new[] { source1 });
106814
var comp1 =
CreateCompilation
(new[] { source1 });
106846
var comp1 =
CreateCompilation
(new[] { source1 });
106876
var comp1 =
CreateCompilation
(new[] { source1 });
106906
var comp1 =
CreateCompilation
(new[] { source1 });
106936
var comp1 =
CreateCompilation
(new[] { source1 });
106966
var comp1 =
CreateCompilation
(new[] { source1 });
107293
var comp1 =
CreateCompilation
(new[] { source1 });
107330
var comp1 =
CreateCompilation
(new[] { source1 });
107366
var comp1 =
CreateCompilation
(new[] { source1 });
107403
var comp1 =
CreateCompilation
(new[] { source1 });
107439
var comp1 =
CreateCompilation
(new[] { source1 });
107477
var comp1 =
CreateCompilation
(new[] { source1 });
107521
var comp1 =
CreateCompilation
(new[] { source1 });
107524
var comp2 =
CreateCompilation
(new[] { source2 }, references: new[] { comp1.EmitToImageReference() });
107562
var comp1 =
CreateCompilation
(new[] { source1 });
107603
var comp1 =
CreateCompilation
(new[] { source1 });
107639
var comp1 =
CreateCompilation
(new[] { source1 });
107676
var comp1 =
CreateCompilation
(new[] { source1 });
107712
var comp1 =
CreateCompilation
(new[] { source1 });
107748
var comp1 =
CreateCompilation
(new[] { source1 });
107784
var comp1 =
CreateCompilation
(new[] { source1 });
107820
var comp1 =
CreateCompilation
(new[] { source1 });
107845
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
107901
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
107976
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108037
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108080
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108131
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108201
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108258
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108303
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108348
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108392
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108450
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108515
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108567
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108621
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108662
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108735
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108824
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108894
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
108953
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109006
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109038
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109070
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109108
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109146
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109196
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109254
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109315
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109372
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
109376
var comp1 =
CreateCompilation
(new[] { source1 }, options: WithNullableEnable(), references: new[] { reference });
109431
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109470
var comp1 =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109531
var comp1 =
CreateCompilation
(source);
109582
var comp1 =
CreateCompilation
(source);
109654
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109770
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109825
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109859
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109886
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
109954
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110003
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110030
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110094
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110135
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110210
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110256
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
110287
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110317
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110351
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110410
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110466
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110538
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110564
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110594
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110617
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110660
var comp =
CreateCompilation
(source1, new[] { ref0 });
110740
var comp =
CreateCompilation
(source1, new[] { ref0 });
110755
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110803
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110840
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110904
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110948
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
110995
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111029
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111076
var comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111109
var comp =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
111122
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111125
comp =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111128
comp =
CreateCompilation
(new[] { source1 }, new[] { ref0 }, options: WithNullableEnable());
111155
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111178
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111231
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7);
111233
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111244
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111260
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111298
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111330
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
111362
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111388
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111423
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
111445
var comp0 =
CreateCompilation
(source0);
111452
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111464
var comp0 =
CreateCompilation
(source0);
111475
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111493
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111511
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111529
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111547
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111562
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111580
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111598
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111616
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111631
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111646
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111665
var comp0 =
CreateCompilation
(new[] { source0 });
111687
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
111717
var comp0 =
CreateCompilation
(new[] { source0 }, parseOptions: TestOptions.Regular8);
111773
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111781
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
111791
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { new CSharpCompilationReference(comp0) });
111802
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { comp0.EmitToImageReference() });
111868
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111922
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
111969
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
111987
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112011
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112021
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112031
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112073
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112105
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112147
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 });
112193
var comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112205
var comp =
CreateCompilation
(new[] { source }, references: new[] { ref0 }, parseOptions: TestOptions.Regular8);
112248
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112304
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112333
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112374
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112401
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular7);
112422
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), references: new[] { ref0 });
112464
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112541
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112583
var comp =
CreateCompilation
(source, options: WithNullableEnable());
112611
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112655
var comp0 =
CreateCompilation
(source0);
112657
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112678
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable());
112680
comp =
CreateCompilation
(source, references: new[] { ref0 });
112690
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112693
comp =
CreateCompilation
(source, references: new[] { ref0 });
112709
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112753
var comp0 =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8);
112764
var comp =
CreateCompilation
(source, references: new[] { ref0 });
112773
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableDisable(), parseOptions: TestOptions.Regular8);
112783
comp =
CreateCompilation
(source, references: new[] { ref0 });
112792
comp0 =
CreateCompilation
(new[] { source0 }, options: WithNullableEnable());
112795
comp =
CreateCompilation
(source, references: new[] { ref0 });
112803
comp =
CreateCompilation
(source, references: new[] { ref0 }, options: WithNullableEnable());
112838
var comp =
CreateCompilation
(source);
112840
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
112903
var comp =
CreateCompilation
(new[] { source });
112993
var comp =
CreateCompilation
(new[] { source });
113030
var comp =
CreateCompilation
(new[] { source });
113050
var comp =
CreateCompilation
(new[] { source });
113110
var comp =
CreateCompilation
(new[] { source });
113192
var comp =
CreateCompilation
(new[] { source });
113228
var comp =
CreateCompilation
(new[] { source });
113299
var comp1 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "") });
113302
var comp2 =
CreateCompilation
(new[] { source.Replace("PLACEHOLDER", "annotations") });
113354
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113383
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113420
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113451
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113492
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113514
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113544
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113569
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113599
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113624
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113654
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113679
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113712
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113743
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113770
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113789
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113813
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113835
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113868
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
113889
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
113921
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114146
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114370
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114395
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114428
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114456
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114489
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114517
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
114547
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114583
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114620
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114656
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114686
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114718
var comp =
CreateCompilation
(new[] { source }, options: compilationOptions);
114749
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114780
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114810
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114841
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114871
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114900
var comp =
CreateCompilation
(new[] { source }, options: WithNullable(nullableContextOptions));
114984
var comp =
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular8);
114987
comp =
CreateCompilation
(new[] { source });
115034
var comp =
CreateCompilation
(new[] { source });
115074
var comp =
CreateCompilation
(new[] { source });
115099
var comp =
CreateCompilation
(new[] { source });
115122
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115154
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115197
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
115240
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115273
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115322
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115351
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115378
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115407
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115448
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115486
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115520
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115558
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115603
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115643
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115674
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115709
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115728
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
115764
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
116076
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116104
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116136
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116168
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics();
116213
CreateCompilation
(text, options: WithNullableEnable()).VerifyDiagnostics(
116252
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116271
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116282
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116285
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116308
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116320
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116323
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116346
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116357
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116360
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116383
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116394
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116397
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116420
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116436
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116439
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116462
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116478
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116481
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116501
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116519
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116522
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116542
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116563
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116566
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116589
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116604
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116607
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116630
var comp1 =
CreateCompilation
(source1, options: WithNullableDisable());
116647
var comp2 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.EmitToImageReference() });
116650
var comp3 =
CreateCompilation
(source2, options: WithNullableEnable(), references: new[] { comp1.ToMetadataReference() });
116667
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll)).VerifyEmitDiagnostics();
116668
CreateCompilation
(text, options: WithNullableEnable(TestOptions.ReleaseDll), parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyEmitDiagnostics();
116918
var comp =
CreateCompilation
(source2, new[] { ref1.WithEmbedInteropTypes(true), CSharpRef }, options: WithNullableEnable(TestOptions.ReleaseExe));
116936
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116957
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
116982
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
116999
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117017
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117035
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117066
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117113
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117142
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117164
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117198
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117220
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117252
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117280
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117313
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117341
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117374
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117397
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117424
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117451
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117478
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117502
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117640
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117729
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117780
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117810
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117838
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117874
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
117900
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
117917
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117938
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117961
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
117984
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118005
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118029
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118055
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118078
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118099
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118122
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118145
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118162
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118183
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118203
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118231
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118258
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118286
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118310
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118330
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118354
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
118374
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118399
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118422
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118445
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118470
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118495
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118517
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118537
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118560
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118583
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118609
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118629
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118650
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118668
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118694
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118727
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118759
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118784
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118808
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118833
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118858
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118887
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118918
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118945
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
118971
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
118993
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119011
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119029
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119052
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119079
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119105
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119137
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119162
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119184
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119211
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119248
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119285
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119314
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119351
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119378
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119407
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119429
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119452
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119473
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119497
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119517
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119544
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119568
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119595
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119619
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119643
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119672
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119693
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119716
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119746
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119783
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119817
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119854
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119887
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119903
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
119926
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
119953
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
119982
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120004
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120027
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120056
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120085
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120114
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120143
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120168
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120194
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120220
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120245
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120278
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120311
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120341
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120377
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120413
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120444
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120470
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120496
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120520
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120544
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
120567
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120595
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120626
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120653
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120676
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120702
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120722
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120738
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120754
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120778
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
120795
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120816
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120837
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120864
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120891
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120914
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120936
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
120958
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
120985
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121009
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
121026
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121047
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121067
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121090
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121120
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121148
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121177
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121203
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121230
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121250
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121270
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
121287
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121314
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121345
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121375
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121401
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121428
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121455
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121479
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121507
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
121532
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121559
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121588
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121619
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121649
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121678
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121705
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121733
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121760
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121788
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121815
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121840
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121864
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121887
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121912
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121937
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121961
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
121986
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122010
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122038
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122063
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122089
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122111
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122137
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122158
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122179
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122201
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122222
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122243
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122265
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122287
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122308
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122327
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122352
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122378
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122403
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122428
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122454
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122479
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122505
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122529
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122551
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122572
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122594
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122619
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122645
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122670
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122695
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122720
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122738
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122759
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122778
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122804
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122829
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122856
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122883
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122903
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
122926
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122947
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
122975
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123002
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123027
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123049
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123067
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123086
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123108
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123126
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123144
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123163
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123185
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123203
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123222
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123248
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123273
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123297
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123319
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123341
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123365
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123387
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8).VerifyDiagnostics(
123409
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123435
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123465
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123484
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123504
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123528
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123557
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123587
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123613
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
123632
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123669
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics(
123703
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123738
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123775
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123805
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123844
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123875
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123930
var comp =
CreateCompilation
(new[] { source });
123933
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Warnings));
123936
comp =
CreateCompilation
(new[] { @"#nullable enable warnings
123940
comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
123943
comp =
CreateCompilation
(new[] { source }, options: WithNullable(NullableContextOptions.Annotations));
123946
comp =
CreateCompilation
(new[] { @"#nullable enable annotations
124254
var compilation =
CreateCompilation
(new[] { source }, new[] { CompileIL(ilSource) });
124345
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124380
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124416
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124456
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124499
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124546
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124592
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124634
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124676
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124716
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
124956
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
125003
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
125041
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125094
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125146
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125173
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125197
var comp =
CreateCompilation
(source, options: WithNullableEnable());
125230
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125235
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
125238
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125249
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125258
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125267
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125276
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125287
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125296
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125307
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125317
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125322
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125328
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125333
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125342
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125353
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125363
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125413
var comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable());
125418
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id1, id2, option));
125421
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
125434
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
125437
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Default));
125440
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125443
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125448
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Error));
125451
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125456
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125460
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125464
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125469
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125473
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id1, id2, ReportDiagnostic.Hidden));
125476
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125481
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125485
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
125584
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
125593
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
125602
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
125611
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125622
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
125631
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125642
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125652
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125657
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125663
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125668
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
125677
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125688
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
125698
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126004
var comp =
CreateCompilation
(source);
126123
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126127
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126131
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126135
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126141
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126145
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126151
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126156
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126161
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126167
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126172
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126176
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126182
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126187
comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions.
126198
var comp =
CreateCompilation
(new[] { source, source2 }, options: compilationOptions);
126203
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithSpecificDiagnosticOptions(id, option));
126206
comp =
CreateCompilation
(new[] { source, source2 }, options: WithNullableDisable().WithGeneralDiagnosticOption(option));
126269
var comp =
CreateCompilation
(new[] { source, source2 }, options: options);
126273
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Default));
126277
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithGeneralDiagnosticOption(ReportDiagnostic.Default));
126281
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126287
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Error));
126291
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126297
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126302
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126307
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126313
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126318
comp =
CreateCompilation
(new[] { source, source2 }, options: options.WithSpecificDiagnosticOptions(id, ReportDiagnostic.Hidden));
126322
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126328
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126333
comp =
CreateCompilation
(new[] { source, source2 }, options: options.
126803
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126837
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126874
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126914
var comp =
CreateCompilation
(source, options: WithNullableEnable());
126946
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127246
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular7, options: WithNullableEnable());
127266
var comp =
CreateCompilation
(source);
127282
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127302
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127317
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127342
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127365
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127385
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127411
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127426
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127451
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127481
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127513
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127545
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127596
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127654
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127747
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127812
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127875
var comp =
CreateCompilation
(source, options: WithNullableEnable());
127969
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128051
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128112
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128177
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128243
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128297
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128354
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128392
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128449
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128497
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128569
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128610
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128674
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128727
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128790
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128840
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
128962
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129029
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129073
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129132
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129181
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129235
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129286
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129333
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129381
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129422
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129482
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129522
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129545
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129597
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129650
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129714
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129762
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129820
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129861
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129910
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129958
var comp =
CreateCompilation
(source, options: WithNullableEnable());
129998
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130029
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130076
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130109
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130143
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130185
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130217
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130247
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130278
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130309
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130346
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130369
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130388
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130405
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130432
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130476
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130538
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130577
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130622
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130652
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130695
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130734
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130813
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130870
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130906
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130938
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130961
var comp =
CreateCompilation
(source, options: WithNullableEnable());
130996
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131035
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131059
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131083
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131110
var comp =
CreateCompilation
(new[] { source, NotNullWhenAttributeDefinition }, options: WithNullableEnable());
131181
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }, options: WithNullableEnable());
131216
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131251
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131287
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131326
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131409
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131439
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131466
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131492
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131518
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131536
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131554
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131573
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131592
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131614
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131648
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131683
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131721
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131743
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131765
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131811
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131878
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131911
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131936
var comp =
CreateCompilation
(source, options: WithNullableEnable());
131969
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132004
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132039
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132074
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132102
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132181
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132225
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132268
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132321
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132340
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132366
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132391
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132409
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132457
CreateCompilation
(source, options: WithNullableEnable()).VerifyDiagnostics();
132483
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132509
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132537
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132563
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132597
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132621
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132647
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
132673
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132699
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132728
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132755
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132781
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132806
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132830
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132855
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132879
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132903
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132927
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132952
var comp =
CreateCompilation
(source, options: WithNullableEnable());
132977
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133008
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133035
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133065
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133095
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133126
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133158
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133191
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133226
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133249
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133274
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133300
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133328
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133412
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133472
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133526
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133552
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133588
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133619
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133652
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133688
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133719
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133755
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133790
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133837
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133872
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133899
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133927
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133958
var comp =
CreateCompilation
(source, options: WithNullableEnable());
133987
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134020
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134056
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134093
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134124
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134271
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134313
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134367
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134516
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134587
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134668
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134696
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134731
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134757
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134825
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134843
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134909
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134941
var comp =
CreateCompilation
(source, options: WithNullableEnable());
134974
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135008
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135037
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135054
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135072
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135094
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135121
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135146
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135170
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135197
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135227
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135256
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135288
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135308
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135332
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135364
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135411
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135438
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135465
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135484
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135521
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135587
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135665
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135715
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135758
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135789
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135813
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135835
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135856
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135877
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135900
var comp =
CreateCompilation
(source, options: WithNullableEnable());
135963
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136030
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136097
var comp =
CreateCompilation
(source, options: WithNullableEnable(), parseOptions: TestOptions.Regular8);
136152
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136201
var comp =
CreateCompilation
(source);
136241
var comp =
CreateCompilation
(source);
136275
var comp =
CreateCompilation
(source);
136296
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136311
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136341
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136359
var comp =
CreateCompilation
(source, options: WithNullableEnable());
136393
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136457
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136489
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136636
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136660
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136679
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136721
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136762
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136769
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136792
CreateCompilation
(new[] { source }, parseOptions: TestOptions.Regular7_3)
136798
CreateCompilation
(new[] { source }, options: WithNullableEnable())
136844
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136871
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136900
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136925
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136950
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
136982
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
137009
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
137036
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
137058
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
137077
var comp =
CreateCompilation
(new[] { source, NotNullAttributeDefinition }, options: WithNullableEnable());
137096
var comp =
CreateCompilation
(new[] { source1, source2 });
137100
comp =
CreateCompilation
(new[] { source2, source1 });
137128
var comp =
CreateCompilation
(new[] { source1, source2 });
137132
comp =
CreateCompilation
(new[] { source2, source1 });
137162
var comp =
CreateCompilation
(new[] { source1, source2 });
137195
var comp =
CreateCompilation
(new[] { source1, source2 });
137199
comp =
CreateCompilation
(new[] { source2, source1 });
137224
var comp =
CreateCompilation
(new[] { source1, source2 });
137228
comp =
CreateCompilation
(new[] { source2, source1 });
137254
var comp =
CreateCompilation
(new[] { source1 });
137276
var comp =
CreateCompilation
(new[] { source1 });
137298
var comp =
CreateCompilation
(new[] { source1 });
137320
var comp =
CreateCompilation
(new[] { source1 });
137346
var comp =
CreateCompilation
(new[] { source1 });
137373
var comp =
CreateCompilation
(new[] { source1 });
137398
var comp =
CreateCompilation
(new[] { source1 });
137425
var comp =
CreateCompilation
(new[] { source1, source2 });
137429
comp =
CreateCompilation
(new[] { source2, source1 });
137482
var comp1 =
CreateCompilation
(new[] { source0, source1 });
137488
var comp2 =
CreateCompilation
(new[] { source0, source2 });
137494
var comp3 =
CreateCompilation
(new[] { source0, source3 });
137500
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
137504
comp =
CreateCompilation
(new[] { source0, source1, source3, source2 });
137508
comp =
CreateCompilation
(new[] { source0, source2, source1, source3 });
137512
comp =
CreateCompilation
(new[] { source0, source2, source3, source1 });
137516
comp =
CreateCompilation
(new[] { source0, source3, source1, source2 });
137520
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
137560
var comp1 =
CreateCompilation
(new[] { source });
137601
var comp1 =
CreateCompilation
(new[] { source });
137640
var comp1 =
CreateCompilation
(new[] { source });
137679
var comp1 =
CreateCompilation
(new[] { source });
137728
var comp1 =
CreateCompilation
(new[] { source });
137764
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137767
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137804
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137807
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137848
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137851
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137891
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137894
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137933
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137936
comp =
CreateCompilation
(new[] { source0, source2, source1 });
137969
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
137972
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138012
var comp =
CreateCompilation
(new[] { source0, source1, source2, source3 });
138015
comp =
CreateCompilation
(new[] { source0, source3, source2, source1 });
138063
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138066
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138108
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138111
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138161
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138164
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138214
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138259
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138262
comp =
CreateCompilation
(new[] { source0, source2, source1 });
138314
var comp =
CreateCompilation
(new[] { source0, source1, source2 });
138630
var comp2 =
CreateCompilation
(source2, [verifier1.Compilation.ToMetadataReference()]);
138838
var comp1 =
CreateCompilation
(source1, assemblyName: nameof(source1)).VerifyDiagnostics().EmitToImageReference();
138883
var comp =
CreateCompilation
(new[] { source1, source2 });
138907
var comp =
CreateCompilation
(new[] { source1, source2 });
138945
var comp =
CreateCompilation
(new[] { source1 });
138983
var comp =
CreateCompilation
(new[] { source1 });
139008
CreateCompilation
(text).VerifyDiagnostics(
139034
CreateCompilation
(text).VerifyDiagnostics(
139060
CreateCompilation
(text).VerifyDiagnostics(
139091
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139124
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139157
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139189
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139215
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139242
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139269
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139310
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139342
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139366
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139390
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139411
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139435
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139455
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139479
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139509
var comp =
CreateCompilation
(source).VerifyDiagnostics(
139537
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139565
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139593
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139621
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139653
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139681
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139709
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139736
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139759
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139782
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139809
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139832
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139855
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139884
var comp =
CreateCompilation
(source).VerifyDiagnostics();
139939
CreateCompilation
(source, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
140006
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140050
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140089
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140130
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140177
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable());
140312
var comp =
CreateCompilation
(source);
140337
var comp =
CreateCompilation
(source);
140366
var comp =
CreateCompilation
(source);
140403
var comp =
CreateCompilation
(source);
140433
var comp =
CreateCompilation
(source);
140466
var comp =
CreateCompilation
(source);
140499
var comp =
CreateCompilation
(source);
140539
var comp =
CreateCompilation
(source);
140586
var comp =
CreateCompilation
(new[] { DoesNotReturnIfAttributeDefinition, source }, options: WithNullableEnable());
140615
var comp =
CreateCompilation
(new[] { NotNullAttributeDefinition, source }, options: WithNullableEnable());
140637
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140735
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140774
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140808
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140837
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140871
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140905
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140938
var comp =
CreateCompilation
(source, options: WithNullableEnable());
140973
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141012
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141054
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition }).VerifyDiagnostics();
141086
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141128
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141170
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141212
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141254
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141294
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141344
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141385
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141420
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141461
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141502
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141545
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141590
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141627
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141658
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141686
var comp =
CreateCompilation
(source, options: WithNullableEnable());
141745
var comp =
CreateCompilation
(source);
141810
var comp =
CreateCompilation
(source);
141878
var comp =
CreateCompilation
(source);
141933
var comp =
CreateCompilation
(source);
141987
var comp =
CreateCompilation
(source);
142046
var comp =
CreateCompilation
(source);
142083
var comp =
CreateCompilation
(source);
142113
var comp =
CreateCompilation
(source);
142148
var comp =
CreateCompilation
(source);
142212
var comp =
CreateCompilation
(source);
142234
var comp =
CreateCompilation
(source);
142272
var comp =
CreateCompilation
(source);
142320
var comp =
CreateCompilation
(source);
142338
var comp =
CreateCompilation
(source);
142381
var comp =
CreateCompilation
(source);
142441
var comp =
CreateCompilation
(source);
142477
var comp =
CreateCompilation
(source);
142525
var comp =
CreateCompilation
(source);
142589
var comp =
CreateCompilation
(source);
142635
var comp =
CreateCompilation
(source);
142681
var comp =
CreateCompilation
(source);
142719
var comp =
CreateCompilation
(source);
142764
var comp =
CreateCompilation
(source);
142799
var comp =
CreateCompilation
(source);
142825
var comp =
CreateCompilation
(source);
142860
var comp =
CreateCompilation
(source);
142864
comp =
CreateCompilation
(source);
142902
var comp =
CreateCompilation
(source);
142941
var comp =
CreateCompilation
(source);
142972
var comp =
CreateCompilation
(source);
143000
var comp =
CreateCompilation
(source);
143028
var comp =
CreateCompilation
(source);
143058
var comp =
CreateCompilation
(source);
143091
var comp =
CreateCompilation
(source);
143117
var comp =
CreateCompilation
(source);
143150
var comp =
CreateCompilation
(source);
143181
var comp =
CreateCompilation
(source);
143211
var comp =
CreateCompilation
(source);
143243
var comp =
CreateCompilation
(source);
143274
var comp =
CreateCompilation
(source);
143348
var comp =
CreateCompilation
(source);
143399
var comp =
CreateCompilation
(source);
143425
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143454
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143484
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143528
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
143562
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143596
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143632
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143674
var comp =
CreateCompilation
(source, references: new[] { vbComp.EmitToImageReference() });
143708
var comp =
CreateCompilation
(source);
143739
var comp =
CreateCompilation
(source);
143765
var comp =
CreateCompilation
(source);
143791
var comp =
CreateCompilation
(source);
143820
var comp =
CreateCompilation
(source);
143852
var comp =
CreateCompilation
(source);
143888
var comp =
CreateCompilation
(source);
143926
var comp =
CreateCompilation
(source);
143964
var comp =
CreateCompilation
(source);
143993
var comp =
CreateCompilation
(source);
144022
var comp =
CreateCompilation
(source);
144058
var comp =
CreateCompilation
(source);
144091
var comp =
CreateCompilation
(source);
144121
var comp =
CreateCompilation
(source);
144150
var comp =
CreateCompilation
(source);
144177
var comp =
CreateCompilation
(source);
144209
var comp =
CreateCompilation
(source);
144244
var comp =
CreateCompilation
(source);
144274
var comp =
CreateCompilation
(source);
144349
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144374
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144424
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144447
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144513
var comp =
CreateCompilation
(new[] { source1, source2 }, options: WithNullableDisable());
144535
var comp =
CreateCompilation
(source, options: WithNullableDisable());
144591
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144623
comp =
CreateCompilation
(source, options: WithNullableEnable());
144648
comp =
CreateCompilation
(source, options: WithNullableEnable());
144684
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144720
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144754
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144783
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144822
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144854
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144892
var comp =
CreateCompilation
(source, options: WithNullableEnable());
144934
var comp =
CreateCompilation
(new[] { source, NotNullIfNotNullAttributeDefinition }, options: WithNullableEnable());
144964
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145007
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145038
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145079
var spanRef =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll)
145081
var comp =
CreateCompilation
(def + @"
145117
var defComp =
CreateCompilation
(def,
145121
var useComp =
CreateCompilation
(@"
145201
var comp =
CreateCompilation
(@"
145232
var comp =
CreateCompilation
(@"
145276
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145306
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145372
var comp =
CreateCompilation
(source, options: WithNullableEnable());
145430
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145466
var comp =
CreateCompilation
(source, options: WithNullableEnable(TestOptions.ReleaseExe));
145492
var comp =
CreateCompilation
(source);
145529
var comp =
CreateCompilation
(source);
145569
var comp =
CreateCompilation
(source);
145606
var comp =
CreateCompilation
(source);
145645
var comp =
CreateCompilation
(source);
145687
var comp =
CreateCompilation
(source);
145720
var comp =
CreateCompilation
(source);
145752
var comp =
CreateCompilation
(source);
145787
var comp =
CreateCompilation
(source);
145826
var comp =
CreateCompilation
(source);
145857
var comp =
CreateCompilation
(source);
145884
var comp =
CreateCompilation
(source);
145906
var comp =
CreateCompilation
(source);
145920
var comp =
CreateCompilation
(source);
145949
var comp =
CreateCompilation
(source);
145978
var comp =
CreateCompilation
(source);
146007
var comp =
CreateCompilation
(source);
146034
var comp =
CreateCompilation
(source);
146067
var comp =
CreateCompilation
(source);
146098
var comp =
CreateCompilation
(source);
146127
var comp =
CreateCompilation
(source);
146160
var comp =
CreateCompilation
(source);
146185
var comp =
CreateCompilation
(source);
146209
var comp =
CreateCompilation
(source);
146230
var comp =
CreateCompilation
(source);
146256
var comp =
CreateCompilation
(source);
146279
var comp =
CreateCompilation
(source);
146304
var comp =
CreateCompilation
(source);
146328
var comp =
CreateCompilation
(source);
146352
var comp =
CreateCompilation
(source);
146376
var comp =
CreateCompilation
(source);
146411
var comp =
CreateCompilation
(text);
146450
var comp =
CreateCompilation
(text);
146490
var comp =
CreateCompilation
(text);
146529
var comp =
CreateCompilation
(text);
146615
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146648
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146677
var compilation1 =
CreateCompilation
(source, parseOptions: TestOptions.Regular, targetFramework: TargetFramework.NetCoreApp);
146717
var comp =
CreateCompilation
(source);
146755
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
146795
var comp =
CreateCompilation
(source);
146844
var comp =
CreateCompilation
(source, options: WithNullableEnable());
146895
var comp =
CreateCompilation
(source);
146964
var comp =
CreateCompilation
(source);
147046
var comp =
CreateCompilation
(source);
147111
var comp =
CreateCompilation
(source);
147211
var comp =
CreateCompilation
(source, options: WithNullableEnable());
147298
var comp =
CreateCompilation
(source);
147354
var comp =
CreateCompilation
(source);
147389
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics();
147406
CreateCompilation
(source, targetFramework: TargetFramework.Net90).VerifyDiagnostics();
147430
var comp =
CreateCompilation
(source);
147453
var comp =
CreateCompilation
(source);
147481
var comp =
CreateCompilation
(source);
147694
var comp =
CreateCompilation
(source);
147719
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
147801
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
147892
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148014
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148074
var comp =
CreateCompilation
(source);
148193
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148208
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148260
var comp =
CreateCompilation
(source);
148301
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148364
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148465
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148483
comp =
CreateCompilation
(source);
148536
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148548
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148582
var comp =
CreateCompilation
(source);
148620
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148635
comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148688
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148715
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
148739
comp =
CreateCompilation
(source);
148788
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition }, parseOptions: TestOptions.Regular8);
148794
comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
148825
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148874
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
148906
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
148940
var comp =
CreateCompilation
(source);
148966
var comp =
CreateCompilation
(source);
148988
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149009
var comp =
CreateCompilation
(source);
149030
var comp =
CreateCompilation
(source);
149054
var comp =
CreateCompilation
(source);
149092
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149139
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149179
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149223
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149247
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149282
var comp =
CreateCompilation
(source);
149306
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149338
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149362
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149392
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149428
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149485
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149516
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149539
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
149561
var comp =
CreateCompilation
(source);
149600
var comp =
CreateCompilation
(source);
149639
var comp =
CreateCompilation
(source);
149679
var comp =
CreateCompilation
(source);
149722
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
149751
var comp =
CreateCompilation
(source);
149792
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
149832
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
149897
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149945
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
149982
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
150027
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition, DisallowNullAttributeDefinition, MaybeNullAttributeDefinition, NotNullAttributeDefinition });
150069
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150091
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150100
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150114
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
150120
comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150130
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
150140
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150169
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
150250
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150335
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150393
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150410
comp =
CreateCompilation
(sourceB0, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150426
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150478
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150512
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150552
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150629
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150659
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150682
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150725
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
150782
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
150818
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular);
150866
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
150946
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151026
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151106
comp =
CreateCompilation
(sourceB4, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151189
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151269
comp =
CreateCompilation
(sourceB6, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151361
comp =
CreateCompilation
(sourceB7, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151424
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151460
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular8);
151562
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151642
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151734
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151799
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
151824
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151884
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
151932
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
151992
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152037
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152085
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152133
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152175
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152200
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152260
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152308
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152368
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152413
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152461
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152509
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152548
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
152569
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152619
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152660
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152710
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
152742
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152783
comp =
CreateCompilation
(sourceB6, references: new[] { refA });
152824
comp =
CreateCompilation
(sourceB7, references: new[] { refA });
152854
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
152879
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
152939
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
152993
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153053
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
153098
comp =
CreateCompilation
(sourceB5, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153145
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153171
comp =
CreateCompilation
(new[] { sourceB1, AllowNullAttributeDefinition }, references: new[] { refA });
153232
comp =
CreateCompilation
(new[] { sourceB3, AllowNullAttributeDefinition }, references: new[] { refA });
153293
comp =
CreateCompilation
(new[] { sourceB5, AllowNullAttributeDefinition }, references: new[] { refA });
153342
comp =
CreateCompilation
(new[] { sourceB6, AllowNullAttributeDefinition }, references: new[] { refA });
153396
var comp =
CreateCompilation
(new[] { sourceA, AllowNullAttributeDefinition, MaybeNullAttributeDefinition });
153420
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153461
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153574
comp =
CreateCompilation
(sourceB3, references: new[] { refA }, parseOptions: TestOptions.Regular9);
153603
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
153627
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
153669
comp =
CreateCompilation
(new[] { sourceB2, AllowNullAttributeDefinition, MaybeNullAttributeDefinition }, references: new[] { refA });
153709
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153737
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
153761
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
153773
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
153797
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
153835
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153890
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153937
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
153974
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154013
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154057
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154122
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154161
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154186
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154211
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154236
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154262
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154288
comp =
CreateCompilation
(source6, parseOptions: TestOptions.Regular9);
154315
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154335
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154353
comp =
CreateCompilation
(source2);
154368
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154386
comp =
CreateCompilation
(source4);
154401
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154425
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154455
var comp =
CreateCompilation
(source1, parseOptions: TestOptions.Regular9);
154477
comp =
CreateCompilation
(source2, parseOptions: TestOptions.Regular9);
154502
comp =
CreateCompilation
(source3, parseOptions: TestOptions.Regular9);
154525
comp =
CreateCompilation
(source4, parseOptions: TestOptions.Regular9);
154548
comp =
CreateCompilation
(source5, parseOptions: TestOptions.Regular9);
154586
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154636
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154683
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154711
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154761
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
154865
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular9);
154894
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
154961
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155029
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155097
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155142
var comp =
CreateCompilation
(new[] { sourceA, DisallowNullAttributeDefinition, NotNullAttributeDefinition });
155166
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155195
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, parseOptions: TestOptions.Regular9);
155242
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155267
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155303
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155328
comp =
CreateCompilation
(new[] { sourceB, DisallowNullAttributeDefinition, NotNullAttributeDefinition }, references: new[] { refA });
155373
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155405
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155429
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155466
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular8);
155486
comp =
CreateCompilation
(sourceB, references: new[] { refA });
155515
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular9);
155539
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular8);
155559
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
155571
comp =
CreateCompilation
(sourceB1, references: new[] { refA });
155582
comp =
CreateCompilation
(sourceB2, references: new[] { refA });
155593
comp =
CreateCompilation
(sourceB3, references: new[] { refA });
155604
comp =
CreateCompilation
(sourceB4, references: new[] { refA });
155629
var comp =
CreateCompilation
(source);
155655
var comp =
CreateCompilation
(source);
155682
var comp =
CreateCompilation
(source);
155715
var comp =
CreateCompilation
(source);
155751
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
155763
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
155810
var comp =
CreateCompilation
(source);
155875
var comp =
CreateCompilation
(new[] { source, DoesNotReturnIfAttributeDefinition });
155912
var comp =
CreateCompilation
(source);
155973
var comp =
CreateCompilation
(source);
155993
var nullableAttrComp =
CreateCompilation
(NullableAttributeDefinition);
156012
var lib =
CreateCompilation
(lib_cs, references: new[] { nullableAttrRef });
156025
var comp =
CreateCompilation
(source_cs, references: new[] { libRef });
156037
var executeComp =
CreateCompilation
(executable_cs,
156121
var comp =
CreateCompilation
(source);
156147
var comp =
CreateCompilation
(source);
156172
var comp =
CreateCompilation
(source);
156205
var comp =
CreateCompilation
(source);
156234
var comp =
CreateCompilation
(
156269
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156302
var comp =
CreateCompilation
([source], options: WithNullableEnable(), targetFramework: TargetFramework.NetCoreApp);
156336
var comp =
CreateCompilation
(source);
156376
var comp =
CreateCompilation
(source);
156410
var comp =
CreateCompilation
(source);
156444
var comp =
CreateCompilation
(source);
156455
var comp =
CreateCompilation
(@"
156631
var comp =
CreateCompilation
(source);
156649
var comp =
CreateCompilation
(source);
156667
var comp =
CreateCompilation
(source);
156686
var comp =
CreateCompilation
(source);
156705
var comp =
CreateCompilation
(source);
156726
var comp =
CreateCompilation
(source0);
156756
var comp =
CreateCompilation
(source);
156774
var comp =
CreateCompilation
(source0);
156821
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156854
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156890
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156922
var comp =
CreateCompilation
(source);
156964
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
156986
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
157033
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157060
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157102
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157138
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157172
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157188
var comp =
CreateCompilation
(source0);
157202
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157224
var comp =
CreateCompilation
(source0);
157238
comp =
CreateCompilation
(source1, references: new[] { ref0 });
157271
var comp =
CreateCompilation
(source0);
157348
var comp =
CreateCompilation
(new[] { source, MaybeNullWhenAttributeDefinition });
157379
var comp =
CreateCompilation
(sourceA);
157508
comp =
CreateCompilation
(new[] { sourceB2 }, references: new[] { refA });
157600
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157626
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157662
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
157693
var comp =
CreateCompilation
(src);
157714
var comp =
CreateCompilation
(src);
157732
var comp =
CreateCompilation
(src);
157756
var comp =
CreateCompilation
(src);
157804
var comp =
CreateCompilation
(src);
157855
var comp =
CreateCompilation
(src);
157878
var comp =
CreateCompilation
(src);
157901
var comp =
CreateCompilation
(src);
157924
var comp =
CreateCompilation
(src);
157947
var comp =
CreateCompilation
(src);
157970
var comp =
CreateCompilation
(src);
157993
var comp =
CreateCompilation
(src);
158016
var comp =
CreateCompilation
(src);
158051
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe.WithNullableContextOptions(NullableContextOptions.Enable));
158089
var comp =
CreateCompilation
(src);
158126
var comp =
CreateCompilation
(src);
158164
var comp =
CreateCompilation
(src);
158198
var comp =
CreateCompilation
(src);
158231
var comp =
CreateCompilation
(src);
158272
var comp =
CreateCompilation
(src);
158307
var comp =
CreateCompilation
(src);
158340
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158367
var comp =
CreateCompilation
(src);
158400
var comp =
CreateCompilation
(src);
158441
var comp =
CreateCompilation
(src);
158481
var comp =
CreateCompilation
(src);
158520
var comp =
CreateCompilation
(src);
158557
var comp =
CreateCompilation
(src);
158592
var comp =
CreateCompilation
(src);
158625
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp);
158652
var comp =
CreateCompilation
(src);
158691
var comp =
CreateCompilation
(src);
158733
var comp =
CreateCompilation
(src);
158775
var comp =
CreateCompilation
(src);
158814
var comp =
CreateCompilation
(src);
158850
var comp =
CreateCompilation
(src);
158880
var comp =
CreateCompilation
(src);
158916
var comp =
CreateCompilation
(src);
158951
var comp =
CreateCompilation
(src);
158990
var comp =
CreateCompilation
(src);
159023
var comp =
CreateCompilation
(src);
159058
CreateCompilation
(source).VerifyDiagnostics();
159086
CreateCompilation
(source).VerifyDiagnostics();
159112
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition, NotNullAttributeDefinition, DoesNotReturnAttributeDefinition, DoesNotReturnIfAttributeDefinition });
159131
var comp =
CreateCompilation
(source);
159157
var comp =
CreateCompilation
(new[] { source, AllowNullAttributeDefinition });
159184
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159222
var comp =
CreateCompilation
(source);
159244
var comp =
CreateCompilation
(new[] { source, DisallowNullAttributeDefinition });
159282
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159323
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159361
var comp =
CreateCompilation
(new[] { source, MemberNotNullWhenAttributeDefinition });
159387
var comp =
CreateCompilation
(source);
159394
var comp =
CreateCompilation
(@"
159447
var comp =
CreateCompilation
(@"
159490
var comp =
CreateCompilation
(@"
159576
var comp =
CreateCompilation
(@"
159617
var comp =
CreateCompilation
(@"
159675
var comp =
CreateCompilation
(@"
159733
var comp =
CreateCompilation
(@"
159786
var comp =
CreateCompilation
(@"
159829
var comp =
CreateCompilation
(@"
159915
var comp =
CreateCompilation
(@"
159956
var comp =
CreateCompilation
(@"
160014
var comp =
CreateCompilation
(@"
160072
var comp =
CreateCompilation
(@"
160113
var comp =
CreateCompilation
(@"
160163
var comp =
CreateCompilation
(@"
160206
var comp =
CreateCompilation
(@"
160292
var comp =
CreateCompilation
(@"
160333
var comp =
CreateCompilation
(@"
160391
var comp =
CreateCompilation
(@"
160449
var comp =
CreateCompilation
(@"
160666
CSharpCompilation c =
CreateCompilation
(new[] { @"
160734
var comp =
CreateCompilation
(source, options: WithNullableEnable());
160789
var comp =
CreateCompilation
(new[] { source, MaybeNullAttributeDefinition });
160839
var comp =
CreateCompilation
(source);
160859
var comp =
CreateCompilation
(@"
160880
var comp =
CreateCompilation
(@"
160911
var comp =
CreateCompilation
(@"
160940
var comp =
CreateCompilation
(@"
160992
var comp =
CreateCompilation
($$"""
161054
var comp =
CreateCompilation
($$"""
161103
var comp =
CreateCompilation
(@"
161128
var comp =
CreateCompilation
(@"
161155
var comp =
CreateCompilation
(@"
161200
var comp =
CreateCompilation
("""
161242
CreateCompilation
(source).VerifyDiagnostics(
161275
CreateCompilation
(source).VerifyDiagnostics();
161308
CreateCompilation
(source).VerifyDiagnostics();
161382
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
161416
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161462
var comp =
CreateCompilation
(source).VerifyDiagnostics(
161502
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161523
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
161558
var comp =
CreateCompilation
(source);
161583
var comp =
CreateCompilation
(source);
161609
var comp =
CreateCompilation
(source);
161638
var comp =
CreateCompilation
(source);
161676
CreateCompilation
(source).VerifyDiagnostics(
161711
CreateCompilation
(source).VerifyDiagnostics();
161741
CreateCompilation
(source).VerifyDiagnostics();
161771
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);
2223
var comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularWithPatternCombinators);
2294
var comp =
CreateCompilation
(source);
2323
var comp =
CreateCompilation
(source);
2348
var comp =
CreateCompilation
(source);
2377
var comp =
CreateCompilation
(source);
2384
var comp =
CreateCompilation
(@"
2408
var comp =
CreateCompilation
(@"
2433
var comp =
CreateCompilation
(@"
2458
var comp =
CreateCompilation
(@"
2476
var comp =
CreateCompilation
(@"
2509
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular9);
2521
comp =
CreateCompilation
(source);
2531
var comp =
CreateCompilation
(@"
2563
var comp =
CreateCompilation
(@"
2588
var comp =
CreateCompilation
(@"
2607
var comp =
CreateCompilation
(@"
2622
var comp =
CreateCompilation
(@"
2641
var comp =
CreateCompilation
(@"
2782
var comp =
CreateCompilation
(source);
2821
var comp =
CreateCompilation
(source);
2858
var comp =
CreateCompilation
(source);
2900
var comp =
CreateCompilation
(source);
2936
var comp =
CreateCompilation
(source);
2966
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
2995
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3031
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3065
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
3111
var comp =
CreateCompilation
(source);
3142
var comp =
CreateCompilation
(source);
3176
var comp =
CreateCompilation
(source);
3211
var comp =
CreateCompilation
(source);
3238
var comp =
CreateCompilation
(source);
3265
var comp =
CreateCompilation
(source);
3296
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 (105)
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);
9676
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9754
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9821
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
9899
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
9962
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe);
10018
var comp =
CreateCompilation
(src, options: TestOptions.DebugExe);
10766
CreateCompilation
(source).VerifyDiagnostics(
11273
CreateCompilation
(source).VerifyDiagnostics(
12269
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
12330
var compilation =
CreateCompilation
(source)
12379
var compilation =
CreateCompilation
(source);
12454
var comp =
CreateCompilation
(source);
12504
CreateCompilation
(source, options: TestOptions.ReleaseDll.WithAllowUnsafe(true)).VerifyDiagnostics(
12526
var comp =
CreateCompilation
(code);
12547
var comp =
CreateCompilation
(code, options: TestOptions.UnsafeReleaseExe);
12570
var comp =
CreateCompilation
(code);
12593
var comp =
CreateCompilation
(code);
12617
var comp =
CreateCompilation
(code);
12709
var comp1 =
CreateCompilation
(source1);
12715
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)
317
CreateCompilation
(source).VerifyDiagnostics(
343
CreateCompilation
(source).VerifyDiagnostics(
950
CreateCompilation
(source).VerifyDiagnostics(
978
CreateCompilation
(source).VerifyDiagnostics(
998
CreateCompilation
(source, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
1144
CreateCompilation
(text).VerifyDiagnostics();
1179
CreateCompilation
(text).VerifyDiagnostics(
1298
CreateCompilation
(text, parseOptions: CSharpParseOptions.Default.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
1317
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 (156)
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(
10735
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10773
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10793
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
10819
CreateCompilation
(source).VerifyDiagnostics();
10841
CreateCompilation
(source).VerifyDiagnostics(
10882
CreateCompilation
(source).VerifyDiagnostics(
10923
CreateCompilation
(source).VerifyDiagnostics();
10943
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10963
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
10983
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11195
CreateCompilation
(source).VerifyDiagnostics(
11246
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11275
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11305
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11334
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11367
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11417
CreateCompilation
(source).VerifyDiagnostics(
11460
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11506
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
11552
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
11580
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12702
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
12723
CreateCompilation
(source).VerifyDiagnostics(
12746
CreateCompilation
(source).VerifyDiagnostics(
12773
CreateCompilation
(source).VerifyDiagnostics(
12796
CreateCompilation
(source).VerifyDiagnostics(
12823
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12849
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12878
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12905
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
12934
CreateCompilation
(source, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
12956
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
12981
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
13006
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
13030
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(
13055
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13077
CreateCompilation
(source).VerifyDiagnostics();
13099
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13121
CreateCompilation
(source).VerifyDiagnostics();
13143
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13165
CreateCompilation
(source).VerifyDiagnostics();
13186
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
13207
CreateCompilation
(source).VerifyDiagnostics();
13237
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13269
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13310
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net90);
13360
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 (831)
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);
18361
var comp =
CreateCompilation
(source);
18380
var comp =
CreateCompilation
(source);
18421
var comp =
CreateCompilation
(source);
18456
var comp =
CreateCompilation
(source);
18500
var comp =
CreateCompilation
(source);
18544
var comp =
CreateCompilation
(source);
18588
var comp =
CreateCompilation
(source);
18623
var comp =
CreateCompilation
(source);
18659
var comp =
CreateCompilation
(source);
18694
var comp =
CreateCompilation
(source);
18724
var comp =
CreateCompilation
(source);
18745
var comp =
CreateCompilation
(source);
18766
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18784
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18810
var comp =
CreateCompilation
(source);
18829
var comp =
CreateCompilation
(source);
18865
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
18893
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
18915
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
18970
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
18996
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19026
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19061
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19087
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19130
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19158
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19196
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19240
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19293
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19340
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19388
var comp =
CreateCompilation
(source);
19479
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19557
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19642
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19737
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19818
var comp =
CreateCompilation
(source);
19860
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19916
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19958
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
19987
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20008
var comp =
CreateCompilation
(source);
20047
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20104
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20169
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20195
var comp =
CreateCompilation
(sourceB, options: TestOptions.UnsafeReleaseDll, targetFramework: TargetFramework.Net70);
20226
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20229
comp =
CreateCompilation
(source);
20264
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
20267
comp =
CreateCompilation
(source);
20295
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20317
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
20364
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20392
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20399
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20420
var lib =
CreateCompilation
(lib_cs, parseOptions: TestOptions.Regular11, targetFramework: TargetFramework.Net70);
20422
var comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70);
20435
comp =
CreateCompilation
(source, references: new[] { lib.EmitToImageReference() }, parseOptions: TestOptions.Regular10);
20481
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
20527
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20552
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20582
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20606
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20628
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20651
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20671
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20695
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20726
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20753
var comp =
CreateCompilation
(source);
20780
var comp =
CreateCompilation
(source);
20807
var comp =
CreateCompilation
(source);
20834
var comp =
CreateCompilation
(source);
20864
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20891
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20912
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
20941
var comp =
CreateCompilation
(source);
20965
var comp =
CreateCompilation
(source);
20991
var comp =
CreateCompilation
(source);
21017
var comp =
CreateCompilation
(source);
21043
var comp =
CreateCompilation
(source);
21077
var comp =
CreateCompilation
(source);
21111
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
21137
var comp =
CreateCompilation
(source);
21160
var comp =
CreateCompilation
(source);
21192
var comp =
CreateCompilation
(source);
21225
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21277
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21310
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21345
var comp =
CreateCompilation
(source);
21368
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21400
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21522
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, targetFramework: TargetFramework.Net70);
21524
comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21564
var comp =
CreateCompilation
(source);
21596
var comp =
CreateCompilation
(source);
21623
var comp =
CreateCompilation
(source);
21681
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21742
comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21813
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21852
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe, targetFramework: TargetFramework.Net70);
21928
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21952
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
21979
comp =
CreateCompilation
(source);
22010
comp =
CreateCompilation
(source);
22033
comp =
CreateCompilation
(source);
22056
comp =
CreateCompilation
(source);
22082
comp =
CreateCompilation
(source);
22100
comp =
CreateCompilation
(source);
22130
comp =
CreateCompilation
(source);
22157
comp =
CreateCompilation
(source);
22186
comp =
CreateCompilation
(source);
22211
comp =
CreateCompilation
(source);
22238
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22245
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22262
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22294
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22307
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22327
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22337
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22354
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
22361
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
22381
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22390
CreateCompilation
(source,
22393
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22395
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22410
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22419
CreateCompilation
(source,
22422
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22424
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22441
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22454
CreateCompilation
(source,
22457
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22459
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22478
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22483
CreateCompilation
(source,
22486
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22488
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics();
22503
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22518
CreateCompilation
(source,
22535
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22537
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22550
var ref1a =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22555
var ref1b =
CreateCompilation
(source1,
22558
var ref1c =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22560
var ref1d =
CreateCompilation
([source1, UnscopedRefAttributeDefinition]).VerifyDiagnostics().EmitToImageReference();
22572
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10).VerifyDiagnostics();
22573
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
22574
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular11).VerifyDiagnostics();
22575
CreateCompilation
(source2, [ref1a]).VerifyDiagnostics();
22586
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(expectedDiagnostics);
22587
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
22588
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
22589
CreateCompilation
(source2, [ref1]).VerifyDiagnostics(expectedDiagnostics);
22603
var ref1a =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22608
var ref1b =
CreateCompilation
(source1,
22611
var ref1c =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22613
var ref1d =
CreateCompilation
([source1, UnscopedRefAttributeDefinition]).VerifyDiagnostics().EmitToImageReference();
22625
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10).VerifyDiagnostics();
22626
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics();
22627
CreateCompilation
(source2, [ref1a], parseOptions: TestOptions.Regular11).VerifyDiagnostics();
22628
CreateCompilation
(source2, [ref1a]).VerifyDiagnostics();
22639
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(expectedDiagnostics);
22640
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10, targetFramework: TargetFramework.Net70).VerifyDiagnostics(expectedDiagnostics);
22641
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular11).VerifyDiagnostics(expectedDiagnostics);
22642
CreateCompilation
(source2, [ref1]).VerifyDiagnostics(expectedDiagnostics);
22656
var ref1 =
CreateCompilation
([source1, UnscopedRefAttributeDefinition])
22696
var ref1 =
CreateCompilation
([source1, UnscopedRefAttributeDefinition],
22749
var ref1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net70)
22760
CreateCompilation
([source2, UnscopedRefAttributeDefinition], [ref1],
22783
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22808
CreateCompilation
(source,
22811
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22813
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22827
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22843
CreateCompilation
(source,
22846
CreateCompilation
([source, UnscopedRefAttributeDefinition],
22848
CreateCompilation
([source, UnscopedRefAttributeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22862
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition],
22878
CreateCompilation
(source,
22881
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition],
22883
CreateCompilation
([source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition]).VerifyDiagnostics(expectedDiagnostics);
22899
var ref1 =
CreateCompilation
(source1, targetFramework: TargetFramework.Net70)
22913
CreateCompilation
(source2, [ref1], parseOptions: TestOptions.Regular10).VerifyDiagnostics(
22935
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22962
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
22981
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
22999
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23041
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23080
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23099
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23117
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23145
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition, IsExternalInitTypeDefinition });
23176
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23209
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23245
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23280
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
23325
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23365
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23395
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23416
comp =
CreateCompilation
(sourceB, references: new[] { refA });
23460
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Mscorlib40);
23484
comp =
CreateCompilation
(sourceB, new[] { refA }, targetFramework: TargetFramework.Mscorlib461);
23535
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23548
comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
23573
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23591
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23621
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23648
var comp =
CreateCompilation
(source);
23681
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23701
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23748
comp =
CreateCompilation
(sourceB2, references: new[] { refA }, targetFramework: TargetFramework.Net70);
23791
var comp =
CreateCompilation
(sourceA, targetFramework: TargetFramework.Net70);
23884
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
23904
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
23935
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
23968
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
23991
comp =
CreateCompilation
(sourceB, references: new[] { refA });
24041
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24107
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24194
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24244
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24277
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24305
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24336
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24374
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24415
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24459
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24489
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24525
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24562
var comp =
CreateCompilation
(source);
24614
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
24678
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
24739
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
24777
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
24810
var comp =
CreateCompilation
(source);
24853
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24894
var comp =
CreateCompilation
(new[] { sourceA, sourceB });
24983
var comp =
CreateCompilation
(sourceB, new[] { refA });
25085
var comp =
CreateCompilation
(sourceB, new[] { refA });
25193
var comp =
CreateCompilation
(sourceB, new[] { refA });
25231
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net50, options: TestOptions.ReleaseDll);
25259
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25296
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25302
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25332
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25380
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA), options: TestOptions.UnsafeReleaseDll);
25386
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25422
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
25489
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25502
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25540
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25561
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25599
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25610
comp =
CreateCompilation
(sourceB, references: new[] { refA });
25629
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
25646
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25667
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25688
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25726
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25744
comp =
CreateCompilation
(sourceB1, references: new[] { refA }, parseOptions: TestOptions.Regular10);
25771
comp =
CreateCompilation
(new[] { sourceB2, UnscopedRefAttributeDefinition }, references: new[] { refA }, parseOptions: TestOptions.Regular);
25804
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular);
25822
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
25875
var comp =
CreateCompilation
(sourceA, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionA));
25902
comp =
CreateCompilation
(new[] { sourceB, UnscopedRefAttributeDefinition }, references: new[] { refA });
25991
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition }, parseOptions: TestOptions.Regular);
26017
comp =
CreateCompilation
(sourceB, references: new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
26038
var comp =
CreateCompilation
(new[] { sourceA, UnscopedRefAttributeDefinition });
26063
comp =
CreateCompilation
(sourceB, new[] { refA }, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersionB));
26135
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26213
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26251
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26296
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26323
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26358
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26384
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26430
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
26485
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26536
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net60);
26569
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
26613
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26675
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26720
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
26804
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26837
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26871
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26946
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
26979
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }).VerifyDiagnostics(
27022
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27068
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27107
var comp =
CreateCompilation
(sourceB, references: new[] { refA });
27138
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion), targetFramework: targetFramework);
27387
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27439
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27491
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, options: TestOptions.ReleaseDll);
27581
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
27618
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27638
comp =
CreateCompilation
(source);
27708
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27728
comp =
CreateCompilation
(source);
27792
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27830
comp =
CreateCompilation
(source);
27893
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
27931
comp =
CreateCompilation
(source);
27997
var comp =
CreateCompilation
(source);
28002
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
28057
var comp =
CreateCompilation
(source);
28062
comp =
CreateCompilation
(source, parseOptions: TestOptions.RegularDefault.WithFeature("run-nullable-analysis", "never"));
28111
var comp =
CreateCompilation
(source);
28130
var comp =
CreateCompilation
(source);
28151
var comp =
CreateCompilation
(source);
28170
var comp =
CreateCompilation
(source);
28205
var comp =
CreateCompilation
(source);
28252
var comp =
CreateCompilation
(source);
28282
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
28291
comp =
CreateCompilation
(source);
28330
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
28339
comp =
CreateCompilation
(source);
28384
var comp =
CreateCompilation
(source);
28423
var comp =
CreateCompilation
(source);
28510
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28589
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28705
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugExe);
28785
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28854
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeDebugDll);
28898
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28923
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.UnsafeReleaseExe);
28957
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
28986
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29015
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29047
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29082
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29114
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition }, targetFramework: TargetFramework.Net70);
29156
var comp =
CreateCompilation
(new[] { sourceA, sourceB }, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29188
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29224
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29271
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29300
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29329
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29355
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29377
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29416
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70, options: TestOptions.ReleaseExe);
29555
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29587
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29616
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29656
var comp =
CreateCompilation
(source);
29713
var comp =
CreateCompilation
(source);
29775
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29852
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29922
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
29982
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30017
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30055
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30085
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30130
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30395
var comp =
CreateCompilation
(source);
30420
var comp =
CreateCompilation
(source);
30447
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30468
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30492
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30518
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30552
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30593
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30628
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30740
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30777
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30815
var comp =
CreateCompilation
(source, targetFramework: TargetFramework.Net70);
30837
var comp =
CreateCompilation
(source);
30864
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
30892
var comp =
CreateCompilation
(new[] { source, UnscopedRefAttributeDefinition });
30934
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion));
31090
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
31141
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
31371
var comp =
CreateCompilation
("""
31437
var comp =
CreateCompilation
("""
31510
var comp =
CreateCompilation
("""
31881
var comp =
CreateCompilation
("""
31906
var comp =
CreateCompilation
("""
31931
var comp =
CreateCompilation
("""
31958
var comp =
CreateCompilation
("""
31983
var comp =
CreateCompilation
("""
32011
var comp =
CreateCompilation
("""
32036
var comp =
CreateCompilation
("""
32064
var comp =
CreateCompilation
("""
32092
var comp =
CreateCompilation
("""
32117
var comp =
CreateCompilation
("""
32145
var comp =
CreateCompilation
("""
32173
var comp =
CreateCompilation
("""
32198
var comp =
CreateCompilation
("""
32226
var comp =
CreateCompilation
("""
32265
var spanCompilation =
CreateCompilation
(TestSources.Span, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular8);
32316
var comp =
CreateCompilation
([source0, source1],
32333
var reference =
CreateCompilation
(source0, parseOptions: TestOptions.Regular8).EmitToImageReference();
32349
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
(@"
202
var comp =
CreateCompilation
(@"
256
var comp =
CreateCompilation
(@"
291
var comp =
CreateCompilation
(@"
329
CreateCompilation
(source).VerifyDiagnostics(
351
CreateCompilation
(source).VerifyDiagnostics();
357
var comp =
CreateCompilation
(@"
396
var comp =
CreateCompilation
(@"
415
var comp =
CreateCompilation
(@"
432
var comp =
CreateCompilation
(@"
457
var comp =
CreateCompilation
(@"
509
var comp =
CreateCompilation
(@"
550
CreateCompilation
(tree).VerifyDiagnostics(
598
var comp =
CreateCompilation
(@"
616
var comp =
CreateCompilation
(@"
635
var comp =
CreateCompilation
(@"
651
var comp =
CreateCompilation
(@"
668
var comp =
CreateCompilation
(@"
701
var comp =
CreateCompilation
(@"
721
var comp =
CreateCompilation
(@"
749
var comp =
CreateCompilation
(@"
778
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular10);
787
comp =
CreateCompilation
(source);
797
var comp =
CreateCompilation
(@"
821
var comp =
CreateCompilation
(@"
846
var comp =
CreateCompilation
(@"
896
var comp =
CreateCompilation
(@"
913
var comp =
CreateCompilation
(@"
931
var comp =
CreateCompilation
(@"
949
var comp =
CreateCompilation
(@"
968
var comp =
CreateCompilation
(@"
988
var comp =
CreateCompilation
(@"
1008
var comp =
CreateCompilation
(@"
1040
CreateCompilation
(source).VerifyDiagnostics(
1058
CreateCompilation
(source).VerifyDiagnostics(
1067
CreateCompilation
(@"
1089
var comp =
CreateCompilation
(tree);
1099
var comp =
CreateCompilation
(@"
1117
var comp =
CreateCompilation
(@"
1135
var comp =
CreateCompilation
(@"
1152
var comp =
CreateCompilation
(@"
1174
var comp =
CreateCompilation
(@"
1193
var comp =
CreateCompilation
(@"
1215
var comp =
CreateCompilation
(@"
1251
var comp =
CreateCompilation
(@"
1292
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1304
CreateCompilation
(source, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
1306
CreateCompilation
(source).VerifyEmitDiagnostics(expectedDiagnostics);
1333
CreateCompilation
(source, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
1348
var comp =
CreateCompilation
(@"
1379
var comp =
CreateCompilation
(@"
1407
var comp =
CreateCompilation
(@"
1431
var comp =
CreateCompilation
(@"
1452
var comp =
CreateCompilation
(@"
1473
var comp =
CreateCompilation
(@"
1508
var comp =
CreateCompilation
(@"
1526
var comp =
CreateCompilation
(@"
1562
var comp =
CreateCompilation
(@"
1602
var comp =
CreateCompilation
(@"
1642
var comp =
CreateCompilation
(text);
1666
var comp =
CreateCompilation
(text);
1687
var comp =
CreateCompilation
(text);
1731
var comp =
CreateCompilation
(text);
1772
var comp =
CreateCompilation
(text);
1845
var comp =
CreateCompilation
(text);
1899
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
1953
var comp =
CreateCompilation
(text);
1995
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Empty, references: new[] { MscorlibRef, SystemCoreRef });
2046
var comp =
CreateCompilation
(text);
2163
var comp =
CreateCompilation
(text);
2262
var comp =
CreateCompilation
(text);
2370
var comp =
CreateCompilation
(text);
2443
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2526
var comp =
CreateCompilation
(text, options: TestOptions.UnsafeDebugDll);
2620
var comp =
CreateCompilation
(text);
2953
CreateCompilation
(code).VerifyDiagnostics(
2988
CreateCompilation
(code).VerifyDiagnostics(
3148
CreateCompilation
(code).VerifyDiagnostics(
3188
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3196
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3197
CreateCompilation
(code).VerifyEmitDiagnostics();
3224
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3253
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3265
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3266
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3326
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3327
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3328
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3349
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3357
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics();
3358
CreateCompilation
(code).VerifyEmitDiagnostics();
3383
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3413
CreateCompilation
(code, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
3425
CreateCompilation
(code, parseOptions: TestOptions.Regular13).VerifyEmitDiagnostics(expectedDiagnostics);
3426
CreateCompilation
(code).VerifyEmitDiagnostics(expectedDiagnostics);
3451
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3481
CreateCompilation
(code, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70).VerifyDiagnostics(
3493
CreateCompilation
(code, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3494
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(expectedDiagnostics);
3832
CreateCompilation
(code).VerifyEmitDiagnostics(
4542
CreateCompilation
(@"
4559
CreateCompilation
(@"
4578
CreateCompilation
(@"
4611
CreateCompilation
(@"
4644
CreateCompilation
(@"
4667
CreateCompilation
(@"
4697
CreateCompilation
(@"
4714
CreateCompilation
(@"
4731
var compilation =
CreateCompilation
(@"
4759
var compilation =
CreateCompilation
(@"
4787
var compilation =
CreateCompilation
(@"
4815
var compilation =
CreateCompilation
(@"
4843
var compilation =
CreateCompilation
(@"
4871
var compilation =
CreateCompilation
(@"
4899
var compilation =
CreateCompilation
(@"
5136
CreateCompilation
(code).VerifyEmitDiagnostics(
5161
CreateCompilation
(code).VerifyEmitDiagnostics(
5187
var comp =
CreateCompilation
(code).VerifyEmitDiagnostics(
5233
var comp =
CreateCompilation
(code, options: TestOptions.ReleaseExe.WithScriptClassName("Script"), parseOptions: TestOptions.Script);
5272
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 (557)
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(
6975
CreateCompilation
(text).VerifyDiagnostics(
6993
CreateCompilation
(text).VerifyEmitDiagnostics();
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
(
13960
CreateCompilation
(source, references: new[] { Net40.References.SystemCore }).VerifyDiagnostics(
14056
CreateCompilation
(text).VerifyDiagnostics(
14081
CreateCompilation
(source).VerifyDiagnostics(
14108
CreateCompilation
(source).VerifyDiagnostics(
14140
CreateCompilation
(source).VerifyDiagnostics(
14207
CreateCompilation
(text).VerifyDiagnostics(
14233
CreateCompilation
(text).VerifyDiagnostics(
14261
CreateCompilation
(text).VerifyDiagnostics(
14289
CreateCompilation
(text).VerifyDiagnostics(
14319
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
14380
CreateCompilation
(text).VerifyDiagnostics(
14441
CreateCompilation
(
14461
CreateCompilation
(
14477
CreateCompilation
(
14504
CreateCompilation
(
14555
CreateCompilation
(
14671
CreateCompilation
(text).VerifyDiagnostics(
14785
CreateCompilation
(text).
14863
CreateCompilation
(text).VerifyDiagnostics(
14885
CreateCompilation
(text).
14938
CreateCompilation
(text).VerifyDiagnostics(
14958
CreateCompilation
(text).
15008
CreateCompilation
(text).VerifyDiagnostics(
15034
CreateCompilation
(text).VerifyDiagnostics(
15112
CreateCompilation
(source).VerifyDiagnostics(
15158
CreateCompilation
(text).VerifyDiagnostics(
15187
CreateCompilation
(text).VerifyDiagnostics(
15237
var comp =
CreateCompilation
(text);
15265
var comp =
CreateCompilation
(text);
15301
var comp =
CreateCompilation
(text);
15357
var comp =
CreateCompilation
(text);
15392
var comp =
CreateCompilation
(text);
15443
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular12).VerifyDiagnostics(
15471
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular13).VerifyDiagnostics(expectedDiagnostics);
15472
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(expectedDiagnostics);
15500
var comp =
CreateCompilation
(text);
15529
var comp =
CreateCompilation
(text);
15555
var comp =
CreateCompilation
(text);
15576
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15664
CreateCompilation
(text).
15688
CreateCompilation
(text).VerifyDiagnostics(
15709
CreateCompilation
(text).
15777
CreateCompilation
(text).VerifyDiagnostics(
15806
CreateCompilation
(text).VerifyDiagnostics(
15837
CreateCompilation
(text).VerifyDiagnostics(
15878
CreateCompilation
(text).VerifyDiagnostics(
15908
CreateCompilation
(text).VerifyDiagnostics(
15943
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
15961
CreateCompilation
(text).VerifyDiagnostics(
15986
CreateCompilation
(text).
16009
CreateCompilation
(text).VerifyDiagnostics(
16068
CreateCompilation
(text).VerifyDiagnostics(
16121
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe, parseOptions: TestOptions.Regular7_2).VerifyDiagnostics(
16161
CreateCompilation
(text, options: TestOptions.UnsafeReleaseExe).VerifyDiagnostics(
16260
CreateCompilation
(source).VerifyDiagnostics(
16281
CreateCompilation
(source).VerifyDiagnostics(
16400
CreateCompilation
(text).VerifyDiagnostics(
16422
var compilation =
CreateCompilation
(text);
16446
var compilation =
CreateCompilation
(text);
16497
CreateCompilation
(text).VerifyDiagnostics(
16526
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16556
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16585
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16610
CreateCompilation
(text).VerifyDiagnostics(
16650
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
16684
var comp =
CreateCompilation
(text);
16727
var compilation =
CreateCompilation
(text);
16823
var comp =
CreateCompilation
(text);
16842
var comp =
CreateCompilation
(text, parseOptions: TestOptions.Regular6);
16901
var compilation = CSharpTestBase.
CreateCompilation
(text);
17053
CreateCompilation
(text, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
17345
var comp =
CreateCompilation
(program);
17418
CreateCompilation
(text).VerifyDiagnostics(
17645
CreateCompilation
(program).VerifyDiagnostics(
17831
var comp =
CreateCompilation
(text);
17912
CreateCompilation
(text).VerifyDiagnostics(
18044
CreateCompilation
(text).VerifyDiagnostics(
18201
CreateCompilation
(text).VerifyDiagnostics(
18301
CreateCompilation
(text).VerifyDiagnostics(
18369
CreateCompilation
(text).VerifyDiagnostics(
18438
CreateCompilation
(text).VerifyDiagnostics(
18469
CreateCompilation
(text).VerifyDiagnostics(
18492
CreateCompilation
(source).VerifyDiagnostics();
18494
CreateCompilation
(source, options: TestOptions.DebugExe.WithWarningLevel(5)).VerifyDiagnostics();
18549
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18643
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18669
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.StandardAndCSharp, options: TestOptions.DebugExe);
18967
CreateCompilation
(text).VerifyDiagnostics(
18990
CreateCompilation
(text).VerifyDiagnostics(
19010
CreateCompilation
(text).VerifyDiagnostics(
19041
CreateCompilation
(text).VerifyDiagnostics();
19056
CreateCompilation
(text).VerifyDiagnostics(
19083
CreateCompilation
(text).VerifyDiagnostics(
19110
CreateCompilation
(text).VerifyDiagnostics(
19147
CreateCompilation
(text).VerifyDiagnostics(
19177
CreateCompilation
(text).VerifyDiagnostics(
19210
CreateCompilation
(text).VerifyDiagnostics(
19255
CreateCompilation
(text).VerifyDiagnostics(
19281
CreateCompilation
(text).
19298
CreateCompilation
(text).
19316
CreateCompilation
(text).VerifyDiagnostics(
19339
CreateCompilation
(text).VerifyDiagnostics(
19359
CreateCompilation
(text).VerifyDiagnostics(
19376
var comp =
CreateCompilation
(text);
19405
var comp =
CreateCompilation
(text);
19438
var comp =
CreateCompilation
(text);
19521
CreateCompilation
(text).VerifyDiagnostics(
19570
CreateCompilation
(text).VerifyDiagnostics(
19615
CreateCompilation
(text).VerifyDiagnostics(
19634
CreateCompilation
(text).VerifyDiagnostics(
19652
CreateCompilation
(text).VerifyDiagnostics(
19668
CreateCompilation
(text).VerifyDiagnostics(
19686
CreateCompilation
(text).VerifyDiagnostics(
19710
CreateCompilation
(text).VerifyDiagnostics(
19731
CreateCompilation
(text).VerifyDiagnostics(
19753
CreateCompilation
(text).VerifyDiagnostics();
19773
CreateCompilation
(text).VerifyDiagnostics(
19797
CreateCompilation
(text).VerifyDiagnostics(
19857
CreateCompilation
(text).VerifyDiagnostics();
19904
CreateCompilation
(text).VerifyDiagnostics(
19938
CreateCompilation
(text).VerifyDiagnostics(
19962
CreateCompilation
(text).VerifyDiagnostics();
19980
CreateCompilation
(text).VerifyDiagnostics(
20043
CreateCompilation
(text).VerifyDiagnostics(
20078
CreateCompilation
(text).VerifyDiagnostics(
20116
CreateCompilation
(text).VerifyDiagnostics(
20138
var comp =
CreateCompilation
(text);
20154
var comp =
CreateCompilation
(text);
20219
CreateCompilation
(text).VerifyDiagnostics(
20279
CreateCompilation
(text).VerifyDiagnostics(
20309
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
20343
CreateCompilation
(text).VerifyDiagnostics();
20370
CreateCompilation
(text).VerifyDiagnostics();
20437
var comp =
CreateCompilation
(text);
20648
CreateCompilation
(text).VerifyDiagnostics(
20974
CreateCompilation
(text).VerifyDiagnostics(
21212
CreateCompilation
(text).VerifyDiagnostics(
21242
CreateCompilation
(text).
21264
CreateCompilation
(text).
21291
var comp =
CreateCompilation
(text);
21314
CreateCompilation
(text).VerifyDiagnostics(
21341
CreateCompilation
(text).VerifyDiagnostics(
21366
CreateCompilation
(text).VerifyDiagnostics();
21389
CreateCompilation
(text).VerifyDiagnostics(
21408
CreateCompilation
(text).VerifyDiagnostics(
21431
CreateCompilation
(text).VerifyDiagnostics(
21490
CreateCompilation
(text).VerifyDiagnostics(
21561
var comp =
CreateCompilation
(text);
21599
CreateCompilation
(@"
21627
CreateCompilation
(
21680
var compilation =
CreateCompilation
(text, targetFramework: TargetFramework.Mscorlib461, options: TestOptions.DebugExe);
21711
CreateCompilation
(text).VerifyDiagnostics(
22000
var c =
CreateCompilation
(
22178
CreateCompilation
(text).VerifyDiagnostics(
22237
CreateCompilation
(text).VerifyDiagnostics(
22272
CreateCompilation
(text).
22381
CreateCompilation
(text).VerifyDiagnostics();
22406
CreateCompilation
(text).VerifyDiagnostics(
22451
CreateCompilation
(text).VerifyDiagnostics(
22604
CreateCompilation
(text).VerifyDiagnostics(
22741
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
22764
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
22914
CreateCompilation
(text).VerifyDiagnostics(
22949
CreateCompilation
(text).VerifyDiagnostics(
22991
CreateCompilation
(text).VerifyDiagnostics(
23036
CreateCompilation
(text).VerifyDiagnostics(
23070
CreateCompilation
(text).VerifyEmitDiagnostics(
23117
var comp =
CreateCompilation
(text);
23170
CreateCompilation
(source).VerifyDiagnostics(
23194
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23259
CreateCompilation
(source).VerifyDiagnostics(
23273
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithStrictFeature()).VerifyDiagnostics(
23318
CreateCompilation
(source).VerifyDiagnostics(
23434
CreateCompilation
(text).VerifyDiagnostics(
23578
CreateCompilation
(text).VerifyDiagnostics(
23623
CreateCompilation
(text).VerifyDiagnostics(
23642
CreateCompilation
(text).VerifyDiagnostics(
23659
CreateCompilation
(text).VerifyDiagnostics(
23679
CreateCompilation
(text).VerifyDiagnostics(
23696
CreateCompilation
(text).VerifyDiagnostics(
23721
CreateCompilation
(builder.ToString(), null, TestOptions.ReleaseDll.WithGeneralDiagnosticOption(ReportDiagnostic.Suppress)).VerifyEmitDiagnostics(
23743
CreateCompilation
(@"
23760
CreateCompilation
(@"
23785
CreateCompilation
(@"
23811
CreateCompilation
(@"
23854
CreateCompilation
(text).VerifyDiagnostics(
23880
CreateCompilation
(text).VerifyDiagnostics(
23898
CreateCompilation
(text).VerifyDiagnostics(
23922
CreateCompilation
(source).VerifyDiagnostics();
23944
CreateCompilation
(source).VerifyDiagnostics(
24010
CreateCompilation
(source).VerifyDiagnostics(
24076
CreateCompilation
(source).VerifyDiagnostics(
24126
CreateCompilation
(text).VerifyDiagnostics(
24156
CreateCompilation
(text).VerifyDiagnostics(
24233
CreateCompilation
(text, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp5)).VerifyDiagnostics(
24785
var compilation =
CreateCompilation
(text);
24932
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
24969
var comp =
CreateCompilation
(source);
24990
var comp =
CreateCompilation
(source);
25048
var comp =
CreateCompilation
(source);
25072
var comp =
CreateCompilation
(source);
25104
var comp =
CreateCompilation
(source);
25134
var comp =
CreateCompilation
(source);
25165
var compilation =
CreateCompilation
(source, targetFramework: TargetFramework.NetCoreApp);
25201
var comp =
CreateCompilation
(source);
25265
var comp =
CreateCompilation
(source);
25362
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)
1494
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1538
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1592
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1654
var comp =
CreateCompilation
(src, targetFramework: TargetFramework.Net70);
1691
CreateCompilation
(code, targetFramework: TargetFramework.Net70).VerifyEmitDiagnostics(
2091
CreateCompilation
(code).VerifyDiagnostics(
2125
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);
4525
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4531
comp =
CreateCompilation
(source);
4547
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithSpecificDiagnosticOptions(ReportStructInitializationWarnings));
4550
comp =
CreateCompilation
(source);
4697
var comp =
CreateCompilation
(new[] { source }, options: WithNullableEnable(), parseOptions: TestOptions.Regular10);
4825
var comp =
CreateCompilation
(source, options: TestOptions.ReleaseExe);
4868
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 (26)
183
var comp =
CreateCompilation
(
208
var comp =
CreateCompilation
(
230
var comp =
CreateCompilation
(
266
var comp =
CreateCompilation
(
334
var comp =
CreateCompilation
(tree, options: TestOptions.DebugDll.WithAllowUnsafe(true));
413
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugExe)
416
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugExe)
433
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll.WithAllowUnsafe(true))
435
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll.WithAllowUnsafe(true))
452
CreateCompilation
(source, parseOptions: TestOptions.Regular8, options: TestOptions.DebugDll)
454
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion()), options: TestOptions.DebugDll)
526
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp3)).VerifyDiagnostics(expectedDiagnostics);
527
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(expectedDiagnostics);
614
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics();
615
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics();
640
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(LanguageVersion.CSharp7_3)).VerifyDiagnostics(
648
CreateCompilation
(source, parseOptions: TestOptions.Regular.WithLanguageVersion(MessageID.IDS_FeatureTargetTypedConditional.RequiredVersion())).VerifyDiagnostics(
665
var comp =
CreateCompilation
(source);
686
var comp =
CreateCompilation
(source);
708
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular8);
714
comp =
CreateCompilation
(source);
731
var comp =
CreateCompilation
(source);
774
var comp =
CreateCompilation
(source);
818
var comp =
CreateCompilation
(source);
863
var comp =
CreateCompilation
(source);
909
var 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\TargetTypedSwitchExpressionTests.cs (5)
33
var comp =
CreateCompilation
(source);
81
var comp =
CreateCompilation
(source);
130
var comp =
CreateCompilation
(source);
180
var comp =
CreateCompilation
(source);
231
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);
1313
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1330
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1346
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1360
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1390
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1404
comp =
CreateCompilation
(new[] { "System.Console.WriteLine();", text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1439
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1457
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1490
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1509
comp =
CreateCompilation
(new[] { text2, text1 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1544
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1585
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions).VerifyDiagnostics(
1623
var comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1685
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
1858
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2012
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2015
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2018
Assert.Throws<System.ArgumentException>(() =>
CreateCompilation
(new[] { Parse(text1, filename: "text1", DefaultParseOptions),
2022
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2079
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2243
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2393
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2396
comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2399
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: TestOptions.Regular7);
2445
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2590
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2609
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2640
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2665
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2726
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2811
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.NetCoreApp, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2868
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2896
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
2930
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3044
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3106
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3169
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3236
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3300
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3362
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3425
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3492
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3556
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3618
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3681
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3748
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3812
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3880
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
3948
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4097
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4197
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4222
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4243
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4325
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4347
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4399
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4487
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4504
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4528
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4567
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4595
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4633
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4647
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4675
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4692
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4708
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4728
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4743
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4761
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4784
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4799
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4813
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4834
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4855
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4876
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4901
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4921
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4953
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
4974
var comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5006
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5039
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5067
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5097
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5129
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5159
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5185
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5221
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5260
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5316
var comp =
CreateCompilation
(new[] { text1, text4 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5379
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe.WithMainTypeName(""), parseOptions: DefaultParseOptions);
5401
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5421
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5442
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5463
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5487
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5512
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5539
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5567
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5594
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5622
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5646
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5671
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5688
var comp =
CreateCompilation
(text);
5742
CreateCompilation
(source,
5755
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5769
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5788
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5809
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5833
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5859
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5880
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5901
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5922
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5943
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5963
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
5987
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6005
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6029
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6052
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6089
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6313
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6354
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6397
var comp =
CreateCompilation
(source, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6447
var comp =
CreateCompilation
(new[] { source1, source2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6486
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6497
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6591
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6600
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6648
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6663
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6769
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6780
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6856
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6865
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6914
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6923
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6972
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
6981
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7040
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7049
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7119
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7127
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7232
var comp =
CreateCompilation
(text1 + text2 + text3, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7241
comp =
CreateCompilation
(new[] { text1, text2, text3 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7326
var comp =
CreateCompilation
(text1 + text2, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7335
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7399
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7409
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7466
var comp =
CreateCompilation
(text1, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7476
comp =
CreateCompilation
(new[] { text1, text2 }, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7555
var comp =
CreateCompilation
(text, targetFramework: TargetFramework.Minimal, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7578
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7600
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7638
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7664
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7695
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7713
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7760
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7807
var comp =
CreateCompilation
(text, options: TestOptions.DebugExe, parseOptions: DefaultParseOptions);
7876
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 (579)
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);
13968
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
13994
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14021
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14049
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14075
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.NetCoreApp);
14101
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.NetCoreApp);
14131
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14161
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14191
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14222
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll);
14252
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.NetCoreApp);
14288
var comp =
CreateCompilation
(csharp, options: TestOptions.UnsafeDebugDll, targetFramework: TargetFramework.NetCoreApp);
14313
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14332
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14354
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14374
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14395
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14415
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14431
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14450
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14469
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
14491
CreateCompilation
(code, options: TestOptions.UnsafeReleaseDll).VerifyDiagnostics(
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 (5812)
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);
5409
var compilation = (Compilation)
CreateCompilation
(text);
5791
var comp =
CreateCompilation
(new[] { tree1, tree2 });
5830
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5874
var comp =
CreateCompilation
(new[] { tree1, tree2, tree3 });
5903
var comp =
CreateCompilation
(source);
5921
var comp =
CreateCompilation
(source);
5934
var comp =
CreateCompilation
(source);
5957
var comp = (Compilation)
CreateCompilation
(source);
5994
var comp =
CreateCompilation
(source);
6018
var compilation =
CreateCompilation
(text);
6044
var comp =
CreateCompilation
(source);
6053
comp =
CreateCompilation
(source);
6137
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 (44)
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);
15457
var compilation =
CreateCompilation
(source);
15494
var compilation =
CreateCompilation
(source);
15535
var compilation =
CreateCompilation
(source);
15577
var compilation =
CreateCompilation
(source);
15618
var compilation =
CreateCompilation
(source);
15653
var compilation =
CreateCompilation
(source);
15688
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 (166)
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);
6043
var comp1 =
CreateCompilation
(source, targetFramework: TargetFramework.Net100);
6067
var comp1 =
CreateCompilation
(source, targetFramework: TargetFramework.Net100);
6091
var comp1 =
CreateCompilation
(source, targetFramework: TargetFramework.Net100);
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 (26)
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);
7116
var comp =
CreateCompilation
(source,
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 (62)
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);
9183
var libComp =
CreateCompilation
(text);
9184
comp =
CreateCompilation
("", references: [libComp.EmitToImageReference()]);
9188
comp =
CreateCompilation
(text);
9262
var compilation =
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 (53)
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);
4187
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4232
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4277
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
4322
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
Symbols\FunctionPointerTypeSymbolTests.cs (11)
23
return
CreateCompilation
(source, parseOptions: TestOptions.Regular9, options: TestOptions.UnsafeReleaseDll, targetFramework: targetFramework);
1506
var comp =
CreateCompilation
("", references: new[] { CompileIL(il) });
1522
var comp = (Compilation)
CreateCompilation
("");
1545
var comp = (Compilation)
CreateCompilation
("");
1557
var comp = (Compilation)
CreateCompilation
(@"class C {}");
1573
var comp = (Compilation)
CreateCompilation
("");
1589
var comp = (Compilation)
CreateCompilation
("");
1606
var comp = (Compilation)
CreateCompilation
("");
1629
var comp = (Compilation)
CreateCompilation
("");
1641
var comp = (Compilation)
CreateCompilation
("");
1952
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 (115)
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();
6756
CreateCompilation
(source).VerifyDiagnostics(
6811
CreateCompilation
(source).VerifyDiagnostics(
6846
CreateCompilation
(source).VerifyDiagnostics(
6881
var compilation1 =
CreateCompilation
(source1);
6902
var compilation2 =
CreateCompilation
(
7009
var compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular11);
7016
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7047
var compilation =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll, parseOptions: TestOptions.Regular12);
7053
compilation =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
7084
CreateCompilation
(source).VerifyDiagnostics(
7118
CreateCompilation
(source).VerifyDiagnostics(
7180
CreateCompilation
(source).VerifyDiagnostics(
7239
CreateCompilation
(source).VerifyDiagnostics(
7294
CreateCompilation
(source).VerifyDiagnostics(
7338
var comp =
CreateCompilation
(@"System.Console.WriteLine(typeof(C.D).FullName);",
7399
var metadataComp =
CreateCompilation
(code, new[] { remappedComp11.EmitToImageReference() }, assemblyName: "intermediate", targetFramework: TargetFramework.NetStandard20);
7402
var comp =
CreateCompilation
(@"
7430
var comp =
CreateCompilation
(src);
7451
var comp =
CreateCompilation
(src);
7478
var comp =
CreateCompilation
(source);
7496
var comp =
CreateCompilation
(source);
7506
var comp =
CreateCompilation
("");
7522
var comp =
CreateCompilation
(source);
7538
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeDebugDll);
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 (63)
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);
2982
var compilation =
CreateCompilation
(source, options: TestOptions.DebugDll);
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);
1127
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 (113)
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);
353
var comp =
CreateCompilation
(source);
379
var comp =
CreateCompilation
(source);
416
var comp =
CreateCompilation
(source);
452
var comp =
CreateCompilation
(source);
477
var comp =
CreateCompilation
(source);
505
var comp =
CreateCompilation
(source);
524
var comp =
CreateCompilation
(source);
543
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
565
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
596
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
618
var comp =
CreateCompilation
(source);
637
var comp =
CreateCompilation
(source);
656
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
676
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
695
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
754
var comp =
CreateCompilation
([source, IsExternalInitTypeDefinition]);
1170
var comp1 =
CreateCompilation
([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]);
1217
var comp1 =
CreateCompilation
([], options: TestOptions.DebugDll.WithMetadataImportOptions(MetadataImportOptions.All), references: [reference]);
1245
var comp =
CreateCompilation
(source);
1277
var comp =
CreateCompilation
(source);
1385
var comp =
CreateCompilation
(source);
1412
var comp =
CreateCompilation
(source);
1476
var comp =
CreateCompilation
(source);
1508
var comp =
CreateCompilation
(source);
1537
var comp =
CreateCompilation
(source);
1580
var comp =
CreateCompilation
(source);
1613
var comp =
CreateCompilation
(source);
1651
var comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Enable));
1666
comp =
CreateCompilation
(source, options: TestOptions.DebugDll.WithNullableContextOptions(NullableContextOptions.Annotations));
1702
var comp =
CreateCompilation
(source);
1826
var comp =
CreateCompilation
(source);
1905
var comp =
CreateCompilation
(source);
1941
var comp =
CreateCompilation
(source);
1996
var comp =
CreateCompilation
(source);
2063
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2072
comp =
CreateCompilation
(source);
2102
var comp =
CreateCompilation
(source, options: TestOptions.UnsafeReleaseDll);
2207
var comp =
CreateCompilation
(source);
2287
var comp =
CreateCompilation
(source);
2378
var comp =
CreateCompilation
([source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute]);
2404
var comp =
CreateCompilation
([source, RequiredMemberAttribute, SetsRequiredMembersAttribute, CompilerFeatureRequiredAttribute]);
2439
var comp =
CreateCompilation
(source);
2472
var comp =
CreateCompilation
(source);
2506
var comp =
CreateCompilation
(source);
2535
CreateCompilation
(source).VerifyDiagnostics(
2543
CreateCompilation
(source, targetFramework: TargetFramework.Net60).VerifyDiagnostics();
2545
CreateCompilation
(source, targetFramework: TargetFramework.Net60, parseOptions: TestOptions.Regular7).VerifyDiagnostics(
2569
CreateCompilation
(source).VerifyDiagnostics(
2666
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2801
var comp =
CreateCompilation
(executable ? [source1, source2] : source1,
2917
var comp =
CreateCompilation
(source);
2958
var comp =
CreateCompilation
(source);
2991
var comp =
CreateCompilation
(source);
3043
var comp =
CreateCompilation
(source);
3087
var comp =
CreateCompilation
(source);
3126
var comp =
CreateCompilation
(source);
3148
var comp =
CreateCompilation
(source);
3167
var comp =
CreateCompilation
(source);
3242
var comp =
CreateCompilation
(source);
3318
var comp =
CreateCompilation
(source);
3353
var comp =
CreateCompilation
(source);
3384
var comp =
CreateCompilation
(source);
3413
var comp =
CreateCompilation
(source);
3468
var comp =
CreateCompilation
(source);
3528
var comp =
CreateCompilation
(source);
3556
var comp =
CreateCompilation
(source);
3589
var comp =
CreateCompilation
(source);
3622
var comp =
CreateCompilation
(source);
3649
var comp =
CreateCompilation
(source);
3687
var comp =
CreateCompilation
(source);
3757
var comp =
CreateCompilation
(source);
3797
var comp =
CreateCompilation
(source);
3846
var comp =
CreateCompilation
(source);
3887
var comp =
CreateCompilation
(source);
3920
var comp =
CreateCompilation
(source);
3951
var comp =
CreateCompilation
(source);
4002
var comp =
CreateCompilation
(source);
4058
var comp =
CreateCompilation
(source);
4108
var comp =
CreateCompilation
(source);
4140
var comp =
CreateCompilation
(source);
4196
var comp =
CreateCompilation
(source);
4274
var comp =
CreateCompilation
(source);
4356
var comp =
CreateCompilation
([source, UnscopedRefAttributeDefinition]);
4855
var comp =
CreateCompilation
(source);
4877
var comp =
CreateCompilation
(source);
4898
var comp =
CreateCompilation
(source);
4928
var comp =
CreateCompilation
(source);
4959
var comp =
CreateCompilation
(source);
4991
var comp =
CreateCompilation
(source);
5022
var comp =
CreateCompilation
([source, UnmanagedCallersOnlyAttributeDefinition]);
5118
var verifier =
CreateCompilation
(source);
5167
var comp =
CreateCompilation
(source);
5220
var comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular13);
5223
comp =
CreateCompilation
(source, parseOptions: TestOptions.Regular12);
5250
var comp =
CreateCompilation
(source);
5286
var comp =
CreateCompilation
(source);
5333
var comp =
CreateCompilation
(source);
5370
var comp =
CreateCompilation
(source);
5406
var comp =
CreateCompilation
(source);
5433
var comp =
CreateCompilation
(source);
5458
var comp =
CreateCompilation
(source);
5477
var comp =
CreateCompilation
(source);
5526
var comp =
CreateCompilation
(source);
5579
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 (74)
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);
2419
var comp =
CreateCompilation
(source);
2433
var comp =
CreateCompilation
(source);
2447
var comp =
CreateCompilation
(source);
2461
var comp =
CreateCompilation
(source);
2481
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 (61)
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);
2603
var comp =
CreateCompilation
([(source1, "source1"), (source2, "source2")]);
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 (568)
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,
10040
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10134
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10195
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10315
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10438
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10444
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10549
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10721
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10786
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
10893
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
10967
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11106
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11171
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11271
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11382
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11608
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11614
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11738
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
11901
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
11972
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
12085
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12089
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12100
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12148
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12152
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12170
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12235
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12239
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12250
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12285
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12289
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12300
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12342
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12346
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12382
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12455
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12459
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12477
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12546
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12582
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12642
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12646
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
12657
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
12721
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12812
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
12906
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13004
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13045
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13064
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13130
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13150
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13221
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13259
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
13340
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13344
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13355
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13392
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13396
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13407
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13444
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13448
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13462
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13499
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13503
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13514
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13551
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13555
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13566
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13603
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13607
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
13618
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
13682
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13779
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13874
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13921
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
13960
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14050
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14054
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14065
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14099
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14103
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14114
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14148
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14152
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14163
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14200
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14204
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14215
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14499
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14561
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14591
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
14652
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14656
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14667
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14701
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14705
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
14716
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
14791
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14857
var compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseExe,
14917
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
14979
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15003
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
15058
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15062
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15073
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15107
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15111
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15122
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15186
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15251
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15273
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll.WithAllowUnsafe(true),
15326
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15330
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15341
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15375
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15379
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15390
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
15452
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15532
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15594
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15670
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15808
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15812
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15826
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15864
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15868
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15879
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15911
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
15915
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
15926
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
15963
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16025
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16081
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16098
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16376
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16562
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16579
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16650
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16665
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16740
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16743
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16759
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16822
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16825
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16841
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16904
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16907
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16923
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
16974
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
16977
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
16994
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17049
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17052
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17068
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17136
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17139
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17155
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
17226
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17229
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17252
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17332
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17335
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
17358
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugExe,
17510
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17653
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
17796
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
17909
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18045
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18188
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18297
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18444
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18591
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
18744
var compilation1 =
CreateCompilation
([source1, CompilerFeatureRequiredAttribute], options: TestOptions.DebugDll,
18897
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19083
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19231
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19235
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19273
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19359
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19363
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19417
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19519
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19523
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19534
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19571
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19575
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19586
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19623
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19627
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19638
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19678
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19682
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
19693
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
19753
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19834
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
19926
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20014
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20097
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20189
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20278
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20365
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20382
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20437
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20456
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20522
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20539
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
20602
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
20619
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21248
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21730
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21747
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21790
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21807
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
21893
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
21910
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22013
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22028
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22134
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22137
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22153
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22243
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22246
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22262
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22345
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22348
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
22364
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
22502
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22652
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
22722
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22767
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22838
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22918
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
22980
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23056
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23137
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23208
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23212
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23232
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23270
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23274
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23291
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23326
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23330
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
23341
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
23381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23476
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23567
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23655
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
23672
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
24846
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25216
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25233
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25331
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25346
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25456
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25459
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25475
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25526
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25529
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
25546
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
25617
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25697
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25759
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25835
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25917
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25986
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
25990
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26013
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26054
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26058
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26075
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26107
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26111
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
26122
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
26159
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26254
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26342
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
26359
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27374
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27881
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
27898
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
27996
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28011
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28122
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28125
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
28141
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28192
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28195
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
28212
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28351
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28494
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28603
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28760
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28878
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28882
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28916
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
28979
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
28983
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
28994
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29031
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29035
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29046
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
29110
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29227
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29329
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29346
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
29707
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29954
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
29971
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30069
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30072
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
30088
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30175
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30178
references: new[] {
CreateCompilation
("", targetFramework: _supportingFramework).ToMetadataReference() });
30194
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30314
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll.WithAllowUnsafe(true),
30381
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30446
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30514
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30600
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30606
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30672
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30785
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30858
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
30976
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
30980
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
30991
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31034
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31038
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31049
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31091
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31095
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31120
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31177
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31181
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
31192
var compilation3 =
CreateCompilation
(source2 + source1, options: TestOptions.DebugDll,
31243
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31329
compilation1 =
CreateCompilation
(source1, options: TestOptions.ReleaseDll,
31447
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31498
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31542
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31596
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31656
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31704
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31747
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31801
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31850
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
31923
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
31981
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32034
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugExe,
32075
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32159
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32171
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32231
var compilation0 =
CreateCompilation
(source0, options: TestOptions.DebugDll,
32244
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32294
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32329
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32363
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32545
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32596
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
32640
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32674
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32728
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32769
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32804
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32845
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32887
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32933
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
32975
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33011
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33053
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33075
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33115
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33153
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33185
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33223
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33255
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33293
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33325
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33363
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33395
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33433
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33465
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33503
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33525
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33556
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33592
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33623
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33659
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33690
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33726
var compilation1 =
CreateCompilation
(source1, options: TestOptions.DebugDll,
33757
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll,
33785
CreateCompilation
("""
33888
CreateCompilation
("""
33903
CreateCompilation
("""
33944
CreateCompilation
("""
33990
CreateCompilation
("""
34115
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
34120
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
34125
var compilation3 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.EmitToImageReference() },
34172
var compilation1 =
CreateCompilation
(source1 + source2, options: TestOptions.DebugDll,
34177
var compilation2 =
CreateCompilation
(source2, options: TestOptions.DebugDll, references: new[] { compilation1.ToMetadataReference() },
34182
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 (1057)
Diagnostics\DiagnosticTest.cs (162)
110
var comp =
CreateCompilation
("");
147
var comp =
CreateCompilation
(text);
205
CreateCompilation
(text).VerifyDiagnostics(
569
CreateCompilation
(text, options: TestOptions.ReleaseExe).VerifyDiagnostics(
577
CreateCompilation
(text, options: option).VerifyDiagnostics();
580
CreateCompilation
(text, options: option).VerifyDiagnostics(
587
CreateCompilation
(text, options: option).VerifyDiagnostics(
610
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
621
CreateCompilation
(text, options: option).VerifyDiagnostics(
628
CreateCompilation
(text, options: option).VerifyDiagnostics(
637
CreateCompilation
(text, options: option).VerifyDiagnostics(
646
CreateCompilation
(text, options: option).VerifyDiagnostics();
649
CreateCompilation
(text, options: option).VerifyDiagnostics();
652
CreateCompilation
(text, options: option).VerifyDiagnostics();
673
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
681
CreateCompilation
(text, options: option).VerifyDiagnostics(
687
CreateCompilation
(text, options: option).VerifyDiagnostics(
693
CreateCompilation
(text, options: option).VerifyDiagnostics();
696
CreateCompilation
(text, options: option).VerifyDiagnostics();
699
CreateCompilation
(text, options: option).VerifyDiagnostics();
721
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
732
CreateCompilation
(text, options: option).VerifyDiagnostics(
741
CreateCompilation
(text, options: option).VerifyDiagnostics(
750
CreateCompilation
(text, options: option).VerifyDiagnostics();
753
CreateCompilation
(text, options: option).VerifyDiagnostics();
756
CreateCompilation
(text, options: option).VerifyDiagnostics();
777
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
788
CreateCompilation
(text, options: option).VerifyDiagnostics(
797
CreateCompilation
(text, options: option).VerifyDiagnostics(
806
CreateCompilation
(text, options: option).VerifyDiagnostics();
809
CreateCompilation
(text, options: option).VerifyDiagnostics();
812
CreateCompilation
(text, options: option).VerifyDiagnostics();
833
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
844
CreateCompilation
(text, options: option).VerifyDiagnostics(
853
CreateCompilation
(text, options: option).VerifyDiagnostics(
862
CreateCompilation
(text, options: option).VerifyDiagnostics();
865
CreateCompilation
(text, options: option).VerifyDiagnostics();
868
CreateCompilation
(text, options: option).VerifyDiagnostics();
891
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
902
CreateCompilation
(text, options: option).VerifyDiagnostics(
911
CreateCompilation
(text, options: option).VerifyDiagnostics(
920
CreateCompilation
(text, options: option).VerifyDiagnostics();
923
CreateCompilation
(text, options: option).VerifyDiagnostics();
926
CreateCompilation
(text, options: option).VerifyDiagnostics();
949
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
960
CreateCompilation
(text, options: option).VerifyDiagnostics(
969
CreateCompilation
(text, options: option).VerifyDiagnostics(
978
CreateCompilation
(text, options: option).VerifyDiagnostics();
981
CreateCompilation
(text, options: option).VerifyDiagnostics();
984
CreateCompilation
(text, options: option).VerifyDiagnostics();
1005
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1019
CreateCompilation
(text, options: option).VerifyDiagnostics(
1031
CreateCompilation
(text, options: option).VerifyDiagnostics(
1043
CreateCompilation
(text, options: option).VerifyDiagnostics();
1046
CreateCompilation
(text, options: option).VerifyDiagnostics();
1049
CreateCompilation
(text, options: option).VerifyDiagnostics();
1072
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1089
CreateCompilation
(text, options: option).VerifyDiagnostics(
1104
CreateCompilation
(text, options: option).VerifyDiagnostics(
1119
CreateCompilation
(text, options: option).VerifyDiagnostics();
1122
CreateCompilation
(text, options: option).VerifyDiagnostics();
1125
CreateCompilation
(text, options: option).VerifyDiagnostics();
1146
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1160
CreateCompilation
(text, options: option).VerifyDiagnostics(
1172
CreateCompilation
(text, options: option).VerifyDiagnostics(
1184
CreateCompilation
(text, options: option).VerifyDiagnostics();
1187
CreateCompilation
(text, options: option).VerifyDiagnostics();
1190
CreateCompilation
(text, options: option).VerifyDiagnostics();
1217
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1225
CreateCompilation
(text, options: option).VerifyDiagnostics(
1231
CreateCompilation
(text, options: option).VerifyDiagnostics(
1237
CreateCompilation
(text, options: option).VerifyDiagnostics();
1240
CreateCompilation
(text, options: option).VerifyDiagnostics();
1243
CreateCompilation
(text, options: option).VerifyDiagnostics();
1270
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1278
CreateCompilation
(text, options: option).VerifyDiagnostics(
1284
CreateCompilation
(text, options: option).VerifyDiagnostics(
1290
CreateCompilation
(text, options: option).VerifyDiagnostics();
1293
CreateCompilation
(text, options: option).VerifyDiagnostics();
1296
CreateCompilation
(text, options: option).VerifyDiagnostics();
1324
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1332
CreateCompilation
(text, options: option).VerifyDiagnostics(
1338
CreateCompilation
(text, options: option).VerifyDiagnostics(
1344
CreateCompilation
(text, options: option).VerifyDiagnostics();
1347
CreateCompilation
(text, options: option).VerifyDiagnostics();
1350
CreateCompilation
(text, options: option).VerifyDiagnostics();
1377
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1382
CreateCompilation
(text, options: option).VerifyDiagnostics();
1385
CreateCompilation
(text, options: option).VerifyDiagnostics();
1388
CreateCompilation
(text, options: option).VerifyDiagnostics();
1391
CreateCompilation
(text, options: option).VerifyDiagnostics();
1394
CreateCompilation
(text, options: option).VerifyDiagnostics();
1425
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1433
CreateCompilation
(text, options: option).VerifyDiagnostics(
1439
CreateCompilation
(text, options: option).VerifyDiagnostics(
1445
CreateCompilation
(text, options: option).VerifyDiagnostics();
1448
CreateCompilation
(text, options: option).VerifyDiagnostics();
1451
CreateCompilation
(text, options: option).VerifyDiagnostics();
1472
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1489
CreateCompilation
(text, options: option).VerifyDiagnostics(
1506
CreateCompilation
(text, options: option).VerifyDiagnostics(
1518
CreateCompilation
(text, options: option).VerifyDiagnostics(
1542
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1556
CreateCompilation
(text, options: option).VerifyDiagnostics(
1568
CreateCompilation
(text, options: option).VerifyDiagnostics();
1589
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1606
CreateCompilation
(text, options: option).VerifyDiagnostics(
1621
CreateCompilation
(text, options: option).VerifyDiagnostics(
1648
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1662
CreateCompilation
(text, options: option).VerifyDiagnostics(
1674
CreateCompilation
(text, options: option).VerifyDiagnostics();
1698
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1709
CreateCompilation
(text, options: option).VerifyDiagnostics(
1718
CreateCompilation
(text, options: option).VerifyDiagnostics();
1741
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
1746
CreateCompilation
(text, options: option).VerifyDiagnostics();
1749
CreateCompilation
(text, options: option).VerifyDiagnostics();
1768
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1779
CreateCompilation
(text, options: option).VerifyDiagnostics(
1789
CreateCompilation
(text, options: option).VerifyDiagnostics(
1795
CreateCompilation
(text, options: option).VerifyDiagnostics();
1814
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1828
CreateCompilation
(text, options: option).VerifyDiagnostics(
1841
CreateCompilation
(text, options: option).VerifyDiagnostics(
1850
CreateCompilation
(text, options: option).VerifyDiagnostics(
1881
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1923
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
1984
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2020
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2056
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2103
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2145
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(expected1);
2146
CreateCompilation
(text1).VerifyDiagnostics(expected1);
2150
CreateCompilation
(text1, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics();
2151
CreateCompilation
(text1, options: options).VerifyDiagnostics();
2157
CreateCompilation
(text2, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2158
CreateCompilation
(text2, options: options).VerifyDiagnostics(expected1);
2164
CreateCompilation
(text3, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected1);
2165
CreateCompilation
(text3, options: options).VerifyDiagnostics(expected1);
2178
CreateCompilation
(text4, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2179
CreateCompilation
(text4, options: options).VerifyDiagnostics(expected2);
2185
CreateCompilation
(text5, parseOptions: TestOptions.Regular7_3, options: options).VerifyDiagnostics(expected2);
2186
CreateCompilation
(text5, options: options).VerifyDiagnostics(expected2);
2207
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2232
CreateCompilation
(text, options: commonoption).VerifyDiagnostics(
2252
CreateCompilation
(text, options: option).VerifyDiagnostics(
2271
CreateCompilation
(text, options: option).VerifyDiagnostics(
2283
CreateCompilation
(text, options: option).VerifyDiagnostics(
2315
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2337
CreateCompilation
(text, options: commonoption).VerifyDiagnostics();
2437
var compilation =
CreateCompilation
(text);
2462
var compilation =
CreateCompilation
(text);
2488
AssertEx.Equal(
CreateCompilation
(tree).GetDiagnostics(),
CreateCompilation
(tree).GetDiagnostics());
2532
CreateCompilation
(text, options: options).VerifyDiagnostics(
2578
var compilation =
CreateCompilation
(source);
2618
var compilation =
CreateCompilation
(source);
2649
var compilation =
CreateCompilation
(source);
2694
var compilation =
CreateCompilation
(source);
2728
var compilation =
CreateCompilation
(source);
2749
var compilation =
CreateCompilation
(source);
2879
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 (82)
466
CreateCompilation
(localDeclaration).VerifyDiagnostics(
483
CreateCompilation
(localFunction).VerifyDiagnostics(
492
CreateCompilation
(typeDeclaration).VerifyDiagnostics(
1021
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1022
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1040
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1044
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1062
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1066
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1085
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1089
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1107
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1111
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1130
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1134
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();
1200
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1204
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1223
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1227
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1247
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1251
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1289
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1308
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1362
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1381
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1416
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1417
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1435
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1439
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1461
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1465
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1485
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
1486
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1504
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1508
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1529
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1533
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1554
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1558
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1576
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1580
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1603
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1607
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1630
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1634
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1654
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1658
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1679
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1683
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1704
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1708
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1729
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1733
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1756
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1760
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1783
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1787
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1808
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1812
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1836
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1840
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1864
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1868
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1890
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1894
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
1915
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1919
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1943
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1947
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1971
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
1975
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics(
1997
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2001
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2020
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics();
2021
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2040
CreateCompilation
(test, parseOptions: TestOptions.Regular10).VerifyDiagnostics(
2044
CreateCompilation
(test, parseOptions: TestOptions.Regular11).VerifyDiagnostics();
2070
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(
5720
CreateCompilation
(text).VerifyDiagnostics(
5730
CreateCompilation
(text).VerifyDiagnostics(
5740
CreateCompilation
(text).VerifyDiagnostics(
5785
CreateCompilation
(text).VerifyDiagnostics(
5852
CreateCompilation
(text).VerifyDiagnostics(
5966
CreateCompilation
(text1).VerifyDiagnostics(
5970
CreateCompilation
(text2).VerifyDiagnostics(
6918
CreateCompilation
(code).VerifyDiagnostics(
6937
CreateCompilation
(code).VerifyDiagnostics(
6959
CreateCompilation
(code).VerifyDiagnostics(
6978
CreateCompilation
(code).VerifyDiagnostics(
7001
CreateCompilation
(code).VerifyDiagnostics(
7024
CreateCompilation
(code).VerifyDiagnostics(
8583
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
8841
CreateCompilation
(test, parseOptions: useCSharp8 ? TestOptions.Regular8 : TestOptions.Regular9).VerifyDiagnostics(
8970
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(
1946
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
1959
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2064
CreateCompilation
(text).VerifyDiagnostics(
2135
CreateCompilation
(text).VerifyDiagnostics(
2207
CreateCompilation
(text).VerifyDiagnostics(
2280
CreateCompilation
(text).VerifyDiagnostics(
2351
CreateCompilation
(text, parseOptions: TestOptions.Regular7_3).VerifyDiagnostics(
2373
CreateCompilation
(text, parseOptions: TestOptions.Regular8).VerifyDiagnostics(
2392
CreateCompilation
(text, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
Parsing\MemberDeclarationParsingTests.cs (61)
1648
CreateCompilation
(classWithText, parseOptions: parseOptions).VerifyDiagnostics(
2320
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2336
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2431
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2456
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2556
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2581
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2680
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2699
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
2786
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
2805
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3201
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3217
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3316
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3341
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3444
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3469
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3572
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3591
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
3682
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
3701
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4246
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4259
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4350
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4372
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4467
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4489
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4584
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4600
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
4683
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
4699
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5086
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5099
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5194
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5216
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5315
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5337
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5436
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5452
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
5539
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
5555
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6271
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6284
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6358
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6374
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6509
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6525
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6609
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
6625
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
6996
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7009
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7087
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7106
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7200
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7216
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7304
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7320
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
7408
CreateCompilation
(classWithText, parseOptions: TestOptions.Regular9).VerifyDiagnostics(
7424
CreateCompilation
(classWithText, parseOptions: TestOptions.RegularPreview).VerifyDiagnostics(
12104
CreateCompilation
(text).VerifyDiagnostics(
12166
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)
198
CreateCompilation
(@"
225
CreateCompilation
(@"
252
CreateCompilation
(@"
278
CreateCompilation
(@"
331
CreateCompilation
(@"
366
CreateCompilation
(@"
383
CreateCompilation
(@"
400
CreateCompilation
(@"
415
CreateCompilation
(@"
437
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
(
3223
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");
3338
var compilationV1 = CSharpTestBase.
CreateCompilation
(sourceV1, parseOptions: TestOptions.Regular.WithNoRefSafetyRulesAttribute(), options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "lib");
4120
var compilationA = CSharpTestBase.
CreateCompilation
(source1, options: TestOptions.DebugDll, targetFramework: DefaultTargetFramework, assemblyName: "A");
4121
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
("""