* DimeAttachmentCollection.cs: Fixed compilation issues
* DimeReader.cs: Fixed compilation issues
svn path=/trunk/mcs/; revision=17902
--- /dev/null
+2003-09-04 Sebastien Pouliot <spouliot@videotron.ca>
+
+ * DimeAttachmentCollection.cs: Fixed compilation issues
+ * DimeReader.cs: Fixed compilation issues
public DimeAttachment this [int key] {
get {
public DimeAttachment this [int key] {
get {
+ return (DimeAttachment) InnerList [key];
}
}
public DimeAttachment this [string key] {
get {
}
}
public DimeAttachment this [string key] {
get {
+ // FIXME: must iterate in collection
+ return null;
}
}
public void Add (DimeAttachment attachment)
{
}
}
public void Add (DimeAttachment attachment)
{
+ InnerList.Add (attachment);
}
public void AddRange (ICollection collection)
{
foreach (object o in collection)
}
public void AddRange (ICollection collection)
{
foreach (object o in collection)
}
public bool Contains (string id)
{
}
public bool Contains (string id)
{
+ return InnerList.Contains (id);
- public void CopyTo (DimeAttachment[] attachements, int index)
+ public void CopyTo (DimeAttachment[] attachments, int index)
- CopyTo (attachments, index);
+ InnerList.CopyTo (attachments, index);
}
public int IndexOf (DimeAttachment attachment)
{
}
public int IndexOf (DimeAttachment attachment)
{
- return IndexOf(attachment);
+ return InnerList.IndexOf(attachment);
}
public int IndexOf (string id)
{
}
public int IndexOf (string id)
{
+ return InnerList.IndexOf(id);
}
public void Remove (DimeAttachment attachment)
{
}
public void Remove (DimeAttachment attachment)
{
+ InnerList.Remove (attachment);
- public bool CanRead ()
- {
- return stream.CanRead ();
+ public bool CanRead {
+ get { return stream.CanRead; }