[Mono-bugs] [Bug 331191] New: Compiling fails with a generic class that requires the Type to inherit from an abstract class

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 5 12:01:35 EDT 2007


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

           Summary: Compiling fails with a generic class that requires the
                    Type to inherit from an abstract class
           Product: Mono: Compilers
           Version: 1.2
          Platform: x86
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: rharinath at novell.com
        ReportedBy: sontek at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: Development


Here is a small example that works on ms.net:

using System;
using System.Configuration;

namespace Mono.Tests.Ctor
{
    public class CustomConfigurationElement : ConfigurationElement
    {  
    }  
    public class CustomConfigurationElementCollection :
BaseCollection<CustomConfigurationElement>
    {  
    }  
    public class BaseCollection<T> where T : ConfigurationElement, new()
    {  
    }  
}


-- 
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