55 writes to _state
System.Private.Xml (55)
System\Xml\Core\XmlSubtreeReader.cs (34)
102
_state
= State.Initial;
471
_state
= State.Interactive;
485
_state
= State.EndOfFile;
513
_state
= State.Interactive;
570
_state
= State.Closed;
604
_state
= State.EndOfFile;
629
_state
= State.Interactive;
668
_state
= State.Error;
684
_state
= State.Error;
700
_state
= State.Error;
716
_state
= State.Error;
732
_state
= State.Error;
748
_state
= State.Error;
764
_state
= State.Error;
780
_state
= State.Error;
796
_state
= State.Error;
812
_state
= State.Error;
883
_state
= State.ReadContentAsBase64;
890
_state
= State.Interactive;
937
_state
= State.Interactive;
943
_state
= State.EndOfFile;
1021
_state
= State.ReadContentAsBinHex;
1028
_state
= State.Interactive;
1074
_state
= State.Interactive;
1080
_state
= State.EndOfFile;
1289
_state
= State.PopNamespaceScope;
1293
_state
= State.PopNamespaceScope;
1339
_state
= State.ClearNsAttributes;
1400
_state
= binaryState;
1424
_state
= State.Interactive;
1430
_state
= State.EndOfFile;
1452
_state
= State.Interactive;
1458
_state
= State.EndOfFile;
1572
_state
= State.PopNamespaceScope;
System\Xml\Core\XmlSubtreeReaderAsync.cs (21)
34
_state
= State.Interactive;
48
_state
= State.EndOfFile;
76
_state
= State.Interactive;
130
_state
= State.EndOfFile;
155
_state
= State.Interactive;
194
_state
= State.Error;
210
_state
= State.Error;
226
_state
= State.Error;
289
_state
= State.ReadContentAsBase64;
296
_state
= State.Interactive;
343
_state
= State.Interactive;
349
_state
= State.EndOfFile;
427
_state
= State.ReadContentAsBinHex;
434
_state
= State.Interactive;
480
_state
= State.Interactive;
486
_state
= State.EndOfFile;
584
_state
= binaryState;
608
_state
= State.Interactive;
614
_state
= State.EndOfFile;
636
_state
= State.Interactive;
642
_state
= State.EndOfFile;
62 references to _state
System.Private.Xml (62)
System\Xml\Core\XmlSubtreeReader.cs (39)
203
return
_state
== State.EndOfFile ||
_state
== State.Closed;
217
if ((int)
_state
<= (int)State.Closed)
219
return (ReadState)(int)
_state
;
467
switch (
_state
)
533
Debug.Fail($"Unexpected state {
_state
}");
540
if (
_state
== State.Closed)
547
if (
_state
!= State.EndOfFile)
577
switch (
_state
)
652
Debug.Fail($"Unexpected state {
_state
}");
827
switch (
_state
)
878
Debug.Fail($"Unexpected state {
_state
}");
901
Debug.Fail($"Unexpected state {
_state
}");
908
switch (
_state
)
958
Debug.Fail($"Unexpected state {
_state
}");
965
switch (
_state
)
1016
Debug.Fail($"Unexpected state {
_state
}");
1039
Debug.Fail($"Unexpected state {
_state
}");
1046
switch (
_state
)
1095
Debug.Fail($"Unexpected state {
_state
}");
1110
switch (
_state
)
1154
Debug.Fail($"Unexpected state {
_state
}");
1338
Debug.Assert(
_state
== State.ClearNsAttributes ||
_state
== State.Interactive ||
_state
== State.PopNamespaceScope);
1399
Debug.Assert(
_state
== State.Interactive);
1406
Debug.Assert(
_state
== State.ReadElementContentAsBase64 ||
_state
== State.ReadElementContentAsBinHex);
1409
if (
_state
== State.ReadElementContentAsBase64)
1440
Debug.Assert(
_state
== State.ReadContentAsBase64 ||
_state
== State.ReadContentAsBinHex);
1443
if (
_state
== State.ReadContentAsBase64)
1482
return 0 != (AttributeActiveStates & (1 << (int)
_state
));
1503
return 0 != (NamespaceActiveStates & (1 << (int)
_state
));
1525
switch (
_state
)
1552
Debug.Fail($"Unexpected state {
_state
}");
1560
Debug.Assert(
_state
== State.Interactive ||
1561
_state
== State.PopNamespaceScope ||
1562
_state
== State.ClearNsAttributes);
System\Xml\Core\XmlSubtreeReaderAsync.cs (23)
30
switch (
_state
)
96
Debug.Fail($"Unexpected state {
_state
}");
103
switch (
_state
)
178
Debug.Fail($"Unexpected state {
_state
}");
233
switch (
_state
)
284
Debug.Fail($"Unexpected state {
_state
}");
307
Debug.Fail($"Unexpected state {
_state
}");
314
switch (
_state
)
364
Debug.Fail($"Unexpected state {
_state
}");
371
switch (
_state
)
422
Debug.Fail($"Unexpected state {
_state
}");
445
Debug.Fail($"Unexpected state {
_state
}");
452
switch (
_state
)
501
Debug.Fail($"Unexpected state {
_state
}");
508
switch (
_state
)
552
Debug.Fail($"Unexpected state {
_state
}");
583
Debug.Assert(
_state
== State.Interactive);
590
Debug.Assert(
_state
== State.ReadElementContentAsBase64 ||
_state
== State.ReadElementContentAsBinHex);
593
if (
_state
== State.ReadElementContentAsBase64)
624
Debug.Assert(
_state
== State.ReadContentAsBase64 ||
_state
== State.ReadContentAsBinHex);
627
if (
_state
== State.ReadContentAsBase64)