16 writes to ObjectState
System.Text.Json (16)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (6)
127
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
136
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
159
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
194
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
242
state.Current.
ObjectState
= StackFrameObjectState.ReadElements;
257
state.Current.
ObjectState
= StackFrameObjectState.EndToken;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
163
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
181
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
217
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (3)
71
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
89
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
142
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (4)
128
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
146
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
170
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
191
state.Current.
ObjectState
= StackFrameObjectState.ConstructorArguments;
19 references to ObjectState
System.Text.Json (19)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (6)
123
if (state.Current.
ObjectState
== StackFrameObjectState.None)
145
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
174
if (state.Current.
ObjectState
< StackFrameObjectState.CreatedObject)
197
if (state.Current.
ObjectState
< StackFrameObjectState.ReadElements)
245
if (state.Current.
ObjectState
< StackFrameObjectState.EndToken)
260
if (state.Current.
ObjectState
< StackFrameObjectState.EndTokenValidation)
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
156
if (state.Current.
ObjectState
== StackFrameObjectState.None)
167
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
197
if (state.Current.
ObjectState
< StackFrameObjectState.CreatedObject)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (3)
64
if (state.Current.
ObjectState
== StackFrameObjectState.None)
75
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
104
if (state.Current.
ObjectState
< StackFrameObjectState.CreatedObject)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (3)
121
if (state.Current.
ObjectState
== StackFrameObjectState.None)
132
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
176
if (state.Current.
ObjectState
< StackFrameObjectState.ConstructorArguments)
System\Text\Json\Serialization\JsonSerializer.Read.HandleMetadata.cs (1)
27
Debug.Assert(state.Current.
ObjectState
== StackFrameObjectState.StartToken);
System\Text\Json\Serialization\ReadStack.cs (3)
302
if (frame.
ObjectState
== StackFrameObjectState.None ||
303
frame.
ObjectState
== StackFrameObjectState.CreatedObject ||
304
frame.
ObjectState
== StackFrameObjectState.ReadElements)