10 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.Net.Http (1)
System\Net\Http\Headers\UriHeaderParser.cs (1)
65
int possibleUtf8Pos = input.AsSpan().
IndexOfAnyExceptInRange
((char)0, (char)127);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
1776
int firstNonAscii = span.Slice(i).
IndexOfAnyExceptInRange
((byte)0, (byte)127);
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (3)
691
IndexOfAnyExceptInRange
(span, lowInclusive, highInclusive) >= 0;
1956
/// <inheritdoc cref="
IndexOfAnyExceptInRange
{T}(ReadOnlySpan{T}, T, T)"/>
1960
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);