1 instantiation of ClassWithPropertiesUsingCustomConverters
Shared.Tests (1)
Generated\361d1da7f942c932\TestTypesContext.ClassWithPropertiesUsingCustomConverters.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters(),
53 references to ClassWithPropertiesUsingCustomConverters
Shared.Tests (53)
Generated\361d1da7f942c932\TestTypesContext.ClassWithCustomConverter1.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>? _ClassWithCustomConverter1; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> ClassWithCustomConverter1 24get => _ClassWithCustomConverter1 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> Create_ClassWithCustomConverter1(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.CustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> (options, converter);
Generated\361d1da7f942c932\TestTypesContext.ClassWithCustomConverter2.g.cs (11)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>? _ClassWithCustomConverter2; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> ClassWithCustomConverter2 24get => _ClassWithCustomConverter2 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> Create_ClassWithCustomConverter2(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> jsonTypeInfo)) 31global::System.Text.Json.Serialization.JsonConverter converter = ExpandConverter(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2), new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.CustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(), options); 32jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> (options, converter);
Generated\361d1da7f942c932\TestTypesContext.ClassWithPropertiesUsingCustomConverters.g.cs (27)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>? _ClassWithPropertiesUsingCustomConverters; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> ClassWithPropertiesUsingCustomConverters 24get => _ClassWithPropertiesUsingCustomConverters ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> Create_ClassWithPropertiesUsingCustomConverters(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1> 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop1, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop1 = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetProperty("Prop1", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1>(options, info0); 73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2> 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop2, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)obj).Prop2 = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters).GetProperty("Prop2", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2>(options, info1); 99private void ClassWithPropertiesUsingCustomConvertersSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters? value) 110global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)value).Prop1, ClassWithCustomConverter1); 112global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)value).Prop2, ClassWithCustomConverter2);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (3)
68if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters)) 72if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter1)) 76if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.ClassWithPropertiesUsingCustomConverters.ClassWithCustomConverter2))
JsonSchemaExporter\TestTypes.cs (1)
1295[JsonSerializable(typeof(ClassWithPropertiesUsingCustomConverters))]