[Mono-bugs] [Bug 359749] New: gmcs is confused when calling an extension method that have the name as a property
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Feb 7 17:12:56 EST 2008
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: msafar at novell.com
ReportedBy: jbevain at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list