private static void InternalDemand (IntPtr permissions, int length) { PermissionSet ps = Decode (permissions, length); ps.Demand (); }