4 writes to DerivedType
System.Text.Json (4)
System\Text\Json\Serialization\Metadata\JsonDerivedType.cs (4)
19
DerivedType
= derivedType;
30
DerivedType
= derivedType;
41
DerivedType
= derivedType;
48
DerivedType
= derivedType;
6 references to DerivedType
Microsoft.AspNetCore.OpenApi (3)
Extensions\JsonNodeSchemaExtensions.cs (2)
378
var jsonDerivedType = context.TypeInfo.Options.GetTypeInfo(derivedType.
DerivedType
);
421
&& !polymorphismOptions.DerivedTypes.Any(type => type.
DerivedType
== context.TypeInfo.Type);
Services\Schemas\OpenApiSchemaService.cs (1)
189
var derivedJsonTypeInfo = _jsonSerializerOptions.GetTypeInfo(derivedType.
DerivedType
);
System.Text.Json (3)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
134
JsonTypeInfo derivedTypeInfo = typeInfo.Options.GetTypeInfoInternal(derivedType.
DerivedType
);
399
if (derivedType.
DerivedType
== typeInfo.Type)
System\Text\Json\Serialization\Metadata\JsonDerivedType.cs (1)
64
derivedType =
DerivedType
;