We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bffc3d7 commit 76f339fCopy full SHA for 76f339f
CommunityToolkit.HighPerformance/Extensions/ReadOnlySpanExtensions.cs
@@ -209,7 +209,6 @@ public static ReadOnlySpan2D<T> AsSpan2D<T>(this ReadOnlySpan<T> span, int offse
209
/// <param name="span">The input <see cref="ReadOnlySpan{T}"/> to calculate the index for.</param>
210
/// <param name="value">The reference to the target item to get the index for.</param>
211
/// <returns>The index of <paramref name="value"/> within <paramref name="span"/>, or <c>-1</c>.</returns>
212
- /// <exception cref="ArgumentOutOfRangeException">Thrown if <paramref name="value"/> does not belong to <paramref name="span"/>.</exception>
213
[MethodImpl(MethodImplOptions.AggressiveInlining)]
214
public static int IndexOf<T>(this ReadOnlySpan<T> span, in T value)
215
{
0 commit comments