19 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (19)
CodeGen\CodeGenAsyncLocalsTests.cs (19)
77CompileAndVerify(source, expectedOutput: expected);
149CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expected);
150CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expected);
181CompileAndVerify(source, expectedOutput: expected);
215CompileAndVerify(source, expectedOutput: expected);
416CompileAndVerify(source, expected);
455CompileAndVerify(source, expected);
482CompileAndVerify(source, expectedOutput: expected, references: new[] { CSharpRef });
515var verifier = CompileAndVerify(source, expectedOutput: expected);
645var verifier = CompileAndVerify(source, expectedOutput: expected);
927CompileAndVerify(source, expectedOutput: expected);
995var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1153var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1304var verifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: @"1", verify: Verification.Fails);
1409verifier = CompileAndVerify(text, options: TestOptions.UnsafeDebugExe, expectedOutput: @"1", verify: Verification.Fails);
1561var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
1694verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");
1886var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
2019verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");