Skip to content

Commit 8453e23

Browse files
committed
reordered parameter comments
1 parent 30c8739 commit 8453e23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Enumerators/SplitSequence/SpanSplitSequenceStringSplitOptionsWithCountEnumerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public ref struct SpanSplitSequenceStringSplitOptionsWithCountEnumerator
2626
/// </summary>
2727
/// <param name="source">The <see cref="ReadOnlySpan{Char}"/> to be split.</param>
2828
/// <param name="delimiter">An instance of <see cref="ReadOnlySpan{Char}"/> that delimits the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
29-
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
3029
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
30+
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
3131
/// <param name="countExceedingBehaviour">The handling of the instances more than count.</param>
3232
public SpanSplitSequenceStringSplitOptionsWithCountEnumerator(ReadOnlySpan<char> source, ReadOnlySpan<char> delimiter, int count, StringSplitOptions options, CountExceedingBehaviour countExceedingBehaviour = CountExceedingBehaviour.IncludeRemainingElements)
3333
{

src/Extensions/Span/SpanExtensions.Split.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public static SpanSplitAnyEnumerator<T> SplitAny<T>(this Span<T> source, ReadOnl
7878
/// </summary>
7979
/// <typeparam name="T">The type of elements in the <see cref="ReadOnlySpan{T}"/>.</typeparam>
8080
/// <param name="source">The <see cref="Span{T}"/> to be split.</param>
81-
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
8281
/// <param name="delimiters">A <see cref="ReadOnlySpan{T}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
82+
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
8383
/// <param name="countExceedingBehaviour">The handling of the instances more than count.</param>
8484
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyWithCountEnumerator{T}"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
8585
public static SpanSplitAnyWithCountEnumerator<T> SplitAny<T>(this Span<T> source, ReadOnlySpan<T> delimiters, int count, CountExceedingBehaviour countExceedingBehaviour = CountExceedingBehaviour.IncludeRemainingElements) where T : IEquatable<T>
@@ -104,8 +104,8 @@ public static SpanSplitAnyStringSplitOptionsEnumerator SplitAny(this Span<char>
104104
/// </summary>
105105
/// <param name="source">The <see cref="Span{Char}"/> to be split.</param>
106106
/// <param name="delimiters">A <see cref="ReadOnlySpan{Char}"/>, that delimit the various sub-ReadOnlySpans in <paramref name="source"/>.</param>
107-
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
108107
/// <param name="count">The maximum number of sub-ReadOnlySpans to split into.</param>
108+
/// <param name="options">A bitwise combination of the enumeration values that specifies whether to trim results and include empty results.</param>
109109
/// <param name="countExceedingBehaviour">The handling of the instances more than count.</param>
110110
/// <returns>An instance of the ref struct <see cref="SpanSplitAnyStringSplitOptionsWithCountEnumerator"/>, which works the same way as every <see cref="IEnumerator"/> does and can be used in a foreach construct.</returns>
111111
public static SpanSplitAnyStringSplitOptionsWithCountEnumerator SplitAny(this Span<char> source, ReadOnlySpan<char> delimiters, StringSplitOptions options, int count, CountExceedingBehaviour countExceedingBehaviour = CountExceedingBehaviour.IncludeRemainingElements)

0 commit comments

Comments
 (0)