2 instantiations of PocoWithNullableAnnotationAttributes
Shared.Tests (2)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableAnnotationAttributes.g.cs (1)
33
ObjectCreator = () => new global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
(),
JsonSchemaExporter\TestTypes.cs (1)
551
Value:
new
() { MaybeNull = null!, AllowNull = null, NotNull = null, DisallowNull = null!, NotNullDisallowNull = "str" },
39 references to PocoWithNullableAnnotationAttributes
Shared.Tests (39)
Generated\361d1da7f942c932\TestTypesContext.PocoWithNullableAnnotationAttributes.g.cs (36)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
>? _PocoWithNullableAnnotationAttributes;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
> PocoWithNullableAnnotationAttributes
24
get => _PocoWithNullableAnnotationAttributes ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
> Create_PocoWithNullableAnnotationAttributes(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
>
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).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.
PocoWithNullableAnnotationAttributes
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).MaybeNull,
61
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).MaybeNull = value!,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).GetProperty("MaybeNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
),
81
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).AllowNull,
82
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).AllowNull = value!,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).GetProperty("AllowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
),
102
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).NotNull,
103
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).NotNull = value!,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).GetProperty("NotNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
121
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
),
123
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).DisallowNull,
124
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).DisallowNull = value!,
131
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).GetProperty("DisallowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
142
DeclaringType = typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
),
144
Getter = static obj => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).NotNullDisallowNull,
145
Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)obj).NotNullDisallowNull = value!,
152
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
).GetProperty("NotNullDisallowNull", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
164
private void PocoWithNullableAnnotationAttributesSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
? value)
174
writer.WriteString(PropName_MaybeNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)value).MaybeNull);
175
writer.WriteString(PropName_AllowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)value).AllowNull);
176
writer.WriteString(PropName_NotNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)value).NotNull);
177
writer.WriteString(PropName_DisallowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)value).DisallowNull);
178
writer.WriteString(PropName_NotNullDisallowNull, ((global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
)value).NotNullDisallowNull);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
152
if (type == typeof(global::Microsoft.Extensions.AI.JsonSchemaExporter.TestTypes.
PocoWithNullableAnnotationAttributes
))
JsonSchemaExporter\TestTypes.cs (2)
550
yield return new TestData<
PocoWithNullableAnnotationAttributes
>(
1285
[JsonSerializable(typeof(
PocoWithNullableAnnotationAttributes
))]