2 instantiations of PocoWithCustomNumberHandling
Shared.Tests (2)
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomNumberHandling.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
(),
JsonSchemaExporter\TestTypes.cs (1)
274
Value:
new
() { X = 1 },
19 references to PocoWithCustomNumberHandling
Shared.Tests (19)
Generated\361d1da7f942c932\TestTypesContext.PocoWithCustomNumberHandling.g.cs (16)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
>? _PocoWithCustomNumberHandling;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
> PocoWithCustomNumberHandling
24
get => _PocoWithCustomNumberHandling ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
> Create_PocoWithCustomNumberHandling(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
).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.
PocoWithCustomNumberHandling
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
)obj).X,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
)obj).X = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
).GetProperty("X", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
78
private void PocoWithCustomNumberHandlingSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
? value)
88
writer.WriteNumber(PropName_X, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
)value).X);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
120
if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNumberHandling
))
JsonSchemaExporter\TestTypes.cs (2)
273
yield return new TestData<
PocoWithCustomNumberHandling
>(
1273
[JsonSerializable(typeof(
PocoWithCustomNumberHandling
))]