2 writes to Value
Microsoft.Net.Http.Headers (1)
Microsoft.Net.Http.Headers.Tests (1)
47 references to Value
Microsoft.AspNetCore.Authentication.Test (11)
Microsoft.AspNetCore.CookiePolicy.Test (17)
CookieConsentTests.cs (16)
221Assert.Equal("yes", consentCookie.Value.AsSpan());
228Assert.Equal("Value", testCookie.Value.AsSpan());
271Assert.Equal("yes1", consentCookie.Value.AsSpan());
402Assert.Equal("Value1", testCookie.Value.AsSpan());
407Assert.Equal("", consentCookie.Value.AsSpan());
449Assert.Equal("", consentCookie.Value.AsSpan());
514Assert.Equal("", testCookie.Value.AsSpan());
578Assert.Equal("yes", consentCookie.Value.AsSpan());
586Assert.Equal(consentCookie.Value, manualCookie.Value);
631Assert.Equal("yes1", consentCookie.Value.AsSpan());
639Assert.Equal(consentCookie.Value, manualCookie.Value);
676Assert.Equal("true", consentCookie.Value.AsSpan());
684Assert.Equal(consentCookie.Value, manualCookie.Value);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
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 (4)