2 instantiations of PocoWithCustomPropertyConverter
Shared.Tests (2)
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomPropertyConverter.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomPropertyConverter
(),
JsonSchemaExporter\TestTypes.cs (1)
419
yield return new TestData<PocoWithCustomPropertyConverter>(
new
() { Value = 42 }, """{"type":["object","null"],"properties":{"Value":true}}""");
18 references to PocoWithCustomPropertyConverter
Shared.Tests (18)
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomPropertyConverter.g.cs (15)
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
>
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\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
128
if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomPropertyConverter
))
JsonSchemaExporter\TestTypes.cs (2)
419
yield return new TestData<
PocoWithCustomPropertyConverter
>(new() { Value = 42 }, """{"type":["object","null"],"properties":{"Value":true}}""");
1279
[JsonSerializable(typeof(
PocoWithCustomPropertyConverter
))]