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