public virtual Builder ParameterizedWith(string name, TypeReference.Bound bound) { if (TypeParametersConflict == null) { TypeParametersConflict = new LinkedHashMap <string, TypeReference.Bound>(); } else if (TypeParametersConflict.containsKey(name)) { throw new System.ArgumentException(name + " defined twice"); } TypeParametersConflict.put(name, bound); return(this); }
internal TypeParameter(string name, TypeReference.Bound bound) { this.NameConflict = name; this.Bound = bound; }