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);
413CompileAndVerify(source, expected);
452CompileAndVerify(source, expected);
479CompileAndVerify(source, expectedOutput: expected, references: new[] { CSharpRef });
512var verifier = CompileAndVerify(source, expectedOutput: expected);
642var verifier = CompileAndVerify(source, expectedOutput: expected);
924CompileAndVerify(source, expectedOutput: expected);
992var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1150var c = CompileAndVerify(source, expectedOutput: null, options: TestOptions.ReleaseDll);
1301var verifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: @"1", verify: Verification.Fails);
1406verifier = CompileAndVerify(text, options: TestOptions.UnsafeDebugExe, expectedOutput: @"1", verify: Verification.Fails);
1558var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
1691verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");
1883var verifier = CompileAndVerify(text, options: TestOptions.ReleaseExe, expectedOutput: @"2");
2016verifier = CompileAndVerify(text, options: TestOptions.DebugExe, expectedOutput: @"2");