File: Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.ObjectArray.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[]>? _ObjectArray;
            
            /// <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[]> ObjectArray
            #nullable enable annotations
            {
                get => _ObjectArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object[]>)Options.GetTypeInfo(typeof(object[]));
            }
            
            private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object[]> Create_ObjectArray(global::System.Text.Json.JsonSerializerOptions options)
            {
                if (!TryGetTypeInfoForRuntimeCustomConverter<object[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<object[]> jsonTypeInfo))
                {
                    var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<object[]>
                    {
                        ObjectCreator = null,
                        SerializeHandler = null
                    };
                    
                    jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<object>(options, info);
                    jsonTypeInfo.NumberHandling = null;
                }
            
                jsonTypeInfo.OriginatingResolver = this;
                return jsonTypeInfo;
            }
        }
    }
}