3592 references to VerifyDiagnostics
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (784)
BreakingChanges.cs (3)
1412
cs1Verifier.
VerifyDiagnostics
();
1419
cs2Verifier.
VerifyDiagnostics
();
1426
cs3Verifier.
VerifyDiagnostics
();
CodeGen\CodeGenAsyncEHTests.cs (12)
2170
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2171
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2267
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2268
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2335
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2336
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2414
targetFramework: TargetFramework.Mscorlib46).
VerifyDiagnostics
();
2416
targetFramework: TargetFramework.Mscorlib46).
VerifyDiagnostics
();
2472
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2473
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2543
CompileAndVerify(CreateCompilationWithTasksExtensions(sources, options: TestOptions.DebugExe), expectedOutput: expectedOutput).
VerifyDiagnostics
();
2544
CompileAndVerify(CreateCompilationWithTasksExtensions(sources, options: TestOptions.ReleaseExe), expectedOutput: expectedOutput).
VerifyDiagnostics
();
CodeGen\CodeGenAsyncIteratorTests.cs (27)
720
verifier.
VerifyDiagnostics
();
879
verifier.
VerifyDiagnostics
();
8234
v.
VerifyDiagnostics
();
8283
v.
VerifyDiagnostics
();
8332
v.
VerifyDiagnostics
();
8857
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9055
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9096
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9141
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9182
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9378
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9424
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
9447
CompileAndVerify(src, expectedOutput: ExpectedOutput("42"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9474
var verifier = CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9640
CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9673
CompileAndVerify(src, expectedOutput: ExpectedOutput("value exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9701
CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9745
CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9784
CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9830
CompileAndVerify(src, expectedOutput: ExpectedOutput("value exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9863
CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
9914
verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
10138
CompileAndVerify(src, expectedOutput: ExpectedOutput("exception True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
10169
CompileAndVerify(src, expectedOutput: ExpectedOutput("value value True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
10210
CompileAndVerify(src, expectedOutput: ExpectedOutput("value value outer True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
10252
CompileAndVerify(src, expectedOutput: ExpectedOutput("False 0 False 1 True"), verify: Verification.Skipped, targetFramework: TargetFramework.Net80).
VerifyDiagnostics
();
10296
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (5)
131
verifier.
VerifyDiagnostics
();
537
verifier.
VerifyDiagnostics
();
844
verifier.
VerifyDiagnostics
();
943
verifier.
VerifyDiagnostics
();
2137
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenAsyncSpillTests.cs (3)
6442
verifier.
VerifyDiagnostics
();
6478
verifier.
VerifyDiagnostics
();
6509
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenAsyncTests.cs (2)
6093
CompileAndVerify(src, expectedOutput: ExpectedOutput("value True"), targetFramework: TargetFramework.Net90, verify: Verification.Skipped).
VerifyDiagnostics
();
6136
targetFramework: TargetFramework.Net90, verify: Verification.Skipped).
VerifyDiagnostics
();
CodeGen\CodeGenAwaitForeachTests.cs (19)
1776
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1779
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2234
CompileAndVerify(comp, expectedOutput: "1 2 Done").
VerifyDiagnostics
();
2281
CompileAndVerify(comp, expectedOutput: "2 4 -1 Done").
VerifyDiagnostics
();
2324
CompileAndVerify(source, expectedOutput: "2 4 -1 Done").
VerifyDiagnostics
();
2383
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2386
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2454
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2457
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2509
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2510
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2511
CompileAndVerify(source, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2615
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2618
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2679
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2682
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2786
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2787
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9484
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
CodeGen\CodeGenAwaitUsingTests.cs (17)
3207
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
3208
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13).
VerifyDiagnostics
();
3209
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3251
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
3252
CompileAndVerify(source, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
3290
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13).
VerifyDiagnostics
();
3291
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3332
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
3333
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13).
VerifyDiagnostics
();
3334
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3373
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3376
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3533
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3536
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3567
CompileAndVerify(comp, expectedOutput: "DISPOSED").
VerifyDiagnostics
();
3723
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3752
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
CodeGen\CodeGenConditionalOperatorTests.cs (22)
42
verifier.
VerifyDiagnostics
();
65
verifier.
VerifyDiagnostics
();
91
verifier.
VerifyDiagnostics
();
174
verifier.
VerifyDiagnostics
();
376
verifier.
VerifyDiagnostics
();
459
verifier.
VerifyDiagnostics
();
573
verifier.
VerifyDiagnostics
();
1520
comp.
VerifyDiagnostics
();
1551
comp.
VerifyDiagnostics
();
1582
comp.
VerifyDiagnostics
();
1622
comp.
VerifyDiagnostics
();
1688
comp.
VerifyDiagnostics
();
1734
comp.
VerifyDiagnostics
();
1785
comp.
VerifyDiagnostics
();
1843
comp.
VerifyDiagnostics
();
1889
comp.
VerifyDiagnostics
();
1931
comp.
VerifyDiagnostics
();
2009
comp.
VerifyDiagnostics
();
2228
CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL).
VerifyDiagnostics
();
2302
VerifyDiagnostics
();
3800
var verifier = CompileAndVerify(source, expectedOutput: "11True").
VerifyDiagnostics
();
3861
var verifier = CompileAndVerify(source, expectedOutput: "11True").
VerifyDiagnostics
();
CodeGen\CodeGenConversionTests.cs (2)
1197
CompileAndVerify(source).
VerifyDiagnostics
();
1213
CompileAndVerify(source).
VerifyDiagnostics
();
CodeGen\CodeGenDeconstructTests.cs (123)
109
comp.
VerifyDiagnostics
();
197
comp.
VerifyDiagnostics
();
251
comp.
VerifyDiagnostics
();
391
comp.
VerifyDiagnostics
();
437
comp.
VerifyDiagnostics
();
482
comp.
VerifyDiagnostics
();
528
comp.
VerifyDiagnostics
();
588
comp.
VerifyDiagnostics
();
649
comp.
VerifyDiagnostics
();
682
comp.
VerifyDiagnostics
();
710
comp.
VerifyDiagnostics
();
749
comp.
VerifyDiagnostics
();
782
comp.
VerifyDiagnostics
();
837
comp.
VerifyDiagnostics
();
869
comp.
VerifyDiagnostics
();
900
comp.
VerifyDiagnostics
();
940
comp.
VerifyDiagnostics
();
982
comp.
VerifyDiagnostics
();
1030
comp.
VerifyDiagnostics
();
1086
comp.
VerifyDiagnostics
();
1107
comp.
VerifyDiagnostics
();
1157
comp.
VerifyDiagnostics
();
1178
comp.
VerifyDiagnostics
();
1268
comp.
VerifyDiagnostics
();
1289
comp.
VerifyDiagnostics
();
1325
comp.
VerifyDiagnostics
();
1373
comp.
VerifyDiagnostics
();
1431
comp.
VerifyDiagnostics
();
1686
comp.
VerifyDiagnostics
();
1897
comp.
VerifyDiagnostics
();
1932
comp.
VerifyDiagnostics
();
1960
comp.
VerifyDiagnostics
();
2027
comp.
VerifyDiagnostics
();
2085
comp.
VerifyDiagnostics
();
2150
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2176
comp.
VerifyDiagnostics
();
2211
comp.
VerifyDiagnostics
();
2235
comp.
VerifyDiagnostics
();
2261
comp.
VerifyDiagnostics
();
2283
comp.
VerifyDiagnostics
();
2375
comp.
VerifyDiagnostics
();
2403
comp.
VerifyDiagnostics
();
2433
comp.
VerifyDiagnostics
();
2496
comp.
VerifyDiagnostics
();
2561
comp.
VerifyDiagnostics
();
2593
comp.
VerifyDiagnostics
();
2662
comp.
VerifyDiagnostics
();
2695
comp.
VerifyDiagnostics
();
2714
comp.
VerifyDiagnostics
();
2750
comp.
VerifyDiagnostics
();
2777
comp.
VerifyDiagnostics
();
2805
comp.
VerifyDiagnostics
();
2864
comp.
VerifyDiagnostics
();
2924
comp.
VerifyDiagnostics
();
2972
comp.
VerifyDiagnostics
();
3001
comp.
VerifyDiagnostics
();
3035
comp.
VerifyDiagnostics
();
3069
comp.
VerifyDiagnostics
();
3088
comp.
VerifyDiagnostics
();
3154
comp.
VerifyDiagnostics
();
3217
comp.
VerifyDiagnostics
();
3256
comp.
VerifyDiagnostics
();
3306
comp.
VerifyDiagnostics
();
3344
comp.
VerifyDiagnostics
();
3382
comp.
VerifyDiagnostics
();
3402
comp.
VerifyDiagnostics
();
3419
comp.
VerifyDiagnostics
();
3455
comp.
VerifyDiagnostics
();
3497
comp.
VerifyDiagnostics
();
3515
comp.
VerifyDiagnostics
();
3559
comp.
VerifyDiagnostics
();
3710
comp.
VerifyDiagnostics
();
3763
comp.
VerifyDiagnostics
();
3816
comp.
VerifyDiagnostics
();
3857
comp.
VerifyDiagnostics
();
3900
comp.
VerifyDiagnostics
(
3952
comp.
VerifyDiagnostics
();
3998
comp.
VerifyDiagnostics
();
4061
comp.
VerifyDiagnostics
();
4065
comp7_1.
VerifyDiagnostics
();
4150
comp.
VerifyDiagnostics
();
4233
comp.
VerifyDiagnostics
();
4344
comp.
VerifyDiagnostics
();
4465
comp.
VerifyDiagnostics
();
4486
comp.
VerifyDiagnostics
();
4507
comp.
VerifyDiagnostics
();
4536
comp.
VerifyDiagnostics
();
4563
comp.
VerifyDiagnostics
();
4619
comp.
VerifyDiagnostics
();
4703
comp.
VerifyDiagnostics
();
4732
comp.
VerifyDiagnostics
();
4750
comp.
VerifyDiagnostics
();
4775
comp.
VerifyDiagnostics
();
4798
comp.
VerifyDiagnostics
();
4821
comp.
VerifyDiagnostics
();
4850
comp.
VerifyDiagnostics
();
4873
comp.
VerifyDiagnostics
();
4902
comp.
VerifyDiagnostics
();
4926
comp.
VerifyDiagnostics
();
4948
comp.
VerifyDiagnostics
();
6450
comp.
VerifyDiagnostics
(
6528
comp.
VerifyDiagnostics
();
7619
comp.
VerifyDiagnostics
();
7641
comp.
VerifyDiagnostics
();
7786
comp.
VerifyDiagnostics
();
7820
comp.
VerifyDiagnostics
();
7865
comp2.
VerifyDiagnostics
();
7928
comp2.
VerifyDiagnostics
();
8008
comp.
VerifyDiagnostics
();
8060
comp.
VerifyDiagnostics
();
8110
comp.
VerifyDiagnostics
();
8163
comp.
VerifyDiagnostics
();
9097
comp.
VerifyDiagnostics
();
9155
comp.
VerifyDiagnostics
();
9213
comp.
VerifyDiagnostics
();
9299
comp.
VerifyDiagnostics
();
9390
comp.
VerifyDiagnostics
();
9407
comp.
VerifyDiagnostics
();
9529
comp.
VerifyDiagnostics
();
9659
comp.
VerifyDiagnostics
();
9819
comp.
VerifyDiagnostics
();
9906
comp.
VerifyDiagnostics
();
10074
comp.
VerifyDiagnostics
();
CodeGen\CodeGenDynamicTests.cs (4)
1547
parseOptions: _localFunctionParseOptions).
VerifyDiagnostics
();
8957
").
VerifyDiagnostics
();
9049
").
VerifyDiagnostics
();
14428
comp.
VerifyDiagnostics
();
CodeGen\CodeGenExplicitImplementationTests.cs (5)
624
comp.
VerifyDiagnostics
(); // No Errors
758
comp.
VerifyDiagnostics
(); // No errors
823
comp.
VerifyDiagnostics
(); // No errors
935
I1.P").
VerifyDiagnostics
(); // No errors
966
comp.
VerifyDiagnostics
(); // No errors
CodeGen\CodeGenExprLambdaTests.cs (5)
509
.
VerifyDiagnostics
();
541
.
VerifyDiagnostics
();
581
.
VerifyDiagnostics
();
3222
c.
VerifyDiagnostics
();
6110
.
VerifyDiagnostics
();
CodeGen\CodeGenForEachTests.cs (7)
4365
verifier.
VerifyDiagnostics
();
4417
verifier.
VerifyDiagnostics
();
5368
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "111").
VerifyDiagnostics
();
5408
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "222").
VerifyDiagnostics
();
5454
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "111").
VerifyDiagnostics
();
5535
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "111").
VerifyDiagnostics
();
5594
.
VerifyDiagnostics
();
CodeGen\CodeGenFunctionPointersTests.cs (9)
11683
verifier.
VerifyDiagnostics
();
11746
verifier.
VerifyDiagnostics
();
11808
verifier.
VerifyDiagnostics
();
11867
verifier.
VerifyDiagnostics
();
11901
verifier.
VerifyDiagnostics
();
12143
verifier.
VerifyDiagnostics
();
12286
verifier.
VerifyDiagnostics
();
12325
verifier.
VerifyDiagnostics
();
12377
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenImplicitImplementationTests.cs (11)
1446
comp.
VerifyDiagnostics
();
1555
comp.
VerifyDiagnostics
(); // No errors
1623
comp.
VerifyDiagnostics
(); // No errors
1688
comp.
VerifyDiagnostics
(); // No errors
1821
comp.
VerifyDiagnostics
(); // No errors
1970
I1.P").
VerifyDiagnostics
(); // No errors
2114
CompileAndVerify(source, expectedOutput: "Base.ToString").
VerifyDiagnostics
(); // No errors
2155
B.set_Property").
VerifyDiagnostics
(); // No errors
2198
C.set_Property").
VerifyDiagnostics
(); // No errors
2240
D.set_Property").
VerifyDiagnostics
(); // No errors
2284
D.M").
VerifyDiagnostics
(); // No errors
CodeGen\CodeGenInterfaceImplementation.cs (21)
451
comp.
VerifyDiagnostics
(); // No errors
534
comp.
VerifyDiagnostics
(); // No errors
611
comp.
VerifyDiagnostics
(); // No errors
694
comp.
VerifyDiagnostics
(); // No errors
777
comp.
VerifyDiagnostics
(); // No errors
875
comp.
VerifyDiagnostics
(); // No errors
962
comp.
VerifyDiagnostics
(); // No errors
1045
comp.
VerifyDiagnostics
(); // No errors
1122
comp.
VerifyDiagnostics
(); // No errors
1205
comp.
VerifyDiagnostics
(); // No errors
1282
comp.
VerifyDiagnostics
(); // No errors
1365
comp.
VerifyDiagnostics
(); // No errors
1444
comp.
VerifyDiagnostics
(); // No errors
1529
comp.
VerifyDiagnostics
(); // No errors
1608
comp.
VerifyDiagnostics
(); // No errors
1693
comp.
VerifyDiagnostics
(); // No errors
1769
comp.
VerifyDiagnostics
(); // No errors
1851
comp.
VerifyDiagnostics
(); // No errors
1950
comp.
VerifyDiagnostics
(); // No errors
2055
comp.
VerifyDiagnostics
(); // No errors
2549
U.set_Property").
VerifyDiagnostics
(); // No errors
CodeGen\CodeGenInterpolatedString.cs (5)
83
comp.
VerifyDiagnostics
();
127
comp.
VerifyDiagnostics
();
174
comp.
VerifyDiagnostics
();
244
comp.
VerifyDiagnostics
();
284
comp.
VerifyDiagnostics
();
CodeGen\CodeGenIterators.cs (24)
3025
var verifier = CompileAndVerify(src, expectedOutput: "42 42").
VerifyDiagnostics
();
3058
var verifier = CompileAndVerify(src, expectedOutput: "ran ran True").
VerifyDiagnostics
();
3095
var verifier = CompileAndVerify(src, expectedOutput: "ran ran True").
VerifyDiagnostics
();
3133
var verifier = CompileAndVerify(comp, expectedOutput: "100 100 True").
VerifyDiagnostics
();
3186
var verifier = CompileAndVerify(src, expectedOutput: "42 value value True").
VerifyDiagnostics
();
3239
var verifier = CompileAndVerify(src, expectedOutput: "42 value value True").
VerifyDiagnostics
();
3291
CompileAndVerify(src, expectedOutput: "42 value True").
VerifyDiagnostics
();
3314
var verifier = CompileAndVerify(src, expectedOutput: "42 4242").
VerifyDiagnostics
();
3344
var verifier = CompileAndVerify(src, expectedOutput: "value value value").
VerifyDiagnostics
();
3381
var verifier = CompileAndVerify(src, expectedOutput: "42 42").
VerifyDiagnostics
();
3419
var verifier = CompileAndVerify(src, expectedOutput: "42").
VerifyDiagnostics
();
3459
var verifier = CompileAndVerify(src, expectedOutput: "value value ran True").
VerifyDiagnostics
();
3532
var verifier = CompileAndVerify(src, expectedOutput: "value value exception True").
VerifyDiagnostics
();
3604
CompileAndVerify(src, expectedOutput: "exception value").
VerifyDiagnostics
();
3637
CompileAndVerify(src, expectedOutput: "exception True").
VerifyDiagnostics
();
3680
var verifier = CompileAndVerify(src, expectedOutput: "10 42 42").
VerifyDiagnostics
();
3739
var verifier = CompileAndVerify(src, expectedOutput: "10 42 42", references: [libComp.EmitToImageReference()]).
VerifyDiagnostics
();
3793
CompileAndVerify(src, expectedOutput: "42 4242").
VerifyDiagnostics
();
3823
CompileAndVerify(src, expectedOutput: "value True").
VerifyDiagnostics
();
3856
var verifier = CompileAndVerify(src, expectedOutput: "values2 values2 values3 values3 True").
VerifyDiagnostics
();
3887
var verifier = CompileAndVerify(src, expectedOutput: "ran ran").
VerifyDiagnostics
();
3934
var verifier = CompileAndVerify(src, expectedOutput: "value value outer True").
VerifyDiagnostics
();
4031
var verifier = CompileAndVerify(comp, expectedOutput: "FalseTrue", verify: Verification.Skipped).
VerifyDiagnostics
();
4070
var verifier = CompileAndVerify(src, expectedOutput: "ran ran True").
VerifyDiagnostics
();
CodeGen\CodeGenLocalFunctionTests.cs (2)
6304
return CompileAndVerify(comp, expectedOutput: output, verify: verify).
VerifyDiagnostics
(); // no diagnostics
6310
return CompileAndVerify(comp, expectedOutput: output).
VerifyDiagnostics
(); // no diagnostics
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (2)
2171
verifier.
VerifyDiagnostics
();
2246
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenOperators.cs (33)
1628
comp.
VerifyDiagnostics
();
1675
comp.
VerifyDiagnostics
();
1722
comp.
VerifyDiagnostics
();
1769
comp.
VerifyDiagnostics
();
1818
comp.
VerifyDiagnostics
();
2006
comp.
VerifyDiagnostics
();
2065
comp.
VerifyDiagnostics
();
2131
comp.
VerifyDiagnostics
();
2194
comp.
VerifyDiagnostics
();
4169
comp.
VerifyDiagnostics
();
4221
comp.
VerifyDiagnostics
();
4275
comp.
VerifyDiagnostics
();
4322
comp.
VerifyDiagnostics
();
4370
comp.
VerifyDiagnostics
();
4431
comp.
VerifyDiagnostics
();
4502
comp.
VerifyDiagnostics
();
4569
comp.
VerifyDiagnostics
();
4637
comp.
VerifyDiagnostics
();
4704
comp.
VerifyDiagnostics
();
4761
comp.
VerifyDiagnostics
();
4823
comp.
VerifyDiagnostics
();
4865
comp.
VerifyDiagnostics
();
4922
comp.
VerifyDiagnostics
();
4996
comp.
VerifyDiagnostics
();
5023
comp.
VerifyDiagnostics
();
5061
comp.
VerifyDiagnostics
();
5103
comp.
VerifyDiagnostics
();
5141
comp.
VerifyDiagnostics
();
6497
verifier.
VerifyDiagnostics
();
6657
verifier.
VerifyDiagnostics
();
6725
verifier.
VerifyDiagnostics
();
6799
verifier.
VerifyDiagnostics
();
6882
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenOptimizedNullableOperators.cs (125)
67
comp.
VerifyDiagnostics
();
112
comp.
VerifyDiagnostics
();
145
comp.
VerifyDiagnostics
();
178
comp.
VerifyDiagnostics
();
214
comp.
VerifyDiagnostics
();
283
comp.
VerifyDiagnostics
();
396
comp.
VerifyDiagnostics
();
438
comp.
VerifyDiagnostics
();
567
comp.
VerifyDiagnostics
();
740
comp.
VerifyDiagnostics
();
784
verifier.
VerifyDiagnostics
();
832
verifier.
VerifyDiagnostics
();
923
verifier.
VerifyDiagnostics
();
937
verifier.
VerifyDiagnostics
();
986
verifier.
VerifyDiagnostics
();
1019
verifier.
VerifyDiagnostics
();
1294
comp.
VerifyDiagnostics
();
1794
comp.
VerifyDiagnostics
();
1920
comp.
VerifyDiagnostics
();
1956
comp.
VerifyDiagnostics
();
2003
comp.
VerifyDiagnostics
();
2132
comp.
VerifyDiagnostics
();
2234
comp.
VerifyDiagnostics
();
2357
comp.
VerifyDiagnostics
();
2497
comp.
VerifyDiagnostics
();
2754
verifier.
VerifyDiagnostics
();
2757
verifier.
VerifyDiagnostics
();
2800
verifier.
VerifyDiagnostics
();
2803
verifier.
VerifyDiagnostics
();
2843
verifier.
VerifyDiagnostics
();
2846
verifier.
VerifyDiagnostics
();
2880
verifier.
VerifyDiagnostics
();
2883
verifier.
VerifyDiagnostics
();
2928
verifier.
VerifyDiagnostics
();
2931
verifier.
VerifyDiagnostics
();
2973
verifier.
VerifyDiagnostics
();
2976
verifier.
VerifyDiagnostics
();
3010
verifier.
VerifyDiagnostics
();
3013
verifier.
VerifyDiagnostics
();
3047
verifier.
VerifyDiagnostics
();
3050
verifier.
VerifyDiagnostics
();
3084
verifier.
VerifyDiagnostics
();
3087
verifier.
VerifyDiagnostics
();
3122
verifier.
VerifyDiagnostics
();
3125
verifier.
VerifyDiagnostics
();
3160
verifier.
VerifyDiagnostics
();
3163
verifier.
VerifyDiagnostics
();
3200
verifier.
VerifyDiagnostics
();
3203
verifier.
VerifyDiagnostics
();
3247
verifier.
VerifyDiagnostics
();
3250
verifier.
VerifyDiagnostics
();
3291
verifier.
VerifyDiagnostics
();
3294
verifier.
VerifyDiagnostics
();
3338
verifier.
VerifyDiagnostics
();
3341
verifier.
VerifyDiagnostics
();
3387
verifier.
VerifyDiagnostics
();
3390
verifier.
VerifyDiagnostics
();
3435
verifier.
VerifyDiagnostics
();
3438
verifier.
VerifyDiagnostics
();
3483
verifier.
VerifyDiagnostics
();
3486
verifier.
VerifyDiagnostics
();
3533
verifier.
VerifyDiagnostics
();
3536
verifier.
VerifyDiagnostics
();
3583
verifier.
VerifyDiagnostics
();
3586
verifier.
VerifyDiagnostics
();
3639
verifier.
VerifyDiagnostics
();
3642
verifier.
VerifyDiagnostics
();
3692
verifier.
VerifyDiagnostics
();
3695
verifier.
VerifyDiagnostics
();
3748
verifier.
VerifyDiagnostics
();
3751
verifier.
VerifyDiagnostics
();
3801
verifier.
VerifyDiagnostics
();
3804
verifier.
VerifyDiagnostics
();
3858
verifier.
VerifyDiagnostics
();
3861
verifier.
VerifyDiagnostics
();
3912
verifier.
VerifyDiagnostics
();
3915
verifier.
VerifyDiagnostics
();
3962
verifier.
VerifyDiagnostics
();
3965
verifier.
VerifyDiagnostics
();
4017
verifier.
VerifyDiagnostics
();
4020
verifier.
VerifyDiagnostics
();
4077
verifier.
VerifyDiagnostics
();
4080
verifier.
VerifyDiagnostics
();
4130
verifier.
VerifyDiagnostics
();
4133
verifier.
VerifyDiagnostics
();
4191
verifier.
VerifyDiagnostics
();
4194
verifier.
VerifyDiagnostics
();
4252
verifier.
VerifyDiagnostics
();
4255
verifier.
VerifyDiagnostics
();
4299
verifier.
VerifyDiagnostics
();
4302
verifier.
VerifyDiagnostics
();
4337
verifier.
VerifyDiagnostics
();
4340
verifier.
VerifyDiagnostics
();
4397
verifier.
VerifyDiagnostics
();
4400
verifier.
VerifyDiagnostics
();
4450
verifier.
VerifyDiagnostics
();
4453
verifier.
VerifyDiagnostics
();
4510
verifier.
VerifyDiagnostics
();
4513
verifier.
VerifyDiagnostics
();
4563
verifier.
VerifyDiagnostics
();
4566
verifier.
VerifyDiagnostics
();
4611
verifier.
VerifyDiagnostics
();
4614
verifier.
VerifyDiagnostics
();
4650
verifier.
VerifyDiagnostics
();
4653
verifier.
VerifyDiagnostics
();
4698
verifier.
VerifyDiagnostics
();
4701
verifier.
VerifyDiagnostics
();
4737
verifier.
VerifyDiagnostics
();
4740
verifier.
VerifyDiagnostics
();
4785
verifier.
VerifyDiagnostics
();
4788
verifier.
VerifyDiagnostics
();
4824
verifier.
VerifyDiagnostics
();
4827
verifier.
VerifyDiagnostics
();
4872
verifier.
VerifyDiagnostics
();
4875
verifier.
VerifyDiagnostics
();
4911
verifier.
VerifyDiagnostics
();
4914
verifier.
VerifyDiagnostics
();
4971
verifier.
VerifyDiagnostics
();
4974
verifier.
VerifyDiagnostics
();
5024
verifier.
VerifyDiagnostics
();
5027
verifier.
VerifyDiagnostics
();
5073
verifier.
VerifyDiagnostics
();
5076
verifier.
VerifyDiagnostics
();
5113
verifier.
VerifyDiagnostics
();
5116
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenOverridingAndHiding.cs (22)
1978
comp.
VerifyDiagnostics
();
2015
comp.
VerifyDiagnostics
(); // No errors
2051
comp.
VerifyDiagnostics
(); // No errors
2122
comp.
VerifyDiagnostics
(); // No errors
2187
comp.
VerifyDiagnostics
(); // No errors
2229
comp.
VerifyDiagnostics
(); // No errors
2272
comp.
VerifyDiagnostics
(); // No errors
2314
comp.
VerifyDiagnostics
(); // No errors
2350
comp.
VerifyDiagnostics
(); // No errors
2386
comp.
VerifyDiagnostics
(); // No errors
2463
comp.
VerifyDiagnostics
(); // No errors
2682
comp.
VerifyDiagnostics
(); // No errors
2774
comp.
VerifyDiagnostics
(); // No errors
3307
comp.
VerifyDiagnostics
(); // No Errors
4206
cs1Verifier.
VerifyDiagnostics
();
4249
cs2Verifier.
VerifyDiagnostics
();
4275
cs1Verifier.
VerifyDiagnostics
();
4321
cs2Verifier.
VerifyDiagnostics
();
4360
CompileAndVerify(A).
VerifyDiagnostics
();
4365
CompileAndVerify(B).
VerifyDiagnostics
();
4370
CompileAndVerify(B).
VerifyDiagnostics
();
4423
cs1Verifier.
VerifyDiagnostics
();
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (4)
2740
verifier.
VerifyDiagnostics
();
3352
CompileAndVerify(compilation, expectedOutput: "1 42", verify: Verification.Skipped).
VerifyDiagnostics
();
3369
CompileAndVerify(compilation, expectedOutput: "1 !", verify: Verification.Skipped).
VerifyDiagnostics
();
3386
var verifier = CompileAndVerify(compilation, expectedOutput: "2 True False", verify: Verification.Skipped).
VerifyDiagnostics
();
CodeGen\CodeGenReadonlyStructTests.cs (12)
1788
verifier.
VerifyDiagnostics
();
1862
verifier.
VerifyDiagnostics
();
1938
verifier.
VerifyDiagnostics
();
1996
comp.
VerifyDiagnostics
();
2022
comp.
VerifyDiagnostics
();
2047
comp.
VerifyDiagnostics
();
2073
comp.
VerifyDiagnostics
();
2149
comp.
VerifyDiagnostics
();
2169
comp.
VerifyDiagnostics
();
2319
verifier.
VerifyDiagnostics
();
2485
verifier.
VerifyDiagnostics
();
2595
CompileAndVerify(csharp, symbolValidator: validate).
VerifyDiagnostics
();
CodeGen\CodeGenRefConditionalOperatorTests.cs (17)
42
comp.
VerifyDiagnostics
();
94
comp.
VerifyDiagnostics
();
130
comp.
VerifyDiagnostics
();
166
comp.
VerifyDiagnostics
();
204
comp.
VerifyDiagnostics
();
251
comp.
VerifyDiagnostics
();
305
comp.
VerifyDiagnostics
();
365
comp.
VerifyDiagnostics
();
442
comp.
VerifyDiagnostics
();
838
comp.
VerifyDiagnostics
();
882
comp.
VerifyDiagnostics
();
913
comp.
VerifyDiagnostics
();
1001
comp.
VerifyDiagnostics
();
1066
comp.
VerifyDiagnostics
();
1154
comp.
VerifyDiagnostics
();
1269
verifier.
VerifyDiagnostics
();
1356
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenRefLocalTests.cs (14)
3488
verifier.
VerifyDiagnostics
();
3528
verifier.
VerifyDiagnostics
();
3565
verifier.
VerifyDiagnostics
();
3613
verifier.
VerifyDiagnostics
();
3666
verifier.
VerifyDiagnostics
();
3702
verifier.
VerifyDiagnostics
();
3739
verifier.
VerifyDiagnostics
();
3777
verifier.
VerifyDiagnostics
();
3822
verifier.
VerifyDiagnostics
();
4243
verifier.
VerifyDiagnostics
();
4312
verifier.
VerifyDiagnostics
();
4377
verifier.
VerifyDiagnostics
();
4429
verifier.
VerifyDiagnostics
();
4485
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenRefOutTests.cs (5)
544
verifier.
VerifyDiagnostics
();
631
verifier.
VerifyDiagnostics
();
693
verifier.
VerifyDiagnostics
();
779
verifier.
VerifyDiagnostics
();
831
verifier.
VerifyDiagnostics
();
CodeGen\CodeGenStackAllocInitializerTests.cs (24)
871
.
VerifyDiagnostics
()
915
verifier.
VerifyDiagnostics
();
953
verifier.
VerifyDiagnostics
();
981
options: TestOptions.DebugExe).
VerifyDiagnostics
();
1006
verifier.
VerifyDiagnostics
();
1052
.
VerifyDiagnostics
()
1109
verifier.
VerifyDiagnostics
();
1138
options: TestOptions.DebugExe).
VerifyDiagnostics
();
1163
verifier.
VerifyDiagnostics
();
1208
verifier.
VerifyDiagnostics
();
1237
options: TestOptions.DebugExe).
VerifyDiagnostics
();
1265
verifier.
VerifyDiagnostics
();
1293
options: TestOptions.DebugExe).
VerifyDiagnostics
();
1320
verifier.
VerifyDiagnostics
();
1348
options: TestOptions.DebugExe).
VerifyDiagnostics
();
1373
verifier.
VerifyDiagnostics
();
1420
verifier.
VerifyDiagnostics
();
1458
verifier.
VerifyDiagnostics
();
1499
verifier.
VerifyDiagnostics
();
1524
verify: Verification.Fails, options: TestOptions.UnsafeDebugExe, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1529
verifier.
VerifyDiagnostics
();
1581
verifier.
VerifyDiagnostics
();
1638
verifier.
VerifyDiagnostics
();
1675
options: TestOptions.DebugExe).
VerifyDiagnostics
();
CodeGen\CodeGenStringConcat.cs (30)
52
comp.
VerifyDiagnostics
();
100
comp.
VerifyDiagnostics
();
118
comp.
VerifyDiagnostics
();
158
comp.
VerifyDiagnostics
();
207
comp.
VerifyDiagnostics
();
248
comp.
VerifyDiagnostics
();
409
comp.
VerifyDiagnostics
();
457
comp.
VerifyDiagnostics
();
514
comp.
VerifyDiagnostics
();
579
comp.
VerifyDiagnostics
();
645
comp.
VerifyDiagnostics
();
690
comp.
VerifyDiagnostics
();
745
comp.
VerifyDiagnostics
();
787
comp.
VerifyDiagnostics
();
838
comp.
VerifyDiagnostics
();
986
comp.
VerifyDiagnostics
();
1069
comp.
VerifyDiagnostics
();
1157
comp.
VerifyDiagnostics
();
1239
comp.
VerifyDiagnostics
();
1298
comp.
VerifyDiagnostics
();
1340
comp.
VerifyDiagnostics
();
1420
comp.
VerifyDiagnostics
();
1519
comp.
VerifyDiagnostics
();
1571
comp.
VerifyDiagnostics
();
1620
comp.
VerifyDiagnostics
();
1665
comp.
VerifyDiagnostics
();
1698
comp.
VerifyDiagnostics
();
1766
comp.
VerifyDiagnostics
();
1967
comp.
VerifyDiagnostics
();
2037
comp.
VerifyDiagnostics
();
CodeGen\CodeGenTests.cs (2)
17291
}).
VerifyDiagnostics
();
17313
var verifier = CompileAndVerify(comp, expectedOutput: "System.Int32").
VerifyDiagnostics
();
CodeGen\CodeGenThrowTests.cs (2)
341
compilation.
VerifyDiagnostics
();
366
compilation.
VerifyDiagnostics
();
CodeGen\CodeGenTryFinally.cs (4)
3831
}).
VerifyDiagnostics
();
3863
}).
VerifyDiagnostics
();
3924
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseDll).
VerifyDiagnostics
();
3956
verifier = CompileAndVerify(source, options: TestOptions.DebugDll).
VerifyDiagnostics
();
CodeGen\CodeGenTupleEqualityTests.cs (21)
194
comp.
VerifyDiagnostics
();
240
comp.
VerifyDiagnostics
();
281
comp.
VerifyDiagnostics
();
329
comp.
VerifyDiagnostics
();
411
comp.
VerifyDiagnostics
();
451
comp.
VerifyDiagnostics
();
494
comp.
VerifyDiagnostics
();
534
comp.
VerifyDiagnostics
();
570
comp.
VerifyDiagnostics
();
630
comp.
VerifyDiagnostics
();
662
comp.
VerifyDiagnostics
();
677
comp.
VerifyDiagnostics
();
708
comp.
VerifyDiagnostics
();
5588
comp.
VerifyDiagnostics
();
5607
comp.
VerifyDiagnostics
();
5635
comp.
VerifyDiagnostics
();
5663
comp.
VerifyDiagnostics
();
5682
var comp = CompileAndVerify(source, expectedOutput: "1").
VerifyDiagnostics
();
5747
var comp = CompileAndVerify(source, expectedOutput: "M11").
VerifyDiagnostics
();
5799
var comp = CompileAndVerify(source, expectedOutput: "1").
VerifyDiagnostics
();
5879
var comp = CompileAndVerify(source, expectedOutput: "1").
VerifyDiagnostics
();
CodeGen\CodeGenTupleTest.cs (61)
1033
comp.
VerifyDiagnostics
();
1217
comp.
VerifyDiagnostics
();
1250
comp.
VerifyDiagnostics
();
1283
comp.
VerifyDiagnostics
();
1328
comp.
VerifyDiagnostics
();
1374
comp.
VerifyDiagnostics
();
1420
comp.
VerifyDiagnostics
();
1466
comp.
VerifyDiagnostics
();
1749
comp.
VerifyDiagnostics
();
1806
comp.
VerifyDiagnostics
();
1844
comp.
VerifyDiagnostics
();
1909
comp.
VerifyDiagnostics
();
1975
comp.
VerifyDiagnostics
();
2043
comp.
VerifyDiagnostics
();
2214
verifier.
VerifyDiagnostics
();
2334
verifier.
VerifyDiagnostics
();
2481
verifier.
VerifyDiagnostics
();
2623
verifier.
VerifyDiagnostics
();
2765
verifier.
VerifyDiagnostics
();
3195
verifier.
VerifyDiagnostics
();
3228
verifier.
VerifyDiagnostics
();
3261
verifier.
VerifyDiagnostics
();
3475
verifier.
VerifyDiagnostics
();
3653
verifier.
VerifyDiagnostics
();
3710
verifier.
VerifyDiagnostics
();
3947
verifier.
VerifyDiagnostics
();
4031
verifier.
VerifyDiagnostics
();
4053
verifier.
VerifyDiagnostics
();
4086
verifier7_1.
VerifyDiagnostics
();
4131
verifier.
VerifyDiagnostics
();
4161
verifier.
VerifyDiagnostics
();
4744
comp.
VerifyDiagnostics
();
4773
comp.
VerifyDiagnostics
();
4802
comp.
VerifyDiagnostics
();
4876
comp.
VerifyDiagnostics
();
4911
comp.
VerifyDiagnostics
();
5242
comp.
VerifyDiagnostics
();
5298
comp.
VerifyDiagnostics
();
5326
comp.
VerifyDiagnostics
();
5351
comp.
VerifyDiagnostics
();
5376
comp.
VerifyDiagnostics
();
5399
comp.
VerifyDiagnostics
();
5591
comp.
VerifyDiagnostics
();
5651
comp.
VerifyDiagnostics
();
5673
comp.
VerifyDiagnostics
();
5697
comp.
VerifyDiagnostics
();
5732
comp.
VerifyDiagnostics
();
14773
CompileAndVerify(consumer1, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14776
CompileAndVerify(consumer2, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15034
CompileAndVerify(consumer1, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15037
CompileAndVerify(consumer2, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15420
CompileAndVerify(consumer1, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15423
CompileAndVerify(consumer2, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15681
CompileAndVerify(consumer1, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15684
CompileAndVerify(consumer2, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16644
comp.
VerifyDiagnostics
();
16688
comp.
VerifyDiagnostics
();
16710
comp.
VerifyDiagnostics
();
17481
comp.
VerifyDiagnostics
();
27618
"MessageType x MessageType").
VerifyDiagnostics
();
29102
").
VerifyDiagnostics
();
CodeGen\CodeGenTypeofTests.cs (10)
31
comp.
VerifyDiagnostics
();
90
comp.
VerifyDiagnostics
();
156
comp.
VerifyDiagnostics
();
217
comp.
VerifyDiagnostics
();
263
comp.
VerifyDiagnostics
();
334
comp.
VerifyDiagnostics
();
393
comp.
VerifyDiagnostics
();
470
comp.
VerifyDiagnostics
();
542
comp.
VerifyDiagnostics
();
632
comp.
VerifyDiagnostics
();
CodeGen\CodeGenUsingStatementTests.cs (4)
3136
verifier.
VerifyDiagnostics
();
3170
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "1").
VerifyDiagnostics
();
3202
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "2").
VerifyDiagnostics
();
3240
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "1").
VerifyDiagnostics
();
CodeGen\DestructorTests.cs (2)
213
compVerifier.
VerifyDiagnostics
();
299
compVerifier.
VerifyDiagnostics
();
CodeGen\EventTests.cs (2)
723
}).
VerifyDiagnostics
();
795
}).
VerifyDiagnostics
();
CodeGen\GotoTest.cs (1)
287
CompileAndVerify(text).
VerifyDiagnostics
().VerifyIL("C.Main", @"
CodeGen\IndexAndRangeTests.cs (10)
3936
").
VerifyDiagnostics
();
3963
").
VerifyDiagnostics
();
3988
").
VerifyDiagnostics
();
4016
").
VerifyDiagnostics
();
4042
").
VerifyDiagnostics
();
4067
").
VerifyDiagnostics
();
4092
").
VerifyDiagnostics
();
4114
CompileAndVerifyWithIndexAndRange(src, expectedOutput: "Done").
VerifyDiagnostics
();
4152
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: "1").
VerifyDiagnostics
();
4204
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: "1").
VerifyDiagnostics
();
CodeGen\IndexerTests.cs (1)
1262
CompileAndVerify(comp1).
VerifyDiagnostics
();
CodeGen\PatternTests.cs (8)
6196
verifier.
VerifyDiagnostics
();
6281
verifier.
VerifyDiagnostics
();
6370
verifier.
VerifyDiagnostics
();
6466
verifier.
VerifyDiagnostics
();
6551
verifier.
VerifyDiagnostics
();
6651
verifier.
VerifyDiagnostics
();
6750
verifier.
VerifyDiagnostics
();
6853
verifier.
VerifyDiagnostics
();
CodeGen\SwitchTests.cs (2)
1605
compVerifier.
VerifyDiagnostics
();
9939
compVerifier.
VerifyDiagnostics
();
CodeGen\UnsafeTests.cs (3)
10813
}).
VerifyDiagnostics
();
10950
var comp = CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).
VerifyDiagnostics
();
11003
var comp = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "ABC", verify: Verification.Fails).
VerifyDiagnostics
();
CodeGen\WinMdDelegateTests.cs (1)
58
verifier.
VerifyDiagnostics
();
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (32)
279
verifier.
VerifyDiagnostics
();
680
verifier.
VerifyDiagnostics
();
684
verifier.
VerifyDiagnostics
();
745
verifier.
VerifyDiagnostics
();
749
verifier.
VerifyDiagnostics
();
855
verifier.
VerifyDiagnostics
();
857
verifier.
VerifyDiagnostics
();
949
verifier.
VerifyDiagnostics
();
953
verifier.
VerifyDiagnostics
();
1030
verifier.
VerifyDiagnostics
();
1032
verifier.
VerifyDiagnostics
();
1226
verifier.
VerifyDiagnostics
();
1415
verifier.
VerifyDiagnostics
();
1507
verifier.
VerifyDiagnostics
();
1828
verifier.
VerifyDiagnostics
();
1933
verifier.
VerifyDiagnostics
();
2021
verifier.
VerifyDiagnostics
();
2132
verifier.
VerifyDiagnostics
();
2283
verifier.
VerifyDiagnostics
();
2408
verifier.
VerifyDiagnostics
();
3171
verifier.
VerifyDiagnostics
();
3175
verifier.
VerifyDiagnostics
();
3245
verifier.
VerifyDiagnostics
();
3249
verifier.
VerifyDiagnostics
();
3370
verifier.
VerifyDiagnostics
();
3373
verifier.
VerifyDiagnostics
();
3496
verifier.
VerifyDiagnostics
();
3499
verifier.
VerifyDiagnostics
();
3570
verifier.
VerifyDiagnostics
();
3573
verifier.
VerifyDiagnostics
();
3620
verifier.
VerifyDiagnostics
();
3624
verifier.
VerifyDiagnostics
();
Emit\EntryPointTests.cs (1)
55
verifier.
VerifyDiagnostics
();
Emit\InAttributeModifierTests.cs (1)
4560
}).
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (461)
CodeGen\CodeGenCallTests.cs (357)
78
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
117
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
176
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
192
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
251
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
291
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
350
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
366
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
432
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
626
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
692
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
776
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
844
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1118
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1186
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1310
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1380
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1600
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1668
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1773
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1855
options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1934
options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2016
options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2052
options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2134
options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2214
options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2296
options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2332
options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2391
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2439
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2489
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2491
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2550
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2599
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2649
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2651
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2717
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2919
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2976
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2978
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3046
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3328
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3386
CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3388
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3456
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3510
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3579
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3599
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3668
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3722
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3791
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3811
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3887
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4102
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4178
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4271
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4349
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4644
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4722
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4855
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4924
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5000
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5069
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5099
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5168
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5245
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5314
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5344
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5420
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5652
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5728
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5824
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5902
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6214
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6292
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6428
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6497
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6569
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6638
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6666
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6735
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6808
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6877
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6905
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6981
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7197
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7273
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7364
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7442
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7738
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7816
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7947
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8016
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8088
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8157
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8185
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8254
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8327
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8396
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8424
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8500
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8722
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8798
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8892
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
8970
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9272
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9350
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9484
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9558
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9634
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9705
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9735
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
9815
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10069
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10147
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10263
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10337
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10413
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10484
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10514
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10594
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10854
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
10932
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11051
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11120
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11220
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11289
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11331
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11400
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11501
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11570
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11612
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11688
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11932
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12008
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12113
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12191
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12515
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12593
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12738
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12807
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12865
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12934
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
12959
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13028
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13086
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13155
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13180
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13256
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13475
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13551
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13646
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13715
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13789
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13858
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13887
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13956
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14031
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14100
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14129
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14205
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14453
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14529
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14633
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14709
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
14929
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15005
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15098
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15174
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15495
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15571
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15711
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15780
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15874
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15943
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
15982
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16051
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16146
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16215
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16254
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16330
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16568
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16644
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16746
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16815
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16917
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
16986
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17029
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17098
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17201
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17270
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17313
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17389
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17641
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17717
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17826
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
17902
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18150
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18226
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18333
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18409
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18739
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18815
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
18963
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19030
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19084
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19151
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19170
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19237
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19292
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19359
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19378
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19452
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19646
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19720
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19804
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19883
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
19950
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20029
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20053
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20132
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20200
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20279
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20303
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20389
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20603
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20689
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20779
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20860
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20943
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21024
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21059
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21140
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21224
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21305
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21340
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21428
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21668
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21756
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21855
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
21936
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22007
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22088
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22120
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22201
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22273
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22354
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22386
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22474
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22715
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22803
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22910
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22991
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23076
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23157
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23193
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23274
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23360
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23441
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23477
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23565
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23832
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
23920
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24032
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24120
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24364
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24452
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24553
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24641
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
24986
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25074
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25222
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25303
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25414
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25495
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25544
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25625
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25737
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25818
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25867
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
25955
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26223
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26311
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26424
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26505
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26610
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26691
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26737
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26818
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
26924
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27005
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27051
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27139
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27405
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27493
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27605
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27686
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27799
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27880
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
27930
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28011
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28125
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28206
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28256
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28344
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28620
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28708
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28825
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
28913
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29185
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29273
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29388
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29476
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29824
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
29912
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30065
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30144
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30213
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30292
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30320
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30399
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30469
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30548
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30576
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30662
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30892
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
30978
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31076
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31148
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31217
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31289
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31317
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31389
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31459
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31531
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31559
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31638
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31854
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
31933
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32024
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32096
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32199
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32271
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32316
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32388
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32492
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32564
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32609
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32688
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
32944
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33023
var verifier = CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33134
CompileAndVerify(source, targetFramework: TargetFramework.NetLatest, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33190
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33296
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33403
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33463
var verifier = CompileAndVerify(source, options: TestOptions.ReleaseExe, verify: Verification.Fails, expectedOutput: expectedOutput).
VerifyDiagnostics
();
33506
CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Fails, expectedOutput: expectedOutput).
VerifyDiagnostics
();
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (1)
5622
comp.
VerifyDiagnostics
();
CodeGen\CodeGenSpanBasedStringConcatTests.cs (62)
39
comp.
VerifyDiagnostics
();
95
comp.
VerifyDiagnostics
();
171
comp.
VerifyDiagnostics
();
232
comp.
VerifyDiagnostics
();
284
comp.
VerifyDiagnostics
();
338
verifier.
VerifyDiagnostics
();
391
verifier.
VerifyDiagnostics
();
446
verifier.
VerifyDiagnostics
();
490
verifier.
VerifyDiagnostics
();
540
verifier.
VerifyDiagnostics
();
652
verifier.
VerifyDiagnostics
();
727
verifier.
VerifyDiagnostics
();
801
verifier.
VerifyDiagnostics
();
852
comp.
VerifyDiagnostics
();
1006
comp.
VerifyDiagnostics
();
1075
verifier.
VerifyDiagnostics
();
1185
verifier.
VerifyDiagnostics
();
1289
comp.
VerifyDiagnostics
();
1365
verifier.
VerifyDiagnostics
();
1476
verifier.
VerifyDiagnostics
();
1542
verifier.
VerifyDiagnostics
();
1607
verifier.
VerifyDiagnostics
();
1668
verifier.
VerifyDiagnostics
();
1748
verifier.
VerifyDiagnostics
();
1794
verifier.
VerifyDiagnostics
();
1853
verifier.
VerifyDiagnostics
();
1940
verifier.
VerifyDiagnostics
();
1993
comp.
VerifyDiagnostics
();
2061
verifier.
VerifyDiagnostics
();
2193
verifier.
VerifyDiagnostics
();
2271
verifier.
VerifyDiagnostics
();
2348
verifier.
VerifyDiagnostics
();
2400
comp.
VerifyDiagnostics
();
2599
comp.
VerifyDiagnostics
();
2716
verifier.
VerifyDiagnostics
();
2904
verifier.
VerifyDiagnostics
();
3092
comp.
VerifyDiagnostics
();
3180
verifier.
VerifyDiagnostics
();
3365
verifier.
VerifyDiagnostics
();
3440
verifier.
VerifyDiagnostics
();
3516
verifier.
VerifyDiagnostics
();
3589
verifier.
VerifyDiagnostics
();
3710
verifier.
VerifyDiagnostics
();
3758
verifier.
VerifyDiagnostics
();
3828
verifier.
VerifyDiagnostics
();
3962
verifier.
VerifyDiagnostics
();
4033
comp.
VerifyDiagnostics
();
4138
comp.
VerifyDiagnostics
();
4294
verifier.
VerifyDiagnostics
();
4347
verifier.
VerifyDiagnostics
();
4403
comp.
VerifyDiagnostics
();
4476
verifier.
VerifyDiagnostics
();
4566
verifier.
VerifyDiagnostics
();
4690
verifier.
VerifyDiagnostics
();
4846
verifier.
VerifyDiagnostics
();
4927
verifier.
VerifyDiagnostics
();
5007
verifier.
VerifyDiagnostics
();
5060
comp.
VerifyDiagnostics
();
5307
comp.
VerifyDiagnostics
();
5488
verifier.
VerifyDiagnostics
();
5607
comp.
VerifyDiagnostics
();
5678
verifier.
VerifyDiagnostics
();
CodeGen\IndexAndRangeTests.cs (38)
59
verifier.
VerifyDiagnostics
();
235
verifier.
VerifyDiagnostics
();
277
verifier.
VerifyDiagnostics
();
314
verifier.
VerifyDiagnostics
();
488
verifier.
VerifyDiagnostics
();
570
verifier.
VerifyDiagnostics
();
825
verifier.
VerifyDiagnostics
();
872
verifier.
VerifyDiagnostics
();
920
verifier.
VerifyDiagnostics
();
1016
verifier.
VerifyDiagnostics
();
1219
verifier.
VerifyDiagnostics
();
1266
verifier.
VerifyDiagnostics
();
1341
verifier.
VerifyDiagnostics
();
1402
verifier.
VerifyDiagnostics
();
1477
verifier.
VerifyDiagnostics
();
1569
verifier.
VerifyDiagnostics
();
1761
verifier.
VerifyDiagnostics
();
1804
verifier.
VerifyDiagnostics
();
1978
verifier.
VerifyDiagnostics
();
2536
verifier.
VerifyDiagnostics
();
2660
verifier.
VerifyDiagnostics
();
2757
verifier.
VerifyDiagnostics
();
3001
verifier.
VerifyDiagnostics
();
3096
verifier.
VerifyDiagnostics
();
3286
verifier.
VerifyDiagnostics
();
3426
verifier.
VerifyDiagnostics
();
3547
verifier.
VerifyDiagnostics
();
3622
verifier.
VerifyDiagnostics
();
3713
verifier.
VerifyDiagnostics
();
3799
verifier.
VerifyDiagnostics
();
3886
verifier.
VerifyDiagnostics
();
4026
verifier.
VerifyDiagnostics
();
4053
verifier.
VerifyDiagnostics
();
4178
verifier.
VerifyDiagnostics
();
4227
verifier.
VerifyDiagnostics
();
4266
verifier.
VerifyDiagnostics
();
4417
verifier.
VerifyDiagnostics
();
4462
verifier.
VerifyDiagnostics
();
Emit\NumericIntPtrTests.cs (3)
9070
CompileAndVerify(comp, verify: new Verification() { Status = VerificationStatus.FailsPEVerify | VerificationStatus.PassesOrFailFast }, expectedOutput: IncludeExpectedOutput(expectedResult)).
VerifyDiagnostics
(expectedDiagnostics);
9140
CompileAndVerify(comp, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput(IntPtr.Size == 4 ? "41" : "4294967337")).
VerifyDiagnostics
();
9207
CompileAndVerify(comp, verify: Verification.FailsPEVerify, expectedOutput: IncludeExpectedOutput(IntPtr.Size == 4 ? "-2147483648" : "2147483648")).
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1115)
Attributes\AttributeTests.cs (27)
1838
comp.
VerifyDiagnostics
();
1872
comp.
VerifyDiagnostics
();
1933
comp.
VerifyDiagnostics
();
1996
comp.
VerifyDiagnostics
();
2215
comp.
VerifyDiagnostics
();
2281
comp.
VerifyDiagnostics
();
2352
comp.
VerifyDiagnostics
();
2484
comp.
VerifyDiagnostics
();
3268
CompileAndVerify(compilation).
VerifyDiagnostics
();
3316
CompileAndVerify(compilation).
VerifyDiagnostics
();
3368
CompileAndVerify(compilation).
VerifyDiagnostics
();
3423
CompileAndVerify(compilation).
VerifyDiagnostics
();
4652
verifier.
VerifyDiagnostics
();
4685
verifier.
VerifyDiagnostics
();
4717
verifier.
VerifyDiagnostics
();
4750
verifier.
VerifyDiagnostics
();
4785
verifier.
VerifyDiagnostics
();
4816
verifier.
VerifyDiagnostics
();
4842
verifier.
VerifyDiagnostics
();
4874
verifier.
VerifyDiagnostics
();
10640
verifier.
VerifyDiagnostics
();
10692
verifier.
VerifyDiagnostics
();
10758
verifier.
VerifyDiagnostics
();
11009
verifier.
VerifyDiagnostics
();
11290
verifier.
VerifyDiagnostics
();
11346
verifier.
VerifyDiagnostics
();
11361
verifier.
VerifyDiagnostics
();
Attributes\AttributeTests_Assembly.cs (6)
465
CompileAndVerify(compilation).
VerifyDiagnostics
();
486
verify: Verification.Skipped).
VerifyDiagnostics
();
2131
}).
VerifyDiagnostics
();
2303
}).
VerifyDiagnostics
();
2359
}).
VerifyDiagnostics
();
2386
}).
VerifyDiagnostics
();
Attributes\AttributeTests_CallerInfoAttributes.cs (44)
74
CompileAndVerify(compilation).
VerifyDiagnostics
().VerifyIL("Program.Main", @"
140
CompileAndVerify(compilation).
VerifyDiagnostics
().VerifyIL("Program.Main", @"
421
CompileAndVerify(compilation, expectedOutput: "123").
VerifyDiagnostics
();
460
CompileAndVerify(compilation, expectedOutput: "456").
VerifyDiagnostics
();
499
CompileAndVerify(compilation, expectedOutput: "<default-arg>").
VerifyDiagnostics
();
529
5").
VerifyDiagnostics
();
574
").
VerifyDiagnostics
();
635
").
VerifyDiagnostics
();
660
CompileAndVerify(compilation, expectedOutput: "124, 123, 124").
VerifyDiagnostics
();
691
CompileAndVerify(compilation, expectedOutput: "2 + 2").
VerifyDiagnostics
();
717
CompileAndVerify(compilation, expectedOutput: "myIntegerExpression").
VerifyDiagnostics
();
743
CompileAndVerify(compilation, expectedOutput: "myIntegerExpression * 2").
VerifyDiagnostics
();
1067
5 + 5").
VerifyDiagnostics
();
1138
CompileAndVerify(compilation, expectedOutput: "x").
VerifyDiagnostics
();
1220
callerTargetExp").
VerifyDiagnostics
();
1261
callerTargetExp").
VerifyDiagnostics
();
1297
param1: param1_value, param2: param2_value").
VerifyDiagnostics
();
1323
<default-arg-expression>").
VerifyDiagnostics
();
1395
value").
VerifyDiagnostics
();
1445
CompileAndVerify(compilation, expectedOutput: "1 + /**/ 1").
VerifyDiagnostics
();
1479
CompileAndVerify(compilation, expectedOutput: "123").
VerifyDiagnostics
();
1515
5").
VerifyDiagnostics
();
1546
CompileAndVerify(compilation, expectedOutput: "124, 123, 124").
VerifyDiagnostics
();
1583
CompileAndVerify(compilation, expectedOutput: "2 + 2").
VerifyDiagnostics
();
1693
callerTargetExp").
VerifyDiagnostics
();
1741
callerTargetExp").
VerifyDiagnostics
();
1783
param1: param1_value, param2: param2_value").
VerifyDiagnostics
();
1817
<default-arg-expression>").
VerifyDiagnostics
();
1915
value").
VerifyDiagnostics
();
1942
CompileAndVerify(compilation, expectedOutput: "'Hello', '\"Hello\"'").
VerifyDiagnostics
();
1974
CompileAndVerify(compilation, expectedOutput: "'Hello', '\"Hello\"'").
VerifyDiagnostics
();
2006
CompileAndVerify(compilation, expectedOutput: "'Hello', 'World', '\"Hello\"'").
VerifyDiagnostics
();
2039
CompileAndVerify(compilation, expectedOutput: "'Hello', 'World', '\"Hello\"'").
VerifyDiagnostics
();
2085
param1: param1_value, param2: param2_value").
VerifyDiagnostics
();
2123
'0', '2', '2', '0+0', '', '1+1'").
VerifyDiagnostics
();
2154
CompileAndVerify(compilation, expectedOutput: "'<default1>', '<default0>'").
VerifyDiagnostics
();
2182
CompileAndVerify(compilation, expectedOutput: "'3', '1+2'").
VerifyDiagnostics
();
2210
CompileAndVerify(compilation, expectedOutput: @"'3', '1+2'").
VerifyDiagnostics
();
2298
CompileAndVerify(compilation, expectedOutput: "'3', '0'").
VerifyDiagnostics
();
2333
4, explicit-value").
VerifyDiagnostics
();
2371
s4: ""s1-arg""").
VerifyDiagnostics
();
2409
s4: _").
VerifyDiagnostics
();
2443
CompileAndVerify(compilation).
VerifyDiagnostics
().VerifyIL("Program.Main", @"
2494
CompileAndVerify(compilation).
VerifyDiagnostics
().VerifyIL("Program.Main", @"
Attributes\AttributeTests_Synthesized.cs (1)
938
verifier.
VerifyDiagnostics
();
Attributes\AttributeTests_WellKnownAttributes.cs (4)
536
comp.
VerifyDiagnostics
();
679
comp.
VerifyDiagnostics
();
710
comp.
VerifyDiagnostics
();
1948
CompileAndVerify(source, expectedOutput: "Evil").
VerifyDiagnostics
();
Attributes\InternalsVisibleToAndStrongNameTests.cs (2)
2415
CompileAndVerify(other.WithReferences(new[] { other.References.ElementAt(0), new CSharpCompilationReference(unsigned) })).
VerifyDiagnostics
();
2417
CompileAndVerify(other.WithReferences(new[] { other.References.ElementAt(0), MetadataReference.CreateFromStream(unsigned.EmitToStream()) })).
VerifyDiagnostics
();
FieldKeywordTests.cs (13)
3063
verifier.
VerifyDiagnostics
();
3213
verifier.
VerifyDiagnostics
();
3399
verifier.
VerifyDiagnostics
();
3603
verifier.
VerifyDiagnostics
();
4089
verifier.
VerifyDiagnostics
();
4354
verifier.
VerifyDiagnostics
();
8456
verifier.
VerifyDiagnostics
();
8997
verifier.
VerifyDiagnostics
();
10081
verifier.
VerifyDiagnostics
();
10228
verifier.
VerifyDiagnostics
();
10312
verifier.
VerifyDiagnostics
();
10410
verifier.
VerifyDiagnostics
();
10599
verifier.
VerifyDiagnostics
();
FirstClassSpanTests.cs (124)
79
var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
83
verifier = CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
111
CompileAndVerify(comp, expectedOutput: "Base").
VerifyDiagnostics
();
116
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
119
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
157
CompileAndVerify(comp, expectedOutput: "N2").
VerifyDiagnostics
();
193
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
198
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
201
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
222
var verifier = CompileAndVerify(comp, expectedOutput: "3").
VerifyDiagnostics
();
258
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
280
CompileAndVerify(comp, expectedOutput: "3").
VerifyDiagnostics
();
340
CompileAndVerify(comp, expectedOutput: "31").
VerifyDiagnostics
();
362
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
367
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
370
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
393
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
419
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
425
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
428
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
450
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
455
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
458
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
481
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
486
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
489
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
511
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
516
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
519
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
541
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
546
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
549
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
572
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
577
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
580
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
600
CompileAndVerify(comp, expectedOutput: "1 Int64").
VerifyDiagnostics
();
630
CompileAndVerify(comp, expectedOutput: "2 Int64").
VerifyDiagnostics
();
653
CompileAndVerify(comp, expectedOutput: "1 Int64").
VerifyDiagnostics
();
659
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
662
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
683
CompileAndVerify(comp, expectedOutput: "1 System.ArraySegment`1[System.Int32]").
VerifyDiagnostics
();
713
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
744
verifier.
VerifyDiagnostics
();
771
verifier.
VerifyDiagnostics
();
805
verifier.
VerifyDiagnostics
();
835
verifier.
VerifyDiagnostics
();
891
verifier.
VerifyDiagnostics
();
896
verifier.
VerifyDiagnostics
();
917
verifier.
VerifyDiagnostics
();
972
verifier.
VerifyDiagnostics
();
977
verifier.
VerifyDiagnostics
();
998
verifier.
VerifyDiagnostics
();
1025
verifier.
VerifyDiagnostics
();
1051
verifier.
VerifyDiagnostics
();
1056
verifier.
VerifyDiagnostics
();
1782
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
1836
verifier.
VerifyDiagnostics
();
1925
var verifier = CompileAndVerify(comp, expectedOutput: "12").
VerifyDiagnostics
();
2114
verifier.
VerifyDiagnostics
();
2162
verifier.
VerifyDiagnostics
();
2206
verifier.
VerifyDiagnostics
();
2275
verifier.
VerifyDiagnostics
();
2353
verifier.
VerifyDiagnostics
();
2400
verifier.
VerifyDiagnostics
();
2443
verifier.
VerifyDiagnostics
();
2586
verifier.
VerifyDiagnostics
();
2633
verifier.
VerifyDiagnostics
();
2677
verifier.
VerifyDiagnostics
();
2696
verifier.
VerifyDiagnostics
();
2741
verifier.
VerifyDiagnostics
();
2792
.
VerifyDiagnostics
()
2956
.
VerifyDiagnostics
()
3163
.
VerifyDiagnostics
()
3195
.
VerifyDiagnostics
()
3217
.
VerifyDiagnostics
().VerifyIL("C.M", expectedIl);
3219
.
VerifyDiagnostics
().VerifyIL("C.M", expectedIl);
3277
.
VerifyDiagnostics
()
3308
.
VerifyDiagnostics
()
3339
.
VerifyDiagnostics
()
3422
.
VerifyDiagnostics
()
3452
.
VerifyDiagnostics
()
4161
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
4226
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
4298
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4487
verifier.
VerifyDiagnostics
();
4519
verifier.
VerifyDiagnostics
();
4550
verifier.
VerifyDiagnostics
();
4582
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4623
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4680
verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4684
verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4703
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4750
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4754
verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4790
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4794
verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4830
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
4834
verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
5171
var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5257
verifier = CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5261
verifier = CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
5281
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
5366
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
5388
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
5531
CompileAndVerify(comp, expectedOutput: "1 s").
VerifyDiagnostics
();
5549
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
5581
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
5692
CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
5695
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
5749
var verifier = CompileAndVerify(comp, expectedOutput: "C", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
5793
var verifier = CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6009
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6012
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6042
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6045
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6075
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6078
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6108
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6111
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
6141
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6144
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6182
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6185
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6216
CompileAndVerify(comp, expectedOutput: "456").
VerifyDiagnostics
();
FlowAnalysis\FlowDiagnosticTests.cs (1)
1298
verifier.
VerifyDiagnostics
();
FlowAnalysis\RegionAnalysisTests.cs (1)
5616
verifier.
VerifyDiagnostics
();
OverloadResolutionPriorityTests.cs (23)
55
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
105
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
141
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
174
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
260
CompileAndVerify(executable, references: [baseReference, derivedReference], expectedOutput: "1").
VerifyDiagnostics
();
309
CompileAndVerify(executable, references: [baseReference, derivedReference], expectedOutput: "12").
VerifyDiagnostics
();
524
CompileAndVerify(code, references: [assembly1, assembly2], expectedOutput: "1").
VerifyDiagnostics
();
654
CompileAndVerify(code, references: [assembly1, assembly2], expectedOutput: "12").
VerifyDiagnostics
();
883
CompileAndVerify(consumingSource, references: [definingComp.ToMetadataReference()], parseOptions: TestOptions.Regular12, expectedOutput: "8765").
VerifyDiagnostics
();
884
CompileAndVerify(consumingSource, references: [definingComp.ToMetadataReference()], parseOptions: TestOptions.Regular13, expectedOutput: "4321").
VerifyDiagnostics
();
929
CompileAndVerify(source).
VerifyDiagnostics
();
985
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
1059
CompileAndVerify(source).
VerifyDiagnostics
();
1106
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "12").
VerifyDiagnostics
();
1198
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
1272
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "21").
VerifyDiagnostics
();
1327
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "4321").
VerifyDiagnostics
();
1474
var comp = (CSharpCompilation)CompileAndVerify(source, references: [ilRef], expectedOutput: "12").
VerifyDiagnostics
().Compilation;
1737
CompileAndVerify(executable, references: new[] { AsReference(comp, useMetadataReference) }, targetFramework: TargetFramework.Mscorlib461AndCSharp, expectedOutput: "1234").
VerifyDiagnostics
();
1797
var verifier = CompileAndVerify(executable, references: [attrRef.EmitToImageReference(), vbRef]).
VerifyDiagnostics
();
1889
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
1955
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "1").
VerifyDiagnostics
();
2050
CompileAndVerify(executable, references: [AsReference(comp, useMetadataReference)], expectedOutput: "12").
VerifyDiagnostics
();
RefReadonlyParameterTests.cs (86)
123
verifier.
VerifyDiagnostics
();
151
verifier.
VerifyDiagnostics
();
326
verifier.
VerifyDiagnostics
();
543
verifier.
VerifyDiagnostics
();
564
verifier.
VerifyDiagnostics
();
585
verifier.
VerifyDiagnostics
();
680
verifier.
VerifyDiagnostics
();
701
verifier.
VerifyDiagnostics
();
819
verifier.
VerifyDiagnostics
();
840
verifier.
VerifyDiagnostics
();
864
verifier.
VerifyDiagnostics
();
889
verifier.
VerifyDiagnostics
();
916
verifier.
VerifyDiagnostics
();
1247
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify).
VerifyDiagnostics
();
1399
var verifier3v1 = CompileAndVerify(source3, new[] { comp1v1Ref, comp2Ref }, expectedOutput: "F123").
VerifyDiagnostics
();
1422
var verifier3v2 = CompileAndVerify(source3, new[] { comp1v2Ref, comp2Ref, comp4Ref }, expectedOutput: "True").
VerifyDiagnostics
();
1434
CompileAndVerify(source3, new[] { comp1v3Ref, comp2Ref, comp4Ref }, expectedOutput: "F123").
VerifyDiagnostics
();
1441
CompileAndVerify(source3, new[] { comp1v4Ref, comp2Ref, comp4Ref }, expectedOutput: "F123").
VerifyDiagnostics
();
1478
CompileAndVerify(comp2, sourceSymbolValidator: verify2, symbolValidator: verify2).
VerifyDiagnostics
();
1490
CompileAndVerify(comp3, sourceSymbolValidator: verify3, symbolValidator: verify3).
VerifyDiagnostics
();
1603
verifier.
VerifyDiagnostics
();
2344
verifier.
VerifyDiagnostics
();
2424
verifier.
VerifyDiagnostics
();
2585
verifier.
VerifyDiagnostics
();
2616
verifier.
VerifyDiagnostics
();
2671
verifier.
VerifyDiagnostics
();
2760
verifier.
VerifyDiagnostics
();
3006
verifier.
VerifyDiagnostics
();
3076
verifier.
VerifyDiagnostics
();
3492
CompileAndVerify(source, expectedOutput: "c5").
VerifyDiagnostics
();
3510
CompileAndVerify(source, expectedOutput: "c5").
VerifyDiagnostics
();
3598
CompileAndVerify(source, expectedOutput: "25 25 15").
VerifyDiagnostics
();
3670
CompileAndVerify(new[] { source1, source3 }, expectedOutput: "15").
VerifyDiagnostics
();
3692
CompileAndVerify(source, expectedOutput: "25 15 15", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
3758
CompileAndVerify(new[] { source1, source3 }, expectedOutput: "256 256 156 156", parseOptions: TestOptions.Regular.WithLanguageVersion(languageVersion)).
VerifyDiagnostics
();
3908
CompileAndVerify(new[] { source1, source2 }, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
3909
CompileAndVerify(new[] { source1, source2 }, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
3910
CompileAndVerify(new[] { source1, source2 }, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3918
CompileAndVerify(new[] { source1, source3 }, expectedOutput: "1", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4001
CompileAndVerify(source, expectedOutput: "ECC", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4042
CompileAndVerify(source, expectedOutput: "YCC", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4166
CompileAndVerify(new[] { source1, source4 }, expectedOutput: expectedOutput4, parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4167
CompileAndVerify(new[] { source1, source4 }, expectedOutput: expectedOutput4, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
4168
CompileAndVerify(new[] { source1, source4 }, expectedOutput: expectedOutput4).
VerifyDiagnostics
();
4191
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4192
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
4193
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4216
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4217
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
4218
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
4263
CompileAndVerify(source, expectedOutput: "C").
VerifyDiagnostics
();
4427
CompileAndVerify(source, expectedOutput: "E", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
4484
CompileAndVerify(source, expectedOutput: "plain5plain6").
VerifyDiagnostics
();
4954
verifier.
VerifyDiagnostics
();
4989
verifier.
VerifyDiagnostics
();
5020
verifier.
VerifyDiagnostics
();
5058
verifier.
VerifyDiagnostics
();
5092
verifier.
VerifyDiagnostics
();
5226
verifier.
VerifyDiagnostics
();
5264
verifier.
VerifyDiagnostics
();
5481
verifier.
VerifyDiagnostics
();
5530
CompileAndVerify(source, expectedOutput: "5", verify: Verification.Fails).
VerifyDiagnostics
();
5566
CompileAndVerify(source, expectedOutput: "10", verify: Verification.Fails).
VerifyDiagnostics
();
5586
verifier.
VerifyDiagnostics
();
5640
verifier.
VerifyDiagnostics
();
5709
verifier.
VerifyDiagnostics
();
5801
CompileAndVerify(comp2, expectedOutput: "123").
VerifyDiagnostics
();
6572
CompileAndVerify(source, expectedOutput: "C.M1").
VerifyDiagnostics
();
6594
CompileAndVerify(source, expectedOutput: "C.M1").
VerifyDiagnostics
();
7167
CompileAndVerify(comp2, symbolValidator: verify).
VerifyDiagnostics
();
7234
CompileAndVerify(source, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
7551
verifier.
VerifyDiagnostics
();
7591
verifier.
VerifyDiagnostics
();
7622
CompileAndVerify(source1, expectedOutput: "1").
VerifyDiagnostics
();
7664
CompileAndVerify(source1, expectedOutput: "12", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
7673
CompileAndVerify(source2, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
7674
CompileAndVerify(source2, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7764
CompileAndVerify(source2, new[] { comp1Ref }, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
(expectedDiagnostics);
7765
CompileAndVerify(source2, new[] { comp1Ref }, expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
7790
CompileAndVerify(source3, new[] { comp1Ref }, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12).
VerifyDiagnostics
(expectedDiagnostics);
7791
CompileAndVerify(source3, new[] { comp1Ref }, expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
7949
expectedOutput: "r i o v i i v v v v v", options: TestOptions.UnsafeDebugExe).
VerifyDiagnostics
();
8277
expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
8279
expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
8309
expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
8311
expectedOutput: expectedOutput).
VerifyDiagnostics
(expectedDiagnostics);
RefStructInterfacesTests.cs (110)
38
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
71
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
151
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
183
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
268
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify).
VerifyDiagnostics
();
306
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
398
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr || !isVirtual ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
430
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
516
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify).
VerifyDiagnostics
();
554
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
729
CompileAndVerify(comp4, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
776
CompileAndVerify(comp6, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
802
CompileAndVerify(comp7, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
836
CompileAndVerify(comp8, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
865
CompileAndVerify(comp9, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
886
CompileAndVerify(comp10, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1217
CompileAndVerify(comp4, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1305
CompileAndVerify(comp6, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1342
CompileAndVerify(comp7, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1395
CompileAndVerify(comp8, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1452
CompileAndVerify(comp9, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1472
CompileAndVerify(comp10, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1793
CompileAndVerify(comp4, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1881
CompileAndVerify(comp6, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1918
CompileAndVerify(comp7, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
1971
CompileAndVerify(comp8, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
2028
CompileAndVerify(comp9, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
2048
CompileAndVerify(comp10, sourceSymbolValidator: verify, symbolValidator: verify, verify: Verification.Skipped).
VerifyDiagnostics
();
4368
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
4371
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true)).
VerifyDiagnostics
();
4424
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
5758
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
5786
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
5819
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
5855
CompileAndVerify(comp, sourceSymbolValidator: verify, symbolValidator: verify).
VerifyDiagnostics
();
5986
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"S1.M1 S1.M1" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
6068
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
6601
Verification.Skipped).
VerifyDiagnostics
();
6737
Verification.Skipped).
VerifyDiagnostics
();
6854
Verification.Skipped).
VerifyDiagnostics
();
6975
Verification.Skipped).
VerifyDiagnostics
();
7114
Verification.Skipped).
VerifyDiagnostics
();
7434
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
7624
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
7842
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123456" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
8039
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
8232
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
8895
Verification.Skipped).
VerifyDiagnostics
();
9099
Verification.Skipped).
VerifyDiagnostics
();
9462
Verification.Skipped).
VerifyDiagnostics
();
9674
Verification.Skipped).
VerifyDiagnostics
();
9898
Verification.Skipped).
VerifyDiagnostics
();
10110
Verification.Skipped).
VerifyDiagnostics
();
10506
Verification.Skipped).
VerifyDiagnostics
();
10703
Verification.Skipped).
VerifyDiagnostics
();
10942
Verification.Skipped).
VerifyDiagnostics
();
11158
Verification.Skipped).
VerifyDiagnostics
();
11385
Verification.Skipped).
VerifyDiagnostics
();
11945
Verification.Skipped).
VerifyDiagnostics
();
11993
Verification.Skipped).
VerifyDiagnostics
();
12029
Verification.Skipped).
VerifyDiagnostics
();
12296
Verification.Skipped).
VerifyDiagnostics
();
12542
Verification.Skipped).
VerifyDiagnostics
();
12801
Verification.Skipped).
VerifyDiagnostics
();
13071
Verification.Skipped).
VerifyDiagnostics
();
13330
Verification.Skipped).
VerifyDiagnostics
();
13669
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
13968
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
14309
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
14670
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123456" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
15021
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
15369
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
16334
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
17613
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
17810
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
18032
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123456" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
18235
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
18436
var verifier = CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"123" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
19102
Verification.Skipped).
VerifyDiagnostics
();
19273
Verification.Skipped).
VerifyDiagnostics
();
19598
Verification.Skipped).
VerifyDiagnostics
();
19783
Verification.Skipped).
VerifyDiagnostics
();
20038
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20051
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20083
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20094
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20202
Called System.Int64", verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20295
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20308
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20340
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20351
CompileAndVerify(comp, expectedOutput: ExecutionConditionUtil.IsMonoOrCoreClr ? @"Called" : null, verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
20406
VerifyDiagnostics
();
20453
VerifyDiagnostics
();
20498
VerifyDiagnostics
();
20543
VerifyDiagnostics
();
21257
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
21505
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
21642
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
21703
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
21836
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
22485
).
VerifyDiagnostics
();
22541
).
VerifyDiagnostics
();
22588
verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
22636
verify: ExecutionConditionUtil.IsMonoOrCoreClr && !s2IsRefStruct ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
22688
).
VerifyDiagnostics
();
22737
).
VerifyDiagnostics
();
22782
).
VerifyDiagnostics
();
22828
).
VerifyDiagnostics
();
22845
verifier.
VerifyDiagnostics
();
22869
verifier.
VerifyDiagnostics
();
RefUnsafeInIteratorAndAsyncTests.cs (24)
357
CompileAndVerify(source, expectedOutput: "456").
VerifyDiagnostics
();
376
CompileAndVerify(source, expectedOutput: "123").
VerifyDiagnostics
();
452
CompileAndVerify(source, expectedOutput: IfSpans("456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
472
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
514
CompileAndVerify(source, expectedOutput: "0").
VerifyDiagnostics
();
533
CompileAndVerify(source, expectedOutput: "0").
VerifyDiagnostics
();
683
CompileAndVerify(source, expectedOutput: "-1 456").
VerifyDiagnostics
();
713
CompileAndVerify(source, expectedOutput: "-1 456").
VerifyDiagnostics
();
742
CompileAndVerify(comp, expectedOutput: "-1 456").
VerifyDiagnostics
();
768
CompileAndVerify(source, expectedOutput: "123-1").
VerifyDiagnostics
();
796
CompileAndVerify(comp, expectedOutput: "123-1").
VerifyDiagnostics
();
948
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
978
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1006
CompileAndVerify(source, expectedOutput: IfSpans("-1 456"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1032
CompileAndVerify(source, expectedOutput: IfSpans("123-1"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1104
CompileAndVerify(source, expectedOutput: "-1 0").
VerifyDiagnostics
();
1133
CompileAndVerify(comp, expectedOutput: "-1 0").
VerifyDiagnostics
();
1159
CompileAndVerify(source, expectedOutput: "0-1").
VerifyDiagnostics
();
1182
CompileAndVerify(source, expectedOutput: "123").
VerifyDiagnostics
();
1207
CompileAndVerify(comp, expectedOutput: "123").
VerifyDiagnostics
();
1231
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1256
CompileAndVerify(source, expectedOutput: IfSpans("123"), verify: Verification.FailsPEVerify, targetFramework: TargetFramework.Net70).
VerifyDiagnostics
();
1280
CompileAndVerify(source, expectedOutput: "123").
VerifyDiagnostics
();
1306
CompileAndVerify(comp, expectedOutput: "123").
VerifyDiagnostics
();
Semantics\CollectionExpressionTests.cs (42)
1969
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("Span<string>")).
VerifyDiagnostics
();
2241
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2242
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: expectedOutput).
VerifyDiagnostics
();
11264
verifier.
VerifyDiagnostics
();
11317
verifier.
VerifyDiagnostics
();
11395
verifier.
VerifyDiagnostics
();
13438
verifier.
VerifyDiagnostics
();
13713
verifier.
VerifyDiagnostics
();
22752
verifier.
VerifyDiagnostics
();
22781
verifier.
VerifyDiagnostics
();
22838
verifier.
VerifyDiagnostics
();
22881
verifier.
VerifyDiagnostics
();
22951
verifier.
VerifyDiagnostics
();
22994
verifier.
VerifyDiagnostics
();
23062
verifier.
VerifyDiagnostics
();
23091
verifier.
VerifyDiagnostics
();
30085
verifier.
VerifyDiagnostics
();
30156
verifier.
VerifyDiagnostics
();
30214
verifier.
VerifyDiagnostics
();
30290
verifier.
VerifyDiagnostics
();
30323
verifier.
VerifyDiagnostics
();
30362
verifier.
VerifyDiagnostics
();
30691
verifier.
VerifyDiagnostics
();
30860
verifier.
VerifyDiagnostics
();
33530
verifier.
VerifyDiagnostics
();
33576
verifier.
VerifyDiagnostics
();
33640
verifier.
VerifyDiagnostics
();
33684
verifier.
VerifyDiagnostics
();
33780
verifier.
VerifyDiagnostics
();
33887
verifier.
VerifyDiagnostics
();
33971
verifier.
VerifyDiagnostics
();
34054
verifier.
VerifyDiagnostics
();
34152
verifier.
VerifyDiagnostics
();
34203
verifier.
VerifyDiagnostics
();
34310
verifier.
VerifyDiagnostics
();
34471
verifier.
VerifyDiagnostics
();
34570
verifier.
VerifyDiagnostics
();
34713
verifier.
VerifyDiagnostics
();
34754
verifier.
VerifyDiagnostics
();
34801
verifier.
VerifyDiagnostics
();
35255
verifier.
VerifyDiagnostics
();
35349
verifier.
VerifyDiagnostics
();
Semantics\InlineArrayTests.cs (230)
112
CompileAndVerify(comp, expectedOutput: output).
VerifyDiagnostics
();
136
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify).
VerifyDiagnostics
();
159
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
182
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
228
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
582
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
1187
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
1280
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify).
VerifyDiagnostics
();
1305
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
1331
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
1362
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
1573
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, expectedOutput: "111").
VerifyDiagnostics
();
1608
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, expectedOutput: "111").
VerifyDiagnostics
();
1643
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, expectedOutput: "111").
VerifyDiagnostics
();
1678
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, expectedOutput: "111").
VerifyDiagnostics
();
1713
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify, expectedOutput: "111").
VerifyDiagnostics
();
1849
CompileAndVerify(comp, symbolValidator: verify, sourceSymbolValidator: verify).
VerifyDiagnostics
();
1904
CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2463
var verifier = CompileAndVerify(comp, expectedOutput: "0 111").
VerifyDiagnostics
();
2554
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2591
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2704
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2742
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2783
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2825
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2865
var verifier = CompileAndVerify(comp, expectedOutput: "0 111").
VerifyDiagnostics
();
2890
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
2915
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
3016
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
3042
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
3071
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
3101
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
3135
var verifier = CompileAndVerify(comp, expectedOutput: "0 0 111 111", verify: Verification.Fails).
VerifyDiagnostics
();
3198
var verifier = CompileAndVerify(comp, expectedOutput: "0 0 111 111", verify: Verification.Fails).
VerifyDiagnostics
();
3261
var verifier = CompileAndVerify(comp, expectedOutput: "0 0 111 111", verify: Verification.Fails).
VerifyDiagnostics
();
3337
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
3561
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
3793
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
4018
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
4143
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
4272
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
4403
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
4529
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
5075
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
5310
var verifier = CompileAndVerify(comp, expectedOutput: "0 111").
VerifyDiagnostics
();
5528
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
5656
var verifier = CompileAndVerify(comp, expectedOutput: "0 111").
VerifyDiagnostics
();
5872
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
5989
var verifier = CompileAndVerify(comp, expectedOutput: "0 111").
VerifyDiagnostics
();
6072
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
6168
var verifier = CompileAndVerify(comp, expectedOutput: "0 5 111", verify: Verification.Fails).
VerifyDiagnostics
();
6248
var verifier = CompileAndVerify(comp, expectedOutput: "10 111", verify: Verification.Fails).
VerifyDiagnostics
();
6363
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6402
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6445
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6488
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6529
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
6554
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6656
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6682
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6712
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6742
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
6814
var verifier = CompileAndVerify(comp, expectedOutput: "0 0", verify: Verification.Fails).
VerifyDiagnostics
();
6858
var verifier = CompileAndVerify(comp, expectedOutput: "0 4 111", verify: Verification.Fails).
VerifyDiagnostics
();
6908
var verifier = CompileAndVerify(comp, expectedOutput: "0 5 111", verify: Verification.Fails).
VerifyDiagnostics
();
6958
var verifier = CompileAndVerify(comp, expectedOutput: "0 5 111", verify: Verification.Fails).
VerifyDiagnostics
();
7014
var verifier = CompileAndVerify(comp, expectedOutput: "0 9 111", verify: Verification.Fails).
VerifyDiagnostics
();
7064
var verifier = CompileAndVerify(comp, expectedOutput: "0 10 111", verify: Verification.Fails).
VerifyDiagnostics
();
7119
var verifier = CompileAndVerify(comp, expectedOutput: "0 9 111", verify: Verification.Fails).
VerifyDiagnostics
();
7188
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
7258
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
7337
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
7473
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
7618
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
7786
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
7948
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
8314
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
8373
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
8426
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
8481
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
8544
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
8598
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
8808
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
8886
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
9054
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9243
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9290
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9341
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9431
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9476
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9594
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9642
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9694
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9826
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
9911
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10014
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
10061
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
10346
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
10391
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
10529
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10603
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10655
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10747
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10793
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10874
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10909
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
10948
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
11027
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
11061
var verifier = CompileAndVerify(comp, expectedOutput: "111").
VerifyDiagnostics
();
11131
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
11177
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
11223
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
11273
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
11347
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
11473
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
12001
var verifier = CompileAndVerify(comp, expectedOutput: "1 0 1 0").
VerifyDiagnostics
();
12198
var verifier = CompileAndVerify(comp, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
12261
var verifier = CompileAndVerify(comp, expectedOutput: "1 2").
VerifyDiagnostics
();
12328
var verifier = CompileAndVerify(comp, expectedOutput: "1 0 2 1 0").
VerifyDiagnostics
();
12377
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
12791
var verifier = CompileAndVerify(comp, expectedOutput: "1 0 1 0").
VerifyDiagnostics
();
12915
var verifier = CompileAndVerify(comp, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
12969
var verifier = CompileAndVerify(comp, expectedOutput: "1 2").
VerifyDiagnostics
();
13028
var verifier = CompileAndVerify(comp, expectedOutput: "1 0 2 1 0").
VerifyDiagnostics
();
13155
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
13343
var verifier = CompileAndVerify(comp, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
13383
var verifier = CompileAndVerify(comp, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
13525
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
13586
var verifier = CompileAndVerify(comp, expectedOutput: "0 1 0").
VerifyDiagnostics
();
13654
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
13695
var verifier = CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
13749
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
13807
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
13865
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
13918
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
13969
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
14020
var verifier = CompileAndVerify(comp, expectedOutput: "0 2 0", verify: Verification.Fails).
VerifyDiagnostics
();
14648
}).
VerifyDiagnostics
();
14697
}).
VerifyDiagnostics
();
14746
}).
VerifyDiagnostics
();
14794
}).
VerifyDiagnostics
();
14841
}).
VerifyDiagnostics
();
14885
}).
VerifyDiagnostics
();
15118
var verifier = CompileAndVerify(comp, expectedOutput: "-1 110").
VerifyDiagnostics
();
15164
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
15248
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15385
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15440
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15501
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15564
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15618
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
15646
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
15672
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15698
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15894
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15920
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15949
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
15978
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16013
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16048
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16085
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16122
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16183
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16231
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16318
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16433
var verifier = CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
16671
var verifier = CompileAndVerify(comp, expectedOutput: "0 111", verify: Verification.Fails).
VerifyDiagnostics
();
16971
CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
17009
CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
17046
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
17049
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
17163
CompileAndVerify(comp, expectedOutput: "111", verify: Verification.Fails).
VerifyDiagnostics
();
17988
CompileAndVerify(comp, expectedOutput: " Throw 111 999 Throw", verify: Verification.Fails).
VerifyDiagnostics
();
18168
CompileAndVerify(comp, expectedOutput: " 10 1 Throw 0 Throw", verify: Verification.Fails).
VerifyDiagnostics
();
18275
CompileAndVerify(comp, expectedOutput: "2", verify: Verification.Fails).
VerifyDiagnostics
();
18303
CompileAndVerify(comp, expectedOutput: "2", verify: Verification.Fails).
VerifyDiagnostics
();
18371
CompileAndVerify(comp, expectedOutput: "2", verify: Verification.Fails).
VerifyDiagnostics
();
18504
CompileAndVerify(comp, expectedOutput: "2", verify: Verification.Fails).
VerifyDiagnostics
();
18541
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114 -111 -112 -113 -114").
VerifyDiagnostics
();
18639
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114 -111 -112 -113 -114").
VerifyDiagnostics
();
18712
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114").
VerifyDiagnostics
();
18866
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114 -111 -112 -113 -114").
VerifyDiagnostics
();
19001
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114").
VerifyDiagnostics
();
19200
var verifier = CompileAndVerify(comp, expectedOutput: " 111 112 113 114").
VerifyDiagnostics
();
19489
CompileAndVerify(comp, expectedOutput: " 111 112 113 114").
VerifyDiagnostics
();
19982
var verifier = CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20120
CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20169
var verifier = CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20320
CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20358
expectedOutput: expectedOutput).
VerifyDiagnostics
();
20361
expectedOutput: expectedOutput).
VerifyDiagnostics
();
20442
var verifier = CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20579
CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20628
var verifier = CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20779
CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
20820
verify: Verification.FailsILVerify, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20823
verify: Verification.FailsILVerify, expectedOutput: expectedOutput).
VerifyDiagnostics
();
20893
var verifier = CompileAndVerify(comp, expectedOutput: "-1 111 112 113 114").
VerifyDiagnostics
();
20996
CompileAndVerify(comp, expectedOutput: "-1 111 112 113 114").
VerifyDiagnostics
();
21038
expectedOutput: expectedOutput).
VerifyDiagnostics
();
21041
expectedOutput: expectedOutput).
VerifyDiagnostics
();
21389
var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
21391
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
21540
var verifier = CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21610
CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21657
var verifier = CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21730
CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21776
expectedOutput: expectedOutput).
VerifyDiagnostics
();
21779
expectedOutput: expectedOutput).
VerifyDiagnostics
();
21859
var verifier = CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21929
CompileAndVerify(comp, expectedOutput: "-1 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
21976
var verifier = CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
22049
CompileAndVerify(comp, expectedOutput: " 0 1 2 3", verify: Verification.Fails).
VerifyDiagnostics
();
22098
verify: Verification.FailsILVerify, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22101
verify: Verification.FailsILVerify, expectedOutput: expectedOutput).
VerifyDiagnostics
();
22170
var verifier = CompileAndVerify(comp, expectedOutput: "-1 111 112 113 114").
VerifyDiagnostics
();
22233
CompileAndVerify(comp, expectedOutput: "-1 111 112 113 114").
VerifyDiagnostics
();
22283
expectedOutput: expectedOutput).
VerifyDiagnostics
();
22286
expectedOutput: expectedOutput).
VerifyDiagnostics
();
22654
var verifier = CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
22656
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).
VerifyDiagnostics
();
22857
CompileAndVerify(comp, expectedOutput: "nint").
VerifyDiagnostics
();
22913
CompileAndVerify(comp, expectedOutput: "0").
VerifyDiagnostics
();
22972
CompileAndVerify(comp, expectedOutput: "0", verify: Verification.Fails).
VerifyDiagnostics
();
23000
CompileAndVerify(comp, expectedOutput: "0", verify: Verification.Fails).
VerifyDiagnostics
();
23088
CompileAndVerify(comp, expectedOutput: "s", verify: Verification.Fails).
VerifyDiagnostics
();
23110
CompileAndVerify(comp, expectedOutput: "1", verify: Verification.Fails).
VerifyDiagnostics
();
23223
var verifier = CompileAndVerify(comp, expectedOutput: "123124").
VerifyDiagnostics
();
23267
var verifier = CompileAndVerify(comp, expectedOutput: "123124").
VerifyDiagnostics
();
23344
verifier.
VerifyDiagnostics
();
Semantics\LockTests.cs (22)
136
verifier.
VerifyDiagnostics
();
396
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
429
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
465
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
501
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
537
CompileAndVerify(source, expectedOutput: "OLD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
779
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
807
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
844
verifier.
VerifyDiagnostics
();
1053
verifier.
VerifyDiagnostics
();
1320
CompileAndVerify(source, expectedOutput: "ELD", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1366
verify: Verification.Fails, targetFramework: TargetFramework.Net60).
VerifyDiagnostics
();
1406
verifier.
VerifyDiagnostics
();
1474
verifier.
VerifyDiagnostics
();
1522
verifier.
VerifyDiagnostics
();
1614
verifier.
VerifyDiagnostics
();
1638
verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1640
verify: Verification.FailsILVerify).
VerifyDiagnostics
();
3657
verifier.
VerifyDiagnostics
();
3661
verifier.
VerifyDiagnostics
();
3698
verifier.
VerifyDiagnostics
();
3889
verifier.
VerifyDiagnostics
();
Semantics\OutVarTests.cs (68)
905
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1402
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1460
CompileAndVerify(compilation, expectedOutput: @"{123, 124}").
VerifyDiagnostics
();
1494
CompileAndVerify(compilation, expectedOutput: @"System.Collections.Generic.List`1[System.Int32]").
VerifyDiagnostics
();
1529
CompileAndVerify(compilation, expectedOutput: @"124").
VerifyDiagnostics
();
1563
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1597
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1637
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1675
CompileAndVerify(compilation, expectedOutput: @"").
VerifyDiagnostics
();
1712
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1748
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
1881
CompileAndVerify(compilation, expectedOutput: "1").
VerifyDiagnostics
();
3373
").
VerifyDiagnostics
();
3425
").
VerifyDiagnostics
();
5016
CompileAndVerify(compilation, expectedOutput: "11").
VerifyDiagnostics
();
14254
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14301
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14350
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14392
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14434
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14479
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14521
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
14566
1").
VerifyDiagnostics
();
14775
1").
VerifyDiagnostics
();
14825
1").
VerifyDiagnostics
();
17917
CompileAndVerify(compilation, expectedOutput: @"").
VerifyDiagnostics
();
17949
CompileAndVerify(compilation, expectedOutput: @"").
VerifyDiagnostics
();
17991
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18065
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18346
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18427
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18491
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18540
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
18585
CompileAndVerify(compilation, expectedOutput: @"1").
VerifyDiagnostics
();
18637
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18681
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
18723
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
19200
125").
VerifyDiagnostics
();
19247
125").
VerifyDiagnostics
();
19285
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
19326
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
19360
CompileAndVerify(compilation, expectedOutput: @"123").
VerifyDiagnostics
();
19421
125").
VerifyDiagnostics
();
19838
CompileAndVerify(compilation, expectedOutput: @"124").
VerifyDiagnostics
();
19871
CompileAndVerify(compilation, expectedOutput: @"247").
VerifyDiagnostics
();
19904
CompileAndVerify(compilation, expectedOutput: @"247").
VerifyDiagnostics
();
19939
CompileAndVerify(compilation, expectedOutput: @"247").
VerifyDiagnostics
();
19974
CompileAndVerify(compilation, expectedOutput: @"247").
VerifyDiagnostics
();
23523
1").
VerifyDiagnostics
();
25789
1").
VerifyDiagnostics
();
26151
1").
VerifyDiagnostics
();
26199
1").
VerifyDiagnostics
();
26819
1").
VerifyDiagnostics
();
27432
1").
VerifyDiagnostics
();
27822
CompileAndVerify(compilation, expectedOutput: @"1").
VerifyDiagnostics
();
28223
3").
VerifyDiagnostics
();
28570
1").
VerifyDiagnostics
();
28618
1").
VerifyDiagnostics
();
30429
1").
VerifyDiagnostics
();
30484
1").
VerifyDiagnostics
();
30613
1 2").
VerifyDiagnostics
();
30997
1").
VerifyDiagnostics
();
31052
1").
VerifyDiagnostics
();
31525
1").
VerifyDiagnostics
();
31580
1").
VerifyDiagnostics
();
31709
1 2").
VerifyDiagnostics
();
32973
comp.
VerifyDiagnostics
();
33036
comp.
VerifyDiagnostics
();
Semantics\ParamsCollectionTests.cs (80)
116
")).
VerifyDiagnostics
();
294
")).
VerifyDiagnostics
();
389
verifier.
VerifyDiagnostics
();
415
verifier.
VerifyDiagnostics
();
607
")).
VerifyDiagnostics
();
1073
")).
VerifyDiagnostics
();
1279
").
VerifyDiagnostics
();
2430
").
VerifyDiagnostics
();
2619
")).
VerifyDiagnostics
();
2950
}).
VerifyDiagnostics
();
2997
}).
VerifyDiagnostics
();
3033
verifier.
VerifyDiagnostics
();
3192
").
VerifyDiagnostics
();
3333
").
VerifyDiagnostics
();
3563
").
VerifyDiagnostics
();
3868
").
VerifyDiagnostics
();
4206
var verifier = CompileAndVerify(comp2, symbolValidator: checkParamsInDelegate1).
VerifyDiagnostics
();
4243
verifier = CompileAndVerify(comp2, symbolValidator: checkParamsInDelegate1).
VerifyDiagnostics
();
4247
verifier = CompileAndVerify(comp2, symbolValidator: checkParamsInDelegate1).
VerifyDiagnostics
();
4367
).
VerifyDiagnostics
(); // No language version diagnostics as expected. The 'params' modifier doesn't even make it to symbol and metadata.
4406
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("span"), verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
4409
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("span"), verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
4412
CompileAndVerify(comp2, expectedOutput: ExpectedOutput("array"), verify: ExecutionConditionUtil.IsMonoOrCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
4488
")).
VerifyDiagnostics
();
4560
")).
VerifyDiagnostics
();
4639
")).
VerifyDiagnostics
();
4713
")).
VerifyDiagnostics
();
4830
")).
VerifyDiagnostics
();
4866
int")).
VerifyDiagnostics
();
4904
C2")).
VerifyDiagnostics
();
5683
")).
VerifyDiagnostics
();
5705
expectedOutput: @"int").
VerifyDiagnostics
();
6131
CompileAndVerify(comp, expectedOutput: ExpectedOutput(@"ValIn")).
VerifyDiagnostics
();
6266
expectedOutput: ExpectedOutput(@"System.Int64")).
VerifyDiagnostics
();
6484
VerifyDiagnostics
();
6904
expectedOutput: @"Called").
VerifyDiagnostics
();
6940
expectedOutput: @"long").
VerifyDiagnostics
();
7007
VerifyDiagnostics
();
7051
expectedOutput: @"CalledCalledCalledCalledCalledCalledCalled2Called2Called2Called2Called2Called2").
VerifyDiagnostics
();
7132
expectedOutput: @"Called").
VerifyDiagnostics
();
7184
expectedOutput: @"Called").
VerifyDiagnostics
();
7517
VerifyDiagnostics
();
7806
expectedOutput: @"Called").
VerifyDiagnostics
();
7850
expectedOutput: @"long").
VerifyDiagnostics
();
8122
VerifyDiagnostics
();
8686
symbolValidator: (m) => verifyScopeOnImport(m, ScopedKind.None)).
VerifyDiagnostics
();
8785
symbolValidator: (m) => verifyScopeOnImport(m, ScopedKind.None)).
VerifyDiagnostics
();
8883
symbolValidator: (m) => verifyScopeOnImport(m, ScopedKind.ScopedValue)).
VerifyDiagnostics
();
8926
symbolValidator: (m) => verifyScopeOnImport(m, ScopedKind.ScopedValue)).
VerifyDiagnostics
();
8970
symbolValidator: (m) => verifyScopeOnImport(m, ScopedKind.None, expectUnscopedRefAttribute: true)).
VerifyDiagnostics
();
10432
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
10556
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
10680
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
10946
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
11094
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
11242
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
11532
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
11679
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
11826
CompileAndVerify(comp, expectedOutput: "Test1Test2").
VerifyDiagnostics
();
12326
CompileAndVerify(comp, expectedOutput: "Test1Test1").
VerifyDiagnostics
();
12492
CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "DisposedDisposed").
VerifyDiagnostics
();
12530
).
VerifyDiagnostics
();
12846
).
VerifyDiagnostics
();
13353
")).
VerifyDiagnostics
();
13419
")).
VerifyDiagnostics
();
13483
")).
VerifyDiagnostics
();
13587
").
VerifyDiagnostics
();
13688
").
VerifyDiagnostics
();
13834
").
VerifyDiagnostics
();
13980
").
VerifyDiagnostics
();
14078
").
VerifyDiagnostics
();
14272
").
VerifyDiagnostics
();
14346
").
VerifyDiagnostics
();
14396
").
VerifyDiagnostics
();
15481
CompileAndVerify(comp, expectedOutput: "MyCollection GetAsyncEnumerator").
VerifyDiagnostics
();
16399
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
16436
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
16474
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
16501
verifier.
VerifyDiagnostics
();
16515
verifier.
VerifyDiagnostics
();
Semantics\PatternMatchingTests.cs (1)
2742
CompileAndVerify(compilation, expectedOutput: "12").
VerifyDiagnostics
();
Semantics\PatternMatchingTests_Global.cs (18)
290
1").
VerifyDiagnostics
();
637
1").
VerifyDiagnostics
();
679
1").
VerifyDiagnostics
();
1260
1").
VerifyDiagnostics
();
1848
1").
VerifyDiagnostics
();
2222
CompileAndVerify(compilation, expectedOutput: @"1").
VerifyDiagnostics
();
2607
3").
VerifyDiagnostics
();
2939
1").
VerifyDiagnostics
();
2985
1").
VerifyDiagnostics
();
4673
1").
VerifyDiagnostics
();
4719
1").
VerifyDiagnostics
();
4829
1 2").
VerifyDiagnostics
();
5194
1").
VerifyDiagnostics
();
5240
1").
VerifyDiagnostics
();
5723
1").
VerifyDiagnostics
();
5774
1").
VerifyDiagnostics
();
5889
1 2").
VerifyDiagnostics
();
6800
1").
VerifyDiagnostics
();
Semantics\PatternMatchingTests_ListPatterns.cs (7)
283
verifier.
VerifyDiagnostics
();
1798
CompileAndVerify(csCompilation, expectedOutput: "(True, 42)").
VerifyDiagnostics
();
2570
CompileAndVerify(compilation, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6905
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7894
verifier.
VerifyDiagnostics
();
8460
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
8540
verifier.
VerifyDiagnostics
();
Semantics\PatternMatchingTests_Scope.cs (13)
281
CompileAndVerify(compilation, expectedOutput: "2").
VerifyDiagnostics
();
327
CompileAndVerify(compilation, expectedOutput: "12").
VerifyDiagnostics
();
11127
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11175
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11225
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11268
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11311
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11357
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11400
CompileAndVerify(compilation, expectedOutput: @"2").
VerifyDiagnostics
();
11446
True").
VerifyDiagnostics
();
11492
True").
VerifyDiagnostics
();
11662
False").
VerifyDiagnostics
();
11722
False").
VerifyDiagnostics
();
Semantics\PatternMatchingTests2.cs (2)
3580
CompileAndVerify(source, expectedOutput: expected).
VerifyDiagnostics
();
3637
CompileAndVerify(source, expectedOutput: expected).
VerifyDiagnostics
();
Semantics\PrimaryConstructorTests.cs (52)
625
}).
VerifyDiagnostics
();
998
verifier.
VerifyDiagnostics
();
1049
123").
VerifyDiagnostics
();
1287
2").
VerifyDiagnostics
();
1945
123").
VerifyDiagnostics
();
2004
var verifier = CompileAndVerify(src, expectedOutput: @"1").
VerifyDiagnostics
();
2634
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
2745
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
2796
").
VerifyDiagnostics
();
2890
CompileAndVerify(comp, expectedOutput: "(2, 1)").
VerifyDiagnostics
();
2915
CompileAndVerify(comp, expectedOutput: "(2, 1)").
VerifyDiagnostics
();
2941
CompileAndVerify(comp, expectedOutput: "(42, 43)").
VerifyDiagnostics
();
3007
CompileAndVerify(comp, expectedOutput: "42").
VerifyDiagnostics
();
3043
comp.
VerifyDiagnostics
();
3172
comp.
VerifyDiagnostics
();
7046
verifier.
VerifyDiagnostics
();
7094
verifier.
VerifyDiagnostics
();
9174
var verifier = CompileAndVerify(comp, expectedOutput: @"123124125").
VerifyDiagnostics
();
9339
var verifier = CompileAndVerify(comp, expectedOutput: @"123124").
VerifyDiagnostics
();
9454
CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
9574
CompileAndVerify(comp, expectedOutput: @"1020333650").
VerifyDiagnostics
();
9909
CompileAndVerify(comp, expectedOutput: @"123124").
VerifyDiagnostics
();
10147
CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
10306
CompileAndVerify(comp, expectedOutput: @"Red").
VerifyDiagnostics
();
10337
CompileAndVerify(comp, expectedOutput: @"Red").
VerifyDiagnostics
();
10377
CompileAndVerify(comp, expectedOutput: @"0").
VerifyDiagnostics
();
10716
CompileAndVerify(comp, expectedOutput: @"extension").
VerifyDiagnostics
();
10959
CompileAndVerify(comp, expectedOutput: @"instance").
VerifyDiagnostics
();
11002
CompileAndVerify(comp, expectedOutput: @"extension").
VerifyDiagnostics
();
11332
CompileAndVerify(comp, expectedOutput: @"instance").
VerifyDiagnostics
();
11481
CompileAndVerify(comp, expectedOutput: @"instance").
VerifyDiagnostics
();
11990
CompileAndVerify(comp, expectedOutput: @"0").
VerifyDiagnostics
();
12111
CompileAndVerify(comp, expectedOutput: @"instance").
VerifyDiagnostics
();
12244
var verifier = CompileAndVerify(comp, expectedOutput: @"123124125126-1", verify: Verification.Fails).
VerifyDiagnostics
();
12317
var verifier = CompileAndVerify(comp, expectedOutput: @"123124125126-1-2-3", verify: Verification.Fails).
VerifyDiagnostics
();
14094
verifier.
VerifyDiagnostics
();
14414
var verifier = CompileAndVerify(comp, expectedOutput: @"(2, 1)").
VerifyDiagnostics
();
14976
CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
15433
CompileAndVerify(comp, expectedOutput: @"123", verify: Verification.Skipped).
VerifyDiagnostics
();
15720
).
VerifyDiagnostics
();
15741
).
VerifyDiagnostics
();
15762
).
VerifyDiagnostics
();
15783
).
VerifyDiagnostics
();
19473
C4124").
VerifyDiagnostics
();
19556
C4124").
VerifyDiagnostics
();
19601
C3124").
VerifyDiagnostics
();
20351
CompileAndVerify(comp, symbolValidator: validator, sourceSymbolValidator: validator).
VerifyDiagnostics
();
20384
CompileAndVerify(comp, symbolValidator: validator, sourceSymbolValidator: validator).
VerifyDiagnostics
();
21891
CompileAndVerify(comp, expectedOutput: @"123C1").
VerifyDiagnostics
();
21910
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
();
21978
CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
22007
CompileAndVerify(comp, expectedOutput: @"12").
VerifyDiagnostics
();
Semantics\RecordTests.cs (114)
781
CompileAndVerify(comp, expectedOutput: "(2, 2)", verify: Verification.Skipped /* init-only */).
VerifyDiagnostics
();
801
CompileAndVerify(comp, expectedOutput: "(2, 2)", verify: Verification.Skipped /* init-only */).
VerifyDiagnostics
();
879
123").
VerifyDiagnostics
();
1554
verifier.
VerifyDiagnostics
();
1605
verifier.
VerifyDiagnostics
();
1685
verifier.
VerifyDiagnostics
();
1797
11").
VerifyDiagnostics
();
2012
5").
VerifyDiagnostics
();
2051
5 1").
VerifyDiagnostics
();
2092
5 2").
VerifyDiagnostics
();
2374
var verifier = CompileAndVerify(src, expectedOutput: "2").
VerifyDiagnostics
();
2427
3").
VerifyDiagnostics
();
3416
CompileAndVerify(comp, expectedOutput: "RAN").
VerifyDiagnostics
();
4226
11").
VerifyDiagnostics
();
4356
11").
VerifyDiagnostics
();
7643
11").
VerifyDiagnostics
();
7685
11").
VerifyDiagnostics
();
7725
11").
VerifyDiagnostics
();
7759
11").
VerifyDiagnostics
();
7793
11").
VerifyDiagnostics
();
7828
11").
VerifyDiagnostics
();
7868
").
VerifyDiagnostics
();
7898
").
VerifyDiagnostics
();
8063
X").
VerifyDiagnostics
();
8238
var verifier = CompileAndVerify(src, expectedOutput: "11").
VerifyDiagnostics
();
8286
11").
VerifyDiagnostics
();
8338
11").
VerifyDiagnostics
();
8386
CompileAndVerify(src, expectedOutput: "abc").
VerifyDiagnostics
();
8421
11").
VerifyDiagnostics
();
9518
2").
VerifyDiagnostics
();
9548
}", references: new[] { comp1.EmitToImageReference() }).
VerifyDiagnostics
();
9590
1").
VerifyDiagnostics
();
10120
1, 2").
VerifyDiagnostics
();
11560
(1, 2)").
VerifyDiagnostics
();
12286
B").
VerifyDiagnostics
();
12365
B").
VerifyDiagnostics
();
12470
B").
VerifyDiagnostics
();
12596
var verifierA = CompileAndVerify(compA, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
12636
var verifierB = CompileAndVerify(compB, expectedOutput: "(1, 2, 3, 4) (1, 2, 3, 4) (10, 2, 30, 4)", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
12688
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 3, 4) (10, 20, 30, 40)", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
12745
var verifier = CompileAndVerify(comp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
12832
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
13005
var verifier = CompileAndVerify(comp, expectedOutput: "RAN", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
13060
var verifier = CompileAndVerify(comp, expectedOutput: "1 RAN 2", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
13182
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 42) RAN (10, 20, 42)", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
13222
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 42) (10, 20, 42)", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
13502
var verifier = CompileAndVerify(comp, expectedOutput: "(1, 2, 3, 4, 100, 200)", verify: ExecutionConditionUtil.IsCoreClr ? Verification.Skipped : Verification.Fails).
VerifyDiagnostics
();
13863
CompileAndVerify(comp, expectedOutput: "RAN").
VerifyDiagnostics
();
13933
CompileAndVerify(comp, expectedOutput: "RAN").
VerifyDiagnostics
();
13981
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: "RAN").
VerifyDiagnostics
();
14007
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: "RAN").
VerifyDiagnostics
();
14073
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: "123").
VerifyDiagnostics
();
14101
verifier.
VerifyDiagnostics
();
14159
verifier.
VerifyDiagnostics
();
14196
verifier.
VerifyDiagnostics
();
14591
verifier.
VerifyDiagnostics
();
14669
verifier.
VerifyDiagnostics
();
14718
verifier.
VerifyDiagnostics
();
14851
verifier.
VerifyDiagnostics
();
15073
verifier.
VerifyDiagnostics
();
15108
verifier.
VerifyDiagnostics
();
15140
verifier.
VerifyDiagnostics
();
15243
verifier.
VerifyDiagnostics
();
15283
verifier.
VerifyDiagnostics
();
15360
verifier.
VerifyDiagnostics
();
15439
verifier.
VerifyDiagnostics
();
15475
verifier.
VerifyDiagnostics
();
15620
verifier.
VerifyDiagnostics
();
15654
verifier.
VerifyDiagnostics
();
18266
").
VerifyDiagnostics
();
18308
").
VerifyDiagnostics
();
18370
").
VerifyDiagnostics
();
18459
").
VerifyDiagnostics
();
18618
").
VerifyDiagnostics
();
18657
").
VerifyDiagnostics
();
18693
").
VerifyDiagnostics
();
18796
").
VerifyDiagnostics
();
18867
").
VerifyDiagnostics
();
18911
").
VerifyDiagnostics
();
19027
").
VerifyDiagnostics
();
19100
").
VerifyDiagnostics
();
20032
CompileAndVerify(comp, expectedOutput: "True").
VerifyDiagnostics
();
20063
CompileAndVerify(comp, expectedOutput: "True").
VerifyDiagnostics
();
20329
").
VerifyDiagnostics
();
20680
").
VerifyDiagnostics
();
20808
1 2 3").
VerifyDiagnostics
();
20860
4 3").
VerifyDiagnostics
();
21028
2 3", targetFramework: TargetFramework.NetLatest).
VerifyDiagnostics
().VerifyIL("E.CHelper", @"
21115
123").
VerifyDiagnostics
();
21361
2").
VerifyDiagnostics
();
22050
123").
VerifyDiagnostics
();
22116
var verifier = CompileAndVerify(src, expectedOutput: @"1").
VerifyDiagnostics
();
22537
True").
VerifyDiagnostics
();
22606
True").
VerifyDiagnostics
();
23049
True").
VerifyDiagnostics
();
23540
False").
VerifyDiagnostics
();
23573
False").
VerifyDiagnostics
();
23764
False").
VerifyDiagnostics
();
23839
True").
VerifyDiagnostics
();
24003
C").
VerifyDiagnostics
();
24183
B.Equals(B)").
VerifyDiagnostics
();
24636
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
24740
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
24791
").
VerifyDiagnostics
();
25102
comp.
VerifyDiagnostics
();
25162
comp.
VerifyDiagnostics
();
25239
comp.
VerifyDiagnostics
();
25590
comp.
VerifyDiagnostics
();
27717
verifier.
VerifyDiagnostics
();
27770
verifier.
VerifyDiagnostics
();
28026
verifier.
VerifyDiagnostics
();
28049
verifier.
VerifyDiagnostics
();
30442
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
();
30445
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
EndToEndTests.cs (2)
361
CompileAndVerify(source, options: options).
VerifyDiagnostics
();
678
verifier.
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (730)
Semantics\AccessCheckTests.cs (3)
1052
assembly1Verifier.
VerifyDiagnostics
();
1420
CompileAndVerify(text).
VerifyDiagnostics
();
1436
CompileAndVerify(text).
VerifyDiagnostics
();
Semantics\AmbiguousOverrideTests.cs (1)
1369
verifier.
VerifyDiagnostics
();
Semantics\AnonymousFunctionTests.cs (3)
29
.
VerifyDiagnostics
(expected);
44
.
VerifyDiagnostics
();
1193
.
VerifyDiagnostics
();
Semantics\ArglistTests.cs (2)
1679
CompileAndVerify(source, expectedOutput: "111", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1698
CompileAndVerify(source, expectedOutput: "111", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
Semantics\AwaitExpressionTests.cs (4)
375
CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: "Passed").
VerifyDiagnostics
();
376
CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").
VerifyDiagnostics
();
419
CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: "Passed").
VerifyDiagnostics
();
420
CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: "Passed").
VerifyDiagnostics
();
Semantics\BindingAsyncTasklikeMoreTests.cs (5)
108
verifier.
VerifyDiagnostics
();
433
verifier.
VerifyDiagnostics
();
514
verifier.
VerifyDiagnostics
();
593
verifier.
VerifyDiagnostics
();
667
verifier.
VerifyDiagnostics
();
Semantics\BindingTests.cs (3)
2345
}").
VerifyDiagnostics
();
3963
CompileAndVerify(compilation).
VerifyDiagnostics
();
4022
CompileAndVerify(comp).
VerifyDiagnostics
();
Semantics\ColorColorTests.cs (1)
2427
CompileAndVerify(source).
VerifyDiagnostics
();
Semantics\DeconstructionTests.cs (7)
957
comp.
VerifyDiagnostics
(
1689
comp.
VerifyDiagnostics
();
1760
comp.
VerifyDiagnostics
();
1835
comp.
VerifyDiagnostics
();
3245
comp.
VerifyDiagnostics
();
3775
verifier.
VerifyDiagnostics
();
6482
verifier.
VerifyDiagnostics
();
Semantics\DelegateTypeTests.cs (116)
1243
verifier.
VerifyDiagnostics
();
1368
verifier.
VerifyDiagnostics
();
1411
verifier.
VerifyDiagnostics
();
1976
verifier.
VerifyDiagnostics
();
2488
verifier.
VerifyDiagnostics
();
2536
verifier.
VerifyDiagnostics
();
2806
verifier.
VerifyDiagnostics
();
2826
verifier.
VerifyDiagnostics
();
2854
verifier.
VerifyDiagnostics
();
2913
verifier.
VerifyDiagnostics
();
3008
verifier.
VerifyDiagnostics
();
3039
verifier.
VerifyDiagnostics
();
3074
verifier.
VerifyDiagnostics
();
6455
CompileAndVerify(source, expectedOutput: "1").
VerifyDiagnostics
();
6785
expectedOutput: "12").
VerifyDiagnostics
();
6874
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6875
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6876
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6915
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6916
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6917
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6956
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6957
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
6958
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7007
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7008
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7053
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7054
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7055
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7100
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7101
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7102
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7145
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7146
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7181
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7182
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7217
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7218
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7266
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7267
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7309
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
7310
CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13206
""").
VerifyDiagnostics
();
13253
""").
VerifyDiagnostics
();
13276
""").
VerifyDiagnostics
();
13299
""").
VerifyDiagnostics
();
13322
""").
VerifyDiagnostics
();
13362
""").
VerifyDiagnostics
();
13379
""").
VerifyDiagnostics
();
13406
""").
VerifyDiagnostics
();
13434
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13435
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13436
var verifier = CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13475
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13476
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13477
var verifier = CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13508
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13509
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13510
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13538
CompileAndVerify(source, parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13539
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13540
var verifier = CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13585
""").
VerifyDiagnostics
();
13605
CompileAndVerify(source3, [comp2Ref, comp1b.EmitToImageReference()], parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13606
CompileAndVerify(source3, [comp2Ref, comp1b.EmitToImageReference()], parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13607
verifier = CompileAndVerify(source3, [comp2Ref, comp1b.EmitToImageReference()], symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13656
CompileAndVerify(source, parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13657
var verifier = CompileAndVerify(source, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13723
CompileAndVerify(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13724
var verifier = CompileAndVerify(source3, [comp2Ref, comp1bRef], symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13855
CompileAndVerify(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13856
CompileAndVerify(source3, [comp2Ref, comp1bRef], expectedOutput: expectedOutput).
VerifyDiagnostics
();
13869
CompileAndVerify(source4, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13870
CompileAndVerify(source4, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13871
var verifier = CompileAndVerify(source4, [comp2Ref, comp1bRef], symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13910
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13911
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13912
var verifier = CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13953
CompileAndVerify(source3, [comp2Ref, comp1aRef], parseOptions: TestOptions.Regular12, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13954
CompileAndVerify(source3, [comp2Ref, comp1aRef], parseOptions: TestOptions.Regular13, symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13955
var verifier = CompileAndVerify(source3, [comp2Ref, comp1aRef], symbolValidator: validateSymbols, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13982
CompileAndVerify(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13983
CompileAndVerify(source3, [comp2Ref, comp1bRef], parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
13984
verifier = CompileAndVerify(source3, [comp2Ref, comp1bRef], expectedOutput: expectedOutput).
VerifyDiagnostics
();
15641
CompileAndVerify(source, expectedOutput: "A.M()").
VerifyDiagnostics
();
16745
CompileAndVerify(source, expectedOutput: "string1").
VerifyDiagnostics
();
16770
CompileAndVerify(source, expectedOutput: "my string").
VerifyDiagnostics
();
16792
CompileAndVerify(source, expectedOutput: "string1").
VerifyDiagnostics
();
16843
verifier.
VerifyDiagnostics
();
16914
CompileAndVerify(source, expectedOutput: "-1 a 0").
VerifyDiagnostics
();
16938
verifier.
VerifyDiagnostics
();
17161
CompileAndVerify(source, expectedOutput: "4").
VerifyDiagnostics
();
17181
CompileAndVerify(source, expectedOutput: "3").
VerifyDiagnostics
();
17430
<>f__AnonymousDelegate0`2[System.Int32,System.Int32]").
VerifyDiagnostics
();
17508
""").
VerifyDiagnostics
();
17526
CompileAndVerify(source, options: TestOptions.UnsafeReleaseExe, verify: Verification.Skipped, expectedOutput: "True").
VerifyDiagnostics
();
17540
CompileAndVerify(source, options: TestOptions.UnsafeReleaseExe, expectedOutput: "4").
VerifyDiagnostics
();
17753
<>f__AnonymousDelegate0`3[System.Int32,System.String,System.String]").
VerifyDiagnostics
();
17802
5").
VerifyDiagnostics
();
17870
""").
VerifyDiagnostics
();
17881
var verifier = CompileAndVerify(source).
VerifyDiagnostics
();
17982
""").
VerifyDiagnostics
();
17995
var verifier = CompileAndVerify(source).
VerifyDiagnostics
();
18111
""").
VerifyDiagnostics
();
18164
""").
VerifyDiagnostics
();
18179
var verifier = CompileAndVerify(source).
VerifyDiagnostics
();
18264
""").
VerifyDiagnostics
();
18281
var verifier = CompileAndVerify(source).
VerifyDiagnostics
();
18376
""").
VerifyDiagnostics
();
18408
@"<>f__AnonymousDelegate0`1[System.Int32][]").
VerifyDiagnostics
();
18431
{s_expressionOfTDelegate1ArgTypeName}[System.Func`2[System.Int32,<>f__AnonymousDelegate0`2[System.Int32,System.Int32]]]").
VerifyDiagnostics
();
18570
""").
VerifyDiagnostics
();
18943
""").
VerifyDiagnostics
();
19266
""").
VerifyDiagnostics
();
19286
var verifier = CompileAndVerify(source, expectedOutput: "<>f__AnonymousDelegate0`2[System.Int32,System.Int32]").
VerifyDiagnostics
();
19324
var verifier = CompileAndVerify(source, expectedOutput: "<>c").
VerifyDiagnostics
();
Semantics\DynamicTests.cs (79)
1553
expectedOutput: "1", verify: Verification.Fails).
VerifyDiagnostics
();
1575
expectedOutput: "1", verify: Verification.Fails).
VerifyDiagnostics
();
1597
expectedOutput: "1", verify: Verification.Fails).
VerifyDiagnostics
();
1617
expectedOutput: "1").
VerifyDiagnostics
();
1642
expectedOutput: RefFieldTests.IncludeExpectedOutput("1"), verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
1670
expectedOutput: ro ? "0" : "1", verify: ro ? Verification.FailsPEVerify : default).
VerifyDiagnostics
();
1695
var verifier = CompileAndVerify(source, new[] { CSharpRef }).
VerifyDiagnostics
();
3855
var verifier = CompileAndVerify(source, new[] { CSharpRef }, expectedOutput: "System.Object").
VerifyDiagnostics
();
3886
CompileAndVerify(source, new[] { CSharpRef }, expectedOutput: "System.Object").
VerifyDiagnostics
();
3888
var verifier = CompileAndVerify(source, new[] { CSharpRef }, expectedOutput: "System.Object").
VerifyDiagnostics
();
3916
var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3944
var verifier = CompileAndVerify(source, options: TestOptions.DebugDll.WithAllowUnsafe(true), verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3995
var verifier = CompileAndVerify(source, new[] { CSharpRef }, options: TestOptions.DebugDll).
VerifyDiagnostics
();
4398
CompileAndVerify(compilation1, expectedOutput: "MIndexer").
VerifyDiagnostics
();
4533
").
VerifyDiagnostics
();
4540
").
VerifyDiagnostics
();
4678
CompileAndVerify(comp, expectedOutput: "int").
VerifyDiagnostics
();
4996
CompileAndVerify(comp1).
VerifyDiagnostics
();
5120
CompileAndVerify(comp1).
VerifyDiagnostics
();
5243
CompileAndVerify(comp1).
VerifyDiagnostics
();
5530
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
5660
CompileAndVerify(comp, expectedOutput: "1").
VerifyDiagnostics
();
5707
CompileAndVerify(comp).
VerifyDiagnostics
();
5883
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
6041
CompileAndVerify(comp).
VerifyDiagnostics
();
6164
CompileAndVerify(comp).
VerifyDiagnostics
();
6284
CompileAndVerify(comp).
VerifyDiagnostics
();
6392
CompileAndVerify(comp1).
VerifyDiagnostics
();
6525
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
6576
CompileAndVerify(comp).
VerifyDiagnostics
();
6705
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
6814
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
6924
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
7088
CompileAndVerify(comp).
VerifyDiagnostics
();
7199
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
7312
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
7428
CompileAndVerify(comp, expectedOutput: "1 1").
VerifyDiagnostics
();
7612
CompileAndVerify(comp).
VerifyDiagnostics
();
7717
CompileAndVerify(comp, expectedOutput: "2 3").
VerifyDiagnostics
();
7823
CompileAndVerify(comp, expectedOutput: "2 3").
VerifyDiagnostics
();
7998
CompileAndVerify(comp, expectedOutput: "3 3").
VerifyDiagnostics
();
8104
CompileAndVerify(comp, expectedOutput: "3 3").
VerifyDiagnostics
();
8209
CompileAndVerify(comp).
VerifyDiagnostics
();
8317
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
8426
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
8535
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
8645
CompileAndVerify(comp, expectedOutput: "2 2").
VerifyDiagnostics
();
8895
CompileAndVerify(comp).
VerifyDiagnostics
();
8951
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9041
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9132
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9278
CompileAndVerify(comp).
VerifyDiagnostics
();
9332
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9399
CompileAndVerify(comp3).
VerifyDiagnostics
();
9453
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9520
CompileAndVerify(comp3).
VerifyDiagnostics
();
9573
CompileAndVerify(comp).
VerifyDiagnostics
();
9687
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9749
CompileAndVerify(comp3).
VerifyDiagnostics
();
9798
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
9860
CompileAndVerify(comp3).
VerifyDiagnostics
();
9909
CompileAndVerify(comp).
VerifyDiagnostics
();
10059
CompileAndVerify(comp, expectedOutput: "(2, 123) 2").
VerifyDiagnostics
();
10187
CompileAndVerify(comp, expectedOutput: "(2, 123) 2").
VerifyDiagnostics
();
10315
CompileAndVerify(comp, expectedOutput: "(2, 123) 2").
VerifyDiagnostics
();
10469
CompileAndVerify(comp).
VerifyDiagnostics
();
10849
CompileAndVerify(comp, expectedOutput: "(2, 123) 2").
VerifyDiagnostics
();
10889
CompileAndVerify(comp3, expectedOutput: "(2, 123) 2").
VerifyDiagnostics
();
11144
CompileAndVerify(comp, expectedOutput: "((2, 123), 124) 2").
VerifyDiagnostics
();
11223
CompileAndVerify(comp, expectedOutput: "((2, 123), 124) 2").
VerifyDiagnostics
();
11284
CompileAndVerify(comp, expectedOutput: "(2, 123) 2 (3, 124) 3").
VerifyDiagnostics
();
11337
CompileAndVerify(comp1).
VerifyDiagnostics
();
11390
CompileAndVerify(comp1).
VerifyDiagnostics
();
11466
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
11510
CompileAndVerify(comp).
VerifyDiagnostics
();
11551
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
11603
CompileAndVerify(comp).
VerifyDiagnostics
();
11655
CompileAndVerify(comp).
VerifyDiagnostics
();
11695
CompileAndVerify(comp1, expectedOutput: "123").
VerifyDiagnostics
();
Semantics\GlobalUsingDirectiveTests.cs (51)
200
").
VerifyDiagnostics
();
247
").
VerifyDiagnostics
();
315
").
VerifyDiagnostics
();
368
").
VerifyDiagnostics
();
542
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
545
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
548
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
551
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
554
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
681
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
684
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
687
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
690
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
693
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
812
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
815
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
818
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
821
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
824
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1025
").
VerifyDiagnostics
();
1236
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1239
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1242
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1245
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1248
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1364
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1367
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1370
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1373
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1376
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1484
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1487
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1490
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1493
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1496
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1698
").
VerifyDiagnostics
();
1808
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1811
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1814
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1817
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1820
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1899
").
VerifyDiagnostics
();
2032
").
VerifyDiagnostics
();
4577
CompileAndVerify(comp2, expectedOutput: @"NS.A+C1").
VerifyDiagnostics
();
4595
CompileAndVerify(comp2, expectedOutput: @"C2+A+C1").
VerifyDiagnostics
();
4606
CompileAndVerify(comp2, expectedOutput: @"NS.A+C1").
VerifyDiagnostics
();
4617
CompileAndVerify(comp2, expectedOutput: @"C2+A+C1").
VerifyDiagnostics
();
4708
CompileAndVerify(comp2, expectedOutput: @"NS.A+C1").
VerifyDiagnostics
();
4741
CompileAndVerify(comp2, expectedOutput: @"C2+A+C1").
VerifyDiagnostics
();
4762
CompileAndVerify(comp2, expectedOutput: @"NS.A+C1").
VerifyDiagnostics
();
4783
CompileAndVerify(comp2, expectedOutput: @"C2+A+C1").
VerifyDiagnostics
();
Semantics\ImplicitObjectCreationTests.cs (4)
4470
Main").
VerifyDiagnostics
();
4503
19").
VerifyDiagnostics
();
4736
.
VerifyDiagnostics
();
4801
verifier.
VerifyDiagnostics
();
Semantics\InterceptorsTests.cs (3)
86
verifier.
VerifyDiagnostics
();
126
verifier.
VerifyDiagnostics
();
129
verifier.
VerifyDiagnostics
();
Semantics\InterpolationTests.cs (80)
346
var verifier = CompileAndVerify(source, new[] { CSharpRef }, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3247
verifier.
VerifyDiagnostics
();
4317
CompileAndVerify(comp, expectedOutput: "In handler").
VerifyDiagnostics
();
7908
CompileAndVerify(comp, sourceSymbolValidator: validate, symbolValidator: validate).
VerifyDiagnostics
();
7966
CompileAndVerify(dependency, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
8088
verifier.
VerifyDiagnostics
();
8251
CompileAndVerify(dependency, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
8305
verifier.
VerifyDiagnostics
();
8315
verifier.
VerifyDiagnostics
();
8427
verifier.
VerifyDiagnostics
();
8435
verifier.
VerifyDiagnostics
();
8736
verifier.
VerifyDiagnostics
();
8871
verifier.
VerifyDiagnostics
();
9004
verifier.
VerifyDiagnostics
();
9099
var verifier = CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator, expectedOutput: "CustomHandler").
VerifyDiagnostics
();
9163
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
9233
verifier.
VerifyDiagnostics
();
9349
verifier.
VerifyDiagnostics
();
9466
verifier.
VerifyDiagnostics
();
9587
verifier.
VerifyDiagnostics
();
9850
verifier.
VerifyDiagnostics
();
9931
verifier.
VerifyDiagnostics
();
10032
verifier.
VerifyDiagnostics
();
10138
verifier.
VerifyDiagnostics
();
10280
verifier.
VerifyDiagnostics
();
10379
verifier.
VerifyDiagnostics
();
10531
verifier.
VerifyDiagnostics
();
10630
verifier.
VerifyDiagnostics
();
10729
verifier.
VerifyDiagnostics
();
10928
verifier.
VerifyDiagnostics
();
11013
verifier.
VerifyDiagnostics
();
11134
verifier.
VerifyDiagnostics
();
11388
verifier.
VerifyDiagnostics
();
11566
verifier.
VerifyDiagnostics
();
11673
verifier.
VerifyDiagnostics
();
11713
verifier.
VerifyDiagnostics
();
11775
verifier.
VerifyDiagnostics
();
11868
verifier.
VerifyDiagnostics
();
11910
verifier.
VerifyDiagnostics
();
12017
verifier.
VerifyDiagnostics
();
12309
verifier.
VerifyDiagnostics
();
12573
verifier.
VerifyDiagnostics
();
12820
verifier.
VerifyDiagnostics
();
12950
verifier.
VerifyDiagnostics
();
13170
verifier.
VerifyDiagnostics
();
13222
verifier.
VerifyDiagnostics
();
13273
verifier.
VerifyDiagnostics
();
13332
verifier.
VerifyDiagnostics
();
13392
verifier.
VerifyDiagnostics
();
13454
verifier.
VerifyDiagnostics
();
13516
verifier.
VerifyDiagnostics
();
13608
verifier.
VerifyDiagnostics
();
13925
verifier.
VerifyDiagnostics
();
13970
verifier.
VerifyDiagnostics
();
14015
verifier.
VerifyDiagnostics
();
14058
verifier.
VerifyDiagnostics
();
14107
verifier.
VerifyDiagnostics
();
14165
verifier.
VerifyDiagnostics
();
14261
verifier.
VerifyDiagnostics
();
14360
verifier.
VerifyDiagnostics
();
16432
verifier.
VerifyDiagnostics
();
16762
verifier.
VerifyDiagnostics
();
16782
verifier.
VerifyDiagnostics
();
16911
verifier.
VerifyDiagnostics
();
17074
CompileAndVerify(comp, expectedOutput: "abc-abc-abc-").
VerifyDiagnostics
();
17259
verifier.
VerifyDiagnostics
();
17376
verifier.
VerifyDiagnostics
();
17548
verifier.
VerifyDiagnostics
();
17601
verifier.
VerifyDiagnostics
();
17642
verifier.
VerifyDiagnostics
();
17693
verifier.
VerifyDiagnostics
();
17739
verifier.
VerifyDiagnostics
();
17855
verifier.
VerifyDiagnostics
();
17886
verifier.
VerifyDiagnostics
();
17937
verifier.
VerifyDiagnostics
();
18029
verifier.
VerifyDiagnostics
();
18610
verifier.
VerifyDiagnostics
();
18692
verifier.
VerifyDiagnostics
();
18791
verifier.
VerifyDiagnostics
();
18904
verifier.
VerifyDiagnostics
();
Semantics\IteratorTests.cs (6)
148
CompileAndVerify(comp).
VerifyDiagnostics
();
199
expectedOutput: expectedOutput).
VerifyDiagnostics
();
310
CompileAndVerify(text).
VerifyDiagnostics
();
335
CompileAndVerify(text).
VerifyDiagnostics
();
375
CompileAndVerify(text).
VerifyDiagnostics
();
433
CompileAndVerify(text).
VerifyDiagnostics
();
Semantics\LambdaTests.cs (2)
4923
CompileAndVerify(comp, expectedOutput: "638004778421967416").
VerifyDiagnostics
();
8295
""").
VerifyDiagnostics
();
Semantics\LocalFunctionTests.cs (1)
2846
CompileAndVerify(comp, expectedOutput: "23").
VerifyDiagnostics
();
Semantics\MethodTypeInferenceTests.cs (2)
542
CompileAndVerify(source).
VerifyDiagnostics
();
608
CompileAndVerify(source).
VerifyDiagnostics
();
Semantics\NameCollisionTests.cs (12)
179
CompileAndVerify(source).
VerifyDiagnostics
();
205
CompileAndVerify(source).
VerifyDiagnostics
();
315
CompileAndVerify(source).
VerifyDiagnostics
();
511
CompileAndVerify(source).
VerifyDiagnostics
();
668
CompileAndVerify(source).
VerifyDiagnostics
();
694
CompileAndVerify(source).
VerifyDiagnostics
();
722
CompileAndVerify(source).
VerifyDiagnostics
();
978
CompileAndVerify(source).
VerifyDiagnostics
();
1503
CompileAndVerify(source).
VerifyDiagnostics
();
1591
CompileAndVerify(source).
VerifyDiagnostics
();
1645
CompileAndVerify(source).
VerifyDiagnostics
();
1748
CompileAndVerify(source).
VerifyDiagnostics
();
Semantics\NamedAndOptionalTests.cs (2)
1031
CompileAndVerify(source).
VerifyDiagnostics
();
1377
CompileAndVerify(source).
VerifyDiagnostics
();
Semantics\NameOfTests.cs (55)
1500
"MessageType x MessageType").
VerifyDiagnostics
();
1581
CompileAndVerify(compilation, expectedOutput: "normalField fixedField fixedField").
VerifyDiagnostics
();
1613
CompileAndVerify(compilation, expectedOutput: "normalField fixedField").
VerifyDiagnostics
();
1814
CompileAndVerify(source, parseOptions: TestOptions.Regular11, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1815
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1816
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1849
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1850
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1905
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1906
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1946
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1947
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1966
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "Length").
VerifyDiagnostics
();
1967
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Length").
VerifyDiagnostics
();
2010
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "Length").
VerifyDiagnostics
();
2011
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Length").
VerifyDiagnostics
();
2036
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "Length").
VerifyDiagnostics
();
2037
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Length").
VerifyDiagnostics
();
2055
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "StaticProp").
VerifyDiagnostics
();
2056
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "StaticProp").
VerifyDiagnostics
();
2074
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "StaticProp").
VerifyDiagnostics
();
2075
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "StaticProp").
VerifyDiagnostics
();
2095
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "M").
VerifyDiagnostics
();
2096
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "M").
VerifyDiagnostics
();
2114
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2115
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2227
CompileAndVerify(source, parseOptions: TestOptions.Regular11, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2228
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2248
CompileAndVerify(source, parseOptions: TestOptions.Regular11, expectedOutput: "Length").
VerifyDiagnostics
();
2249
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Length").
VerifyDiagnostics
();
2270
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2271
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "StaticMethod").
VerifyDiagnostics
();
2295
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "Prop").
VerifyDiagnostics
();
2296
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Prop").
VerifyDiagnostics
();
2320
CompileAndVerify(source, parseOptions: TestOptions.Regular12, expectedOutput: "Prop").
VerifyDiagnostics
();
2321
CompileAndVerify(source, parseOptions: TestOptions.RegularPreview, expectedOutput: "Prop").
VerifyDiagnostics
();
2379
""", expectedOutput: "List").
VerifyDiagnostics
();
2406
""", parseOptions: TestOptions.RegularNext, expectedOutput: "List").
VerifyDiagnostics
();
2469
""", expectedOutput: "List").
VerifyDiagnostics
();
2482
""", expectedOutput: "B").
VerifyDiagnostics
();
2495
""", expectedOutput: "B").
VerifyDiagnostics
();
2508
""", expectedOutput: "B").
VerifyDiagnostics
();
2520
""", expectedOutput: "Dictionary").
VerifyDiagnostics
();
2632
""", expectedOutput: "List").
VerifyDiagnostics
();
2644
""", expectedOutput: "List").
VerifyDiagnostics
();
2686
""", expectedOutput: "Count").
VerifyDiagnostics
();
2702
""", expectedOutput: "Count").
VerifyDiagnostics
();
2718
""", expectedOutput: "ToString").
VerifyDiagnostics
();
2734
""", expectedOutput: "CompareTo").
VerifyDiagnostics
();
2750
""", expectedOutput: "CompareTo").
VerifyDiagnostics
();
2771
""", expectedOutput: "Z").
VerifyDiagnostics
();
2787
""", expectedOutput: "M").
VerifyDiagnostics
();
2966
""", expectedOutput: "List").
VerifyDiagnostics
();
2994
""", expectedOutput: "List").
VerifyDiagnostics
();
3021
""", expectedOutput: "List").
VerifyDiagnostics
();
Semantics\NativeIntegerTests.cs (4)
13317
CompileAndVerify(comp, expectedOutput: expectedResult).
VerifyDiagnostics
(expectedDiagnostics);
13384
CompileAndVerify(comp, expectedOutput: IntPtr.Size == 4 ? "41" : "4294967337").
VerifyDiagnostics
();
13449
CompileAndVerify(comp, expectedOutput: IntPtr.Size == 4 ? "-2147483648" : "2147483648").
VerifyDiagnostics
();
15878
var verifier = CompileAndVerify(comp).
VerifyDiagnostics
();
Semantics\NonTrailingNamedArgumentsTests.cs (17)
41
verifier.
VerifyDiagnostics
();
87
verifier.
VerifyDiagnostics
();
115
verifier.
VerifyDiagnostics
();
139
verifier.
VerifyDiagnostics
();
162
verifier.
VerifyDiagnostics
();
195
verifier.
VerifyDiagnostics
();
226
verifier.
VerifyDiagnostics
();
262
verifier.
VerifyDiagnostics
();
337
verifier1.
VerifyDiagnostics
();
340
verifier2.
VerifyDiagnostics
();
389
verifier.
VerifyDiagnostics
();
508
comp.
VerifyDiagnostics
();
740
verifier.
VerifyDiagnostics
();
772
verifier.
VerifyDiagnostics
();
799
comp.
VerifyDiagnostics
();
949
verifier.
VerifyDiagnostics
();
1129
comp.
VerifyDiagnostics
();
Semantics\NullableReferenceTypesTests.cs (8)
138236
CompileAndVerify(CreateCompilationWithMscorlib40(source), sourceSymbolValidator: validate, symbolValidator: validate).
VerifyDiagnostics
();
138280
CompileAndVerify(source, symbolValidator: validate).
VerifyDiagnostics
();
138320
CompileAndVerify(source, symbolValidator: validate).
VerifyDiagnostics
();
138368
CompileAndVerify(source, symbolValidator: validate).
VerifyDiagnostics
();
138545
verifier.
VerifyDiagnostics
();
138583
verifier.
VerifyDiagnostics
();
138694
verifier.
VerifyDiagnostics
();
138735
verifier.
VerifyDiagnostics
();
Semantics\ObjectAndCollectionInitializerTests.cs (3)
445
VerifyDiagnostics
();
4222
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
4276
CompileAndVerify(comp, expectedOutput: "2").
VerifyDiagnostics
();
Semantics\OperatorTests.cs (8)
5238
comp.
VerifyDiagnostics
();
5318
comp.
VerifyDiagnostics
();
5342
comp.
VerifyDiagnostics
();
5361
comp.
VerifyDiagnostics
();
5380
comp.
VerifyDiagnostics
();
5848
CompileAndVerify(source, expectedOutput: "").
VerifyDiagnostics
();
5882
comp.
VerifyDiagnostics
();
11264
verifier.
VerifyDiagnostics
();
Semantics\OverloadResolutionTests.cs (8)
6862
}", expectedOutput: "2").
VerifyDiagnostics
();
8406
pass").
VerifyDiagnostics
();
9791
CompileAndVerify(source, expectedOutput: "string5", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
9792
CompileAndVerify(source, expectedOutput: "string5", parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
9793
CompileAndVerify(source, expectedOutput: "string5").
VerifyDiagnostics
();
9811
CompileAndVerify(source, expectedOutput: "string5", parseOptions: TestOptions.Regular11).
VerifyDiagnostics
();
9812
CompileAndVerify(source, expectedOutput: "string5", parseOptions: TestOptions.Regular12).
VerifyDiagnostics
();
9813
CompileAndVerify(source, expectedOutput: "string5").
VerifyDiagnostics
();
Semantics\QueryTests.cs (3)
4601
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "111").
VerifyDiagnostics
();
4645
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "222").
VerifyDiagnostics
();
4695
expectedOutput: ExecutionConditionUtil.IsDesktop ? null : "111").
VerifyDiagnostics
();
Semantics\RawInterpolationTests.cs (1)
396
var verifier = CompileAndVerify(source, new[] { CSharpRef }, expectedOutput: expectedOutput).
VerifyDiagnostics
();
Semantics\RawInterpolationTests_Handler.cs (57)
1619
verifier.
VerifyDiagnostics
();
6091
CompileAndVerify(comp, sourceSymbolValidator: validate, symbolValidator: validate).
VerifyDiagnostics
();
6153
CompileAndVerify(dependency, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
6426
CompileAndVerify(dependency, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
6482
verifier.
VerifyDiagnostics
();
6492
verifier.
VerifyDiagnostics
();
6606
verifier.
VerifyDiagnostics
();
6614
verifier.
VerifyDiagnostics
();
6919
verifier.
VerifyDiagnostics
();
7056
verifier.
VerifyDiagnostics
();
7191
verifier.
VerifyDiagnostics
();
7290
var verifier = CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator, expectedOutput: "CustomHandler").
VerifyDiagnostics
();
7358
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
7430
verifier.
VerifyDiagnostics
();
7548
verifier.
VerifyDiagnostics
();
7668
verifier.
VerifyDiagnostics
();
7791
verifier.
VerifyDiagnostics
();
8066
verifier.
VerifyDiagnostics
();
8153
verifier.
VerifyDiagnostics
();
8287
verifier.
VerifyDiagnostics
();
8355
verifier.
VerifyDiagnostics
();
8451
verifier.
VerifyDiagnostics
();
8495
verifier.
VerifyDiagnostics
();
8603
verifier.
VerifyDiagnostics
();
8896
verifier.
VerifyDiagnostics
();
9161
verifier.
VerifyDiagnostics
();
9410
verifier.
VerifyDiagnostics
();
9541
verifier.
VerifyDiagnostics
();
9763
verifier.
VerifyDiagnostics
();
9817
verifier.
VerifyDiagnostics
();
9873
verifier.
VerifyDiagnostics
();
9932
verifier.
VerifyDiagnostics
();
9992
verifier.
VerifyDiagnostics
();
10054
verifier.
VerifyDiagnostics
();
10116
verifier.
VerifyDiagnostics
();
10213
verifier.
VerifyDiagnostics
();
10546
verifier.
VerifyDiagnostics
();
10597
verifier.
VerifyDiagnostics
();
10648
verifier.
VerifyDiagnostics
();
10693
verifier.
VerifyDiagnostics
();
10744
verifier.
VerifyDiagnostics
();
10807
verifier.
VerifyDiagnostics
();
10906
verifier.
VerifyDiagnostics
();
11864
verifier.
VerifyDiagnostics
();
12194
verifier.
VerifyDiagnostics
();
12214
verifier.
VerifyDiagnostics
();
12343
verifier.
VerifyDiagnostics
();
12679
verifier.
VerifyDiagnostics
();
12776
verifier.
VerifyDiagnostics
();
12962
verifier.
VerifyDiagnostics
();
13017
verifier.
VerifyDiagnostics
();
13058
verifier.
VerifyDiagnostics
();
13111
verifier.
VerifyDiagnostics
();
13157
verifier.
VerifyDiagnostics
();
13277
verifier.
VerifyDiagnostics
();
13310
verifier.
VerifyDiagnostics
();
13363
verifier.
VerifyDiagnostics
();
Semantics\ReadOnlyStructsTests.cs (2)
334
comp.
VerifyDiagnostics
();
1038
verifier.
VerifyDiagnostics
();
Semantics\RecordStructTests.cs (21)
48
var verifier = CompileAndVerify(src).
VerifyDiagnostics
();
107
False").
VerifyDiagnostics
();
212
True").
VerifyDiagnostics
();
1743
var verifier = CompileAndVerify(src, expectedOutput: @"12345").
VerifyDiagnostics
();
1807
var verifier = CompileAndVerify(src, expectedOutput: @"12345").
VerifyDiagnostics
();
2587
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
2691
var verifier = CompileAndVerify(src, expectedOutput: @"2").
VerifyDiagnostics
();
3421
verifier.
VerifyDiagnostics
();
3479
verifier.
VerifyDiagnostics
();
3516
verifier.
VerifyDiagnostics
();
3813
verifier.
VerifyDiagnostics
();
3878
verifier.
VerifyDiagnostics
();
4054
CompileAndVerify(comp, expectedOutput: "TrueTrue").
VerifyDiagnostics
();
4139
CompileAndVerify(comp, expectedOutput: "A.Equals(A) False B.Equals(B) True").
VerifyDiagnostics
();
4901
").
VerifyDiagnostics
();
5090
").
VerifyDiagnostics
();
7542
verifier.
VerifyDiagnostics
();
8181
1").
VerifyDiagnostics
();
10446
verifier.
VerifyDiagnostics
();
10461
verifier.
VerifyDiagnostics
();
10516
comp.
VerifyDiagnostics
();
Semantics\RefEscapingTests.cs (8)
6869
CompileAndVerify(source, expectedOutput: "Done").
VerifyDiagnostics
().
7061
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
().VerifyIL("Program.Test3",
7106
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
().VerifyIL("Program.Test1",
7205
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
().VerifyIL("Program.Test1",
7252
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
().VerifyIL("Program.Test1",
7391
CompileAndVerify(comp, verify: Verification.Skipped).
VerifyDiagnostics
().VerifyIL("Program.Test1",
7478
VerifyDiagnostics
().
7522
VerifyDiagnostics
().
Semantics\RefFieldTests.cs (8)
2643
43")).
VerifyDiagnostics
().
2733
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("42")).
VerifyDiagnostics
().
2783
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: IncludeExpectedOutput("42")).
VerifyDiagnostics
().
26156
verifier.
VerifyDiagnostics
();
26300
verifier.
VerifyDiagnostics
();
30520
verifier.
VerifyDiagnostics
();
30758
verifier.
VerifyDiagnostics
();
31015
verifier.
VerifyDiagnostics
();
Semantics\RefLocalsAndReturnsTests.cs (12)
1343
CompileAndVerify(source, parseOptions: TestOptions.Regular13, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1345
CompileAndVerify(source, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2843
references: new[] { CSharpRef }).
VerifyDiagnostics
();
3234
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13).
VerifyDiagnostics
();
3235
CompileAndVerify(code, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3298
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular12, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3299
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3300
CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3393
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13).
VerifyDiagnostics
();
3394
CompileAndVerify(code, expectedOutput: expectedOutput).
VerifyDiagnostics
();
3461
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3462
CompileAndVerify(code, expectedOutput: expectedOutput, targetFramework: TargetFramework.Net70, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
Semantics\ScriptSemanticsTests.cs (2)
1214
CompileAndVerify(compilation, expectedOutput: "1").
VerifyDiagnostics
();
1223
CompileAndVerify(compilation, expectedOutput: "1").
VerifyDiagnostics
();
Semantics\SemanticErrorTests.cs (6)
7106
verifier.
VerifyDiagnostics
();
7180
verifier.
VerifyDiagnostics
();
12983
verifier.
VerifyDiagnostics
();
21092
this.CompileAndVerify(source: text, expectedOutput: expected).
VerifyDiagnostics
(fullExpected);
22686
CompileAndVerifyWithMscorlib40(source, expectedOutput: "True", references: new[] { Net40.References.SystemCore }, parseOptions: TestOptions.Regular7_3).
VerifyDiagnostics
(
22692
CompileAndVerifyWithMscorlib40(source, expectedOutput: "True", references: new[] { Net40.References.SystemCore }).
VerifyDiagnostics
();
Semantics\SpanStackSafetyTests.cs (15)
730
var verifier = CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
794
var verifier = CompileAndVerify(comp, expectedOutput: @"1223").
VerifyDiagnostics
();
855
var verifier = CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
913
var verifier = CompileAndVerify(comp, expectedOutput: @"123").
VerifyDiagnostics
();
1062
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1065
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1209
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1212
CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
1835
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
1838
CompileAndVerify(comp, expectedOutput: expectedOutput).
VerifyDiagnostics
();
2622
CompileAndVerify(comp, verify: Verification.Fails, expectedOutput: "Done").
VerifyDiagnostics
();
2648
CompileAndVerify(comp, expectedOutput: "Done", verify: Verification.FailsILVerify).
VerifyDiagnostics
();
2672
CompileAndVerify(comp, verify: Verification.Fails, expectedOutput: "Done").
VerifyDiagnostics
();
2702
CompileAndVerify(comp, verify: Verification.Fails, expectedOutput: "Done").
VerifyDiagnostics
();
2725
CompileAndVerify(comp, verify: Verification.Fails, expectedOutput: "Done").
VerifyDiagnostics
();
Semantics\StackAllocInitializerTests.cs (1)
780
CompileAndVerify(comp, expectedOutput: "2", verify: Verification.Fails).
VerifyDiagnostics
();
Semantics\StructConstructorTests.cs (11)
1989
verifier.
VerifyDiagnostics
();
2026
verifier.
VerifyDiagnostics
();
2771
verifier.
VerifyDiagnostics
();
3548
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
3575
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
3908
verifier.
VerifyDiagnostics
();
4172
verifier.
VerifyDiagnostics
();
4203
verifier.
VerifyDiagnostics
();
4242
verifier.
VerifyDiagnostics
();
4275
verifier.
VerifyDiagnostics
();
4772
verifier.
VerifyDiagnostics
();
Semantics\StructsTests.cs (4)
119
CompileAndVerify(comp, expectedOutput: "10 20 False").
VerifyDiagnostics
();
144
CompileAndVerify(text).
VerifyDiagnostics
();
165
CompileAndVerify(text).
VerifyDiagnostics
();
216
CompileAndVerify(text, expectedOutput: "22").
VerifyDiagnostics
();
Semantics\SwitchTests.cs (4)
1118
comp.
VerifyDiagnostics
();
2858
comp.
VerifyDiagnostics
();
2891
comp.
VerifyDiagnostics
();
2987
comp.
VerifyDiagnostics
();
Semantics\TopLevelStatementsTests.cs (16)
5657
verifier.
VerifyDiagnostics
();
8572
CompileAndVerify(comp, expectedOutput: "0").
VerifyDiagnostics
();
8625
CompileAndVerify(comp, expectedOutput: "Args_03", args: new[] { "Args_03" }).
VerifyDiagnostics
();
8637
CompileAndVerify(comp, expectedOutput: "Args_04", args: new[] { "Args_04" }).
VerifyDiagnostics
();
9320
verifier.
VerifyDiagnostics
();
9352
verifier.
VerifyDiagnostics
();
9368
verifier.
VerifyDiagnostics
();
9384
verifier.
VerifyDiagnostics
();
9400
verifier.
VerifyDiagnostics
();
9599
verifier.
VerifyDiagnostics
();
9767
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
9770
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
9795
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
9798
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
9823
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
9826
CompileAndVerify(comp, expectedOutput: "Done").
VerifyDiagnostics
();
Semantics\UnsafeTests.cs (2)
619
CompileAndVerify(code, expectedOutput: expectedOutput, parseOptions: TestOptions.Regular13, options: TestOptions.UnsafeReleaseExe).
VerifyDiagnostics
();
620
CompileAndVerify(code, expectedOutput: expectedOutput, options: TestOptions.UnsafeReleaseExe).
VerifyDiagnostics
();
Semantics\UserDefinedConversionTests.cs (6)
1493
CompileAndVerify(source).
VerifyDiagnostics
();
1977
verifier.
VerifyDiagnostics
();
2020
verifier.
VerifyDiagnostics
();
2082
verifier.
VerifyDiagnostics
();
2144
verifier.
VerifyDiagnostics
();
2208
verifier.
VerifyDiagnostics
();
Semantics\UsingDeclarationTests.cs (4)
631
verifier.
VerifyDiagnostics
();
696
verifier.
VerifyDiagnostics
();
731
verifier.
VerifyDiagnostics
();
766
verifier.
VerifyDiagnostics
();
Semantics\UsingStatementTests.cs (2)
1080
CompileAndVerify(compilation, expectedOutput: "Dispose async").
VerifyDiagnostics
();
1139
CompileAndVerify(compilation, expectedOutput: "Dispose async").
VerifyDiagnostics
();
Semantics\Utf8StringsLiteralsTests.cs (44)
422
", verify: Verification.Fails).
VerifyDiagnostics
();
459
", verify: Verification.Fails).
VerifyDiagnostics
();
467
", verify: Verification.Fails).
VerifyDiagnostics
();
1455
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan<char>ReadOnlySpan<byte>", verify: Verification.Fails).
VerifyDiagnostics
();
1517
CompileAndVerify(comp, expectedOutput: @"string").
VerifyDiagnostics
();
1538
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan").
VerifyDiagnostics
();
1541
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan").
VerifyDiagnostics
();
1577
CompileAndVerify(comp, expectedOutput: @"string").
VerifyDiagnostics
();
1603
CompileAndVerify(comp, expectedOutput: @"string").
VerifyDiagnostics
();
1606
CompileAndVerify(comp, expectedOutput: @"string").
VerifyDiagnostics
();
1653
", verify: Verification.Fails).
VerifyDiagnostics
();
1670
", verify: Verification.Fails).
VerifyDiagnostics
();
1706
", verify: Verification.Fails).
VerifyDiagnostics
();
1723
", verify: Verification.Fails).
VerifyDiagnostics
();
1759
", verify: Verification.Fails).
VerifyDiagnostics
();
1776
", verify: Verification.Fails).
VerifyDiagnostics
();
1821
", verify: Verification.Fails).
VerifyDiagnostics
();
1838
", verify: Verification.Fails).
VerifyDiagnostics
();
1881
", verify: Verification.Fails).
VerifyDiagnostics
();
2008
", verify: Verification.Fails).
VerifyDiagnostics
();
2039
var verifier = CompileAndVerify(comp, expectedOutput: "{ 0x63 0x61 0x74 }", verify: Verification.Fails).
VerifyDiagnostics
();
2103
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan", verify: Verification.Fails).
VerifyDiagnostics
();
2123
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan", verify: Verification.Fails).
VerifyDiagnostics
();
2144
CompileAndVerify(comp, expectedOutput: @"ReadOnlySpan", verify: Verification.Fails).
VerifyDiagnostics
();
2173
", verify: Verification.Fails).
VerifyDiagnostics
();
2202
", verify: Verification.Fails).
VerifyDiagnostics
();
2366
", verify: Verification.Fails).
VerifyDiagnostics
();
2459
CompileAndVerify(comp, expectedOutput: @"object").
VerifyDiagnostics
();
2462
CompileAndVerify(comp, expectedOutput: @"object").
VerifyDiagnostics
();
3338
verifier.
VerifyDiagnostics
();
3385
var verifier = CompileAndVerify(comp, verify: Verification.Fails).
VerifyDiagnostics
();
3448
var verifier = CompileAndVerify(comp, expectedOutput: @"ArgumentOutOfRangeException", verify: Verification.Fails).
VerifyDiagnostics
();
3498
", verify: Verification.Fails).
VerifyDiagnostics
();
3540
", verify: Verification.Fails).
VerifyDiagnostics
();
3589
", verify: Verification.Fails).
VerifyDiagnostics
();
3638
", verify: Verification.Fails).
VerifyDiagnostics
();
3688
", verify: Verification.Fails).
VerifyDiagnostics
();
3735
", verify: Verification.Fails).
VerifyDiagnostics
();
3776
", verify: Verification.Fails).
VerifyDiagnostics
();
3829
CompileAndVerify(comp, expectedOutput: @"called", verify: Verification.Fails).
VerifyDiagnostics
();
3855
CompileAndVerify(comp, expectedOutput: @"called", verify: Verification.Fails).
VerifyDiagnostics
();
4065
", verify: Verification.Fails).
VerifyDiagnostics
();
4136
", verify: Verification.Fails).
VerifyDiagnostics
();
4301
CompileAndVerify(comp, expectedOutput: "801", verify: Verification.Fails).
VerifyDiagnostics
();
Semantics\WarningVersionTests.cs (11)
160
verifier.
VerifyDiagnostics
();
182
verifier.
VerifyDiagnostics
();
238
verifier.
VerifyDiagnostics
();
261
verifier.
VerifyDiagnostics
();
324
verifier.
VerifyDiagnostics
();
448
verifier.
VerifyDiagnostics
();
470
verifier.
VerifyDiagnostics
();
535
verifier.
VerifyDiagnostics
();
557
verifier.
VerifyDiagnostics
();
622
verifier.
VerifyDiagnostics
();
644
verifier.
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (459)
BadSymbolReference.cs (2)
1008
CompileAndVerify(lib4).
VerifyDiagnostics
();
1426
CompileAndVerify(lib4).
VerifyDiagnostics
();
Compilation\UsedAssembliesTests.cs (3)
327
CompileAndVerify(comp, verify: Verification.Skipped, expectedOutput: expectedOutput).
VerifyDiagnostics
();
339
CompileAndVerify(comp3, verify: Verification.Skipped, expectedOutput: expectedOutput).
VerifyDiagnostics
();
345
CompileAndVerify(comp2, verify: Verification.Skipped, expectedOutput: expectedOutput).
VerifyDiagnostics
();
Symbols\AnonymousTypesSemanticsTests.cs (3)
1598
}").
VerifyDiagnostics
();
1746
}").
VerifyDiagnostics
();
1775
}").
VerifyDiagnostics
();
Symbols\CheckedUserDefinedOperatorsTests.cs (70)
35
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
46
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
79
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
113
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
1252
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
1263
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
1297
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
1332
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2486
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2497
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2533
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2573
CompileAndVerify(compilation1, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
3430
").
VerifyDiagnostics
();
3440
").
VerifyDiagnostics
();
3620
").
VerifyDiagnostics
();
3697
").
VerifyDiagnostics
();
3826
").
VerifyDiagnostics
();
3833
").
VerifyDiagnostics
();
3935
").
VerifyDiagnostics
();
4039
").
VerifyDiagnostics
();
4205
").
VerifyDiagnostics
();
4215
").
VerifyDiagnostics
();
4402
").
VerifyDiagnostics
();
4481
").
VerifyDiagnostics
();
4666
").
VerifyDiagnostics
();
4676
").
VerifyDiagnostics
();
4731
").
VerifyDiagnostics
();
4786
").
VerifyDiagnostics
();
4795
").
VerifyDiagnostics
();
4895
").
VerifyDiagnostics
();
5005
").
VerifyDiagnostics
();
5214
").
VerifyDiagnostics
();
5226
").
VerifyDiagnostics
();
5296
").
VerifyDiagnostics
();
5495
").
VerifyDiagnostics
();
5578
").
VerifyDiagnostics
();
5687
").
VerifyDiagnostics
();
5694
").
VerifyDiagnostics
();
5789
).
VerifyDiagnostics
();
6049
).
VerifyDiagnostics
();
6165
).
VerifyDiagnostics
();
6314
").
VerifyDiagnostics
();
6324
").
VerifyDiagnostics
();
6335
").
VerifyDiagnostics
();
6419
").
VerifyDiagnostics
();
6429
").
VerifyDiagnostics
();
6440
").
VerifyDiagnostics
();
6536
").
VerifyDiagnostics
();
6548
").
VerifyDiagnostics
();
6561
").
VerifyDiagnostics
();
6605
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6609
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6710
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6755
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6759
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6804
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6808
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6853
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6857
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
6963
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7004
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7008
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7049
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7053
CompileAndVerify(compilation3, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7156
CompileAndVerify(compilation1, expectedOutput: @"checked C0").
VerifyDiagnostics
();
7205
").
VerifyDiagnostics
();
7277
").
VerifyDiagnostics
();
7348
").
VerifyDiagnostics
();
7421
").
VerifyDiagnostics
();
7485
").
VerifyDiagnostics
();
Symbols\DefaultInterfaceImplementationTests.cs (54)
9261
CompileAndVerify(compilation1, expectedOutput: !Execute(isStatic) ? null : "M1", verify: Verify(isStatic), symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.Internal, isStatic: isStatic)).
VerifyDiagnostics
();
9458
CompileAndVerify(compilation1, expectedOutput: !Execute(isStatic) ? null : "Test1.M1", verify: Verify(isStatic), symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, accessibility, isStatic: isStatic)).
VerifyDiagnostics
();
9491
CompileAndVerify(compilation3, expectedOutput: !Execute(isStatic) ? null : "Test1.M1", verify: Verify(isStatic), symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, accessibility, isStatic: isStatic)).
VerifyDiagnostics
();
9980
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).
VerifyDiagnostics
();
10054
CompileAndVerify(compilation3, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).
VerifyDiagnostics
();
10062
CompileAndVerify(compilation3, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicitInTest2_10(m, Accessibility.Internal)).
VerifyDiagnostics
();
11886
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.Protected)).
VerifyDiagnostics
();
11920
CompileAndVerify(compilation3, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.Protected)).
VerifyDiagnostics
();
12001
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedOrInternal)).
VerifyDiagnostics
();
12041
CompileAndVerify(compilation3, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedOrInternal)).
VerifyDiagnostics
();
12124
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "M1", verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateMethodModifiersImplicit_10(m, Accessibility.ProtectedAndInternal)).
VerifyDiagnostics
();
14928
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyModifiers_11(m, accessibility)).
VerifyDiagnostics
();
14980
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyModifiers_11(m, accessibility)).
VerifyDiagnostics
();
15125
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyImplementation_11(m)).
VerifyDiagnostics
();
15159
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyImplementation_11(m)).
VerifyDiagnostics
();
15852
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyImplementationByBase_11(m)).
VerifyDiagnostics
();
15885
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyImplementationByBase_11(m)).
VerifyDiagnostics
();
15982
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidatePropertyImplementationByBase_11(m)).
VerifyDiagnostics
();
18472
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => Validate1(m)).
VerifyDiagnostics
();
18518
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => Validate1(m)).
VerifyDiagnostics
();
23692
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
23875
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
28433
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => Validate1(m)).
VerifyDiagnostics
();
28523
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => Validate1(m)).
VerifyDiagnostics
();
28630
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateEventImplementation_11(m)).
VerifyDiagnostics
();
28663
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateEventImplementation_11(m)).
VerifyDiagnostics
();
29364
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateEventImplementationByBase_11(m)).
VerifyDiagnostics
();
29397
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateEventImplementationByBase_11(m)).
VerifyDiagnostics
();
29481
verify: VerifyOnMonoOrCoreClr, symbolValidator: (m) => ValidateEventImplementationByBase_11(m)).
VerifyDiagnostics
();
47086
").
VerifyDiagnostics
();
49539
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
49548
CompileAndVerify(compilation2, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
49553
CompileAndVerify(compilation3, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : expectedOutput, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
62537
CompileAndVerify(compilation1, expectedOutput: !ExecutionConditionUtil.IsMonoOrCoreClr ? null : "C0.M", verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
64907
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
64926
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
64945
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
64971
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
65055
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
65609
CompileAndVerify(compilation1).
VerifyDiagnostics
();
65692
CompileAndVerify(compilation1).
VerifyDiagnostics
();
65775
CompileAndVerify(compilation1).
VerifyDiagnostics
();
65850
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
65927
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
66004
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
66043
CompileAndVerify(compilation1).
VerifyDiagnostics
();
66224
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
66303
CompileAndVerify(compilation1, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
67008
b").
VerifyDiagnostics
();
67050
b").
VerifyDiagnostics
();
67114
b").
VerifyDiagnostics
();
68173
verify: Verify(isStatic: true), symbolValidator: validate1).
VerifyDiagnostics
();
69325
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
69393
CompileAndVerify(compilation1, symbolValidator: validate, verify: VerifyOnMonoOrCoreClr).
VerifyDiagnostics
();
Symbols\ExtendedPartialMethodsTests.cs (20)
116
verifier.
VerifyDiagnostics
();
216
verifier.
VerifyDiagnostics
();
242
verifier.
VerifyDiagnostics
();
491
CompileAndVerify(text1, parseOptions: TestOptions.RegularWithExtendedPartialMethods, expectedOutput: "12").
VerifyDiagnostics
();
1141
verifier.
VerifyDiagnostics
();
1149
verifier.
VerifyDiagnostics
();
1217
verifier.
VerifyDiagnostics
();
1227
verifier.
VerifyDiagnostics
();
1579
verifier.
VerifyDiagnostics
();
1615
verifier.
VerifyDiagnostics
();
2059
verifier.
VerifyDiagnostics
();
2086
verifier.
VerifyDiagnostics
();
2156
verifier.
VerifyDiagnostics
();
2210
verifier.
VerifyDiagnostics
();
2275
verifier.
VerifyDiagnostics
();
2318
verifier.
VerifyDiagnostics
();
2331
verifier.
VerifyDiagnostics
();
2359
verifier.
VerifyDiagnostics
();
2372
verifier.
VerifyDiagnostics
();
2559
verifier.
VerifyDiagnostics
();
Symbols\GenericConstraintTests.cs (1)
5691
csVerifier.
VerifyDiagnostics
();
Symbols\IndexedPropertyTests.cs (4)
1976
compilation2.
VerifyDiagnostics
();
2272
compilation2.
VerifyDiagnostics
();
2349
compilation2.
VerifyDiagnostics
();
2415
compilation2.
VerifyDiagnostics
();
Symbols\IndexerTests.cs (1)
126
compilation.
VerifyDiagnostics
();
Symbols\Metadata\PE\TypeForwarders.cs (2)
1652
}).
VerifyDiagnostics
();
1704
}).
VerifyDiagnostics
();
Symbols\ModuleInitializers\ModuleInitializersTests.cs (6)
445
verifier.
VerifyDiagnostics
();
471
verifier.
VerifyDiagnostics
();
505
verifier.
VerifyDiagnostics
();
555
verifier.
VerifyDiagnostics
();
601
verifier.
VerifyDiagnostics
();
654
verifier.
VerifyDiagnostics
();
Symbols\PartialPropertiesTests.cs (15)
891
verifier.
VerifyDiagnostics
();
976
verifier.
VerifyDiagnostics
();
1130
verifier.
VerifyDiagnostics
();
1176
verifier.
VerifyDiagnostics
();
1302
verifier.
VerifyDiagnostics
();
1420
verifier.
VerifyDiagnostics
();
1839
verifier.
VerifyDiagnostics
();
1943
verifier.
VerifyDiagnostics
();
2005
verifier.
VerifyDiagnostics
();
2127
verifier.
VerifyDiagnostics
();
2526
verifier.
VerifyDiagnostics
();
2850
verifier.
VerifyDiagnostics
();
2921
verifier.
VerifyDiagnostics
();
3085
verifier.
VerifyDiagnostics
();
3352
verifier.
VerifyDiagnostics
();
Symbols\RelaxedShiftOperatorTests.cs (3)
49
CompileAndVerify(compilation1, expectedOutput: op).
VerifyDiagnostics
();
57
CompileAndVerify(compilation2, expectedOutput: op).
VerifyDiagnostics
();
61
CompileAndVerify(compilation3, expectedOutput: op).
VerifyDiagnostics
();
Symbols\RequiredMembersTests.cs (34)
594
verifier.
VerifyDiagnostics
();
606
verifier.
VerifyDiagnostics
();
646
verifier.
VerifyDiagnostics
();
662
verifier.
VerifyDiagnostics
();
725
verifier.
VerifyDiagnostics
();
740
verifier.
VerifyDiagnostics
();
1389
verifier.
VerifyDiagnostics
();
1917
CompileAndVerify(comp).
VerifyDiagnostics
();
1979
CompileAndVerify(comp).
VerifyDiagnostics
();
2059
CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2066
CompileAndVerify(derivedComp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2069
CompileAndVerify(comp).
VerifyDiagnostics
();
2148
CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2154
CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2179
CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2185
CompileAndVerify(comp, sourceSymbolValidator: validator, symbolValidator: validator).
VerifyDiagnostics
();
2453
CompileAndVerify(comp).
VerifyDiagnostics
();
2459
CompileAndVerify(comp).
VerifyDiagnostics
();
2541
CompileAndVerify(comp, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
3216
CompileAndVerify(originalComp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3264
CompileAndVerify(originalComp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3299
CompileAndVerify(originalComp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3347
CompileAndVerify(originalComp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3394
CompileAndVerify(originalComp, verify: ExecutionConditionUtil.IsCoreClr ? Verification.Passes : Verification.Skipped).
VerifyDiagnostics
();
3943
verifier.
VerifyDiagnostics
();
3972
verifier.
VerifyDiagnostics
();
4001
verifier.
VerifyDiagnostics
();
4031
verifier.
VerifyDiagnostics
();
5894
CompileAndVerify(baseComp).
VerifyDiagnostics
();
5973
CompileAndVerify(baseComp).
VerifyDiagnostics
();
6134
CompileAndVerify(comp).
VerifyDiagnostics
();
6159
CompileAndVerify(comp).
VerifyDiagnostics
();
6181
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
6227
CompileAndVerify(comp, symbolValidator: validate, sourceSymbolValidator: validate).
VerifyDiagnostics
();
Symbols\Source\EventTests.cs (1)
302
compVerifier.
VerifyDiagnostics
(DiagnosticDescription.None);
Symbols\Source\FileModifierTests.cs (28)
217
verifier.
VerifyDiagnostics
();
267
verifier.
VerifyDiagnostics
();
314
verifier.
VerifyDiagnostics
();
366
verifier.
VerifyDiagnostics
();
442
verifier.
VerifyDiagnostics
();
731
verifier.
VerifyDiagnostics
();
774
verifier.
VerifyDiagnostics
();
805
verifier.
VerifyDiagnostics
();
1090
verifier.
VerifyDiagnostics
();
1149
verifier.
VerifyDiagnostics
();
1227
verifier.
VerifyDiagnostics
();
1928
verifier.
VerifyDiagnostics
();
1975
verifier.
VerifyDiagnostics
();
2019
verifier.
VerifyDiagnostics
();
2591
verifier.
VerifyDiagnostics
();
2631
verifier.
VerifyDiagnostics
();
3158
verifier.
VerifyDiagnostics
();
3295
verifier.
VerifyDiagnostics
();
3466
verifier.
VerifyDiagnostics
();
3500
verifier.
VerifyDiagnostics
();
3906
verifier.
VerifyDiagnostics
();
3927
verifier.
VerifyDiagnostics
();
3948
verifier.
VerifyDiagnostics
();
4636
verifier.
VerifyDiagnostics
();
4789
verifier.
VerifyDiagnostics
();
4832
verifier.
VerifyDiagnostics
();
4875
verifier.
VerifyDiagnostics
();
5050
verifier.
VerifyDiagnostics
();
Symbols\Source\PropertyTests.cs (4)
1905
CompileAndVerify(text).
VerifyDiagnostics
();
2019
compilation2.
VerifyDiagnostics
();
2781
verifier.
VerifyDiagnostics
();
2879
CompileAndVerify(text, expectedOutput: "123").
VerifyDiagnostics
();
Symbols\Source\RecordTests.cs (26)
292
True").
VerifyDiagnostics
();
364
False").
VerifyDiagnostics
();
428
False").
VerifyDiagnostics
();
448
True").
VerifyDiagnostics
();
474
True").
VerifyDiagnostics
();
542
True").
VerifyDiagnostics
();
568
True").
VerifyDiagnostics
();
691
True").
VerifyDiagnostics
();
753
var verifier = CompileAndVerify(comp, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
806
var verifier = CompileAndVerify(comp, verify: Verification.FailsPEVerify).
VerifyDiagnostics
();
1171
var verifier = CompileAndVerify(src).
VerifyDiagnostics
();
1419
8 7").
VerifyDiagnostics
();
1526
var verifier = CompileAndVerify(comp, expectedOutput: "", verify: Verification.Passes).
VerifyDiagnostics
();
1625
CompileAndVerify(src, expectedOutput: "C { X = 11, Y = 22 }").
VerifyDiagnostics
();
1650
CompileAndVerify(src1 + src2, expectedOutput: "C { X = 11, Y = 22 }").
VerifyDiagnostics
();
1651
CompileAndVerify(new[] { src1, src2 }, expectedOutput: "C { X = 11, Y = 22 }").
VerifyDiagnostics
();
1676
CompileAndVerify(src1 + src2, expectedOutput: "C { Y = 22, X = 11 }").
VerifyDiagnostics
();
1677
CompileAndVerify(new[] { src1, src2 }, expectedOutput: "C { Y = 22, X = 11 }").
VerifyDiagnostics
();
1708
CompileAndVerify(src1 + src2 + src3, expectedOutput: "C { Y = 22, X = 11, Z = 33 }").
VerifyDiagnostics
();
1709
CompileAndVerify(new[] { src1, src2, src3 }, expectedOutput: "C { Y = 22, X = 11, Z = 33 }").
VerifyDiagnostics
();
1735
CompileAndVerify(src1 + src2, expectedOutput: "C { X = 11, U = 44, Y = 22 }").
VerifyDiagnostics
();
1736
CompileAndVerify(new[] { src1, src2 }, expectedOutput: "C { X = 11, U = 44, Y = 22 }").
VerifyDiagnostics
();
1762
CompileAndVerify(src1 + src2, expectedOutput: "C { Y = 22, X = 11, U = 44 }").
VerifyDiagnostics
();
1763
CompileAndVerify(new[] { src1, src2 }, expectedOutput: "C { Y = 22, X = 11, U = 44 }").
VerifyDiagnostics
();
1795
CompileAndVerify(src1 + src2 + src3, expectedOutput: "C { Y = 22, X = 11, U = 44, Z = 33 }").
VerifyDiagnostics
();
1796
CompileAndVerify(new[] { src1, src2, src3 }, expectedOutput: "C { Y = 22, X = 11, U = 44, Z = 33 }").
VerifyDiagnostics
();
Symbols\StaticAbstractMembersInInterfacesTests.cs (164)
5307
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5343
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5492
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5560
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5599
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5643
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5874
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5913
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
5982
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
6027
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
6120
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
6166
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
8394
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
8428
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
8771
CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
8777
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
8910
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
9318
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
9339
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
9609
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
9684
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10088
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10538
CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10544
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10649
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10821
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10886
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
10993
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11067
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11206
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11271
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11371
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11482
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11708
CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11714
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
11838
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
12001
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
12072
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13145
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13164
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13230
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13250
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13321
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
13359
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
14021
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
14060
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
14523
var verifier = CompileAndVerify(compilation2, verify: Verification.Skipped).
VerifyDiagnostics
();
14661
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
14691
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
14894
").
VerifyDiagnostics
();
14960
").
VerifyDiagnostics
();
15079
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
15103
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
15351
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
15373
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
16063
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16066
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
16125
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16128
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
16198
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16476
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16561
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16679
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16765
var verifier = CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16860
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
16942
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
17024
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
17095
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
17169
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
17256
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
17459
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, expectedOutput: !(Execute(isVirtual) && ExecutionConditionUtil.IsMonoOrCoreClr) ? null : (genericIsStatic ? "T" : "int"), verify: Verification.Skipped).
VerifyDiagnostics
();
19297
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19300
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19378
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19381
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19470
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19473
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19569
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19572
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19652
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19655
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19744
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19747
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19833
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
19836
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
19926
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
20000
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
20083
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
20163
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
20792
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
20909
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21020
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21155
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21291
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21351
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21454
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21572
var verifier = CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21698
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21807
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
21909
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
22925
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
22928
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
23020
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
23023
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
23111
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
23114
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
23216
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
23809
CompileAndVerify(compilation5, sourceSymbolValidator: validate5, symbolValidator: validate5, verify: Verification.Skipped).
VerifyDiagnostics
();
24161
CompileAndVerify(compilation5, sourceSymbolValidator: validate5, symbolValidator: validate5, verify: Verification.Skipped).
VerifyDiagnostics
();
24390
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
24579
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
24777
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
24890
var verifier = CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
25020
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
25091
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
25703
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
25706
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
25798
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
25801
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
25903
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
26236
CompileAndVerify(compilation3, sourceSymbolValidator: validate3, symbolValidator: validate3, verify: Verification.Skipped).
VerifyDiagnostics
();
26349
CompileAndVerify(compilation3, sourceSymbolValidator: validate3, symbolValidator: validate3, verify: Verification.Skipped).
VerifyDiagnostics
();
26623
CompileAndVerify(compilation3, sourceSymbolValidator: validate3, symbolValidator: validate3, verify: Verification.Skipped).
VerifyDiagnostics
();
26918
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
27119
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
27442
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
27555
var verifier = CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
27686
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
27757
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
28654
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
28657
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
28782
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
28785
emitOptions: EmitOptions.Default.WithEmitMetadataOnly(true).WithIncludePrivateMembers(false)).
VerifyDiagnostics
();
28890
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
29251
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
29367
var verifier = CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
29515
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
29633
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
29739
CompileAndVerify(compilation2, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
30144
CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30150
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30216
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30329
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30402
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30787
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
30873
verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31086
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31142
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31200
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31248
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31291
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31345
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31394
var verifier = CompileAndVerify(compilation1, verify: Verification.Skipped).
VerifyDiagnostics
();
31470
").
VerifyDiagnostics
();
31528
").
VerifyDiagnostics
();
31581
").
VerifyDiagnostics
();
31619
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
31716
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
33658
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
33663
CompileAndVerify(compilation2, verify: Verification.Skipped).
VerifyDiagnostics
();
33668
CompileAndVerify(compilation3, verify: Verification.Skipped).
VerifyDiagnostics
();
33715
CompileAndVerify(compilation1, sourceSymbolValidator: validate, symbolValidator: validate, verify: Verification.Skipped).
VerifyDiagnostics
();
33720
CompileAndVerify(compilation2, verify: Verification.Skipped).
VerifyDiagnostics
();
33725
CompileAndVerify(compilation3, verify: Verification.Skipped).
VerifyDiagnostics
();
Symbols\SymbolErrorTests.cs (4)
6250
CompileAndVerify(comp, verify: Verification.FailsILVerify).
VerifyDiagnostics
();
7327
CompileAndVerify(compilation, verify: Verification.Skipped).
VerifyDiagnostics
();
7336
CompileAndVerify(compilation, verify: Verification.Skipped).
VerifyDiagnostics
();
7407
CompileAndVerify(compilation, verify: Verification.Skipped).
VerifyDiagnostics
();
Symbols\UnsignedRightShiftTests.cs (14)
116
").
VerifyDiagnostics
();
498
").
VerifyDiagnostics
();
622
").
VerifyDiagnostics
();
1169
").
VerifyDiagnostics
();
1580
").
VerifyDiagnostics
();
1976
var verifier = CompileAndVerify(compilation1, expectedOutput: @">>>").
VerifyDiagnostics
();
1996
CompileAndVerify(compilation2, expectedOutput: @">>>").
VerifyDiagnostics
();
2002
CompileAndVerify(compilation3, expectedOutput: @">>>").
VerifyDiagnostics
();
2228
var verifier = CompileAndVerify(compilation1, expectedOutput: @">>>").
VerifyDiagnostics
();
2248
CompileAndVerify(compilation2, expectedOutput: @">>>").
VerifyDiagnostics
();
2254
CompileAndVerify(compilation3, expectedOutput: @">>>").
VerifyDiagnostics
();
2370
var verifier = CompileAndVerify(compilation1, expectedOutput: @"Passed 1").
VerifyDiagnostics
();
2504
").
VerifyDiagnostics
();
2601
").
VerifyDiagnostics
();
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (2)
CodeGen\WinRTCollectionTests.cs (1)
7361
verifier.
VerifyDiagnostics
();
Metadata\WinMdMetadataTests.cs (1)
208
verifier.
VerifyDiagnostics
();
Microsoft.CodeAnalysis.Test.Utilities (3)
BaseCompilerFeatureRequiredTests.cs (3)
633
CompileAndVerify(comp).
VerifyDiagnostics
();
671
CompileAndVerify(comp).
VerifyDiagnostics
();
700
CompileAndVerify(comp).
VerifyDiagnostics
();
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (36)
Attributes\AssemblyAttributes.vb (8)
570
CompileAndVerify(compilation).
VerifyDiagnostics
()
588
VerifyDiagnostics
()
603
CompileAndVerify(compilation).
VerifyDiagnostics
()
636
VerifyDiagnostics
()
2088
End Sub).
VerifyDiagnostics
()
2279
End Sub).
VerifyDiagnostics
()
2350
End Sub).
VerifyDiagnostics
()
2384
End Sub).
VerifyDiagnostics
()
Attributes\InternalsVisibleToAndStrongNameTests.vb (2)
1688
CompileAndVerify(other.WithReferences({other.References(0), New VisualBasicCompilationReference(unsigned)})).
VerifyDiagnostics
()
1690
CompileAndVerify(other.WithReferences({other.References(0), MetadataReference.CreateFromImage(unsigned.EmitToArray)})).
VerifyDiagnostics
()
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (25)
105
verifier.
VerifyDiagnostics
()
162
verifier.
VerifyDiagnostics
()
245
verifier.
VerifyDiagnostics
()
385
verifier.
VerifyDiagnostics
()
462
verifier.
VerifyDiagnostics
()
622
verifier.
VerifyDiagnostics
()
883
verifier.
VerifyDiagnostics
()
1039
verifier.
VerifyDiagnostics
()
1119
verifier.
VerifyDiagnostics
()
1207
verifier.
VerifyDiagnostics
()
1273
verifier.
VerifyDiagnostics
()
1370
verifier.
VerifyDiagnostics
()
1535
verifier.
VerifyDiagnostics
()
1647
verifier.
VerifyDiagnostics
()
1737
verifier.
VerifyDiagnostics
()
1870
verifier.
VerifyDiagnostics
()
2037
verifier.
VerifyDiagnostics
()
2478
verifier.
VerifyDiagnostics
()
2482
verifier.
VerifyDiagnostics
()
2551
verifier.
VerifyDiagnostics
()
2555
verifier.
VerifyDiagnostics
()
2670
verifier.
VerifyDiagnostics
()
2673
verifier.
VerifyDiagnostics
()
2790
verifier.
VerifyDiagnostics
()
2793
verifier.
VerifyDiagnostics
()
ExpressionTrees\CodeGenExprLambda.vb (1)
1905
TestExpressionTreesVerifier(sourceFile, result, checked, optimize, latestReferences, addXmlReferences, verify).
VerifyDiagnostics
(If(diagnostics, {}))