public MethodDesc GetOrAddMethod(string name, MethodSignature signature) { MethodDesc method = GetMethod(name, signature); if (method == null) { TypeRefTypeSystemMethod newMethod = new TypeRefTypeSystemMethod(this, name, signature); method = newMethod; _methods.Add(newMethod); } return(method); }
internal TypeRefTypeSystemGenericParameter(TypeRefTypeSystemMethod owningMethod, int index) { _owningMethod = owningMethod; _index = index; }