[Mono-bugs] [Bug 359733] New: Generic Extension methods with constraints on the generic type don' t compile
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 7 16:27:53 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=359733
Summary: Generic Extension methods with constraints on the
generic type don't compile
Product: Mono: Compilers
Version: 1.9.0
Platform: x86-64
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: dans at houmus.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Try to compile the following attached files:
$ gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ "-define:TRACE"
-t:library b.cs -r:System.Core
$ gmcs -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+
"-define:TRACE;MONO_BUILD" a.cs -r:b.dll -r:System
a.cs(10,59): error CS1061: Type `System.Type' does not contain a definition for
`GetSingleAttribute' and no extension method `GetSingleAttribute' of type
`System.Type' could be found (are you missing a using directive or an assembly
reference?)
Compilation failed: 1 error(s), 0 warnings
--
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