Author: martin
Date: 2005-04-13 07:42:15 -0400 (Wed, 13 Apr 2005)
New Revision: 42907

Modified:
   trunk/mcs/gmcs/pending.cs
Log:
**** Merged r41268 from MCS ****


Modified: trunk/mcs/gmcs/pending.cs
===================================================================
--- trunk/mcs/gmcs/pending.cs   2005-04-13 11:41:48 UTC (rev 42906)
+++ trunk/mcs/gmcs/pending.cs   2005-04-13 11:42:15 UTC (rev 42907)
@@ -175,8 +175,14 @@
                                
                                int j = 0;
                                foreach (MethodInfo m in mi){
-                                       Type [] types = 
TypeManager.GetArgumentTypes (m);
+                                       Type [] types;
                                        
+                                       // If there is a previous error, just 
ignore
+                                       if (m == null)
+                                               types = TypeManager.NoTypes;
+                                       else
+                                               types = 
TypeManager.GetArgumentTypes (m);
+                                       
                                        pending_implementations [i].args [j] = 
types;
                                        j++;
                                }

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

Reply via email to