internal PropWrapper getRef(string ind, bool ForSet) { PropWrapper r = this.GetOwnPropertyRef(ind); if (r != null) { return(r); } for (JSValue v = this.Prototype; v != null; v = v.Prototype) { r = v.GetOwnPropertyRef(ind); if (ForSet && (r is DataProperty)) { return(null); } if (r != null) { return(r); } } return(null); }