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