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\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();