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