13 references to IndexOfAny
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpParser.cs (2)
266var nameEnd = headerLine.IndexOfAny(ByteColon, ByteSpace, ByteTab); 466var index = requestLine.Slice(offset).IndexOfAny(ByteSpace, ByteQuestionMark, BytePercentage);
Microsoft.Build (1)
Evaluation\Expander.cs (1)
217return expression.AsSpan().IndexOfAny('$', '%', '@') >= 0;
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
775return csvCell.AsSpan().IndexOfAny(separator, '\n', '\"') != -1;
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs (1)
212int delimiterIndex = value.IndexOfAny('/', '?', '#');
System.Net.Security (1)
src\runtime\src\libraries\Common\src\System\Text\UrlBase64Encoding.cs (1)
38int pos = source.IndexOfAny('+', '/', '=');
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
480IndexOfAny(span, value0, value1, value2) >= 0; 2629IndexOfAny((ReadOnlySpan<T>)span, value0, value1, value2);
System.Private.Uri (1)
System\Uri.cs (1)
3917int basicHostEnd = str.Slice(i).IndexOfAny('/', '?', '#');
System.Text.Json (4)
System\Text\Json\JsonHelpers.cs (1)
433int i = span.IndexOfAny((byte)'.', (byte)'e', (byte)'E');
System\Text\Json\Reader\Utf8JsonReader.cs (1)
2441int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (2)
2435int idx = localBuffer.IndexOfAny(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator); 2546int idx = localBuffer.IndexOfAny(JsonConstants.Asterisk, JsonConstants.LineFeed, JsonConstants.CarriageReturn);