3 writes to PolymorphicTypeDiscriminator
System.Text.Json (3)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
46state.PolymorphicTypeDiscriminator = null;
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
247state.PolymorphicTypeDiscriminator = reader.GetString(); 250state.PolymorphicTypeDiscriminator = reader.GetInt32();
4 references to PolymorphicTypeDiscriminator
System.Text.Json (4)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
28Debug.Assert(state.PolymorphicTypeDiscriminator != null); 31if (resolver.TryGetDerivedJsonTypeInfo(state.PolymorphicTypeDiscriminator, out JsonTypeInfo? resolvedType))
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (2)
135if (state.PolymorphicTypeDiscriminator != null) 242Debug.Assert(state.PolymorphicTypeDiscriminator == null);