23 references to Object
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
42
if (jsonTypeInfo.Kind != JsonTypeInfoKind.
Object
)
System.Text.Json (22)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
206
case JsonTypeInfoKind.
Object
:
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
604
Debug.Assert(state.Current.JsonTypeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (2)
72
if (typeInfo is { Kind: JsonTypeInfoKind.
Object
, IsNullable: false })
99
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (2)
121
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
136
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
Object
);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (15)
113
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
126
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
143
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
156
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
173
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
186
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
209
/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.
Object
"/> metadata.
222
if (Kind is not (JsonTypeInfoKind.
Object
or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.Dictionary))
235
/// Property is only applicable to metadata of kind <see cref="JsonTypeInfoKind.
Object
"/>.
461
/// of kind <see cref="JsonTypeInfoKind.
Object
"/>.
525
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
541
if (Kind != JsonTypeInfoKind.
Object
)
569
/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.
Object
"/>.
585
if (Kind != JsonTypeInfoKind.
Object
)
754
if (Kind == JsonTypeInfoKind.
Object
)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
98
if (derivedTypeInfo.JsonTypeInfo.Kind is JsonTypeInfoKind.
Object
)