18 references to Extensions
Microsoft.AspNetCore.CookiePolicy.Test (5)
CookieConsentTests.cs (1)
274Assert.Contains("extension", consentCookie.Extensions);
CookiePolicyTests.cs (4)
405Assert.Contains("extension", cookie.Extensions); 458Assert.Contains("ext", cookie.Extensions); 465Assert.Contains("ext", cookie.Extensions); 472Assert.Contains("ext", cookie.Extensions);
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
CookieBuilderTests.cs (3)
69Assert.Equal(2, cookie.Extensions.Count); 70Assert.Contains("simple", cookie.Extensions); 71Assert.Contains("key=value", cookie.Extensions);
Microsoft.AspNetCore.Http.Features (1)
CookieOptions.cs (1)
128cookie.Extensions.Add(extension);
Microsoft.Net.Http.Headers (1)
SetCookieHeaderValue.cs (1)
662result.Extensions.Add(input.Subsegment(tokenStart, offset - tokenStart));
Microsoft.Net.Http.Headers.Tests (8)
SetCookieHeaderValueTest.cs (8)
25header1.Extensions.Add("extension1"); 26header1.Extensions.Add("extension2=value"); 61header8.Extensions.Add("extension1"); 62header8.Extensions.Add("extension2=value"); 142header1.Extensions.Add("extension1"); 143header1.Extensions.Add("extension2=value"); 190header9.Extensions.Add("extension1"); 191header9.Extensions.Add("extension2=value");