20 types derived from SearchValues
System.Private.CoreLib (20)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any1CharPackedIgnoreCaseSearchValues.cs (1)
11internal sealed class Any1CharPackedIgnoreCaseSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any1CharPackedSearchValues.cs (1)
10internal sealed class Any1CharPackedSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any1SearchValues.cs (1)
11internal sealed class Any1SearchValues<T, TImpl> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2CharPackedIgnoreCaseSearchValues.cs (1)
13internal sealed class Any2CharPackedIgnoreCaseSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2CharPackedSearchValues.cs (1)
10internal sealed class Any2CharPackedSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2SearchValues.cs (1)
11internal sealed class Any2SearchValues<T, TImpl> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any3CharPackedSearchValues.cs (1)
10internal sealed class Any3CharPackedSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any3SearchValues.cs (1)
11internal sealed class Any3SearchValues<T, TImpl> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any4SearchValues.cs (1)
11internal sealed class Any4SearchValues<T, TImpl> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any5SearchValues.cs (1)
11internal sealed class Any5SearchValues<T, TImpl> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\AnyByteSearchValues.cs (1)
12internal sealed class AnyByteSearchValues : SearchValues<byte>
src\libraries\System.Private.CoreLib\src\System\SearchValues\AsciiByteSearchValues.cs (1)
14internal sealed class AsciiByteSearchValues<TUniqueLowNibble> : SearchValues<byte>
src\libraries\System.Private.CoreLib\src\System\SearchValues\AsciiCharSearchValues.cs (1)
14internal sealed class AsciiCharSearchValues<TOptimizations, TUniqueLowNibble> : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\BitmapCharSearchValues.cs (1)
11internal sealed class BitmapCharSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\EmptySearchValues.cs (1)
6internal sealed class EmptySearchValues<T> : SearchValues<T>
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticCharSearchValues.cs (1)
9internal sealed class ProbabilisticCharSearchValues : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticWithAsciiCharSearchValues.cs (1)
13internal sealed class ProbabilisticWithAsciiCharSearchValues<TOptimizations> : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\RangeByteSearchValues.cs (1)
8internal sealed class RangeByteSearchValues : SearchValues<byte>
src\libraries\System.Private.CoreLib\src\System\SearchValues\RangeCharSearchValues.cs (1)
9internal sealed class RangeCharSearchValues<TShouldUsePacked> : SearchValues<char>
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValuesBase.cs (1)
16internal abstract class StringSearchValuesBase : SearchValues<string>
228 references to SearchValues
http2cat (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IIS.FunctionalTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IIS.LongTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IIS.NewHandler.FunctionalTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IIS.NewShim.FunctionalTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IIS.ShadowCopy.Tests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
IISExpress.FunctionalTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
Microsoft.AspNetCore.Components (1)
src\Http\Routing\src\Patterns\RoutePatternParser.cs (1)
23internal static readonly SearchValues<char> InvalidParameterNameChars = SearchValues.Create("/{}?*");
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\Shared\WebEncoders\WebEncoders.cs (1)
33private static readonly SearchValues<char> s_base64vsBase64UrlDifferentiators = SearchValues.Create("+/-_");
Microsoft.AspNetCore.Http (2)
src\Http\Shared\CookieHeaderParserShared.cs (1)
15private static readonly SearchValues<char> CookieValueChar =
src\Shared\HttpRuleParser.cs (1)
16private static readonly SearchValues<char> TokenChars =
Microsoft.AspNetCore.Http.Abstractions (2)
HostString.cs (1)
24private static readonly SearchValues<char> s_safeHostStringChars =
PathString.cs (1)
22private static readonly SearchValues<char> s_validPathChars =
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\WebEncoders\WebEncoders.cs (1)
33private static readonly SearchValues<char> s_base64vsBase64UrlDifferentiators = SearchValues.Create("+/-_");
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
28private static readonly SearchValues<char> SchemeChars = 33private static readonly SearchValues<char> HostChars = 37private static readonly SearchValues<char> Ipv6HostChars =
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\HttpRuleParser.cs (1)
16private static readonly SearchValues<char> TokenChars =
Microsoft.AspNetCore.Mvc.Razor (1)
TagHelpers\UrlResolutionTagHelper.cs (1)
55private static readonly SearchValues<char> ValidAttributeWhitespaceChars = SearchValues.Create("\t\n\u000C\r ");
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Rendering\TagBuilder.cs (1)
25private static readonly SearchValues<char> _html401IdChars =
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternParser.cs (1)
23internal static readonly SearchValues<char> InvalidParameterNameChars = SearchValues.Create("/{}?*");
src\Shared\HttpRuleParser.cs (1)
16private static readonly SearchValues<char> TokenChars =
Microsoft.AspNetCore.Server.HttpSys (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
Microsoft.AspNetCore.Server.IIS (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
Microsoft.AspNetCore.Shared.Tests (7)
src\Shared\ServerInfrastructure\HttpCharacters.cs (6)
22private static readonly SearchValues<byte> _allowedAuthorityBytes = SearchValues.Create(":.-[]@0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 26private static readonly SearchValues<char> _allowedHostChars = SearchValues.Create("!$&'()-._~" + AlphaNumeric); 29private static readonly SearchValues<char> _allowedTokenChars = SearchValues.Create("!#$%&'*+-.^_`|~" + AlphaNumeric); 30private static readonly SearchValues<byte> _allowedTokenBytes = SearchValues.Create("!#$%&'*+-.^_`|~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"u8); 34private static readonly SearchValues<char> _allowedFieldChars = SearchValues.Create("\t !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~" + AlphaNumeric); 37private static readonly SearchValues<char> _invalidFieldChars = SearchValues.Create(
src\Shared\WebEncoders\WebEncoders.cs (1)
33private static readonly SearchValues<char> s_base64vsBase64UrlDifferentiators = SearchValues.Create("+/-_");
Microsoft.AspNetCore.WebUtilities (1)
src\Shared\WebEncoders\WebEncoders.cs (1)
33private static readonly SearchValues<char> s_base64vsBase64UrlDifferentiators = SearchValues.Create("+/-_");
Microsoft.Extensions.FileProviders.Physical (2)
Internal\PathUtils.cs (2)
21private static readonly SearchValues<char> _invalidFileNameChars = SearchValues.Create(GetInvalidFileNameChars()); 22private static readonly SearchValues<char> _invalidFilterChars = SearchValues.Create(GetInvalidFilterChars());
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Resolver\DnsPrimitives.cs (1)
64private static readonly SearchValues<char> s_domainNameValidChars = SearchValues.Create("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.");
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Resolver\LoopbackDnsServer.cs (1)
121private static readonly SearchValues<char> s_domainNameValidChars = SearchValues.Create("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.");
Microsoft.Net.Http.Headers (3)
ContentDispositionHeaderValue.cs (1)
40private static readonly SearchValues<char> Rfc5987AttrChar =
src\Http\Shared\CookieHeaderParserShared.cs (1)
15private static readonly SearchValues<char> CookieValueChar =
src\Shared\HttpRuleParser.cs (1)
16private static readonly SearchValues<char> TokenChars =
PresentationFramework (1)
MS\Internal\Globalization\BamlResourceContent.cs (1)
80private static readonly SearchValues<string> s_escapeTokens = SearchValues.Create(["\\", "&quot;", "&apos;", "&amp;", "&lt;", "&gt;"], StringComparison.Ordinal);
System.Collections.Immutable (1)
System\Collections\Frozen\String\KeyAnalyzer.cs (1)
242private static readonly SearchValues<char> s_asciiLetters = SearchValues.Create("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz");
System.Configuration.ConfigurationManager (1)
System\Configuration\BaseConfigurationRecord.cs (1)
23private static readonly SearchValues<char> s_invalidSubPathChars = SearchValues.Create(InvalidSubPathCharactersString);
System.Diagnostics.DiagnosticSource (3)
System\Diagnostics\W3CPropagator.cs (3)
403private static readonly SearchValues<char> s_validBaggageKeyChars = SearchValues.Create(BaggageKeyValidCharacters); 430private static readonly SearchValues<char> s_validTraceStateChars = SearchValues.Create(TraceStateKeyValidChars); 435private static readonly SearchValues<char> s_validTraceStateValueChars = SearchValues.Create(TraceStateValueValidChars);
System.Net.Http (7)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
18private static readonly SearchValues<byte> s_dangerousCharacterBytes = SearchValues.Create((byte)'\0', (byte)'\r', (byte)'\n');
System\Net\Http\Headers\HeaderUtilities.cs (1)
27private static readonly SearchValues<byte> s_rfc5987AttrBytes =
System\Net\Http\HttpRuleParser.cs (4)
14private static readonly SearchValues<char> s_tokenChars = 17private static readonly SearchValues<byte> s_tokenBytes = 20private static readonly SearchValues<char> s_hostDelimiterChars = 24private static readonly SearchValues<char> s_disallowedHostChars =
System\Net\Http\MultipartContent.cs (1)
26private static readonly SearchValues<char> s_allowedBoundaryChars =
System.Net.HttpListener (2)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
37private static readonly SearchValues<char> s_validSubprotocolChars =
System\Net\Managed\HttpListenerRequest.Managed.cs (1)
67private static readonly SearchValues<char> s_validMethodChars = SearchValues.Create("!#$%&'*+-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz|~");
System.Net.Mail (2)
System\Net\Mail\MailBnfHelper.cs (2)
24private static readonly SearchValues<char> s_charactersAllowedInHeaderNames = 28private static readonly SearchValues<char> s_charactersAllowedInTokens =
System.Net.Primitives (2)
System\Net\Cookie.cs (2)
45private static readonly SearchValues<char> s_reservedToNameChars = SearchValues.Create("\t\0\r\n=;,"); 47private static readonly SearchValues<char> s_domainChars =
System.Net.Quic (1)
src\libraries\Common\src\System\Net\Security\TargetHostNameHelper.cs (1)
12private static readonly SearchValues<char> s_safeDnsChars =
System.Net.Security (1)
src\libraries\Common\src\System\Net\Security\TargetHostNameHelper.cs (1)
12private static readonly SearchValues<char> s_safeDnsChars =
System.Net.WebSockets (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
37private static readonly SearchValues<char> s_validSubprotocolChars =
System.Net.WebSockets.Client (1)
src\libraries\Common\src\System\Net\WebSockets\WebSocketValidate.cs (1)
37private static readonly SearchValues<char> s_validSubprotocolChars =
System.Private.CoreLib (67)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64ValidatorHelper.cs (2)
146private static readonly SearchValues<char> s_validBase64Chars = SearchValues.Create("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); 171private static readonly SearchValues<byte> s_validBase64Chars = SearchValues.Create(default(Base64EncoderByte).EncodingMap);
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Url\Base64UrlValidator.cs (2)
60private static readonly SearchValues<char> s_validBase64UrlChars = SearchValues.Create("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"); 86private static readonly SearchValues<byte> s_validBase64UrlChars = SearchValues.Create(default(Base64UrlEncoderByte).EncodingMap);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
16private static readonly SearchValues<char> s_nonSpecialAsciiChars =
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (30)
394/// <inheritdoc cref="ContainsAny{T}(ReadOnlySpan{T}, SearchValues{T})"/> 397public static bool ContainsAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 400/// <inheritdoc cref="ContainsAny(ReadOnlySpan{char}, SearchValues{string})"/> 403public static bool ContainsAny(this Span<char> span, SearchValues<string> values) => 430/// <inheritdoc cref="ContainsAnyExcept{T}(ReadOnlySpan{T}, SearchValues{T})"/> 433public static bool ContainsAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 517public static bool ContainsAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 533public static bool ContainsAny(this ReadOnlySpan<char> span, SearchValues<string> values) => 660public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 795public static int IndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 1302public static int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 1373public static int LastIndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 1882public static int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 2620public static int IndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 2630public static int IndexOfAny(this Span<char> span, SearchValues<string> values) => 2983public static int IndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 3000public static int IndexOfAny(this ReadOnlySpan<char> span, SearchValues<string> values) 3050public static int LastIndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? => 3404public static int LastIndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 4772public static void ReplaceAny<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>? 4798public static void ReplaceAny<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>? 4822public static void ReplaceAnyExcept<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>? 4847public static void ReplaceAnyExcept<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>? 5024public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, SearchValues<T> separators) where T : IEquatable<T> => 5569public static int CountAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>? 5836private readonly SearchValues<T> _searchValues = default!; 5860internal SpanSplitEnumerator(ReadOnlySpan<T> source, SearchValues<T> searchValues) 5870/// it will instead use <see cref="SpanSplitEnumeratorMode.SearchValues"/> with a cached <see cref="SearchValues{Char}"/> 5878_searchValues = Unsafe.As<SearchValues<T>>(string.SearchValuesStorage.WhiteSpaceChars); 5995/// A <see cref="SearchValues{Char}"/> was provided and should behave the same as with <see cref="Any"/> but with the separators in the <see cref="SearchValues"/>
src\libraries\System.Private.CoreLib\src\System\Net\WebUtility.cs (3)
275private static readonly SearchValues<char> s_htmlAsciiNonEncodingChars = 573private static readonly SearchValues<char> s_safeUrlChars = SearchValues.Create( 577private static readonly SearchValues<byte> s_safeUrlBytes = SearchValues.Create(
src\libraries\System.Private.CoreLib\src\System\Reflection\AssemblyName.cs (1)
379private static SearchValues<char> UnreservedReserved => field ??= SearchValues.Create("!#$&'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]_abcdefghijklmnopqrstuvwxyz~");
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.cs (4)
16/// Provides a set of initialization methods for instances of the <see cref="SearchValues{T}"/> class. 28public static SearchValues<byte> Create(params ReadOnlySpan<byte> values) 78public static SearchValues<char> Create(params ReadOnlySpan<char> values) 234public static SearchValues<string> Create(ReadOnlySpan<string> values, StringComparison comparisonType)
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValues.T.cs (2)
16/// <see cref="SearchValues{T}"/> are optimized for situations where the same set of values is frequently used for searching at runtime. 25/// <summary>Used by <see cref="DebuggerDisplay"/>s and <see cref="DebuggerTypeProxyAttribute"/>s for <see cref="SearchValues{T}"/>.</summary>
src\libraries\System.Private.CoreLib\src\System\SearchValues\SearchValuesDebugView.cs (2)
10private readonly SearchValues<T> _values; 12public SearchValuesDebugView(SearchValues<T> values)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValues.cs (12)
20private static readonly SearchValues<char> s_asciiLetters = 23private static readonly SearchValues<char> s_allAsciiExceptLowercase = 26public static SearchValues<string> Create(ReadOnlySpan<string> values, bool ignoreCase) 81SearchValues<string> searchValues = CreateFromNormalizedValues(normalizedValues, uniqueValues, ignoreCase, ref ahoCorasickBuilder); 116private static SearchValues<string> CreateFromNormalizedValues( 163static SearchValues<string> PickAhoCorasickImplementation<TCaseSensitivity>(AhoCorasick ahoCorasick, HashSet<string> uniqueValues) 172private static SearchValues<string>? TryGetTeddyAcceleratedValues( 285private static SearchValues<string> PickTeddyImplementation<TStartCaseSensitivity, TCaseSensitivity>( 377private static SearchValues<string> CreateForSingleValue( 389SearchValues<string>? searchValues = value.Length switch 410private static SearchValues<string>? TryCreateSingleValuesThreeChars<TValueLength>( 443private static SearchValues<string> CreateSingleValuesThreeChars<TValueLength, TCaseSensitivity>(
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\StringSearchValuesBase.cs (3)
10/// Implements the base <see cref="SearchValues{T}"/> {Last}IndexOfAny{Except} operations. 13/// <see cref="MemoryExtensions.IndexOfAny(ReadOnlySpan{char}, SearchValues{string})"/> is the main 14/// reason why someone would create an instance of <see cref="string"/> <see cref="SearchValues{T}"/>.
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (4)
34public static readonly SearchValues<char> NewLineChars = 37/// <summary>A <see cref="SearchValues{Char}"/> for all of the Unicode whitespace characters</summary> 38public static readonly SearchValues<char> WhiteSpaceChars = 44SearchValues<char> sv = WhiteSpaceChars;
src\libraries\System.Reflection.Metadata\src\System\Reflection\Metadata\TypeNameParserHelpers.cs (1)
20private static readonly SearchValues<char> s_endOfFullTypeNameDelimitersSearchValues = SearchValues.Create("[]&*,+\\");
System.Private.DataContractSerialization (2)
System\Xml\XmlConverter.cs (2)
34private static readonly SearchValues<char> s_whitespaceChars = SearchValues.Create(" \t\r\n"); 35private static readonly SearchValues<byte> s_whitespaceBytes = SearchValues.Create(" \t\r\n"u8);
System.Private.Uri (16)
System\DomainNameHelper.cs (4)
31private static readonly SearchValues<char> s_unsafeForNormalizedHostChars = 36private static readonly SearchValues<char> s_validChars = 40private static readonly SearchValues<char> s_iriInvalidChars = SearchValues.Create( 47private static readonly SearchValues<char> s_asciiLetterUpperOrColonChars =
System\Uri.cs (2)
1516private static readonly SearchValues<char> s_schemeChars = 1937private static readonly SearchValues<char> s_segmentSeparatorChars =
System\UriBuilder.cs (1)
260private static readonly SearchValues<char> s_userInfoReservedChars =
System\UriExt.cs (1)
217private static readonly SearchValues<char> s_asciiOtherThanPercent = SearchValues.Create(
System\UriHelper.cs (8)
199public static string EscapeString(string stringToEscape, bool checkExistingEscaped, SearchValues<char> noEscape) 206public static string EscapeString(ReadOnlySpan<char> charsToEscape, bool checkExistingEscaped, SearchValues<char> noEscape, string? backingString) 233bool checkExistingEscaped, SearchValues<char> noEscape) 253SearchValues<char> noEscape, bool checkExistingEscaped) 578public static readonly SearchValues<char> Unreserved = 582public static readonly SearchValues<char> UnreservedReserved = 585public static readonly SearchValues<char> UnreservedReservedExceptHash = 588public static readonly SearchValues<char> UnreservedReservedExceptQuestionMarkHash =
System.Private.Xml (3)
System\Xml\XmlCharType.cs (3)
60private static readonly SearchValues<char> s_publicIdChars = SearchValues.Create(PublicIdChars); 61private static readonly SearchValues<char> s_asciiCharDataChars = SearchValues.Create(AsciiCharDataChars); 62private static readonly SearchValues<char> s_whitespaceChars = SearchValues.Create(WhiteSpaceChars);
System.Reflection.Metadata (1)
System\Reflection\Metadata\TypeNameParserHelpers.cs (1)
20private static readonly SearchValues<char> s_endOfFullTypeNameDelimitersSearchValues = SearchValues.Create("[]&*,+\\");
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Helpers.cs (1)
16private static readonly SearchValues<char> s_charsToEscape = SearchValues.Create("\\[]+*&,");
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
62[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Buffers.SearchValues<>))]
System.Security.Cryptography (2)
System\Security\Cryptography\Base64Transforms.cs (1)
122private static readonly SearchValues<byte> s_whiteSpace = SearchValues.Create(" \t\n\v\f\r"u8);
System\Security\Cryptography\X509Certificates\X500NameEncoder.cs (1)
30private static readonly SearchValues<char> s_needsQuotingChars =
System.Text.Encodings.Web (2)
System\Text\Encodings\Web\OptimizedInboxTextEncoder.cs (2)
26private readonly SearchValues<byte> _allowedAsciiBytes; 27private readonly SearchValues<char> _allowedAsciiChars;
System.Text.Json (2)
System\Text\Json\Reader\JsonReaderHelper.cs (1)
16private static readonly SearchValues<char> s_specialCharacters = SearchValues.Create(SpecialCharacters);
System\Text\Json\Reader\JsonReaderHelper.net8.cs (1)
13private static readonly SearchValues<byte> s_controlQuoteBackslash = SearchValues.Create(
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\RegexCompiler.cs (7)
75private static MethodInfo SpanIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char)); 76private static MethodInfo SpanIndexOfAnySearchValuesStringMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAny", [typeof(ReadOnlySpan<char>), typeof(SearchValues<string>)])!; 81private static MethodInfo SpanIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("IndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char)); 88private static MethodInfo SpanLastIndexOfAnySearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAny", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char)); 94private static MethodInfo SpanLastIndexOfAnyExceptSearchValuesMethod => field ??= typeof(MemoryExtensions).GetMethod("LastIndexOfAnyExcept", [typeof(ReadOnlySpan<>).MakeGenericType(Type.MakeGenericMethodParameter(0)), typeof(SearchValues<>).MakeGenericType(Type.MakeGenericMethodParameter(0))])!.MakeGenericMethod(typeof(char)); 105private static MethodInfo MemoryMarshalGetArrayDataReferenceSearchValuesMethod => field ??= typeof(MemoryMarshal).GetMethod("GetArrayDataReference", [Type.MakeGenericMethodParameter(0).MakeArrayType()])!.MakeGenericMethod(typeof(SearchValues<char>))!; 121/// <summary><see cref="SearchValues{T}"/> instances used by the expression.</summary>
System\Text\RegularExpressions\RegexFindOptimizations.cs (1)
317public SearchValues<string>? LeadingStrings { get; }
System\Text\RegularExpressions\RegexParser.cs (1)
1942private static readonly SearchValues<char> s_metachars =
System.Web.HttpUtility (2)
System\Web\Util\HttpEncoder.cs (2)
20private static readonly SearchValues<byte> s_urlSafeBytes = SearchValues.Create( 23private static readonly SearchValues<char> s_invalidJavaScriptChars = SearchValues.Create(
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
119private static readonly SearchValues<char> s_whitespace = SearchValues.Create(" \r\n");