public GenericMethodRef GetGenericMethodRef (GenericArguments gen_args) { GenericMethodRef methref = null; if (gen_method_table == null) gen_method_table = new Hashtable (); else methref = (GenericMethodRef) gen_method_table [gen_args.ToString ()]; if (methref == null) { methref = new GenericMethodRef (this, GenericMethodSig.GetInstance (gen_args)); gen_method_table [gen_args.ToString ()] = methref; } return methref; }
public GenericMethodRef GetGenericMethodRef(GenericArguments gen_args) { GenericMethodRef methref = null; if (gen_method_table == null) { gen_method_table = new Hashtable(); } else { methref = (GenericMethodRef)gen_method_table [gen_args.ToString()]; } if (methref == null) { methref = new GenericMethodRef(this, GenericMethodSig.GetInstance(gen_args)); gen_method_table [gen_args.ToString()] = methref; } return(methref); }