@@ -68,7 +68,6 @@ public static ReadOnlySpan<char> TrimEnd(this ReadOnlySpan<char> span)
68
68
/// </summary>
69
69
/// <param name="span">The source span from which the character is removed.</param>
70
70
/// <param name="trimChar">The specified character to look for and remove.</param>
71
- //[MethodImpl(MethodImplOptions.AggressiveInlining)]
72
71
public static ReadOnlySpan < char > Trim ( this ReadOnlySpan < char > span , char trimChar )
73
72
{
74
73
return span . TrimStart ( trimChar ) . TrimEnd ( trimChar ) ;
@@ -79,7 +78,6 @@ public static ReadOnlySpan<char> Trim(this ReadOnlySpan<char> span, char trimCha
79
78
/// </summary>
80
79
/// <param name="span">The source span from which the character is removed.</param>
81
80
/// <param name="trimChar">The specified character to look for and remove.</param>
82
- //[MethodImpl(MethodImplOptions.AggressiveInlining)]
83
81
public static ReadOnlySpan < char > TrimStart ( this ReadOnlySpan < char > span , char trimChar )
84
82
{
85
83
int start = 0 ;
@@ -1204,7 +1202,7 @@ ref MemoryMarshal.GetReference(span),
1204
1202
/// no larger element, the bitwise complement of <see cref="Span{T}.Length"/>.
1205
1203
/// </returns>
1206
1204
/// <exception cref="T:System.ArgumentNullException">
1207
- /// <paramref name = "comparable" /> is <see langword="null"/> .
1205
+ /// <paramref name = "comparable" /> is <see langword="null"/> .
1208
1206
/// </exception>
1209
1207
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1210
1208
public static int BinarySearch < T > (
@@ -1228,7 +1226,7 @@ public static int BinarySearch<T>(
1228
1226
/// no larger element, the bitwise complement of <see cref="Span{T}.Length"/>.
1229
1227
/// </returns>
1230
1228
/// <exception cref="T:System.ArgumentNullException">
1231
- /// <paramref name = "comparable" /> is <see langword="null"/> .
1229
+ /// <paramref name = "comparable" /> is <see langword="null"/> .
1232
1230
/// </exception>
1233
1231
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1234
1232
public static int BinarySearch < T , TComparable > (
@@ -1278,7 +1276,7 @@ public static int BinarySearch<T, TComparer>(
1278
1276
/// no larger element, the bitwise complement of <see cref="ReadOnlySpan{T}.Length"/>.
1279
1277
/// </returns>
1280
1278
/// <exception cref="T:System.ArgumentNullException">
1281
- /// <paramref name = "comparable" /> is <see langword="null"/> .
1279
+ /// <paramref name = "comparable" /> is <see langword="null"/> .
1282
1280
/// </exception>
1283
1281
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1284
1282
public static int BinarySearch < T > (
@@ -1302,7 +1300,7 @@ public static int BinarySearch<T>(
1302
1300
/// no larger element, the bitwise complement of <see cref="ReadOnlySpan{T}.Length"/>.
1303
1301
/// </returns>
1304
1302
/// <exception cref="T:System.ArgumentNullException">
1305
- /// <paramref name = "comparable" /> is <see langword="null"/> .
1303
+ /// <paramref name = "comparable" /> is <see langword="null"/> .
1306
1304
/// </exception>
1307
1305
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1308
1306
public static int BinarySearch < T , TComparable > (
0 commit comments