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