X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem%2FArray.cs;h=d699446f2b5ce3aad52382b8900a6bde0a3161bd;hp=00e0430d3de27dc3b5019a4a2cb84604d1934cc4;hb=44e063161885fc7e5d288265e4241d163f98ad02;hpb=012f8610237dfe44034c9d8daea0b90fac75ca9f diff --git a/mcs/class/corlib/System/Array.cs b/mcs/class/corlib/System/Array.cs index 00e0430d3de..d699446f2b5 100644 --- a/mcs/class/corlib/System/Array.cs +++ b/mcs/class/corlib/System/Array.cs @@ -207,7 +207,7 @@ namespace System // we just decr the size, so, 0 - 1 == FINISHED const int FINISHED = -1; - Array array; + readonly Array array; int idx; internal InternalEnumerator (Array array) @@ -218,7 +218,6 @@ namespace System public void Dispose () { - idx = NOT_STARTED; } public bool MoveNext ()