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