1 write to ElementType
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
51ElementType = converter.ElementType;
8 references to ElementType
Microsoft.AspNetCore.OpenApi (4)
Services\Schemas\OpenApiSchemaService.cs (4)
493if (schema.Items is not null && jsonTypeInfo.ElementType is not null) 495var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType); 511jsonTypeInfo.ElementType is not null) 513var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.ElementType);
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
927if (JsonTypeInfo.ElementType == JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.Null)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
658Debug.Assert(value is null || value.Type == ElementType); 1022if (ElementType != null) 1024_elementTypeInfo ??= Options.GetTypeInfoInternal(ElementType);