public Delegate CheckDelegate() { try { return luaState.CheckDelegate(stackPos++); } catch (Exception e) { EndPCall(); throw e; } }