inherrit from IList<T> and IList complains cannot implement/override two methods 'System.Collections.Generic.IList`1<type parameter.T>.RemoveAt(System.Int32)' and 'System.Collections.IList.RemoveAt(System.Int32)', where one has Requires.

Unanswered inherrit from IList<T> and IList complains cannot implement/override two methods 'System.Collections.Generic.IList`1<type parameter.T>.RemoveAt(System.Int32)' and 'System.Collections.IList.RemoveAt(System.Int32)', where one has Requires.

  • 4. dubna 2012 18:52
     
     

    I get this warning on a method implementation of RemoveAt() that exists in two interfaces i inherit from. Im not sure what to do with this or how to fix it?

    NotifyCollectionChangedWrapper`1.RemoveAt(System.Int32)' cannot implement/override two methods 'System.Collections.Generic.IList`1<type parameter.T>.RemoveAt(System.Int32)' and 'System.Collections.IList.RemoveAt(System.Int32)', where one has Requires.

Všechny reakce