28 writes to currentState
System.Xml (28)
System\Xml\Core\XmlTextWriter.cs (28)
259
currentState
= State.Start;
373
this.
currentState
= State.Start;
377
currentState
= State.Error;
410
currentState
= State.Error;
471
currentState
= State.Error;
595
currentState
= State.Error;
606
currentState
= State.Error;
626
currentState
= State.Error;
645
currentState
= State.Error;
663
currentState
= State.Error;
676
currentState
= State.Error;
688
currentState
= State.Error;
707
currentState
= State.Error;
721
currentState
= State.Error;
733
currentState
= State.Error;
746
currentState
= State.Error;
758
currentState
= State.Error;
770
currentState
= State.Error;
792
currentState
= State.Error;
805
currentState
= State.Error;
846
this.
currentState
= State.Closed;
864
currentState
= State.Error;
895
currentState
= State.Error;
951
currentState
= State.Error;
965
this.
currentState
= State.Prolog;
984
currentState
= State.Error;
1086
this.
currentState
= newState;
1129
currentState
= State.Error;
19 references to currentState
System.Xml (19)
System\Xml\Core\XmlTextWriter.cs (19)
306
if (this.
currentState
!= State.Start)
364
if (this.
currentState
!= State.Epilog) {
365
if (this.
currentState
== State.Closed) {
813
switch (this.
currentState
) {
877
if (this.
currentState
!= State.Attribute) {
961
if (this.
currentState
!= State.Start) {
990
if (this.
currentState
== State.Closed) {
993
else if (this.
currentState
== State.Error) {
997
State newState = this.stateTable[(int)token * 8 + (int)this.
currentState
];
999
throw new InvalidOperationException(Res.GetString(Res.Xml_WrongToken, tokenName[(int)token], stateName[(int)this.
currentState
]));
1004
if (this.indented && this.
currentState
!= State.Start) {
1013
if (this.
currentState
== State.Attribute) {
1017
else if (this.
currentState
== State.Element) {
1023
else if (this.indented && this.
currentState
!= State.Start) {
1033
if (this.
currentState
== State.Attribute) {
1036
if (this.
currentState
== State.Content) {
1051
if (this.
currentState
== State.Attribute) {
1055
else if (this.
currentState
== State.Element) {
1075
if (this.
currentState
== State.Element && this.lastToken != Token.Content) {