// <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<global::System.Xml.XmlNodeType>? _XmlNodeType; /// <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::System.Xml.XmlNodeType> XmlNodeType #nullable enable annotations { get => _XmlNodeType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.XmlNodeType>)Options.GetTypeInfo(typeof(global::System.Xml.XmlNodeType)); } private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.XmlNodeType> Create_XmlNodeType(global::System.Text.Json.JsonSerializerOptions options) { if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Xml.XmlNodeType>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.XmlNodeType> jsonTypeInfo)) { jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::System.Xml.XmlNodeType>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::System.Xml.XmlNodeType>(options)); } jsonTypeInfo.OriginatingResolver = this; return jsonTypeInfo; } } } }