[Mono-list] Rubbish error: Any clues?

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Thu, 07 Mar 2002 14:28:13 -0300


>     Once it says, the member Add(object value) is not a member of IList
>interface, then it says IList.Add(object) not found.
>
>The method declaration is as follows:
>[Line: 133-137]
>     void IList.Add(object o)
>     {
>         Add((TableRow)o);
>     }
>

The method signature is wrong, you must return an integer...

     int IList.Add(object o)
     {
         return Add((TableRow)o);
     }

>and there exists:
>[Line: 74-79]
>     public int Add(TableRow row)
>     {
>         AddAt(-1, row);
>         return owner.Controls.Count;
>     }
>
>
>
>Cheers,
>Gaurav Vaish

Happy Hackings

Rafael Teixeira
Brazilian Developer


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com