[Mono-bugs] [Bug 434589] New: Regression in Generics from 1.9.1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 12 08:17:22 EDT 2008


           Summary: Regression in Generics from 1.9.1
           Product: Mono: Compilers
           Version: 2.0
          Platform: x86-64
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: brett.michael at powerhealthsolutions.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

Created an attachment (id=245011)
 --> (https://bugzilla.novell.com/attachment.cgi?id=245011)
Test Case that compiled on 1.9.1, but not 2.0

(This is my first bug logged, so I apologise if the information I provide is

I have been using EntitySpaces with great success in Mono 1.9.1. Once I
upgraded to Mono 2.0 the EntitySpaces generated code failed to compile.
Down-grading to 1.9.1 has made it function again.

Looking at the code it is choking on it appears to be a completely
inappropriate error message, but I know nothing about the internal workings of
the compiler.

I have attached the code and a nant script to compile it. This code compiled on
Microsoft dotNet 2.0, Mono 1.9.1, but not Mono 2.0. I have included log files
from 1.9.1 and 2.0 on my machine, including the output of "mono --version".

The error message I recieve is:
error CS0453: The type `EntitySpaces.Interfaces.esQueryItem' must be a
non-nullable value type in order to use it as type parameter `T' in the generic
type or method `System.Nullable<T>'.


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