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