[Mono-bugs] [Bug 420198] New: method resolution specifing non-typed function name fails on conflict

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 25 18:08:38 EDT 2008


           Summary: method resolution specifing non-typed function name
                    fails on conflict
           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: wasabi at larvalstage.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Gtk.CellRendererText c1r = new Gtk.CellRendererText();
c1.SetCellDataFunc(c1r, ContractTreeViewNameCellDataFunc);

private void ContractTreeViewNameCellDataFunc(Gtk.TreeViewColumn
treeViewColumn, Gtk.CellRenderer cellRenderer, Gtk.TreeModel treeModel,
Gtk.TreeIter treeIter)

The call is ambiguous between the following methods or properties:
`Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer, Gtk.CellLayoutDataFunc)'
and `Gtk.TreeViewColumn.SetCellDataFunc(Gtk.CellRenderer,

CellLayoutDataFunc and TreeCellDataFunc. I'm not actually sure how this should
work. But it does work in MS.Net. My guess is it just picks one. I can fix it
by specifying the delegate type (new TreeCellDataFunc(whatever)).

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