35 references to TryGetTypeInfo
Microsoft.AspNetCore.Authentication.BearerToken (1)
BearerTokenJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Endpoints (4)
ImportMapSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
JsonTempDataSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
ResourceCollectionSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Server (2)
CircuitPersistenceManagerSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Web (1)
WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.WebAssembly (2)
PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.WebView (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Diagnostics (1)
ExtensionsExceptionJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Hosting (1)
SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Http.Extensions (1)
ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
SharedTestJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Http.Results.Tests (3)
ObjectJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
StringJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
TestJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Identity (2)
IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Mvc.Core.Test (1)
TestJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Mvc.Testing (1)
CustomJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.OpenApi (1)
OpenApiJsonSchemaContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.SignalR.Tests (1)
AppJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.Extensions.AI (4)
ChatCompletion\OpenTelemetryChatClient.cs (2)
467customContentSerializerOptions?.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? ctsi) is true ? ctsi : 468_defaultOptions.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? dtsi) ? dtsi :
TelemetryHelpers.cs (2)
21if (options?.TryGetTypeInfo(typeof(T), out var typeInfo) is true || 22AIJsonUtilities.DefaultOptions.TryGetTypeInfo(typeof(T), out typeInfo))
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionFactory.cs (1)
1113if (options == AIJsonUtilities.DefaultOptions && !options.TryGetTypeInfo(type, out _))
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
70Assert.Equal(JsonSerializer.IsReflectionEnabledByDefault, AIJsonUtilities.DefaultOptions.TryGetTypeInfo(anonType, out _));
Microsoft.ML.Tokenizers (1)
ModelSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
System.Text.Json (1)
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
119bool success = TryGetTypeInfo(typeof(T), out JsonTypeInfo? nonGeneric);
Wasm.Performance.TestApp (1)
PersonJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);