Mono.ILASM.GenericTypeInst.GetMethodRef C# (CSharp) Метод

GetMethodRef() публичный Метод

public GetMethodRef ( BaseTypeRef ret_type, PEAPI call_conv, string meth_name, BaseTypeRef param, int gen_param_count ) : BaseMethodRef
ret_type BaseTypeRef
call_conv PEAPI
meth_name string
param BaseTypeRef
gen_param_count int
Результат BaseMethodRef
                public override BaseMethodRef GetMethodRef (BaseTypeRef ret_type, PEAPI.CallConv call_conv,
                                string meth_name, BaseTypeRef[] param, int gen_param_count)
                {
			/* Note: Using FullName here as we are caching in a static hashtable */
                        string key = FullName + MethodDef.CreateSignature (ret_type, call_conv, meth_name, param, gen_param_count, true);
                        TypeSpecMethodRef mr = s_method_table [key] as TypeSpecMethodRef;
                        if (mr == null) {         
                                mr = new TypeSpecMethodRef (this, call_conv, ret_type, meth_name, param, gen_param_count);
                                s_method_table [key] = mr;
                        }

                        return mr;
                }