File: _generated\119\PackInfoJsonSerializerContext.WorkloadPackId.g.cs
Web Access
Project: src\src\sdk\src\Cli\dotnet\dotnet.csproj (dotnet)
// <auto-generated/>

#nullable enable annotations
#nullable disable warnings

// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618

namespace Microsoft.DotNet.Cli.Commands.Workload
{
    internal partial class PackInfoJsonSerializerContext
    {
        private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId>? _WorkloadPackId;
        
        /// <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<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId> WorkloadPackId
        #nullable enable annotations
        {
            get => _WorkloadPackId ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId>)Options.GetTypeInfo(typeof(global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId));
        }
        
        private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId> Create_WorkloadPackId(global::System.Text.Json.JsonSerializerOptions options)
        {
            if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId> jsonTypeInfo))
            {
                global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId), new global::Microsoft.NET.Sdk.WorkloadManifestReader.PackIdJsonConverter(), options);
                jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadPackId> (options, converter);
            }
        
            jsonTypeInfo.OriginatingResolver = this;
            return jsonTypeInfo;
        }
    }
}