static ref int DoSomethingDumb() { unsafe { var x = 123; return ref x; // Really dumb, but permitted by the compiler because I'm in an 'unsafe' context } }