1099 references to TestTypes
Shared.Tests (1099)
Generated\361d1da7f942c932\TestTypesContext.ClassWithComponentModelAttributes.g.cs (20)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes>? _ClassWithComponentModelAttributes; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes> ClassWithComponentModelAttributes 24get => _ClassWithComponentModelAttributes ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes> Create_ClassWithComponentModelAttributes(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes((string)args[0], (int)args[1]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(int)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)obj).StringValue, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes).GetProperty("StringValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes), 81Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)obj).IntValue, 89AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes).GetProperty("IntValue", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 99private void ClassWithComponentModelAttributesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes? value) 109writer.WriteString(PropName_StringValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)value).StringValue); 110writer.WriteNumber(PropName_IntValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)value).IntValue);
Generated\361d1da7f942c932\TestTypesContext.ClassWithCustomConverter1.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>? _ClassWithCustomConverter1; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> ClassWithCustomConverter1 24get => _ClassWithCustomConverter1 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> Create_ClassWithCustomConverter1(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.CustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> (options, converter);
Generated\361d1da7f942c932\TestTypesContext.ClassWithCustomConverter2.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>? _ClassWithCustomConverter2; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> ClassWithCustomConverter2 24get => _ClassWithCustomConverter2 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> Create_ClassWithCustomConverter2(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.CustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> (options, converter);
Generated\361d1da7f942c932\TestTypesContext.ClassWithOptionalObjectParameter.g.cs (14)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter>? _ClassWithOptionalObjectParameter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter> ClassWithOptionalObjectParameter 24get => _ClassWithOptionalObjectParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter> Create_ClassWithOptionalObjectParameter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter((object)args[0]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(object)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter)obj).Value, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(object), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestTypesContext.ClassWithPropertiesUsingCustomConverters.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>? _ClassWithPropertiesUsingCustomConverters; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> ClassWithPropertiesUsingCustomConverters 24get => _ClassWithPropertiesUsingCustomConverters ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> Create_ClassWithPropertiesUsingCustomConverters(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop1, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop1 = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetProperty("Prop1", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop2, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop2 = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetProperty("Prop2", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(options, info1); 99private void ClassWithPropertiesUsingCustomConvertersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters? value) 110global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)value).Prop1, ClassWithCustomConverter1); 112global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)value).Prop2, ClassWithCustomConverter2);
Generated\361d1da7f942c932\TestTypesContext.DerivedPocoIntDiscriminator.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator>? _DerivedPocoIntDiscriminator; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator> DerivedPocoIntDiscriminator 24get => _DerivedPocoIntDiscriminator ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator> Create_DerivedPocoIntDiscriminator(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator)obj).DerivedValue, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator)obj).DerivedValue = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator).GetProperty("DerivedValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism).GetProperty("BaseValue", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 98private void DerivedPocoIntDiscriminatorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator? value) 108writer.WriteString(PropName_DerivedValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator)value).DerivedValue); 109writer.WriteNumber(PropName_BaseValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)value).BaseValue);
Generated\361d1da7f942c932\TestTypesContext.DerivedPocoNoDiscriminator.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator>? _DerivedPocoNoDiscriminator; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator> DerivedPocoNoDiscriminator 24get => _DerivedPocoNoDiscriminator ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator> Create_DerivedPocoNoDiscriminator(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator)obj).DerivedValue, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator)obj).DerivedValue = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator).GetProperty("DerivedValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism).GetProperty("BaseValue", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 98private void DerivedPocoNoDiscriminatorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator? value) 108writer.WriteString(PropName_DerivedValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator)value).DerivedValue); 109writer.WriteNumber(PropName_BaseValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)value).BaseValue);
Generated\361d1da7f942c932\TestTypesContext.DerivedPocoStringDiscriminator.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator>? _DerivedPocoStringDiscriminator; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator> DerivedPocoStringDiscriminator 24get => _DerivedPocoStringDiscriminator ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator> Create_DerivedPocoStringDiscriminator(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator)obj).DerivedValue, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator)obj).DerivedValue = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator).GetProperty("DerivedValue", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism).GetProperty("BaseValue", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 98private void DerivedPocoStringDiscriminatorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator? value) 108writer.WriteString(PropName_DerivedValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator)value).DerivedValue); 109writer.WriteNumber(PropName_BaseValue, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)value).BaseValue);
Generated\361d1da7f942c932\TestTypesContext.DictionaryStringSimplePoco.g.cs (13)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>>? _DictionaryStringSimplePoco; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>> DictionaryStringSimplePoco 24get => _DictionaryStringSimplePoco ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>> Create_DictionaryStringSimplePoco(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>> 33ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>, string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>(options, info); 47private void DictionaryStringSimplePocoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>? value) 57foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco> entry in value)
Generated\361d1da7f942c932\TestTypesContext.GenericPocoWithNullableConstructorParameterString.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>>? _GenericPocoWithNullableConstructorParameterString; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>> GenericPocoWithNullableConstructorParameterString 24get => _GenericPocoWithNullableConstructorParameterString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>> Create_GenericPocoWithNullableConstructorParameterString(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>((string)args[0]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>)obj).Value, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79private void GenericPocoWithNullableConstructorParameterStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>? value) 89writer.WriteString(PropName_Value, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>)value).Value);
Generated\361d1da7f942c932\TestTypesContext.NonAbstractClassWithSingleDerivedType.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType>? _NonAbstractClassWithSingleDerivedType; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType> NonAbstractClassWithSingleDerivedType 24get => _NonAbstractClassWithSingleDerivedType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType> Create_NonAbstractClassWithSingleDerivedType(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType>(options, objectInfo);
Generated\361d1da7f942c932\TestTypesContext.NullableSimpleRecordStruct.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>? _NullableSimpleRecordStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?> NullableSimpleRecordStruct 24get => _NullableSimpleRecordStruct ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?> Create_NullableSimpleRecordStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>(options, converter);
Generated\361d1da7f942c932\TestTypesContext.PocoCombiningPolymorphicTypeAndDerivedTypes.g.cs (36)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes>? _PocoCombiningPolymorphicTypeAndDerivedTypes; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes> PocoCombiningPolymorphicTypeAndDerivedTypes 24get => _PocoCombiningPolymorphicTypeAndDerivedTypes ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes> Create_PocoCombiningPolymorphicTypeAndDerivedTypes(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).PolymorphicValue, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).PolymorphicValue = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes).GetProperty("PolymorphicValue", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism>(options, info0); 75var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator> 80DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes), 82Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).DerivedValue1, 83Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).DerivedValue1 = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes).GetProperty("DerivedValue1", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator), global::System.Array.Empty<global::System.Type>(), null), 93properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator>(options, info1); 97var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator> 102DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes), 104Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).DerivedValue2, 105Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)obj).DerivedValue2 = value!, 112AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes).GetProperty("DerivedValue2", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator), global::System.Array.Empty<global::System.Type>(), null), 115properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator>(options, info2); 124private void PocoCombiningPolymorphicTypeAndDerivedTypesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes? value) 135global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)value).PolymorphicValue, PocoWithPolymorphism); 137DerivedPocoNoDiscriminatorSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)value).DerivedValue1); 139DerivedPocoStringDiscriminatorSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)value).DerivedValue2);
Generated\361d1da7f942c932\TestTypesContext.PocoDisallowingUnmappedMembers.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers>? _PocoDisallowingUnmappedMembers; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers> PocoDisallowingUnmappedMembers 24get => _PocoDisallowingUnmappedMembers ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers> Create_PocoDisallowingUnmappedMembers(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers>(options, objectInfo); 60DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers), 62Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)obj).Name, 63Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)obj).Name = value!, 70AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers), 82Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)obj).Age, 83Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)obj).Age = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers).GetProperty("Age", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 100private void PocoDisallowingUnmappedMembersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers? value) 110writer.WriteString(PropName_Name, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)value).Name); 111writer.WriteNumber(PropName_Age, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)value).Age);
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomConverter.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter>? _PocoWithCustomConverter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter> PocoWithCustomConverter 24get => _PocoWithCustomConverter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter> Create_PocoWithCustomConverter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter.CustomConverter(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter> (options, converter);
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomNumberHandling.g.cs (17)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling>? _PocoWithCustomNumberHandling; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling> PocoWithCustomNumberHandling 24get => _PocoWithCustomNumberHandling ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling> Create_PocoWithCustomNumberHandling(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling)obj).X, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling)obj).X = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78private void PocoWithCustomNumberHandlingSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling? value) 88writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling)value).X);
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomNumberHandlingOnProperties.g.cs (27)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties>? _PocoWithCustomNumberHandlingOnProperties; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties> PocoWithCustomNumberHandlingOnProperties 24get => _PocoWithCustomNumberHandlingOnProperties ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties> Create_PocoWithCustomNumberHandlingOnProperties(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).X, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).X = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).Y, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).Y = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties).GetProperty("Y", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties), 100Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).Z, 101Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).Z = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties).GetProperty("Z", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties), 120Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).W, 121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)obj).W = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties).GetProperty("W", InstanceMemberBindingFlags, null, typeof(decimal), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomPropertyConverter.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>? _PocoWithCustomPropertyConverter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> PocoWithCustomPropertyConverter 24get => _PocoWithCustomPropertyConverter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> Create_PocoWithCustomPropertyConverter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter), 59Converter = (global::System.Text.Json.Serialization.JsonConverter<int>)ExpandConverter(typeof(int), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter.CustomConverter(), options), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)obj).Value, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)obj).Value = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestTypesContext.PocoWithExtensionDataProperty.g.cs (19)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty>? _PocoWithExtensionDataProperty; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty> PocoWithExtensionDataProperty 24get => _PocoWithExtensionDataProperty ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty> Create_PocoWithExtensionDataProperty(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)obj).Name, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)obj).Name = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)obj).ExtensionData, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)obj).ExtensionData = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty).GetProperty("ExtensionData", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestTypesContext.PocoWithIgnoredMembers.g.cs (19)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers>? _PocoWithIgnoredMembers; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers> PocoWithIgnoredMembers 24get => _PocoWithIgnoredMembers ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers> Create_PocoWithIgnoredMembers(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers)obj).X, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers)obj).X = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers), 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers).GetProperty("Y", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 98private void PocoWithIgnoredMembersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers? value) 108writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers)value).X);
Generated\361d1da7f942c932\TestTypesContext.PocoWithNonRecursiveDuplicateOccurrences.g.cs (44)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences>? _PocoWithNonRecursiveDuplicateOccurrences; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences> PocoWithNonRecursiveDuplicateOccurrences 24get => _PocoWithNonRecursiveDuplicateOccurrences ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences> Create_PocoWithNonRecursiveDuplicateOccurrences(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).Value1, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).Value1 = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences).GetProperty("Value1", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).Value2, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).Value2 = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences).GetProperty("Value2", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, info1); 93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>> 98DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences), 100Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).ListValue, 101Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).ListValue = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences).GetProperty("ListValue", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>), global::System.Array.Empty<global::System.Type>(), null), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>>(options, info2); 113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]> 118DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences), 120Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).ArrayValue, 121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)obj).ArrayValue = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences).GetProperty("ArrayValue", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]>(options, info3); 138private void PocoWithNonRecursiveDuplicateOccurrencesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences? value) 149SimpleRecordSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)value).Value1); 151SimpleRecordSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)value).Value2); 153ListSimpleRecordSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)value).ListValue); 155SimpleRecordArraySerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)value).ArrayValue);
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableAnnotationAttributes.g.cs (37)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes>? _PocoWithNullableAnnotationAttributes; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes> PocoWithNullableAnnotationAttributes 24get => _PocoWithNullableAnnotationAttributes ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes> Create_PocoWithNullableAnnotationAttributes(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).MaybeNull, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).MaybeNull = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetProperty("MaybeNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes), 81Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).AllowNull, 82Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).AllowNull = value!, 89AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetProperty("AllowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes), 102Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).NotNull, 103Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).NotNull = value!, 110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetProperty("NotNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 121DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes), 123Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).DisallowNull, 124Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).DisallowNull = value!, 131AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetProperty("DisallowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 142DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes), 144Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).NotNullDisallowNull, 145Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)obj).NotNullDisallowNull = value!, 152AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes).GetProperty("NotNullDisallowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 164private void PocoWithNullableAnnotationAttributesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes? value) 174writer.WriteString(PropName_MaybeNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)value).MaybeNull); 175writer.WriteString(PropName_AllowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)value).AllowNull); 176writer.WriteString(PropName_NotNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)value).NotNull); 177writer.WriteString(PropName_DisallowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)value).DisallowNull); 178writer.WriteString(PropName_NotNullDisallowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)value).NotNullDisallowNull);
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableAnnotationAttributesOnConstructorParams.g.cs (20)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams>? _PocoWithNullableAnnotationAttributesOnConstructorParams; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams> PocoWithNullableAnnotationAttributesOnConstructorParams 24get => _PocoWithNullableAnnotationAttributesOnConstructorParams ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams> Create_PocoWithNullableAnnotationAttributesOnConstructorParams(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams((string)args[0], (string)args[1]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)obj).AllowNull, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams).GetProperty("AllowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams), 81Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)obj).DisallowNull, 89AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams).GetProperty("DisallowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100private void PocoWithNullableAnnotationAttributesOnConstructorParamsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams? value) 110writer.WriteString(PropName_AllowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)value).AllowNull); 111writer.WriteString(PropName_DisallowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)value).DisallowNull);
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableConstructorParameter.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>? _PocoWithNullableConstructorParameter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> PocoWithNullableConstructorParameter 24get => _PocoWithNullableConstructorParameter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> Create_PocoWithNullableConstructorParameter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter((string)args[0]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)obj).Value, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79private void PocoWithNullableConstructorParameterSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter? value) 89writer.WriteString(PropName_Value, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)value).Value);
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableStructFollowedByStruct.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct>? _PocoWithNullableStructFollowedByStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> PocoWithNullableStructFollowedByStruct 24get => _PocoWithNullableStructFollowedByStruct ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> Create_PocoWithNullableStructFollowedByStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).NullableStruct, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).NullableStruct = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct).GetProperty("NullableStruct", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).Struct, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).Struct = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct).GetProperty("Struct", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(options, info1); 98private void PocoWithNullableStructFollowedByStructSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct? value) 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)value).NullableStruct, NullableSimpleRecordStruct); 111SimpleRecordStructSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)value).Struct);
Generated\361d1da7f942c932\TestTypesContext.PocoWithOptionalConstructorParams.g.cs (66)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams>? _PocoWithOptionalConstructorParams; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams> PocoWithOptionalConstructorParams 24get => _PocoWithOptionalConstructorParams ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams> Create_PocoWithOptionalConstructorParams(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams((string)args[0], (int)args[1], (bool)args[2], (double)args[3], (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)args[4], (string)args[5], (int?)args[6], (bool?)args[7], (double?)args[8], (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?)args[9]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(int), typeof(bool), typeof(double), typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), typeof(string), typeof(int?), typeof(bool?), typeof(double?), typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X1, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X1", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 81Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X2, 89AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X2", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 99DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 101Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X3, 109AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X3", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 119DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 121Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X4, 129AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X4", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 134var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> 139DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 141Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X5, 149AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X5", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), global::System.Array.Empty<global::System.Type>(), null), 152properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, info4); 159DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 161Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X6, 169AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X6", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 179DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 181Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X7, 189AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X7", InstanceMemberBindingFlags, null, typeof(int?), global::System.Array.Empty<global::System.Type>(), null), 199DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 201Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X8, 209AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X8", InstanceMemberBindingFlags, null, typeof(bool?), global::System.Array.Empty<global::System.Type>(), null), 219DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 221Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X9, 229AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X9", InstanceMemberBindingFlags, null, typeof(double?), global::System.Array.Empty<global::System.Type>(), null), 234var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?> 239DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams), 241Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)obj).X10, 249AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams).GetProperty("X10", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?), global::System.Array.Empty<global::System.Type>(), null), 252properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>(options, info9); 259private void PocoWithOptionalConstructorParamsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams? value) 269writer.WriteString(PropName_X1, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X1); 270writer.WriteNumber(PropName_X2, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X2); 271writer.WriteBoolean(PropName_X3, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X3); 272writer.WriteNumber(PropName_X4, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X4); 274global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X5, StringEnum); 275writer.WriteString(PropName_X6, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X6); 277global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X7, NullableInt32); 279global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X8, NullableBoolean); 281global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X9, NullableDouble); 283global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)value).X10, NullableStringEnum); 333ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), 336DefaultValue = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)(0), 383ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?), 386DefaultValue = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?)(0),
Generated\361d1da7f942c932\TestTypesContext.PocoWithRecursiveMembers.g.cs (25)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers>? _PocoWithRecursiveMembers; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers> PocoWithRecursiveMembers 24get => _PocoWithRecursiveMembers ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers> Create_PocoWithRecursiveMembers(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers(){ Value = (int)args[0], Next = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)args[1] }, 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)obj).Value, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)obj).Next, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers).GetProperty("Next", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers>(options, info1); 98private void PocoWithRecursiveMembersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers? value) 108writer.WriteNumber(PropName_Value, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)value).Value); 110PocoWithRecursiveMembersSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)value).Next); 129ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers),
Generated\361d1da7f942c932\TestTypesContext.PocoWithRequiredMembers.g.cs (27)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers>? _PocoWithRequiredMembers; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers> PocoWithRequiredMembers 24get => _PocoWithRequiredMembers ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers> Create_PocoWithRequiredMembers(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers(){ Y = (string)args[0], X = (string)args[1] }, 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).Y, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).Y = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers).GetProperty("Y", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 81DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers), 83Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).Z, 84Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).Z = value!, 91AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers).GetProperty("Z", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 102DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers), 104Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).X, 105Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)obj).X = value!, 112AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers).GetField("X", InstanceMemberBindingFlags), 125private void PocoWithRequiredMembersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers? value) 135writer.WriteString(PropName_Y, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)value).Y); 136writer.WriteNumber(PropName_Z, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)value).Z); 137writer.WriteString(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)value).X);
Generated\361d1da7f942c932\TestTypesContext.PocoWithStructFollowedByNullableStruct.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>? _PocoWithStructFollowedByNullableStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> PocoWithStructFollowedByNullableStruct 24get => _PocoWithStructFollowedByNullableStruct ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> Create_PocoWithStructFollowedByNullableStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).NullableStruct, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).NullableStruct = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).GetProperty("NullableStruct", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).Struct, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).Struct = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).GetProperty("Struct", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(options, info1); 98private void PocoWithStructFollowedByNullableStructSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct? value) 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)value).NullableStruct, NullableSimpleRecordStruct); 111SimpleRecordStructSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)value).Struct);
Generated\361d1da7f942c932\TestTypesContext.RecordWithOptionalParameters.g.cs (65)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters>? _RecordWithOptionalParameters; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters> RecordWithOptionalParameters 24get => _RecordWithOptionalParameters ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters> Create_RecordWithOptionalParameters(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters((int)args[0], (string)args[1], (bool)args[2], (double)args[3], (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)args[4], (int)args[5], (string)args[6], (bool)args[7], (double)args[8], (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)args[9]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(int), typeof(string), typeof(bool), typeof(double), typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), typeof(int), typeof(string), typeof(bool), typeof(double), typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).X1, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("X1", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).X2, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("X2", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 102Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).X3, 110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("X3", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 122Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).X4, 130AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("X4", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 135var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> 140DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 142Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).X5, 150AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("X5", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), global::System.Array.Empty<global::System.Type>(), null), 153properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, info4); 160DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 162Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).Y1, 170AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("Y1", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 180DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 182Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).Y2, 190AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("Y2", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 202DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 204Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).Y3, 212AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("Y3", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 222DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 224Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).Y4, 232AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("Y4", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 237var info9 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> 242DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters), 244Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)obj).Y5, 252AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters).GetProperty("Y5", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), global::System.Array.Empty<global::System.Type>(), null), 255properties[9] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, info9); 262private void RecordWithOptionalParametersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters? value) 272writer.WriteNumber(PropName_X1, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).X1); 273writer.WriteString(PropName_X2, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).X2); 274writer.WriteBoolean(PropName_X3, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).X3); 275writer.WriteNumber(PropName_X4, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).X4); 277global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).X5, StringEnum); 278writer.WriteNumber(PropName_Y1, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).Y1); 279writer.WriteString(PropName_Y2, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).Y2); 280writer.WriteBoolean(PropName_Y3, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).Y3); 281writer.WriteNumber(PropName_Y4, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).Y4); 283global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)value).Y5, StringEnum); 333ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), 383ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), 386DefaultValue = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)(0),
Generated\361d1da7f942c932\TestTypesContext.StructDictionaryStringInt32.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>>? _StructDictionaryStringInt32; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>> StructDictionaryStringInt32 24get => _StructDictionaryStringInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>> Create_StructDictionaryStringInt32(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIReadOnlyDictionaryInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>, string, int>(options, info); 47private void StructDictionaryStringInt32SerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int> value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.Derived.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived>? _Derived; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived> Derived 24get => _Derived ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived> Create_Derived(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived>(options, objectInfo); 58private void DerivedSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived? value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.DerivedCollection.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection>? _DerivedCollection; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection> DerivedCollection 24get => _DerivedCollection ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection> Create_DerivedCollection(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection, int>(options, info); 47private void DerivedCollectionSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection? value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.DerivedDictionary.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary>? _DerivedDictionary; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary> DerivedDictionary 24get => _DerivedDictionary ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary> Create_DerivedDictionary(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIReadOnlyDictionaryInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary, string, int>(options, info); 47private void DerivedDictionarySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary? value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.FlagsStringEnum.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum>? _FlagsStringEnum; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum> FlagsStringEnum 24get => _FlagsStringEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum> Create_FlagsStringEnum(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum), new global::System.Text.Json.Serialization.JsonStringEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum> (options, converter);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.g.cs (2)
26public static global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.TestTypesContext Default { get; } = new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.TestTypesContext(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (48)
60if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithComponentModelAttributes)) 64if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithOptionalObjectParameter)) 68if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)) 72if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1)) 76if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2)) 80if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.FlagsStringEnum)) 84if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.GenericPocoWithNullableConstructorParameter<string>)) 88if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum)) 92if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?)) 96if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType)) 100if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.NonAbstractClassWithSingleDerivedType.Derived)) 104if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoCombiningPolymorphicTypeAndDerivedTypes)) 108if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoDisallowingUnmappedMembers)) 112if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomConverter)) 116if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)) 120if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandling)) 124if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNumberHandlingOnProperties)) 128if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)) 132if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription)) 136if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)) 140if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithExtensionDataProperty)) 144if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithIgnoredMembers)) 148if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNonRecursiveDuplicateOccurrences)) 152if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributes)) 156if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableAnnotationAttributesOnConstructorParams)) 160if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableConstructorParameter)) 164if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)) 168if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithOptionalConstructorParams)) 172if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)) 176if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedCollection)) 180if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedDictionary)) 184if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoIntDiscriminator)) 188if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoNoDiscriminator)) 192if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism.DerivedPocoStringDiscriminator)) 196if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRecursiveMembers)) 200if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithRequiredMembers)) 204if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)) 208if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.RecordWithOptionalParameters)) 212if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)) 216if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)) 220if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[])) 224if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)) 228if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct?)) 232if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)) 236if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?)) 240if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StructDictionary<string, int>)) 248if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>)) 268if (type == typeof(global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.IntEnum.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>? _IntEnum; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum> IntEnum 24get => _IntEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum> Create_IntEnum(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum> jsonTypeInfo)) 31jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options));
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.ListSimpleRecord.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>>? _ListSimpleRecord; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>> ListSimpleRecord 24get => _ListSimpleRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>> Create_ListSimpleRecord(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>> 33ObjectCreator = () => new global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(), 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo<global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, info); 47private void ListSimpleRecordSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.List<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>? value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.NullableIntEnum.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?>? _NullableIntEnum; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?> NullableIntEnum 24get => _NullableIntEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?> Create_NullableIntEnum(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?>(options, converter);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.NullableStringEnum.g.cs (9)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>? _NullableStringEnum; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?> NullableStringEnum 24get => _NullableStringEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?> Create_NullableStringEnum(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>(options, converter);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithCustomNaming.g.cs (22)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming>? _PocoWithCustomNaming; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming> PocoWithCustomNaming 24get => _PocoWithCustomNaming ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming> Create_PocoWithCustomNaming(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)obj).IntegerProperty, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)obj).IntegerProperty = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming).GetProperty("IntegerProperty", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)obj).StringProperty, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)obj).StringProperty = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming).GetProperty("StringProperty", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98private void PocoWithCustomNamingSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming? value) 108writer.WriteNumber(PropName_int, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)value).IntegerProperty); 109writer.WriteString(PropName_str, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomNaming)value).StringProperty);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithDescription.g.cs (17)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription>? _PocoWithDescription; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription> PocoWithDescription 24get => _PocoWithDescription ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription> Create_PocoWithDescription(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription)obj).X, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription)obj).X = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78private void PocoWithDescriptionSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription? value) 88writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithDescription)value).X);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithEnums.g.cs (65)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums>? _PocoWithEnums; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums> PocoWithEnums 24get => _PocoWithEnums ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums> Create_PocoWithEnums(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums(){ IntEnum = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum)args[0], StringEnum = (global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)args[1] }, 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).IntEnum, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("IntEnum", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).StringEnum, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("StringEnum", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, info1); 93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum> 98DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 99Converter = (global::System.Text.Json.Serialization.JsonConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>)ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum), new global::System.Text.Json.Serialization.JsonStringEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(), options), 100Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).IntEnumUsingStringConverter, 101Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).IntEnumUsingStringConverter = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("IntEnumUsingStringConverter", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum), global::System.Array.Empty<global::System.Type>(), null), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(options, info2); 113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?> 118DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 119Converter = GetConverterForNullableProperty<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(new global::System.Text.Json.Serialization.JsonStringEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum>(), options), 120Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).NullableIntEnumUsingStringConverter, 121Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).NullableIntEnumUsingStringConverter = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("NullableIntEnumUsingStringConverter", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum?>(options, info3); 133var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> 138DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 139Converter = (global::System.Text.Json.Serialization.JsonConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>)ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), new global::System.Text.Json.Serialization.JsonNumberEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(), options), 140Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).StringEnumUsingIntConverter, 141Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).StringEnumUsingIntConverter = value!, 148AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("StringEnumUsingIntConverter", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), global::System.Array.Empty<global::System.Type>(), null), 151properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, info4); 153var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?> 158DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums), 159Converter = GetConverterForNullableProperty<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(new global::System.Text.Json.Serialization.JsonNumberEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(), options), 160Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).NullableStringEnumUsingIntConverter, 161Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums)obj).NullableStringEnumUsingIntConverter = value!, 168AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithEnums).GetProperty("NullableStringEnumUsingIntConverter", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?), global::System.Array.Empty<global::System.Type>(), null), 171properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum?>(options, info5); 181ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.IntEnum), 190ParameterType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithPolymorphism.g.cs (13)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism>? _PocoWithPolymorphism; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism> PocoWithPolymorphism 24get => _PocoWithPolymorphism ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism> Create_PocoWithPolymorphism(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism> 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism)obj).BaseValue = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithPolymorphism).GetProperty("BaseValue", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimplePoco.g.cs (37)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>? _SimplePoco; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco> SimplePoco 24get => _SimplePoco ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco> Create_SimplePoco(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).String, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).String = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetProperty("String", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco), 82Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).StringNullable, 83Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).StringNullable = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetProperty("StringNullable", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco), 102Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Int, 103Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Int = value!, 110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetProperty("Int", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco), 122Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Double, 123Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Double = value!, 130AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetProperty("Double", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 140DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco), 142Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Boolean, 143Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)obj).Boolean = value!, 150AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco).GetProperty("Boolean", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 160private void SimplePocoSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco? value) 170writer.WriteString(PropName_String, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)value).String); 171writer.WriteString(PropName_StringNullable, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)value).StringNullable); 172writer.WriteNumber(PropName_Int, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)value).Int); 173writer.WriteNumber(PropName_Double, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)value).Double); 174writer.WriteBoolean(PropName_Boolean, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimplePoco)value).Boolean);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimpleRecord.g.cs (28)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>? _SimpleRecord; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> SimpleRecord 24get => _SimpleRecord ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> Create_SimpleRecord(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord> 34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord((int)args[0], (string)args[1], (bool)args[2], (double)args[3]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(int), typeof(string), typeof(bool), typeof(double)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)obj).X, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)obj).Y, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord).GetProperty("Y", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), 102Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)obj).Z, 110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord).GetProperty("Z", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord), 122Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)obj).W, 130AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord).GetProperty("W", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 140private void SimpleRecordSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord? value) 150writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)value).X); 151writer.WriteString(PropName_Y, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)value).Y); 152writer.WriteBoolean(PropName_Z, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)value).Z); 153writer.WriteNumber(PropName_W, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord)value).W);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimpleRecordArray.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]>? _SimpleRecordArray; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]> SimpleRecordArray 24get => _SimpleRecordArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[])); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]> Create_SimpleRecordArray(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord>(options, info); 47private void SimpleRecordArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecord[]? value)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.SimpleRecordStruct.g.cs (32)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>? _SimpleRecordStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> SimpleRecordStruct 24get => _SimpleRecordStruct ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> Create_SimpleRecordStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct> 33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct(), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)obj).X, 61Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(obj).X = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)obj).Y, 81Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(obj).Y = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct).GetProperty("Y", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), 102Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)obj).Z, 103Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(obj).Z = value!, 110AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct).GetProperty("Z", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 120DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), 122Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)obj).W, 123Setter = static (obj, value) => global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct>(obj).W = value!, 130AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct).GetProperty("W", InstanceMemberBindingFlags, null, typeof(double), global::System.Array.Empty<global::System.Type>(), null), 140private void SimpleRecordStructSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct value) 144writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)value).X); 145writer.WriteString(PropName_Y, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)value).Y); 146writer.WriteBoolean(PropName_Z, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)value).Z); 147writer.WriteNumber(PropName_W, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct)value).W);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.StringEnum.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>? _StringEnum; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> StringEnum 24get => _StringEnum ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> Create_StringEnum(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum), new global::System.Text.Json.Serialization.JsonStringEnumConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.StringEnum> (options, converter);