https://bugzilla.novell.com/show_bug.cgi?id=359749
Summary: gmcs is confused when calling an extension method that
have the name as a property
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: ---
Repro:
--
using System;
using System.Collections.Generic;
class Foo {
public bool IsBar {
get { return false; }
}
}
static class FooExt {
public static bool IsBar (this Foo f)
{
return f.IsBar;
}
}
class Repro {
static void Main ()
{
var f = new Foo ();
Console.WriteLine (f.IsBar ());
}
}
--
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs