Fixed warning
authorMarek Safar <marek.safar@gmail.com>
Mon, 26 Apr 2010 17:17:50 +0000 (17:17 -0000)
committerMarek Safar <marek.safar@gmail.com>
Mon, 26 Apr 2010 17:17:50 +0000 (17:17 -0000)
svn path=/trunk/mcs/; revision=156117

mcs/class/System/System.Collections.Generic/ISet.cs

index aebca0bcfe8651feaefc65864745a884e65f91f2..74f142f006b9e04e719ecca121eacd6cb508ada6 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 #if NET_2_1 || NET_4_0 || BOOTSTRAP_NET_4_0
-using System.Collections.Generic;
 
 namespace System.Collections.Generic {
-       public interface ISet<T> : ICollection<T>, IEnumerable<T>, IEnumerable
+       public interface ISet<T> : ICollection<T>
        {
-               bool Add (T item);
+               new bool Add (T item);
                void ExceptWith (IEnumerable<T> other);
                void IntersectWith (IEnumerable<T> other);
                bool IsProperSubsetOf (IEnumerable<T> other);