X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Runtime.Remoting%2FTest%2FReflectionCalls.cs;h=e13152096bb3a178232b12098556607244cab449;hb=3ff51a5d1f0f5fbbab6ba050a4e44c409d589e47;hp=058b5e646b9768d0b7d141d929fb8c3c952e8433;hpb=0443306d611d0830e27327e1f0a3ef3457dfa535;p=mono.git diff --git a/mcs/class/System.Runtime.Remoting/Test/ReflectionCalls.cs b/mcs/class/System.Runtime.Remoting/Test/ReflectionCalls.cs index 058b5e646b9..e13152096bb 100644 --- a/mcs/class/System.Runtime.Remoting/Test/ReflectionCalls.cs +++ b/mcs/class/System.Runtime.Remoting/Test/ReflectionCalls.cs @@ -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); }