2 instantiations of PocoWithCustomNaming
Shared.Tests (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithCustomNaming.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
(),
JsonSchemaExporter\TestTypes.cs (1)
262
Value:
new
() { IntegerProperty = 1, StringProperty = "str" },
24 references to PocoWithCustomNaming
Shared.Tests (24)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
116
if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.PocoWithCustomNaming.g.cs (21)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
>? _PocoWithCustomNaming;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
> PocoWithCustomNaming
24
get => _PocoWithCustomNaming ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
> Create_PocoWithCustomNaming(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
).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.
PocoWithCustomNaming
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)obj).IntegerProperty,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)obj).IntegerProperty = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
).GetProperty("IntegerProperty", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
),
80
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)obj).StringProperty,
81
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)obj).StringProperty = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
).GetProperty("StringProperty", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
private void PocoWithCustomNamingSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
? value)
108
writer.WriteNumber(PropName_int, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)value).IntegerProperty);
109
writer.WriteString(PropName_str, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithCustomNaming
)value).StringProperty);
JsonSchemaExporter\TestTypes.cs (2)
261
yield return new TestData<
PocoWithCustomNaming
>(
1272
[JsonSerializable(typeof(
PocoWithCustomNaming
))]