[Mono-list] Rubbish error: Any clues?

Gaurav Vaish gvaish@iitk.ac.in
Thu, 7 Mar 2002 22:00:57 +0530


I have been busy trying to build System.Web assembly. During compilation - I got
this error:

Any takers?

--------------------------------------
d:\Temp\mcs\class\System.Web\System.Web.UI.WebControls\TableRowCollection.cs(133
,8): error CS0539: 'IList.Add' in explicit interface declaration is not a member
of interface
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\mscorlib.dll: (Location of symbol
related to previous error)
d:\Temp\mcs\class\System.Web\System.Web.UI.WebControls\TableRowCollection.cs(21,
22): error CS0535: 'System.Web.UI.WebControls.TableRowCollection' does not
implement interface member 'System.Collections.IList.Add(object)'
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\mscorlib.dll: (Location of symbol
related to previous error)
--------------------------------------

    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);
    }

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



Cheers,
Gaurav Vaish
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
---------------------------------