8 writes to PolymorphicSerializationState
System.Text.Json (8)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
115state.Current.PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryNotFound;
System\Text\Json\Serialization\WriteStackFrame.cs (7)
88PolymorphicSerializationState = PolymorphicSerializationState.None; 94PolymorphicSerializationState = PolymorphicSerializationState.None; 102PolymorphicSerializationState = PolymorphicSerializationState.None; 133PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryStarted; 145PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryStarted; 156PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryStarted; 165PolymorphicSerializationState = success ? PolymorphicSerializationState.None : PolymorphicSerializationState.PolymorphicReEntrySuspended;
9 references to PolymorphicSerializationState
System.Text.Json (9)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
78switch (state.Current.PolymorphicSerializationState)
System\Text\Json\Serialization\JsonConverterOfT.cs (1)
375state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted)
System\Text\Json\Serialization\WriteStack.cs (3)
180Debug.Assert(Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted); 188Debug.Assert(Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntrySuspended); 190if (_count == 0 && Current.PolymorphicSerializationState == PolymorphicSerializationState.None)
System\Text\Json\Serialization\WriteStackFrame.cs (4)
110return PolymorphicSerializationState is PolymorphicSerializationState.PolymorphicReEntryStarted 120Debug.Assert(PolymorphicSerializationState == PolymorphicSerializationState.None); 142Debug.Assert(PolymorphicSerializationState is PolymorphicSerializationState.None or PolymorphicSerializationState.PolymorphicReEntryStarted); 154Debug.Assert(PolymorphicSerializationState == PolymorphicSerializationState.PolymorphicReEntrySuspended);