[Mono-bugs] [Bug 491723] New: Extension methods not working on generic collections
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 2 19:23:42 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=491723
Summary: Extension methods not working on generic collections
Classification: Mono
Product: Mono: Compilers
Version: 1.2.6
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: robert.sevcik at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
Created an attachment (id=283826)
--> (http://bugzilla.novell.com/attachment.cgi?id=283826)
Kind of a test case to show how the compilation fails.
Description of Problem:
If you define an extension method for say string and you try to call that
method on a string which is part of a generic collection, it fails to compile
saying:
No overload for method 'MyExtension' takes 'N' arguments(CS1501)
Steps to reproduce the problem:
Try to compile the attached script.
Actual Results:
Fails
Expected Results:
Compile with no errors
How often does this happen?
Always
Additional Information:
-langversion:linq
--
Configure bugmail: http://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