17 references to ContainsAny
Microsoft.Extensions.FileProviders.Physical (2)
Internal\PathUtils.cs (2)
25path.AsSpan().ContainsAny(_invalidFileNameChars); 28path.AsSpan().ContainsAny(_invalidFilterChars);
System.Collections.Immutable (1)
System\Collections\Frozen\String\KeyAnalyzer.cs (1)
249return s.ContainsAny(s_asciiLetters);
System.Net.Http (2)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
175if (headerValue.ContainsAny(s_dangerousCharacterBytes))
System\Net\Http\HttpRuleParser.cs (1)
312if (host.ContainsAny(s_disallowedHostChars))
System.Net.Primitives (2)
System\Net\Cookie.cs (2)
244|| value.AsSpan().ContainsAny(s_reservedToNameChars)) 381m_name.AsSpan().ContainsAny(s_reservedToNameChars))
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
394/// <inheritdoc cref="ContainsAny{T}(ReadOnlySpan{T}, SearchValues{T})"/> 398ContainsAny((ReadOnlySpan<T>)span, values);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (2)
249asciiStartUnaffectedByCaseConversion = asciiStartUnaffectedByCaseConversion && !slice.ContainsAny(s_asciiLetters); 496if (value.AsSpan().ContainsAny(s_asciiLetters))
System.Private.Uri (2)
System\DomainNameHelper.cs (1)
206if (asciiForm.AsSpan().ContainsAny(s_unsafeForNormalizedHostChars))
System\UriBuilder.cs (1)
265if (!input.AsSpan().ContainsAny(s_userInfoReservedChars))
System.Security.Cryptography (2)
System\Security\Cryptography\Base64Transforms.cs (1)
243if (inputBuffer.ContainsAny(s_whiteSpace))
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
140rdnValue.ContainsAny(s_needsQuotingChars);
System.Text.Json (1)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
19text.ContainsAny(s_specialCharacters);
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
519if (text.AsSpan().ContainsAny(s_whitespace))