http://bugzilla.novell.com/show_bug.cgi?id=500385
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=500385#c6 Joachim ANTE <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Joachim ANTE <[email protected]> 2009-05-12 07:20:26 MDT --- Turns out I posted the wrong test. Doh. Sorry about that. This should be reproducable, at least it is reproducable with the 2.4 installer package. using System.Reflection; class TestInheritedMethodA { void TestMethod() { } public void TestMethod2() { } } class TestInheritedMethodB : TestInheritedMethodA { } class Test { public static void Main () { MethodInfo inheritedMethod = typeof(TestInheritedMethodA).GetMethod("TestMethod", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); MethodInfo baseMethod = typeof(TestInheritedMethodB).GetMethod("TestMethod", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); if (baseMethod == null) System.Console.WriteLine("BUG: base null"); else if (inheritedMethod == null) System.Console.WriteLine("BUG: Inherited null"); else if (inheritedMethod != baseMethod) System.Console.WriteLine("BUG: Different"); else System.Console.WriteLine("Correct"); } } -- 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
