1 instantiation of ClassWithPropertiesUsingCustomConverters
Shared.Tests (1)
Generated\361d1da7f942c932\TestTypesContext.ClassWithPropertiesUsingCustomConverters.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
ClassWithPropertiesUsingCustomConverters
(),
53 references to ClassWithPropertiesUsingCustomConverters
Shared.Tests (53)
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.ClassWithPropertiesUsingCustomConverters.g.cs (27)
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
>
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\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (3)
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))
JsonSchemaExporter\TestTypes.cs (1)
1295
[JsonSerializable(typeof(
ClassWithPropertiesUsingCustomConverters
))]