19 references to CompileAndVerify
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (19)
CodeGen\CodeGenAsyncLocalsTests.cs (19)
78CompileAndVerify(source, expectedOutput: expected);
150CompileAndVerify(source, options: TestOptions.ReleaseExe, expectedOutput: expected);
151CompileAndVerify(source, options: TestOptions.DebugExe, expectedOutput: expected);
182CompileAndVerify(source, expectedOutput: expected);
216CompileAndVerify(source, expectedOutput: expected);
417CompileAndVerify(source, expected);
456CompileAndVerify(source, expected);
483CompileAndVerify(source, expectedOutput: expected, references: new[] { CSharpRef });
523var verifier = CompileAndVerify(source, expectedOutput: expected);
653var verifier = CompileAndVerify(source, expectedOutput: expected);
935CompileAndVerify(source, expectedOutput: expected);
1003var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1161var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1312var verifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: @"1", verify: Verification.Fails);
1417verifier = CompileAndVerify(text, options: TestOptions.UnsafeDebugExe, expectedOutput: @"1", verify: Verification.Fails);
1569var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
1702verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");
1894var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
2027verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");