private static object __STUB__Keys(ScriptEngine engine, object thisObj, object[] args) { thisObj = TypeConverter.ToObject(engine, thisObj); if (!(thisObj is MapInstance)) throw new JavaScriptException(engine, ErrorType.TypeError, "The method 'keys' is not generic."); return ((MapInstance)thisObj).Keys(); }