remove warning
[mono.git] / mcs / class / corlib / System / MissingMethodException.cs
index 5cdb129c590d540683ec3bb99facee26fa8297c2..23fbf8e843d8966cc5e382fb058b50e7e6e0f0fc 100644 (file)
 //
 
 using System.Runtime.Serialization;
+using System.Runtime.InteropServices;
 
 namespace System
 {
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public class MissingMethodException : MissingMemberException
        {
                const int Result = unchecked ((int)0x80131513);
@@ -71,7 +75,7 @@ namespace System
                                if (ClassName == null)
                                        return base.Message;
 
-                               String msg = Locale.GetText ("Method {0}.{1} not found.");
+                               String msg = Locale.GetText ("Method not found: '{0}.{1}'.");
                                return String.Format (msg, ClassName, MemberName);
                        }
                }