4 instantiations of SpanSplitEnumerator
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
4978new SpanSplitEnumerator<T>(source, separator); 4989new SpanSplitEnumerator<T>(source, separator, treatAsSingleSeparator: true); 5007new SpanSplitEnumerator<T>(source, separators); 5024new SpanSplitEnumerator<T>(source, separators);
15 references to SpanSplitEnumerator
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (15)
4976/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 4977public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, T separator) where T : IEquatable<T> => 4987/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 4988public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, ReadOnlySpan<T> separator) where T : IEquatable<T> => 4998/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5006public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, [UnscopedRef] params ReadOnlySpan<T> separators) where T : IEquatable<T> => 5011/// using the provided <see cref="SpanSplitEnumerator{T}"/>. 5015/// <param name="separators">The <see cref="SpanSplitEnumerator{T}"/> to be used to split the provided span.</param> 5016/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5023public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, SearchValues<T> separators) where T : IEquatable<T> => 5821/// <typeparam name="T">The type of items in the <see cref="SpanSplitEnumerator{T}"/>.</typeparam> 5847/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/> that can be used to iterate over the split span.</returns> 5848public SpanSplitEnumerator<T> GetEnumerator() => this; 5966/// <summary>Indicates in which mode <see cref="SpanSplitEnumerator{T}"/> is operating, with regards to how it should interpret its state.</summary> 5969/// <summary>Either a default <see cref="SpanSplitEnumerator{T}"/> was used, or the enumerator has finished enumerating and there's no more work to do.</summary>