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