54 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (54)
CodeGen\CodeGenAsyncTests.cs (54)
132CompileAndVerify(source, expectedOutput: expected); 165CompileAndVerify(source, expectedOutput: expected); 193CompileAndVerify(source, expectedOutput: expected); 264CompileAndVerify(source, "0"); 334CompileAndVerify(source, "0"); 392CompileAndVerify(source, expectedOutput: "0"); 465CompileAndVerify(source, "0"); 517CompileAndVerify(source, "0"); 572CompileAndVerify(source, expectedOutput: "0"); 627CompileAndVerify(source, expectedOutput: expected); 682CompileAndVerify(source, "0"); 760CompileAndVerify(source, "0"); 809CompileAndVerify(source, "0"); 875CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeReleaseExe, verify: Verification.Fails); 1148CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.Passes); 1209CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.Passes); 1250CompileAndVerify(source, expectedOutput: "0", options: TestOptions.UnsafeDebugExe, verify: Verification.Passes); 1309CompileAndVerify(source, "0", options: TestOptions.UnsafeDebugExe); 1393CompileAndVerify(source, "0", options: TestOptions.UnsafeDebugExe); 1455CompileAndVerify(source, "0", options: TestOptions.UnsafeDebugExe); 1491CompileAndVerify(source, "42"); 1568CompileAndVerify(source, "0"); 1595CompileAndVerify(source, ""); 1685CompileAndVerify(source, "0"); 1766CompileAndVerify(source, "0"); 1832CompileAndVerify(source, "0"); 1854CompileAndVerify(source, "False"); 1930CompileAndVerify(source, "0"); 1979CompileAndVerify(source, "0"); 2052CompileAndVerify(source, "0"); 2128CompileAndVerify(source, "0"); 2195var c = CompileAndVerify(source, expectedOutput: expected); 2340var c = CompileAndVerify(source, options: TestOptions.ReleaseDebugExe, expectedOutput: expected); 2488var c = CompileAndVerify(source, expectedOutput: expected, options: TestOptions.DebugExe); 2643var c = CompileAndVerify(source, expectedOutput: expected); 2780CompileAndVerify(source, expectedOutput: expected).VerifyIL("Test.F", @" 2919CompileAndVerify(source, expectedOutput: expected); 2984CompileAndVerify(source, expectedOutput: expected); 3037CompileAndVerify(source, expectedOutput: expected); 3060CompileAndVerify(source, expectedOutput: expected); 3112CompileAndVerify(source, expectedOutput: expected); 3150CompileAndVerify(source, expectedOutput: expectedOutput); 3178CompileAndVerify(source, expectedOutput: expected); 3207CompileAndVerify(source, expectedOutput: expected); 3233CompileAndVerify(source, expectedOutput: expected); 3297CompileAndVerify(source, expectedOutput: expected); 3451var v = CompileAndVerify(source, null, options: TestOptions.ReleaseDll); 3914var v = CompileAndVerify(source, null, options: TestOptions.ReleaseDll); 4200CompileAndVerify(source, expectedOutput: expected); 4236var v = CompileAndVerify(source, null, options: TestOptions.DebugDll); 5636CompileAndVerify(source, expectedOutput: expected); 5689CompileAndVerify(source, expectedOutput: expected); 5877CompileAndVerify(source, options: TestOptions.DebugExe, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(diags); 5878CompileAndVerify(source, options: TestOptions.ReleaseExe, verify: Verification.Skipped, expectedOutput: "0123").VerifyDiagnostics(diags);