4 instantiations of SpanSplitEnumerator
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
5030new SpanSplitEnumerator<T>(source, separator); 5041new SpanSplitEnumerator<T>(source, separator, treatAsSingleSeparator: true); 5059new SpanSplitEnumerator<T>(source, separators); 5076new SpanSplitEnumerator<T>(source, separators);
18 references to SpanSplitEnumerator
System.Diagnostics.Process (1)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.TryParseMountInfoLine.cs (1)
28MemoryExtensions.SpanSplitEnumerator<char> fields = line.Split(' ');
System.IO.FileSystem.DriveInfo (1)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.TryParseMountInfoLine.cs (1)
28MemoryExtensions.SpanSplitEnumerator<char> fields = line.Split(' ');
System.Private.CoreLib (16)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcMountInfo.TryParseMountInfoLine.cs (1)
28MemoryExtensions.SpanSplitEnumerator<char> fields = line.Split(' ');
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (15)
5028/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5029public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, T separator) where T : IEquatable<T> => 5039/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5040public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, ReadOnlySpan<T> separator) where T : IEquatable<T> => 5050/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5058public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, [UnscopedRef] params ReadOnlySpan<T> separators) where T : IEquatable<T> => 5063/// using the provided <see cref="SpanSplitEnumerator{T}"/>. 5067/// <param name="separators">The <see cref="SpanSplitEnumerator{T}"/> to be used to split the provided span.</param> 5068/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/>.</returns> 5075public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, SearchValues<T> separators) where T : IEquatable<T> => 5873/// <typeparam name="T">The type of items in the <see cref="SpanSplitEnumerator{T}"/>.</typeparam> 5899/// <returns>Returns a <see cref="SpanSplitEnumerator{T}"/> that can be used to iterate over the split span.</returns> 5900public SpanSplitEnumerator<T> GetEnumerator() => this; 6027/// <summary>Indicates in which mode <see cref="SpanSplitEnumerator{T}"/> is operating, with regards to how it should interpret its state.</summary> 6030/// <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>