55 writes to state
System.Xml (55)
System\Xml\Core\XmlSubtreeReader.cs (34)
96
state
= State.Initial;
378
state
= State.Interactive;
390
state
= State.EndOfFile;
416
state
= State.Interactive;
463
state
= State.Closed;
491
state
= State.EndOfFile;
515
state
= State.Interactive;
549
state
= State.Error;
562
state
= State.Error;
575
state
= State.Error;
588
state
= State.Error;
601
state
= State.Error;
614
state
= State.Error;
627
state
= State.Error;
640
state
= State.Error;
653
state
= State.Error;
666
state
= State.Error;
724
state
= State.ReadContentAsBase64;
730
state
= State.Interactive;
772
state
= State.Interactive;
777
state
= State.EndOfFile;
842
state
= State.ReadContentAsBinHex;
848
state
= State.Interactive;
889
state
= State.Interactive;
894
state
= State.EndOfFile;
1070
state
= State.PopNamespaceScope;
1074
state
= State.PopNamespaceScope;
1103
state
= State.ClearNsAttributes;
1155
state
= binaryState;
1175
state
= State.Interactive;
1180
state
= State.EndOfFile;
1199
state
= State.Interactive;
1204
state
= State.EndOfFile;
1308
state
= State.PopNamespaceScope;
System\Xml\Core\XmlSubtreeReaderAsync.cs (21)
28
state
= State.Interactive;
40
state
= State.EndOfFile;
66
state
= State.Interactive;
112
state
= State.EndOfFile;
136
state
= State.Interactive;
170
state
= State.Error;
183
state
= State.Error;
196
state
= State.Error;
248
state
= State.ReadContentAsBase64;
254
state
= State.Interactive;
296
state
= State.Interactive;
301
state
= State.EndOfFile;
366
state
= State.ReadContentAsBinHex;
372
state
= State.Interactive;
413
state
= State.Interactive;
418
state
= State.EndOfFile;
506
state
= binaryState;
526
state
= State.Interactive;
531
state
= State.EndOfFile;
550
state
= State.Interactive;
555
state
= State.EndOfFile;
43 references to state
System.Xml (43)
System\Xml\Core\XmlSubtreeReader.cs (29)
175
return
state
== State.EndOfFile ||
state
== State.Closed;
185
if ( (int)
state
<= (int)State.Closed ) {
186
return (ReadState)(int)
state
;
375
switch (
state
) {
440
if (
state
== State.Closed) {
445
if (
state
!= State.EndOfFile) {
469
switch (
state
) {
678
switch (
state
) {
747
switch (
state
) {
797
switch (
state
) {
865
switch (
state
) {
920
switch (
state
) {
1102
Debug.Assert(
state
== State.ClearNsAttributes ||
state
== State.Interactive ||
state
== State.PopNamespaceScope );
1154
Debug.Assert(
state
== State.Interactive );
1160
Debug.Assert(
state
== State.ReadElementContentAsBase64 ||
state
== State.ReadElementContentAsBinHex );
1163
if (
state
== State.ReadElementContentAsBase64 ) {
1189
Debug.Assert(
state
== State.ReadContentAsBase64 ||
state
== State.ReadContentAsBinHex );
1192
if (
state
== State.ReadContentAsBase64 ) {
1226
return 0 != ( AttributeActiveStates & ( 1 << (int)
state
) );
1245
return 0 != ( NamespaceActiveStates & ( 1 << (int)
state
) );
1264
switch (
state
) {
1297
Debug.Assert(
state
== State.Interactive ||
1298
state
== State.PopNamespaceScope ||
1299
state
== State.ClearNsAttributes );
System\Xml\Core\XmlSubtreeReaderAsync.cs (14)
25
switch (
state
) {
90
switch (
state
) {
202
switch (
state
) {
271
switch (
state
) {
321
switch (
state
) {
389
switch (
state
) {
438
switch (
state
) {
505
Debug.Assert(
state
== State.Interactive );
511
Debug.Assert(
state
== State.ReadElementContentAsBase64 ||
state
== State.ReadElementContentAsBinHex );
514
if (
state
== State.ReadElementContentAsBase64 ) {
540
Debug.Assert(
state
== State.ReadContentAsBase64 ||
state
== State.ReadContentAsBinHex );
543
if (
state
== State.ReadContentAsBase64 ) {