2 references to new
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonPolymorphismOptions.cs (2)
107
options =
new
()
117
(options ??=
new
()).DerivedTypes.Add(new JsonDerivedType(attr.DerivedType, attr.TypeDiscriminator));