12 references to Parse
Microsoft.AspNetCore.CookiePolicy.Test (4)
CookiePolicyTests.cs (4)
400var cookie = SetCookieHeaderValue.Parse(transaction.SetCookie[0]); 452var cookie = SetCookieHeaderValue.Parse(transaction.SetCookie[0]); 460cookie = SetCookieHeaderValue.Parse(transaction.SetCookie[1]); 467cookie = 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)
90var setCookieHeader = SetCookieHeaderValue.Parse(context.Response.Headers["Set-Cookie"].ToString());
Microsoft.Net.Http.Headers.Tests (2)
SetCookieHeaderValueTest.cs (2)
368var header = SetCookieHeaderValue.Parse(expectedValue); 388Assert.Throws<FormatException>(() => SetCookieHeaderValue.Parse(value));