[Gtk-sharp-list] Using IList for API beauty

Miguel de Icaza miguel@ximian.com
22 Apr 2003 17:05:04 -0400


Hello!

> > And all this should be possible once the parser (and .metadata files) 
> > can make a class "implement an interface", and can specify that a
> > generated method of property should have the "override" keyword
> > in its declaration/definition.
> 
> Mmm, SList and List are not generated files ;-).

So they could provide an implicit conversion operator from IList:

static SList operator implicit (IList l)

Miguel