44 references to State
System.Private.Xml (44)
System\Xml\Core\ReadContentAsBinaryHelper.cs (23)
20
private
State
_state;
72
case
State
.None:
82
case
State
.InReadContent:
90
case
State
.InReadElementContent:
97
Debug.Assert(_state ==
State
.InReadContent);
115
case
State
.None:
125
case
State
.InReadContent:
133
case
State
.InReadElementContent:
140
Debug.Assert(_state ==
State
.InReadContent);
158
case
State
.None:
168
case
State
.InReadContent:
170
case
State
.InReadElementContent:
183
Debug.Assert(_state ==
State
.InReadElementContent);
201
case
State
.None:
211
case
State
.InReadContent:
213
case
State
.InReadElementContent:
226
Debug.Assert(_state ==
State
.InReadElementContent);
237
if (_state !=
State
.None)
240
if (_state ==
State
.InReadElementContent)
255
_state =
State
.None;
269
_state =
State
.InReadContent;
297
_state =
State
.InReadElementContent;
408
_state =
State
.None;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (21)
23
case
State
.None:
33
case
State
.InReadContent:
41
case
State
.InReadElementContent:
48
Debug.Assert(_state ==
State
.InReadContent);
67
case
State
.None:
77
case
State
.InReadContent:
85
case
State
.InReadElementContent:
92
Debug.Assert(_state ==
State
.InReadContent);
111
case
State
.None:
121
case
State
.InReadContent:
123
case
State
.InReadElementContent:
136
Debug.Assert(_state ==
State
.InReadElementContent);
155
case
State
.None:
165
case
State
.InReadContent:
167
case
State
.InReadElementContent:
180
Debug.Assert(_state ==
State
.InReadElementContent);
191
if (_state !=
State
.None)
195
if (_state ==
State
.InReadElementContent)
217
_state =
State
.InReadContent;
245
_state =
State
.InReadElementContent;
330
_state =
State
.None;