44 references to State
System.Xml (44)
System\Xml\Core\ReadContentAsBinaryHelper.cs (23)
24
State
state;
78
case
State
.None:
86
case
State
.InReadContent:
93
case
State
.InReadElementContent:
100
Debug.Assert( state ==
State
.InReadContent );
125
case
State
.None:
133
case
State
.InReadContent:
140
case
State
.InReadElementContent:
147
Debug.Assert( state ==
State
.InReadContent );
172
case
State
.None:
180
case
State
.InReadContent:
182
case
State
.InReadElementContent:
194
Debug.Assert( state ==
State
.InReadElementContent );
219
case
State
.None:
227
case
State
.InReadContent:
229
case
State
.InReadElementContent:
241
Debug.Assert( state ==
State
.InReadElementContent );
251
if ( state !=
State
.None ) {
254
if ( state ==
State
.InReadElementContent ) {
266
state =
State
.None;
278
state =
State
.InReadContent;
302
state =
State
.InReadElementContent;
392
state =
State
.None;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (21)
28
case
State
.None:
36
case
State
.InReadContent:
43
case
State
.InReadElementContent:
50
Debug.Assert( state ==
State
.InReadContent );
75
case
State
.None:
83
case
State
.InReadContent:
90
case
State
.InReadElementContent:
97
Debug.Assert( state ==
State
.InReadContent );
122
case
State
.None:
130
case
State
.InReadContent:
132
case
State
.InReadElementContent:
144
Debug.Assert( state ==
State
.InReadElementContent );
169
case
State
.None:
177
case
State
.InReadContent:
179
case
State
.InReadElementContent:
191
Debug.Assert( state ==
State
.InReadElementContent );
201
if ( state !=
State
.None ) {
204
if ( state ==
State
.InReadElementContent ) {
222
state =
State
.InReadContent;
246
state =
State
.InReadElementContent;
316
state =
State
.None;