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