3 instantiations of PocoWithStructFollowedByNullableStruct
Shared.Tests (3)
Generated\361d1da7f942c932\TestTypesContext.PocoWithStructFollowedByNullableStruct.g.cs (1)
33ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct(),
JsonSchemaExporter\TestTypes.cs (2)
457Value: new() { Struct = recordStruct, NullableStruct = null }, 458AdditionalValues: [new() { Struct = recordStruct, NullableStruct = recordStruct }],
24 references to PocoWithStructFollowedByNullableStruct
Shared.Tests (24)
Generated\361d1da7f942c932\TestTypesContext.PocoWithStructFollowedByNullableStruct.g.cs (21)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>? _PocoWithStructFollowedByNullableStruct; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> PocoWithStructFollowedByNullableStruct 24get => _PocoWithStructFollowedByNullableStruct ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> Create_PocoWithStructFollowedByNullableStruct(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).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.PocoWithStructFollowedByNullableStruct>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct), 60Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).NullableStruct, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).NullableStruct = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).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.PocoWithStructFollowedByNullableStruct), 80Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).Struct, 81Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)obj).Struct = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct).GetProperty("Struct", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.SimpleRecordStruct), global::System.Array.Empty<global::System.Type>(), null), 98private void PocoWithStructFollowedByNullableStructSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct? value) 109global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)value).NullableStruct, NullableSimpleRecordStruct); 111SimpleRecordStructSerializeHandler(writer, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct)value).Struct);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
204if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.PocoWithStructFollowedByNullableStruct))
JsonSchemaExporter\TestTypes.cs (2)
456yield return new TestData<PocoWithStructFollowedByNullableStruct>( 1281[JsonSerializable(typeof(PocoWithStructFollowedByNullableStruct))]