2 writes to TypeDiscriminator
System.Text.Json (2)
System\Text\Json\Serialization\Attributes\JsonDerivedTypeAttribute.cs (2)
29TypeDiscriminator = typeDiscriminator; 40TypeDiscriminator = typeDiscriminator;
1 reference to TypeDiscriminator
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\JsonPolymorphismOptions.cs (1)
117(options ??= new()).DerivedTypes.Add(new JsonDerivedType(attr.DerivedType, attr.TypeDiscriminator));