Base:
226 references to ToString
Aspire.Dashboard (4)
Aspire.Dashboard.Tests (3)
InMemory.FunctionalTests (20)
ChunkedRequestTests.cs (15)
251Assert.Equal("X-Trailer-Header", request.GetDeclaredTrailers().ToString());
273Assert.Equal(string.Empty, request.GetDeclaredTrailers().ToString());
274Assert.Equal(string.Empty, request.GetTrailer("X-Trailer-Header").ToString());
281Assert.Equal("X-Trailer-Header", request.GetDeclaredTrailers().ToString());
282Assert.Equal(new string('a', requestsReceived), request.GetTrailer("X-Trailer-Header").ToString());
289Assert.Equal(string.Empty, request.GetDeclaredTrailers().ToString());
290Assert.Equal(string.Empty, request.GetTrailer("X-Trailer-Header").ToString());
377Assert.Equal("X-Trailer-Header", request.GetDeclaredTrailers().ToString());
404Assert.Equal(string.Empty, request.GetDeclaredTrailers().ToString());
405Assert.Equal(string.Empty, request.GetTrailer("X-Trailer-Header").ToString());
412Assert.Equal("X-Trailer-Header", request.GetDeclaredTrailers().ToString());
413Assert.Equal(new string('a', requestsReceived), request.GetTrailer("X-Trailer-Header").ToString());
420Assert.Equal(string.Empty, request.GetDeclaredTrailers().ToString());
421Assert.Equal(string.Empty, request.GetTrailer("X-Trailer-Header").ToString());
596Assert.Equal(new string('a', requestsReceived), request.GetTrailer("X-Trailer-Header").ToString());
InProcessWebSite (2)
LocalizationWebsite (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.Antiforgery.Test (1)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
Microsoft.AspNetCore.Authentication.Negotiate (1)
Microsoft.AspNetCore.Authentication.OAuth (9)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Test (6)
Microsoft.AspNetCore.Authentication.Twitter (7)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Cors (2)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (1)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.HeaderPropagation (1)
Microsoft.AspNetCore.HostFiltering (1)
Microsoft.AspNetCore.Http (4)
Microsoft.AspNetCore.Http.Connections (5)
Microsoft.AspNetCore.Http.Extensions (2)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Http.Results.Tests (3)
Microsoft.AspNetCore.HttpLogging (6)
W3CLoggingMiddleware.cs (5)
148shouldLog |= AddToList(elements, _hostIndex, host.ToString());
156shouldLog |= AddToList(elements, _refererIndex, referer.ToString());
164shouldLog |= AddToList(elements, _userAgentIndex, agent.ToString());
174shouldLog |= AddToList(elements, _cookieIndex, cookie.ToString());
186shouldLog |= AddToList(additionalHeaderElements, i, headerValue.ToString());
Microsoft.AspNetCore.HttpOverrides (3)
Microsoft.AspNetCore.HttpOverrides.Tests (4)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.Mvc.Core.Test (3)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Microsoft.AspNetCore.ResponseCaching (10)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Server.HttpSys (7)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (3)
Microsoft.AspNetCore.Server.IISIntegration (1)
Microsoft.AspNetCore.Server.Kestrel.Core (27)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (14)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Shared.Tests (2)
Microsoft.AspNetCore.WebSockets (4)
Microsoft.AspNetCore.WebSockets.Tests (5)
Microsoft.AspNetCore.WebUtilities.Tests (33)
FormPipeReaderTests.cs (18)
21Assert.Equal("bar", formCollection[""].ToString());
31Assert.Equal("bar", formCollection[""].ToString());
32Assert.Equal("2", formCollection["baz"].ToString());
42Assert.Equal("", formCollection["foo"].ToString());
52Assert.Equal("", formCollection["foo"].ToString());
62Assert.Equal("", formCollection["foo"].ToString());
63Assert.Equal("2", formCollection["baz"].ToString());
73Assert.Equal("", formCollection["foo"].ToString());
74Assert.Equal("2", formCollection["baz"].ToString());
96Assert.Equal("1", formCollection["foo"].ToString());
97Assert.Equal("2", formCollection["bar"].ToString());
98Assert.Equal("3", formCollection["baz"].ToString());
139Assert.Equal("1", formCollection["fooooooooo"].ToString());
140Assert.Equal("2", formCollection["bar"].ToString());
141Assert.Equal("3,4", formCollection["baz"].ToString());
167Assert.Equal("1", formCollection["foo"].ToString());
168Assert.Equal("1234567890", formCollection["bar"].ToString());
169Assert.Equal("3,4", formCollection["baz"].ToString());
FormReaderTests.cs (15)
20Assert.Equal("bar", formCollection[""].ToString());
32Assert.Equal("bar", formCollection[""].ToString());
33Assert.Equal("2", formCollection["baz"].ToString());
45Assert.Equal("", formCollection["foo"].ToString());
57Assert.Equal("", formCollection["foo"].ToString());
58Assert.Equal("2", formCollection["baz"].ToString());
70Assert.Equal("1", formCollection["foo"].ToString());
71Assert.Equal("2", formCollection["bar"].ToString());
72Assert.Equal("3", formCollection["baz"].ToString());
109Assert.Equal("1", formCollection["foo"].ToString());
110Assert.Equal("2", formCollection["bar"].ToString());
111Assert.Equal("3,4", formCollection["baz"].ToString());
136Assert.Equal("1", formCollection["foo"].ToString());
137Assert.Equal("1234567890", formCollection["bar"].ToString());
138Assert.Equal("3,4", formCollection["baz"].ToString());
MinimalFormSample (3)
Mvc.RoutingWebSite (2)
OpenIdConnectSample (1)
SocialWeather (1)