3 instantiations of PocoWithNullableStructFollowedByStruct
Shared.Tests (3)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableStructFollowedByStruct.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct(),
JsonSchemaExporter\TestTypes.cs (2)
486Value: new() { NullableStruct = null, Struct = recordStruct }, 487AdditionalValues: [new() { NullableStruct = recordStruct, Struct = recordStruct }],
24 references to PocoWithNullableStructFollowedByStruct
Shared.Tests (24)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableStructFollowedByStruct.g.cs (21)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct>? _PocoWithNullableStructFollowedByStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> PocoWithNullableStructFollowedByStruct 24get => _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)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> Create_PocoWithNullableStructFollowedByStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!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)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct).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.PocoWithNullableStructFollowedByStruct>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).NullableStruct, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).NullableStruct = value!, 68AttributeProviderFactory = 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), 78DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).Struct, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)obj).Struct = value!, 88AttributeProviderFactory = 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), 98private void PocoWithNullableStructFollowedByStructSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct? value) 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)value).NullableStruct, NullableSimpleRecordStruct); 111SimpleRecordStructSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct)value).Struct);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
164if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithNullableStructFollowedByStruct))
JsonSchemaExporter\TestTypes.cs (2)
485yield return new TestData<PocoWithNullableStructFollowedByStruct>( 1282[JsonSerializable(typeof(PocoWithNullableStructFollowedByStruct))]