87 references to TryGetTypeInfo
dotnet-aot (12)
Generated\361d1da7f942c932\CliSchemaJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\InstallStateJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\LocalToolsCacheJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\NugetSearchApiJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\NugetServiceIndexJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\RunFileBuildCacheJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\SdkCheckJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\SdkVulnerabilityJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\SlnfJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\TelemetryDiskLoggerJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ToolListJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\WorkloadManifestUpdaterJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
dotnet-dev-certs (1)
Generated\361d1da7f942c932\DevCertsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
dotnet-user-jwts (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JwtSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
dotnet-user-secrets (1)
Generated\361d1da7f942c932\SecretManagerJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Authentication.BearerToken (1)
Generated\361d1da7f942c932\BearerTokenJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Authentication.Twitter (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TwitterJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components (1)
Generated\361d1da7f942c932\PersistentServicesRegistryJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Endpoints (5)
Generated\361d1da7f942c932\BrowserOptionsJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ImportMapSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ResourceCollectionSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ServerComponentJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Server (4)
Generated\361d1da7f942c932\CircuitPersistenceManagerSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\JavaScriptInitializersManifestJsonContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ServerComponentJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Server.AutoPause (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\AutoPauseJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Testing (1)
Generated\361d1da7f942c932\E2EManifestJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.Web (1)
Generated\361d1da7f942c932\WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.WebAssembly (2)
Generated\361d1da7f942c932\PrerenderComponentApplicationStoreSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\WebAssemblyJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
Generated\361d1da7f942c932\InteractiveRequestOptionsSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Components.WebView (1)
Generated\361d1da7f942c932\SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Diagnostics (1)
Generated\361d1da7f942c932\ExtensionsExceptionJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Hosting (1)
Generated\361d1da7f942c932\SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Http.Extensions (1)
Generated\361d1da7f942c932\ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Identity (2)
Generated\361d1da7f942c932\IdentityEndpointsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\IdentityJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.Mvc.Testing (1)
Generated\361d1da7f942c932\CustomJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.OpenApi (2)
Extensions\JsonNodeSchemaExtensions.cs (1)
484&& unionTypeInfo.Options.TryGetTypeInfo(underlyingType, out var underlyingTypeInfo))
Generated\361d1da7f942c932\OpenApiJsonSchemaContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.AspNetCore.StaticAssets (1)
Generated\361d1da7f942c932\StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.Build (1)
Generated\361d1da7f942c932\TasksDetailsJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.Cli.Definitions (1)
Generated\361d1da7f942c932\GlobalJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Generated\361d1da7f942c932\InternalMicrosoftDetectorJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.Cli.Telemetry (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TelemetryJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.HotReload.WebAssembly.Browser (1)
Generated\361d1da7f942c932\WebAssemblyHotReloadJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.ProjectTools (1)
Generated\361d1da7f942c932\LaunchProfileJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.DotNet.TemplateLocator (2)
Generated\361d1da7f942c932\InstallStateJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.Extensions.AI (6)
Common\OtelMessageSerializer.cs (2)
229customContentSerializerOptions?.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? ctsi) is true ? ctsi : 230DefaultOptions.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? dtsi) ? dtsi :
Realtime\OpenTelemetryRealtimeClientSession.cs (2)
626if (_jsonSerializerOptions?.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? ctsi) ?? false) 630else if (AIJsonUtilities.DefaultOptions.TryGetTypeInfo(content.GetType(), out JsonTypeInfo? 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)
1245if (options == AIJsonUtilities.DefaultOptions && !options.TryGetTypeInfo(type, out _))
Microsoft.Extensions.AI.Abstractions.Tests (2)
ResponseContinuationTokenTests.cs (1)
45Assert.True(AIJsonUtilities.DefaultOptions.TryGetTypeInfo(typeof(ResponseContinuationToken), out var info));
Utilities\AIJsonUtilitiesTests.cs (1)
70Assert.Equal(JsonSerializer.IsReflectionEnabledByDefault, AIJsonUtilities.DefaultOptions.TryGetTypeInfo(anonType, out _));
Microsoft.Extensions.AI.Stabilization.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\ResponseContinuationTokenTests.cs (1)
45Assert.True(AIJsonUtilities.DefaultOptions.TryGetTypeInfo(typeof(ResponseContinuationToken), out var info));
Microsoft.ML.Tokenizers (1)
Generated\361d1da7f942c932\ModelSourceGenerationContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.NET.Build.Tasks (3)
Generated\361d1da7f942c932\InstallStateJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\SdkVulnerabilitySummaryContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.NET.ProjectData.Tasks (1)
Generated\361d1da7f942c932\ProjectDataBuildJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (3)
Generated\361d1da7f942c932\DefineStaticWebAssetsSerializerContext.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\ImportMapSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\StaticWebAssetsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.NET.Sdk.WorkloadManifestReader (2)
Generated\361d1da7f942c932\InstallStateJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.TemplateEngine.Edge (3)
Generated\361d1da7f942c932\GlobalSettingsJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\SettingsStoreJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\TemplateCacheJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Generated\361d1da7f942c932\JsonEncodeSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Microsoft.TestPlatform.CommunicationUtilities (1)
Generated\361d1da7f942c932\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
NuGet.CommandLine.XPlat (1)
Generated\361d1da7f942c932\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
NuGet.Credentials (1)
Generated\361d1da7f942c932\PluginCredentialResponseJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
NuGet.Packaging (1)
Generated\361d1da7f942c932\NupkgMetadataSerializationContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
NuGet.ProjectModel (2)
Generated\361d1da7f942c932\AssetsLogMessageSourceGen.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\CacheFileSourceGen.GetJsonTypeInfo.g.cs (1)
18Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
NuGet.Protocol (5)
Generated\361d1da7f942c932\PackageSearchJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\PluginCacheJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\361d1da7f942c932\RepositorySignatureJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\PluginJsonContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);
sdk-tasks (1)
Generated\361d1da7f942c932\SdkTasksJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
16Options.TryGetTypeInfo(type, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? typeInfo);