1 write to ElementType
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
51
ElementType
= converter.ElementType;
7 references to ElementType
Microsoft.AspNetCore.OpenApi (3)
Services\Schemas\OpenApiSchemaService.cs (3)
312
var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.
ElementType
!);
328
jsonTypeInfo.
ElementType
is not null)
330
var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.
ElementType
);
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
927
if (JsonTypeInfo.
ElementType
== JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.Null)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
403
Debug.Assert(value is null || value.Type ==
ElementType
);
766
if (
ElementType
!= null)
768
_elementTypeInfo ??= Options.GetTypeInfoInternal(
ElementType
);