16 writes to ObjectState
System.Text.Json (16)
System\Text\Json\Serialization\Converters\Collection\JsonCollectionConverter.cs (6)
126
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
135
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
158
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
193
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
241
state.Current.
ObjectState
= StackFrameObjectState.ReadElements;
256
state.Current.
ObjectState
= StackFrameObjectState.EndToken;
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
162
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
180
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
216
state.Current.
ObjectState
= StackFrameObjectState.CreatedObject;
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (3)
65
state.Current.
ObjectState
= StackFrameObjectState.StartToken;
83
state.Current.
ObjectState
= StackFrameObjectState.ReadMetadata;
136
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)
122
if (state.Current.
ObjectState
== StackFrameObjectState.None)
144
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
173
if (state.Current.
ObjectState
< StackFrameObjectState.CreatedObject)
196
if (state.Current.
ObjectState
< StackFrameObjectState.ReadElements)
244
if (state.Current.
ObjectState
< StackFrameObjectState.EndToken)
259
if (state.Current.
ObjectState
< StackFrameObjectState.EndTokenValidation)
System\Text\Json\Serialization\Converters\Collection\JsonDictionaryConverter.cs (3)
155
if (state.Current.
ObjectState
== StackFrameObjectState.None)
166
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
196
if (state.Current.
ObjectState
< StackFrameObjectState.CreatedObject)
System\Text\Json\Serialization\Converters\Object\ObjectDefaultConverter.cs (3)
58
if (state.Current.
ObjectState
== StackFrameObjectState.None)
69
if (state.Current.CanContainMetadata && state.Current.
ObjectState
< StackFrameObjectState.ReadMetadata)
98
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)
294
if (frame.
ObjectState
== StackFrameObjectState.None ||
295
frame.
ObjectState
== StackFrameObjectState.CreatedObject ||
296
frame.
ObjectState
== StackFrameObjectState.ReadElements)