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