[Mono-bugs] [Bug 353921] New: [PATCH] CSharpCodeGenerator ignores constraints for generic methods

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 15 11:49:03 EST 2008


           Summary: [PATCH] CSharpCodeGenerator ignores constraints for
                    generic methods
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

The attached test program should output:

namespace Test {
    public class SomeClass {
        private void SomeMethod<T>()
            where T : new () {

..but it's missing the "where T : new ()" constraint.

A patch for this bug is attached.
Please review.

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