9 references to IndexOfAnyExceptInRange
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
478
return hostText.AsSpan(offset + 1).
IndexOfAnyExceptInRange
('0', '9') < 0;
Microsoft.Net.Http.Headers (1)
ContentDispositionHeaderValue.cs (1)
538
return input.AsSpan().
IndexOfAnyExceptInRange
((char)0x20, (char)0x7e) >= 0;
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (1)
1492
int i = _str.Slice(_pos).
IndexOfAnyExceptInRange
('0', '9');
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (3)
692
IndexOfAnyExceptInRange
(span, lowInclusive, highInclusive) >= 0;
1957
/// <inheritdoc cref="
IndexOfAnyExceptInRange
{T}(ReadOnlySpan{T}, T, T)"/>
1961
IndexOfAnyExceptInRange
((ReadOnlySpan<T>)span, lowInclusive, highInclusive);
src\libraries\System.Private.CoreLib\src\System\SearchValues\RangeByteSearchValues.cs (1)
43
span.
IndexOfAnyExceptInRange
(_lowInclusive, _highInclusive);
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
665
int i = primarySet.Negated ? span.
IndexOfAnyExceptInRange
(low, high) : span.IndexOfAnyInRange(low, high);
System.Web.HttpUtility (1)
System\Web\Util\HttpEncoder.cs (1)
552
int i = value.AsSpan().
IndexOfAnyExceptInRange
((char)0x21, (char)0x7F);