Merge pull request #1870 from saper/langinfo_h
[mono.git] / mcs / class / System.Runtime.Remoting / Test / ReflectionCalls.cs
index 058b5e646b9768d0b7d141d929fb8c3c952e8433..e13152096bb3a178232b12098556607244cab449 100644 (file)
@@ -31,7 +31,8 @@ namespace MonoTests.Remoting
                public static string PrimitiveParams (Type type, object target, int a, uint b, char c, string d)
                {
                        object[] parms = new object[] {a,b,c,d};
-                       MethodBase m = type.GetMethod ("PrimitiveParams");
+                       Type[] sig = new Type[] {typeof (int), typeof (uint), typeof (char), typeof (string)};
+                       MethodBase m = type.GetMethod ("PrimitiveParams", sig);
                        return (string) m.Invoke (target, parms);
                }