void VerifyMethods() { if (_MethodsByName == null) { _MethodsByName = new JsObject<JsArray<JsImplMethodInfo>>(); _Methods = new JsExtendedArray(); FillMethods(_JsType.definition); FillMethods(_JsType.staticDefinition); var baseType = BaseType; if (baseType != null) { var methods = baseType.GetMethods(); foreach (var me in methods) { if (_JsType.definition != null && _JsType.definition.hasOwnProperty(me.JsName)) continue; if (_JsType.staticDefinition != null && _JsType.staticDefinition.hasOwnProperty(me.JsName)) continue; var list = _MethodsByName[me._Name]; if (list == null) { list = new JsArray<JsImplMethodInfo>(); _MethodsByName[me._Name] = list; } list.push(me); _Methods.push(me); } } } }
void VerifyMethods() { if (_MethodsByName == null) { _MethodsByName = new JsObject(); _Methods = new JsExtendedArray(); FillMethods(_JsType.definition); FillMethods(_JsType.staticDefinition); var baseType = BaseType; if (baseType != null) { var methods = baseType.GetMethods(); foreach (var pe in methods) { if (_MethodsByName[pe._Name] == null) { _MethodsByName[pe._Name] = pe; _Methods.push(pe); } } } } }