1 instantiation of ClassWithNullableMaxLengthProperty
Microsoft.Extensions.AI.Abstractions.Tests (1)
Generated\361d1da7f942c932\JsonContext.ClassWithNullableMaxLengthProperty.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
(),
19 references to ClassWithNullableMaxLengthProperty
Microsoft.Extensions.AI.Abstractions.Tests (19)
Generated\361d1da7f942c932\JsonContext.ClassWithNullableMaxLengthProperty.g.cs (16)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
>? _ClassWithNullableMaxLengthProperty;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
> ClassWithNullableMaxLengthProperty
24
get => _ClassWithNullableMaxLengthProperty ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
> Create_ClassWithNullableMaxLengthProperty(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
).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.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
)obj).Value,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
)obj).Value = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
private void ClassWithNullableMaxLengthPropertySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
? value)
88
writer.WriteString(PropName_Value, ((global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
)value).Value);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
32
if (type == typeof(global::Microsoft.Extensions.AI.AIJsonUtilitiesTests.
ClassWithNullableMaxLengthProperty
))
Utilities\AIJsonUtilitiesTests.cs (2)
1218
JsonElement actualSchema = AIJsonUtilities.CreateJsonSchema(typeof(
ClassWithNullableMaxLengthProperty
), serializerOptions: JsonContext.Default.Options);
1948
[JsonSerializable(typeof(
ClassWithNullableMaxLengthProperty
))]