[Mono-list] ArrayList.GetEnumerator

Nick Drochak ndrochak@gol.com
Sat, 3 Nov 2001 17:09:51 +0900


Hi all,

I found that one of my ReadOnlyCollection tests is failing because we
haven't implemented ArrayList.GetEnumerator() yet.

I thought I'd just whip that one out real quick so my test would pass,
but low and behold I find out MS's ArrayList.GetEnumerator() returns an
object of type "ArrayListEnumeratorSimple."  I can't find a reference to
this class anywhere. 

Perhaps it's just an internal (embedded?) class in the MS ArrayList
class and any ol' class that implements IEnumerator will do?  Any ideas
or opinions on this one?  I hate it when my test fails.

Thanks,
Nick D.