2 instantiations of PocoWithCustomPropertyConverter
Shared.Tests (2)
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomPropertyConverter.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter(),
JsonSchemaExporter\TestTypes.cs (1)
419yield 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)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>? _PocoWithCustomPropertyConverter; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> PocoWithCustomPropertyConverter 24get => _PocoWithCustomPropertyConverter ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> Create_PocoWithCustomPropertyConverter(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter), 59Converter = (global::System.Text.Json.Serialization.JsonConverter<int>)ExpandConverter(typeof(int), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter.CustomConverter(), options), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)obj).Value, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter)obj).Value = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
128if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithCustomPropertyConverter))
JsonSchemaExporter\TestTypes.cs (2)
419yield return new TestData<PocoWithCustomPropertyConverter>(new() { Value = 42 }, """{"type":["object","null"],"properties":{"Value":true}}"""); 1279[JsonSerializable(typeof(PocoWithCustomPropertyConverter))]