File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -381,9 +381,9 @@ public readonly ref readonly T Current
381381 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
382382 internal Enumerator ( ArrayView < T > view )
383383 {
384- _array = view . _array ;
385384 _index = view . _index - 1 ;
386385 _final = view . _index + view . _count ;
386+ _array = view . _array ;
387387 }
388388
389389 /// <inheritdoc cref="IEnumerator.MoveNext" />
@@ -426,9 +426,9 @@ public T Current
426426 /// <param name="view">The <see cref="ArrayView{T}"/> to iterate through its elements.</param>
427427 public ArrayViewEnumerator ( ArrayView < T > view )
428428 {
429- _array = view . _array ;
430429 _index = view . _index - 1 ;
431430 _final = view . _index + view . _count ;
431+ _array = view . _array ;
432432 }
433433
434434 /// <inheritdoc />
Original file line number Diff line number Diff line change @@ -497,8 +497,8 @@ public readonly ref readonly T Current
497497 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
498498 internal Enumerator ( T [ ] array )
499499 {
500- _array = array ;
501500 _index = - 1 ;
501+ _array = array ;
502502 }
503503
504504 /// <summary>
Original file line number Diff line number Diff line change @@ -1121,9 +1121,9 @@ public readonly char Current
11211121 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
11221122 internal Enumerator ( StringView view )
11231123 {
1124- _value = view . _value ;
11251124 _index = view . _index - 1 ;
11261125 _final = view . _index + view . _length ;
1126+ _value = view . _value ;
11271127 }
11281128
11291129 /// <inheritdoc cref="IEnumerator.MoveNext" />
@@ -1166,9 +1166,9 @@ public char Current
11661166 /// <param name="view">The <see cref="StringView"/> to iterate through its characters.</param>
11671167 public StringViewEnumerator ( StringView view )
11681168 {
1169- _value = view . _value ;
11701169 _index = view . _index - 1 ;
11711170 _final = view . _index + view . _length ;
1171+ _value = view . _value ;
11721172 }
11731173
11741174 /// <inheritdoc />
You can’t perform that action at this time.
0 commit comments