4 writes to PolymorphicSerializationState
System.Text.Json (4)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (1)
43state.Current.PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryNotFound;
System\Text\Json\Serialization\ReadStack.cs (3)
220Current.PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryStarted; 237Current.PolymorphicSerializationState = PolymorphicSerializationState.PolymorphicReEntryStarted; 251Current.PolymorphicSerializationState = success ? PolymorphicSerializationState.None : PolymorphicSerializationState.PolymorphicReEntrySuspended;
10 references to PolymorphicSerializationState
System.Text.Json (10)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (1)
163state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted &&
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (1)
185state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted &&
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (1)
88state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted &&
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (1)
151state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted &&
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
19Debug.Assert(state.Current.PolymorphicSerializationState != PolymorphicSerializationState.PolymorphicReEntryStarted); 24switch (state.Current.PolymorphicSerializationState)
System\Text\Json\Serialization\ReadStack.cs (3)
214Debug.Assert(Current.PolymorphicSerializationState == PolymorphicSerializationState.None); 233Debug.Assert(Current.PolymorphicSerializationState == PolymorphicSerializationState.PolymorphicReEntrySuspended); 247Debug.Assert(Current.PolymorphicSerializationState == PolymorphicSerializationState.PolymorphicReEntryStarted);
System\Text\Json\Serialization\ReadStackFrame.cs (1)
62=> PolymorphicSerializationState == PolymorphicSerializationState.PolymorphicReEntryStarted