1 write to Name
Microsoft.Net.Http.Headers (1)
45 references to Name
Microsoft.AspNetCore.Authentication.Test (7)
Microsoft.AspNetCore.CookiePolicy.Test (20)
CookieConsentTests.cs (16)
220Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
227Assert.Equal("Test", testCookie.Name.AsSpan());
270Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
401Assert.Equal("Test", testCookie.Name.AsSpan());
406Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
448Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
513Assert.Equal("Test", testCookie.Name.AsSpan());
577Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
585Assert.Equal(consentCookie.Name, manualCookie.Name);
630Assert.Equal(".AspNet.Consent1", consentCookie.Name.AsSpan());
638Assert.Equal(consentCookie.Name, manualCookie.Name);
675Assert.Equal(".AspNet.Consent", consentCookie.Name.AsSpan());
683Assert.Equal(consentCookie.Name, manualCookie.Name);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (7)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
Microsoft.AspNetCore.Session.Tests (5)
SessionTests.cs (5)
204client.DefaultRequestHeaders.Add("Cookie", new CookieHeaderValue(cookie.Name, cookie.Value).ToString());
264client.DefaultRequestHeaders.Add("Cookie", new CookieHeaderValue(cookie.Name, cookie.Value).ToString());
322client.DefaultRequestHeaders.Add("Cookie", new CookieHeaderValue(cookie.Name, cookie.Value).ToString());
426client.DefaultRequestHeaders.Add("Cookie", new CookieHeaderValue(cookie.Name, cookie.Value).ToString());
496"Cookie", new CookieHeaderValue(cookie.Name, cookie.Value).ToString());
Microsoft.Net.Http.Headers.Tests (2)