Base:
20 references to ToString
Microsoft.AspNetCore.Authentication (1)
JsonDocumentAuthExtensions.cs (1)
23return property.ToString();
Microsoft.AspNetCore.Authentication.OAuth (7)
JsonKeyClaimAction.cs (2)
43AddClaim(v.ToString()!, identity, issuer); 52AddClaim(value.ToString()!, identity, issuer);
JsonSubKeyClaimAction.cs (2)
45AddClaim(v.ToString()!, identity, issuer); 50AddClaim(value.ToString()!, identity, issuer);
MapAllClaimsAction.cs (1)
27var claimValue = pair.Value.ToString()!;
OAuthTokenResponse.cs (2)
120exception.Data["error_description"] = errorDescription.ToString(); 121exception.Data["error_uri"] = errorUri.ToString();
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
HttpsTests.cs (1)
194var hostName = result.GetProperty("hostName").ToString();
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatResponseFormatJson.cs (1)
46private string DebuggerDisplay => Schema?.ToString() ?? "JSON";
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
146_ => jsonElement.ToString()
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
105_data[key] = value.ToString();
OpenIdConnectSample (1)
Startup.cs (1)
286await res.WriteAsync(HtmlEncoder.Default.Encode(payload.RootElement.ToString()).Replace(",", ",<br>") + "<br>");
SocialSample (1)
Startup.cs (1)
495await response.WriteAsync(HtmlEncoder.Default.Encode(payload.RootElement.ToString()).Replace(",", ",<br>") + "<br>");
System.Text.Json (6)
System\Text\Json\Document\JsonElement.cs (6)
381/// <seealso cref="ToString"/> 429/// <seealso cref="ToString"/> 1065/// <seealso cref="ToString"/> 1116/// <seealso cref="ToString"/> 1167/// <seealso cref="ToString"/> 1718private string DebuggerDisplay => $"ValueKind = {ValueKind} : \"{ToString()}\"";