https://bugzilla.novell.com/show_bug.cgi?id=355161
Summary: Bad error CS1501 on extension methods
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Here's a reduced test case (credits to Andreas Noever)
using System;
static class Rocks {
public static bool Extension (this string self)
{
return true;
}
}
class Program {
public string this [int index] {
get { return "HelloWorld"; }
}
static void Main (string [] args)
{
Program p = new Program ();
p [0].Extension ();
}
}
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs