You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets the element in the collection at the current position of the enumerator.
@@ -26,8 +27,8 @@ public SpanSplitEnumerator(ReadOnlySpan<T> source, T delimiter)
26
27
{
27
28
Span=source;
28
29
Delimiter=delimiter;
30
+
EnumerationDone=false;
29
31
Current=default;
30
-
enumerationDone=false;
31
32
}
32
33
33
34
/// <summary>
@@ -44,22 +45,25 @@ public readonly SpanSplitEnumerator<T> GetEnumerator()
44
45
/// <returns><see langword="true"/> if the enumerator was successfully advanced to the next element; <see langword="false"/> if the enumerator has passed the end of the collection.</returns>
@@ -46,49 +51,44 @@ public readonly SpanSplitStringSplitOptionsEnumerator GetEnumerator()
46
51
/// <returns><see langword="true"/> if the enumerator was successfully advanced to the next element; <see langword="false"/> if the enumerator has passed the end of the collection.</returns>
0 commit comments