1 write to PreserveReferences
System.Text.Json (1)
System\Text\Json\Serialization\ReadStack.cs (1)
102
PreserveReferences
= true;
2 references to PreserveReferences
System.Text.Json (2)
System\Text\Json\Serialization\ReadStack.cs (2)
108
Current.CanContainMetadata =
PreserveReferences
|| jsonTypeInfo.PolymorphicTypeResolver?.UsesTypeDiscriminators == true;
137
Current.CanContainMetadata =
PreserveReferences
|| jsonTypeInfo.PolymorphicTypeResolver?.UsesTypeDiscriminators == true;