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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to