32 references to CompileAndVerifyRef
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (32)
CodeGen\CodeGenRefReturnTests.cs (32)
83CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 108CompileAndVerifyRef(text, verify: Verification.Skipped).VerifyIL("Program.M(ref int)", @" 158CompileAndVerifyRef(text, verify: Verification.Fails).VerifyIL("Program.M(ref int)", @" 194var v = CompileAndVerifyRef(text, expectedOutput: "42"); 246var compilation = CompileAndVerifyRef(text); 310var compilation = CompileAndVerifyRef(text, verify: Verification.Passes); 388var compilation = CompileAndVerifyRef(text); 441var compilation = CompileAndVerifyRef(text); 502var compilation = CompileAndVerifyRef(text, verify: Verification.Passes); 575var compilation = CompileAndVerifyRef(text); 627CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 658var compilation = CompileAndVerifyRef(text); 692CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 721var compilation = CompileAndVerifyRef(text); 765var compilation = CompileAndVerifyRef(text, verify: Verification.Fails); 798CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 825var compilation = CompileAndVerifyRef(text); 877var compilation = CompileAndVerifyRef(text); 947var compilation = CompileAndVerifyRef(text); 992CompileAndVerifyRef(text).VerifyIL("Program.M(ref int, ref int, object)", @" 1022var compilation = CompileAndVerifyRef(text); 1080var compilation = CompileAndVerifyRef(text); 1159var compilation = CompileAndVerifyRef(text); 1215CompileAndVerifyRef(text).VerifyIL("Program.M(D)", @" 1240CompileAndVerifyRef(text).VerifyIL("Program.M(D, ref int, ref int, object)", @" 1303CompileAndVerifyRef(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("Program.Main()", @" 1492CompileAndVerifyRef(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("Program.Main()", @" 1810CompileAndVerifyRef(text, expectedOutput: "12") 1902CompileAndVerifyRef(text, expectedOutput: "12", verify: Verification.Fails) 2000CompileAndVerifyRef(text, expectedOutput: "1234", verify: Verification.Fails) 2105CompileAndVerifyRef(text, expectedOutput: "1True", verify: Verification.Fails) 2203CompileAndVerifyRef(text, expectedOutput: "1TrueTrue1TrueTrueTrueTrue1TrueTrue", verify: Verification.Fails)