2004-10-18 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Mon, 18 Oct 2004 20:54:06 +0000 (20:54 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 18 Oct 2004 20:54:06 +0000 (20:54 -0000)
* expression.cs (Invocation.BetterFunction): Put back
TypeManager.TypeToCoreType().

svn path=/trunk/mcs/; revision=35105

mcs/mcs/ChangeLog
mcs/mcs/expression.cs

index 65a90a3e96bdf5408e442f770e5a9ecc9287f393..4efd051ce389b2026294822d77846b798f153251 100755 (executable)
@@ -4,6 +4,11 @@
        here, it makes it easier for me to see what changed in MCS since
        the last time I merged.
 
+2004-10-18  Martin Baulig  <martin@ximian.com>
+
+       * expression.cs (Invocation.BetterFunction): Put back
+       TypeManager.TypeToCoreType().
+
 2004-10-18  Raja R Harinath  <rharinath@novell.com>
 
        * class.cs (FieldMember.DoDefine): Reset ec.InUnsafe after doing
index ae089060bd29e9ae25b7543e4fded1dfb61ab8e9..cfdfd9e84b117102961abd65081b7fd05fa0c932 100755 (executable)
@@ -4299,8 +4299,8 @@ namespace Mono.CSharp {
                        for (int j = 0; j < argument_count; ++j) {
                                Argument a = (Argument) args [j];
 
-                               Type ct = candidate_pd.ParameterType (j);
-                               Type bt = best_pd.ParameterType (j);
+                               Type ct = TypeManager.TypeToCoreType (candidate_pd.ParameterType (j));
+                               Type bt = TypeManager.TypeToCoreType (best_pd.ParameterType (j));
 
                                if (candidate_pd.ParameterModifier (j) == Parameter.Modifier.PARAMS)
                                        if (candidate_params)