Rewriting GetContext procedure on mono

@amoiseev-softheme FYI
You're Great Cornholio!!!