X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=mcs%2Fclass%2FSystem%2FSystem.Net.Configuration%2FBypassElementCollection.cs;h=dc71897e93b54f5e2167f544e35b0d48317be237;hb=6cfd2055426c190ca2f6a9f8ca3af2da6f6a79d0;hp=48529a027d9bf4f9ac952638bd6328d1a8f723b3;hpb=c4aef31eeea309e6a795c84c098ac8e1a2490340;p=mono.git diff --git a/mcs/class/System/System.Net.Configuration/BypassElementCollection.cs b/mcs/class/System/System.Net.Configuration/BypassElementCollection.cs index 48529a027d9..dc71897e93b 100644 --- a/mcs/class/System/System.Net.Configuration/BypassElementCollection.cs +++ b/mcs/class/System/System.Net.Configuration/BypassElementCollection.cs @@ -35,11 +35,11 @@ using System.Configuration; namespace System.Net.Configuration { - [ConfigurationCollection (typeof (BypassElement), CollectionType = ConfigurationElementCollectionType.AddRemoveClearMap)] public sealed class BypassElementCollection : ConfigurationElementCollection { #region Constructors + [MonoTODO] public BypassElementCollection () { } @@ -59,35 +59,34 @@ namespace System.Net.Configuration set { base [name] = value; } } - protected override bool ThrowOnDuplicate { - get { return false; } - } #endregion // Properties #region Methods + [MonoTODO] public void Add (BypassElement element) { BaseAdd (element); } + [MonoTODO] public void Clear () { BaseClear (); } + [MonoTODO] protected override ConfigurationElement CreateNewElement () { return new BypassElement (); } - [MonoTODO ("argument exception?")] + [MonoTODO] protected override object GetElementKey (ConfigurationElement element) { if (!(element is BypassElement)) throw new ArgumentException ("element"); - - return ((BypassElement)element).Address; + throw new NotImplementedException (); } public int IndexOf (BypassElement element)