Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82029 --- shadow/82029 2007-07-07 12:05:35.000000000 -0400 +++ shadow/82029.tmp.2130 2007-07-07 12:05:35.000000000 -0400 @@ -0,0 +1,39 @@ +Bug#: 82029 +Product: Mono: Compilers +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [GMCS] Base class constraint for struct not emitted as generic parameter constraint + +Where a "struct" base class contraint is specified for a type parameter, +then gmcs not emit this as a generic parameter constraint as well like MS +does. + +This leads to bogus warnings in the Class Status pages. + +To reproduce, compile and run the attached code. + +Expected result: + +struct (System.ValueType, System.IDisposable) T +class (System.IDisposable) T + +This is the result when compiled using csc, and executed on MS or Mono. + +Actual result: + +struct (System.IDisposable) T +class (System.IDisposable) T + +This is the result when compiled using gmcs, and executed on MS or Mono. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
