E
Ed
Greetings!
I'm trying to implement own collection BaseCollection
(inherited from NameObjectCollectionBase class), but my
attempt to override NameObjectCollectionBase virtual method
public virtual new System.Collections.IEnumerator
GetEnumerator ( )
fails with compiller error:
"'bla.bla.bla.BaseCollection.GetEnumerator()' : cannot
override inherited
member 'System.Collections.Specialized.NameObjectCollection
Base.GetEnumerator()' because it is not marked virtual,
abstract, or override"
So the question is: why doesn't it marked as virtual if it
does??
Thanks!
I'm trying to implement own collection BaseCollection
(inherited from NameObjectCollectionBase class), but my
attempt to override NameObjectCollectionBase virtual method
public virtual new System.Collections.IEnumerator
GetEnumerator ( )
fails with compiller error:
"'bla.bla.bla.BaseCollection.GetEnumerator()' : cannot
override inherited
member 'System.Collections.Specialized.NameObjectCollection
Base.GetEnumerator()' because it is not marked virtual,
abstract, or override"
So the question is: why doesn't it marked as virtual if it
does??
Thanks!