1 write to CtorArgumentState
System.Text.Json (1)
System\Text\Json\Serialization\ReadStack.cs (1)
394
Current.
CtorArgumentState
??= new();
19 references to CtorArgumentState
System.Text.Json (19)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (7)
37
ArgumentState argumentState = state.Current.
CtorArgumentState
!;
345
ArgumentState argumentState = state.Current.
CtorArgumentState
!;
435
jsonParameterInfo = state.Current.
CtorArgumentState
!.JsonParameterInfo;
542
ArgumentState argumentState = state.Current.
CtorArgumentState
!;
589
Debug.Assert(state.Current.
CtorArgumentState
!= null);
605
Debug.Assert(state.Current.
CtorArgumentState
!= null);
622
state.Current.
CtorArgumentState
!.JsonParameterInfo = jsonParameterInfo;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (5)
30
((object[])state.Current.
CtorArgumentState
!.Arguments)[jsonParameterInfo.Position] = arg!;
38
Debug.Assert(frame.
CtorArgumentState
!= null);
41
object[] arguments = (object[])frame.
CtorArgumentState
.Arguments;
42
frame.
CtorArgumentState
.Arguments = null!;
62
state.Current.
CtorArgumentState
!.Arguments = arguments;
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (4)
21
var arguments = (Arguments<TArg0, TArg1, TArg2, TArg3>)frame.
CtorArgumentState
!.Arguments;
30
Debug.Assert(state.Current.
CtorArgumentState
!.Arguments != null);
31
var arguments = (Arguments<TArg0, TArg1, TArg2, TArg3>)state.Current.
CtorArgumentState
.Arguments;
119
state.Current.
CtorArgumentState
!.Arguments = arguments;
System\Text\Json\Serialization\ReadStack.cs (2)
125
JsonTypeInfo jsonTypeInfo = Current.JsonPropertyInfo?.JsonTypeInfo ?? Current.
CtorArgumentState
!.JsonParameterInfo!.JsonTypeInfo;
358
frame.
CtorArgumentState
?.JsonParameterInfo?.JsonNameAsUtf8Bytes;
System\Text\Json\Serialization\ReadStackFrame.cs (1)
91
CtorArgumentState
!.JsonParameterInfo = null;