12 references to Parse
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookiePolicyTests.cs (4)
400
var cookie = SetCookieHeaderValue.
Parse
(transaction.SetCookie[0]);
452
var cookie = SetCookieHeaderValue.
Parse
(transaction.SetCookie[0]);
460
cookie = SetCookieHeaderValue.
Parse
(transaction.SetCookie[1]);
467
cookie = SetCookieHeaderValue.
Parse
(transaction.SetCookie[2]);
Microsoft.AspNetCore.Mvc.FunctionalTests (5)
TempDataInCookiesTest.cs (5)
79
.Select(setCookieValue => SetCookieHeaderValue.
Parse
(setCookieValue));
97
.Select(setCookieValue => SetCookieHeaderValue.
Parse
(setCookieValue))
130
.Select(setCookieValue => SetCookieHeaderValue.
Parse
(setCookieValue))
153
.Select(setCookieValue => SetCookieHeaderValue.
Parse
(setCookieValue))
183
.Select(setCookieValue => SetCookieHeaderValue.
Parse
(setCookieValue))
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
90
var setCookieHeader = SetCookieHeaderValue.
Parse
(context.Response.Headers["Set-Cookie"].ToString());
Microsoft.Net.Http.Headers.Tests (2)
SetCookieHeaderValueTest.cs (2)
368
var header = SetCookieHeaderValue.
Parse
(expectedValue);
388
Assert.Throws<FormatException>(() => SetCookieHeaderValue.
Parse
(value));