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