[Mono-bugs] [Bug 327484] New: TypeBuilder. CreateType does not perform checks for abstract methods

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 22 11:46:37 EDT 2007


           Summary: TypeBuilder.CreateType does not perform checks for
                    abstract methods
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---

Crurently we do not perform the following checks for abstract methods:

1) Throw an InvalidOperationException when an abstract method is defined on a
non-abstract type.

2) Throw a TypeLoadException when a non-virtual abstract method is defined on
an abstract type.

I've added a TestDefineMethod_Abstract unit test to TypeBuilderTest.cs for
this, and marked it NotWorking.

Configure bugmail: https://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.

More information about the mono-bugs mailing list