7 writes to _state
System.Private.Xml (7)
System\Xml\Core\ReadContentAsBinaryHelper.cs (4)
255
_state
= State.None;
269
_state
= State.InReadContent;
297
_state
= State.InReadElementContent;
408
_state
= State.None;
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
217
_state
= State.InReadContent;
245
_state
= State.InReadElementContent;
330
_state
= State.None;
28 references to _state
System.Private.Xml (28)
System\Xml\Core\ReadContentAsBinaryHelper.cs (14)
70
switch (
_state
)
93
Debug.Fail($"Unexpected state {
_state
}");
97
Debug.Assert(
_state
== State.InReadContent);
113
switch (
_state
)
136
Debug.Fail($"Unexpected state {
_state
}");
140
Debug.Assert(
_state
== State.InReadContent);
156
switch (
_state
)
179
Debug.Fail($"Unexpected state {
_state
}");
183
Debug.Assert(
_state
== State.InReadElementContent);
199
switch (
_state
)
222
Debug.Fail($"Unexpected state {
_state
}");
226
Debug.Assert(
_state
== State.InReadElementContent);
237
if (
_state
!= State.None)
240
if (
_state
== State.InReadElementContent)
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (14)
21
switch (
_state
)
44
Debug.Fail($"Unexpected state {
_state
}");
48
Debug.Assert(
_state
== State.InReadContent);
65
switch (
_state
)
88
Debug.Fail($"Unexpected state {
_state
}");
92
Debug.Assert(
_state
== State.InReadContent);
109
switch (
_state
)
132
Debug.Fail($"Unexpected state {
_state
}");
136
Debug.Assert(
_state
== State.InReadElementContent);
153
switch (
_state
)
176
Debug.Fail($"Unexpected state {
_state
}");
180
Debug.Assert(
_state
== State.InReadElementContent);
191
if (
_state
!= State.None)
195
if (
_state
== State.InReadElementContent)