33 references to Object
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
43
if (jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
563
if (ctx.TypeInfo.Kind is JsonTypeInfoKind.
Object
&&
System.Text.Json (31)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
217
case JsonTypeInfoKind.
Object
:
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
620
Debug.Assert(state.Current.JsonTypeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\JsonUnionTypeStructuralClassifier.cs (2)
196
Kind: JsonTypeInfoKind.
Object
,
253
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (3)
42
&& typeInfo.Kind is JsonTypeInfoKind.
Object
)
55
if (typeInfo is { Kind: JsonTypeInfoKind.
Object
, IsNullable: false })
517
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (2)
151
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
166
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (21)
110
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
123
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
140
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
153
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
170
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
183
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
206
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
219
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
232
/// Property is only applicable to metadata of kind <see cref="JsonTypeInfoKind.
Object
"/>.
705
/// of kind <see cref="JsonTypeInfoKind.
Object
"/>.
769
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
785
if (Kind != JsonTypeInfoKind.
Object
)
809
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
825
if (Kind != JsonTypeInfoKind.
Object
)
993
if (Kind == JsonTypeInfoKind.
Object
)
1506
Debug.Assert(Kind == JsonTypeInfoKind.
Object
);
1618
Debug.Assert(Kind == JsonTypeInfoKind.
Object
);
1676
if (Kind is JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary)
1768
case ConverterStrategy.Object: return JsonTypeInfoKind.
Object
;
1794
public override bool IsReadOnly => _jsonTypeInfo._properties == this && _jsonTypeInfo.IsReadOnly || _jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
;
1802
if (_jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
98
if (derivedTypeInfo.JsonTypeInfo.Kind is JsonTypeInfoKind.
Object
)