| File: Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.Object.g.cs | |
| Project: ..\..\..\test\Shared\Shared.Tests.csproj (Shared.Tests) |
// <auto-generated/> #nullable enable annotations #nullable disable warnings // Suppress warnings about [Obsolete] member usage in generated code. #pragma warning disable CS0612, CS0618 namespace Microsoft.Extensions.AI.JsonSchemaExporter { public static partial class TestTypes { public partial class TestTypesContext { private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object>? _Object; /// <summary> /// Defines the source generated JSON serialization contract metadata for a given type. /// </summary> #nullable disable annotations // Marking the property type as nullable-oblivious. public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> Object #nullable enable annotations { get => _Object ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object>)Options.GetTypeInfo(typeof(object)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> Create_Object(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<object>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object> jsonTypeInfo)) { jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<object>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.ObjectConverter); } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } } } }