In ilasm/codegen:
[mono.git] / mcs / ilasm / codegen / PrimitiveTypeRef.cs
index 0280725d2450ce049a2054fbd765af1918b49d89..40a52290355e1c32fb8923d5f250f6e5da1c252d 100644 (file)
@@ -82,7 +82,7 @@ namespace Mono.ILASM {
                                 string name, BaseTypeRef[] param, int gen_param_count)
                 {
                         /* Use FullName also here, as we are caching in a static hashtable */
-                        string key = FullName + MethodDef.CreateSignature (ret_type, name, param, gen_param_count);
+                        string key = FullName + MethodDef.CreateSignature (ret_type, call_conv, name, param, gen_param_count, true);
                         TypeSpecMethodRef mr = s_method_table [key] as TypeSpecMethodRef;
                         if (mr != null)
                                 return mr;