internal void AddMethod(MethodRef meth) { Contract.Requires(meth != null); MethodRef m = (MethodRef)GetMethodDesc(meth.Name(), meth.GetParTypes()); if (m == null) { methods.Add(meth); meth.SetParent(this); } }