75 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (75)
CodeGen\CodeGenAsyncSpillTests.cs (75)
80CompileAndVerify(source, expectedOutput: expected);
130CompileAndVerify(source, expectedOutput: expected);
180CompileAndVerify(source, expectedOutput: expected);
232CompileAndVerify(source, expectedOutput: expected);
266CompileAndVerify(source, expectedOutput: expected);
316CompileAndVerify(source, expected);
372CompileAndVerify(source, expectedOutput: expected);
427CompileAndVerify(source, expected);
482CompileAndVerify(source, expected);
527CompileAndVerify(source, expected);
568CompileAndVerify(source, expected);
596var v = CompileAndVerify(source, options: TestOptions.DebugDll);
759var v = CompileAndVerify(source, options: TestOptions.ReleaseDll);
912CompileAndVerify(source, options: TestOptions.DebugDll);
1006CompileAndVerify(source, expectedOutput: expected);
1035CompileAndVerify(source, expectedOutput: expected);
1067CompileAndVerify(source, expectedOutput: expected);
1111CompileAndVerify(source, expectedOutput: expected);
1144CompileAndVerify(source, options: TestOptions.DebugDll);
1224CompileAndVerify(source, expected);
1282CompileAndVerify(source, expected);
1342CompileAndVerify(source, expected);
1403CompileAndVerify(source, expected);
1463CompileAndVerify(source, expected);
1528CompileAndVerify(source, expected);
1588CompileAndVerify(source, expected);
1668CompileAndVerify(source, expected);
1726CompileAndVerify(source, "");
1755CompileAndVerify(source, expected);
1827CompileAndVerify(source, expectedOutput: expected);
1887CompileAndVerify(source, expected);
1917CompileAndVerify(source, expected);
1947CompileAndVerify(source, expected);
1987CompileAndVerify(source, expected);
2027CompileAndVerify(source, expected);
2105CompileAndVerify(source, expected);
2174CompileAndVerify(source, expected);
2252CompileAndVerify(source, expected, references: new[] { CSharpRef });
2286CompileAndVerify(source, expected);
2334CompileAndVerify(source, expected);
2376CompileAndVerify(source, expected);
2417CompileAndVerify(source, expected);
2482CompileAndVerify(source, expectedOutput: expected);
2542CompileAndVerify(source, expectedOutput: expected);
2608CompileAndVerify(source, "0");
2664CompileAndVerify(source, "0");
2720CompileAndVerify(source, "0");
2750CompileAndVerify(source, "0", references: new[] { CSharpRef });
2808CompileAndVerify(source, "0");
2887CompileAndVerify(source, "0");
2926CompileAndVerify(source, "42");
3010CompileAndVerify(source, "0");
3031CompileAndVerify(source, expectedOutput: "", options: TestOptions.ReleaseExe);
3032CompileAndVerify(source, expectedOutput: "", options: TestOptions.DebugExe);
3060CompileAndVerify(source, expectedOutput: "43", options: TestOptions.DebugExe);
3061CompileAndVerify(source, expectedOutput: "43", options: TestOptions.ReleaseExe);
3089CompileAndVerify(source, expectedOutput: "43", options: TestOptions.ReleaseExe);
3090CompileAndVerify(source, expectedOutput: "43", options: TestOptions.DebugExe);
3116CompileAndVerify(source, expectedOutput: "", options: TestOptions.ReleaseExe);
3117CompileAndVerify(source, expectedOutput: "", options: TestOptions.DebugExe);
3164CompileAndVerify(source, "0");
3253CompileAndVerify(source, expected);
3401var v = CompileAndVerify(source, expected);
3437var v = CompileAndVerify(source, "42");
3505CompileAndVerify(@"
3578var v = CompileAndVerify(source, options: TestOptions.DebugExe);
3844CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: "2");
3845CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: "2");
3942CompileAndVerify(source, expectedOutput: "42", options: TestOptions.DebugExe);
3943CompileAndVerify(source, expectedOutput: "42", options: TestOptions.ReleaseExe);
3980CompileAndVerify(source, expectedOutput: "True", options: TestOptions.DebugExe);
3981CompileAndVerify(source, expectedOutput: "True", options: TestOptions.ReleaseExe);
6441var verifier = CompileAndVerify(source, expectedOutput: "1");
6477var verifier = CompileAndVerify(source, expectedOutput: "1");
6508var verifier = CompileAndVerify(source, expectedOutput: "1");