13 references to IndexOfAny
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http\HttpParser.cs (2)
118
var index = requestLine.Slice(offset).
IndexOfAny
(ByteSpace, ByteQuestionMark, BytePercentage);
466
var nameEnd = headerLine.
IndexOfAny
(ByteColon, ByteSpace, ByteTab);
Microsoft.Build (1)
Evaluation\Expander.cs (1)
451
return expression.AsSpan().
IndexOfAny
('$', '%', '@') >= 0;
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
775
return csvCell.AsSpan().
IndexOfAny
(separator, '\n', '\"') != -1;
System.Net.Security (1)
src\libraries\Common\src\System\Text\UrlBase64Encoding.cs (1)
38
int pos = source.
IndexOfAny
('+', '/', '=');
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
477
IndexOfAny
(span, value0, value1, value2) >= 0;
2600
IndexOfAny
((ReadOnlySpan<T>)span, value0, value1, value2);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (1)
588
int i = className.AsSpan(startIndex).
IndexOfAny
('[', '*', '&');
System.Security.Cryptography (1)
src\libraries\Common\src\System\Text\UrlBase64Encoding.cs (1)
38
int pos = source.
IndexOfAny
('+', '/', '=');
System.Text.Json (4)
System\Text\Json\JsonHelpers.cs (1)
443
int i = span.
IndexOfAny
((byte)'.', (byte)'e', (byte)'E');
System\Text\Json\Reader\Utf8JsonReader.cs (1)
2407
int idx = localBuffer.
IndexOfAny
(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (2)
2428
int idx = localBuffer.
IndexOfAny
(JsonConstants.LineFeed, JsonConstants.CarriageReturn, JsonConstants.StartingByteOfNonStandardSeparator);
2539
int idx = localBuffer.
IndexOfAny
(JsonConstants.Asterisk, JsonConstants.LineFeed, JsonConstants.CarriageReturn);