public MethodDef GetMethod(MethodType mType) { for (int i=0; i < tide; i++) { if (methods[i].GetMethodType() == mType) return methods[i].GetMethod(); } return null; }