コード例 #1
0
 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);
 }
コード例 #2
0
 internal TypeParameter(string name, TypeReference.Bound bound)
 {
     this.NameConflict = name;
     this.Bound        = bound;
 }