Base:
11 references to ToString
Microsoft.AspNetCore.Authentication.Cookies (1)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
159var templateLength = options.CreateCookieHeader(key, string.Empty).ToString().Length;
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
101return options.CreateCookieHeader(Uri.EscapeDataString(key), Uri.EscapeDataString(value)).ToString();
Microsoft.AspNetCore.CookiePolicy.Test (1)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
159var templateLength = options.CreateCookieHeader(key, string.Empty).ToString().Length;
Microsoft.AspNetCore.Http (3)
Internal\ResponseCookies.cs (3)
38var cookieValue = setCookieHeaderValue.ToString(); 63var cookie = options.CreateCookieHeader(key, Uri.EscapeDataString(value)).ToString(); 90var cookieSuffix = options.CreateCookieHeader(string.Empty, string.Empty).ToString().AsSpan(1);
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
CookieBuilderTests.cs (1)
73Assert.Equal("name=value; path=/; simple; key=value", cookie.ToString());
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
159var templateLength = options.CreateCookieHeader(key, string.Empty).ToString().Length;
Microsoft.Net.Http.Headers.Tests (3)
SetCookieHeaderValueTest.cs (3)
350Assert.Equal(expectedValue, input.ToString()); 371Assert.Equal(expectedValue, header.ToString()); 381Assert.Equal(expectedValue, header!.ToString());