Author: ankit
Date: 2005-04-27 04:48:49 -0400 (Wed, 27 Apr 2005)
New Revision: 43645

Modified:
   trunk/mcs/ilasm/parser/ChangeLog
   trunk/mcs/ilasm/parser/ILParser.jay
Log:
* ILParser.jay (method_ref): Let owner.GetMethodRef handle the
creation of TypeSpecMethodRef.


Modified: trunk/mcs/ilasm/parser/ChangeLog
===================================================================
--- trunk/mcs/ilasm/parser/ChangeLog    2005-04-27 08:48:14 UTC (rev 43644)
+++ trunk/mcs/ilasm/parser/ChangeLog    2005-04-27 08:48:49 UTC (rev 43645)
@@ -1,3 +1,8 @@
+2005-04-27  Ankit Jain  <[EMAIL PROTECTED]>
+       
+       * ILParser.jay (method_ref): Let owner.GetMethodRef handle the
+       creation of TypeSpecMethodRef.
+       
 2005-04-26  Ankit Jain  <[EMAIL PROTECTED]>
 
        * ILParser.jay (comp_name): Allow n.a.'b' . 

Modified: trunk/mcs/ilasm/parser/ILParser.jay
===================================================================
--- trunk/mcs/ilasm/parser/ILParser.jay 2005-04-27 08:48:14 UTC (rev 43644)
+++ trunk/mcs/ilasm/parser/ILParser.jay 2005-04-27 08:48:49 UTC (rev 43645)
@@ -2084,13 +2084,8 @@
                                 else
                                         param_list = new ITypeRef[0];
 
-                                if (owner.UseTypeSpec) {
-                                        methref = new TypeSpecMethodRef 
(owner, (ITypeRef) $2,
-                                                (CallConv) $1, (string) $5, 
param_list);
-                                } else {
-                                        methref = owner.GetMethodRef 
((ITypeRef) $2,
-                                                (CallConv) $1, (string) $5, 
param_list);
-                                }
+                                methref = owner.GetMethodRef ((ITypeRef) $2,
+                                        (CallConv) $1, (string) $5, 
param_list);
 
                                 $$ = methref;
                           }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to