[Mono-bugs] [Bug 327482] New: TypeBuilder. GetMethods should not include static method of base class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 22 11:33:55 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=327482

           Summary: TypeBuilder.GetMethods should not include static method
                    of base class
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: gert.driesen at pandora.be
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---


TypeBuilder provides its own implementation of GetMethod(s) through
TypeBuilder.GetMethodsByName.

Unless BindingFlags.DeclaredOnly is specified, that method includes both static
and instance methods of the base class.

According to MSDN, the Type(Builder) Get* methods should not include static
methods of a base class:
http://msdn2.microsoft.com/en-us/library/td205ybf.aspx

The TypeBuilderTest.TestGetMethodsComplete unit test is currently marked
NotWorking because of this bug.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list