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