29 references to Object
Microsoft.AspNetCore.OpenApi (2)
Schemas\JsonSchemaMapper\JsonSchemaMapper.cs (1)
400case JsonTypeInfoKind.Object:
Schemas\JsonSchemaMapper\JsonSchemaMapper.ReflectionHelpers.cs (1)
157Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Object);
System.Text.Json (27)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
619Debug.Assert(state.Current.JsonTypeInfo.Kind == JsonTypeInfoKind.Object);
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
29if (jsonTypeInfo.Kind != JsonTypeInfoKind.Object)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (2)
72if (typeInfo.Kind is JsonTypeInfoKind.Object) 93Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Object);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (2)
115Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Object); 130Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Object);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (21)
91/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.Object"/> metadata. 104if (Kind != JsonTypeInfoKind.Object) 121/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.Object"/> metadata. 134if (Kind != JsonTypeInfoKind.Object) 151/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.Object"/> metadata. 164if (Kind != JsonTypeInfoKind.Object) 181/// Serialization callbacks are only supported for <see cref="JsonTypeInfoKind.Object"/> metadata. 194if (Kind != JsonTypeInfoKind.Object) 207/// Property is only applicable to metadata of kind <see cref="JsonTypeInfoKind.Object"/>. 433/// of kind <see cref="JsonTypeInfoKind.Object"/>. 496/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.Object"/>. 512if (Kind != JsonTypeInfoKind.Object) 540/// Unmapped member handling only supported for <see cref="JsonTypeInfoKind.Object"/>. 556if (Kind != JsonTypeInfoKind.Object) 686if (Kind == JsonTypeInfoKind.Object) 1049Debug.Assert(Kind == JsonTypeInfoKind.Object); 1120Debug.Assert(Kind == JsonTypeInfoKind.Object); 1218if (Kind == JsonTypeInfoKind.Object) 1313case ConverterStrategy.Object: return JsonTypeInfoKind.Object; 1335public override bool IsReadOnly => _jsonTypeInfo._properties == this && _jsonTypeInfo.IsReadOnly || _jsonTypeInfo.Kind != JsonTypeInfoKind.Object; 1343if (_jsonTypeInfo.Kind != JsonTypeInfoKind.Object)