12 references to IndexOfAnyInRange
Aspire.Dashboard (1)
ConsoleLogs\AnsiParser.cs (1)
281
var paramsEndPosition = span.Slice(2).
IndexOfAnyInRange
('@', '~');
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Environment.OSVersion.Unix.cs (1)
33
int numberPos = text.AsSpan(pos).
IndexOfAnyInRange
('0', '9');
src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Icu.cs (1)
225
int i = s.
IndexOfAnyInRange
(CharUnicodeInfo.HIGH_SURROGATE_START, Noncharacter);
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
370
int i = s.AsSpan().
IndexOfAnyInRange
('A', 'Z');
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (3)
677
IndexOfAnyInRange
(span, lowInclusive, highInclusive) >= 0;
1891
/// <inheritdoc cref="
IndexOfAnyInRange
{T}(ReadOnlySpan{T}, T, T)"/>
1895
IndexOfAnyInRange
((ReadOnlySpan<T>)span, lowInclusive, highInclusive);
src\libraries\System.Private.CoreLib\src\System\SearchValues\RangeByteSearchValues.cs (1)
39
span.
IndexOfAnyInRange
(_lowInclusive, _highInclusive);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (1)
487
int i = value.AsSpan().
IndexOfAnyInRange
(CharUnicodeInfo.HIGH_SURROGATE_START, CharUnicodeInfo.LOW_SURROGATE_END);
System.Private.Uri (2)
System\DomainNameHelper.cs (1)
71
index = str.AsSpan(start, index).
IndexOfAnyInRange
('A', 'Z');
System\UriHelper.cs (1)
600
int indexOfPossibleCharToRemove = strToClean.
IndexOfAnyInRange
('\u200E', '\u202E');
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
665
int i = primarySet.Negated ? span.IndexOfAnyExceptInRange(low, high) : span.
IndexOfAnyInRange
(low, high);