7 references to StartsWith
Microsoft.AspNetCore.Authentication.Test (2)
OpenIdConnect\OpenIdConnectChallengeTests.cs (2)
440var nonceCookie = challengeCookies.Where(cookie => cookie.Name.StartsWith(OpenIdConnectDefaults.CookieNoncePrefix, StringComparison.Ordinal)).Single(); 448var correlationCookie = challengeCookies.Where(cookie => cookie.Name.StartsWith(".AspNetCore.Correlation.", StringComparison.Ordinal)).Single();
Microsoft.AspNetCore.Http.Abstractions (1)
HostString.cs (1)
260if (pattern.StartsWith("*.", StringComparison.Ordinal) && host.Length >= pattern.Length)
Microsoft.AspNetCore.Mvc.TagHelpers (3)
GlobbingUrlBuilder.cs (3)
291if (value.StartsWith("~/", StringComparison.Ordinal)) 295else if (value.StartsWith("/", StringComparison.Ordinal) || 296value.StartsWith("\\", StringComparison.Ordinal))
Microsoft.Net.Http.Headers (1)
ContentDispositionHeaderValue.cs (1)
529return value.Length > 1 && value.StartsWith("\"", StringComparison.Ordinal)