31 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)
554
if (ctx.TypeInfo.Kind is JsonTypeInfoKind.
Object
&&
System.Text.Json (29)
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\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (3)
42
&& typeInfo.Kind is JsonTypeInfoKind.
Object
)
55
if (typeInfo is { Kind: JsonTypeInfoKind.
Object
, IsNullable: false })
448
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
"/>.
713
/// of kind <see cref="JsonTypeInfoKind.
Object
"/>.
777
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
793
if (Kind != JsonTypeInfoKind.
Object
)
817
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
833
if (Kind != JsonTypeInfoKind.
Object
)
1001
if (Kind == JsonTypeInfoKind.
Object
)
1535
Debug.Assert(Kind == JsonTypeInfoKind.
Object
);
1647
Debug.Assert(Kind == JsonTypeInfoKind.
Object
);
1705
if (Kind is JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary)
1797
case ConverterStrategy.Object: return JsonTypeInfoKind.
Object
;
1823
public override bool IsReadOnly => _jsonTypeInfo._properties == this && _jsonTypeInfo.IsReadOnly || _jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
;
1831
if (_jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
98
if (derivedTypeInfo.JsonTypeInfo.Kind is JsonTypeInfoKind.
Object
)