1 write to ElementType
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
49
ElementType
= converter.ElementType;
5 references to ElementType
Microsoft.AspNetCore.OpenApi (1)
Services\Schemas\OpenApiSchemaService.cs (1)
201
var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.
ElementType
!);
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
906
if (JsonTypeInfo.
ElementType
== JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.Null)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
401
Debug.Assert(value is null || value.Type ==
ElementType
);
764
if (
ElementType
!= null)
766
_elementTypeInfo ??= Options.GetTypeInfoInternal(
ElementType
);