http://bugzilla.novell.com/show_bug.cgi?id=617970
http://bugzilla.novell.com/show_bug.cgi?id=617970#c0 Summary: compiles doesn't check for presence of all abstract methods required Classification: Mono Product: Mono: Compilers Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- This code compiles under trunk but it shouldn't given it doesn't implement a few abstract methods from MethodInfo and MethodBase: using System; using System.Reflection; using System.Reflection.Emit; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; class MyMethod : MethodInfo { public override Type DeclaringType { get { throw new Exception ("NOT HERE"); } } public override string Name { get { throw new Exception ("NOT HERE"); } } public override Type ReflectedType { get { throw new Exception ("NOT HERE"); } } public override bool IsDefined(Type t, bool b) { throw new Exception ("NOT HERE"); } public override object[] GetCustomAttributes (bool b) { throw new Exception ("NOT HERE"); } public override object[] GetCustomAttributes (Type t, bool b) { throw new Exception ("NOT HERE"); } } class M { public static void Main () { } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
