1 write to ElementType
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
46
ElementType
= converter.ElementType;
8 references to ElementType
Microsoft.AspNetCore.OpenApi (4)
Services\Schemas\OpenApiSchemaService.cs (4)
548
if (schema.Items is not null && jsonTypeInfo.
ElementType
is not null)
550
var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.
ElementType
);
566
jsonTypeInfo.
ElementType
is not null)
568
var elementTypeInfo = _jsonSerializerOptions.GetTypeInfo(jsonTypeInfo.
ElementType
);
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (1)
918
if (JsonTypeInfo.
ElementType
== JsonTypeInfo.ObjectType && reader.TokenType == JsonTokenType.Null)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (3)
653
Debug.Assert(value is null || value.Type ==
ElementType
);
1011
if (
ElementType
!= null)
1013
_elementTypeInfo ??= Options.GetTypeInfoInternal(
ElementType
);