Anirban Bhattacharjee <banirban@novell.com>
[mono.git] / mcs / mbas / pending.cs
index 29d11648265a54b6537fe87578da149f379d5089..d32b46ab279cd86a761cd897e92188dfb9a421de 100644 (file)
@@ -134,14 +134,14 @@ namespace Mono.MonoBASIC {
                                foreach (Type t in ifaces){
                                        MethodInfo [] mi;
 
-                                       if (t is TypeBuilder){
+                                       /*if (t is TypeBuilder){
                                                Interface iface;
 
                                                iface = TypeManager.LookupInterface (t);
                                                
                                                mi = iface.GetMethods (container);
-                                       } else
-                                               mi = t.GetMethods ();
+                                       } else*/
+                                       mi = t.GetMethods ();
 
                                        int count = mi.Length;
                                        pending_implementations [i].type = t;
@@ -311,7 +311,7 @@ namespace Mono.MonoBASIC {
                        foreach (TypeAndMethods tm in pending_implementations){
                                if (!(t == null || tm.type == t))
                                        continue;
-
+                               
                                int i = 0;
                                foreach (MethodInfo m in tm.methods){
                                        if (m == null){
@@ -546,9 +546,9 @@ namespace Mono.MonoBASIC {
                                                        type.FullName + "." + mi.Name + "'" + extra);
                                        } else {
                                                Report.Error (
-                                                       534, container.Location,
+                                                       30610, container.Location,
                                                        "`" + container.Name + "' does not implement " +
-                                                       "inherited abstract member `" +
+                                                       "inherited 'MustOverride' member `" +
                                                        type.FullName + "." + mi.Name + "'");
                                        }
                                        errors = true;