[Mono-bugs] [Bug 355161] New: Bad error CS1501 on extension methods
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jan 21 18:31:42 EST 2008
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: mono-bugs at lists.ximian.com
ReportedBy: spouliot at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list