11 references to None
System.Text.Json (11)
System\Text\Json\Serialization\JsonConverter.MetadataHandling.cs (2)
26
case PolymorphicSerializationState.
None
:
80
case PolymorphicSerializationState.
None
:
System\Text\Json\Serialization\ReadStack.cs (2)
214
Debug.Assert(Current.PolymorphicSerializationState == PolymorphicSerializationState.
None
);
251
Current.PolymorphicSerializationState = success ? PolymorphicSerializationState.
None
: PolymorphicSerializationState.PolymorphicReEntrySuspended;
System\Text\Json\Serialization\WriteStack.cs (1)
190
if (_count == 0 && Current.PolymorphicSerializationState == PolymorphicSerializationState.
None
)
System\Text\Json\Serialization\WriteStackFrame.cs (6)
88
PolymorphicSerializationState = PolymorphicSerializationState.
None
;
94
PolymorphicSerializationState = PolymorphicSerializationState.
None
;
102
PolymorphicSerializationState = PolymorphicSerializationState.
None
;
120
Debug.Assert(PolymorphicSerializationState == PolymorphicSerializationState.
None
);
142
Debug.Assert(PolymorphicSerializationState is PolymorphicSerializationState.
None
or PolymorphicSerializationState.PolymorphicReEntryStarted);
165
PolymorphicSerializationState = success ? PolymorphicSerializationState.
None
: PolymorphicSerializationState.PolymorphicReEntrySuspended;