[Mono-docs-list] Re: [Gtk-sharp-list] Build Status

Ben Maurer bmaurer@users.sourceforge.net
27 Jul 2003 20:11:53 -0400


On Sun, 2003-07-27 at 20:05, Mike Kestner wrote:
> On Sat, 2003-07-26 at 22:09, Ben Maurer wrote:
> 
> >         Internal(1) error CS0104: `Object' is an ambiguous reference
> >         (System.Object or Gtk.Object)
> > In programs that use Gtk#.
> 
> This comes from writing code with "using System; using Gtk;" and
> declaring a variable/param as Object.  It needs to be declared
> System.Object, or Gtk.Object.  I was under the impression mcs has been
> throwing these errors for a while though.
Nope, all the references are fully qualified. I talked to Miguel and
Duncan about this, both agree it is probably a bug (Miguel even said it
was "weird").

-- Ben