45 references to Token
System.Xml (45)
System\Xml\Core\XmlTextWriter.cs (45)
143
Token
lastToken;
260
lastToken =
Token
.Empty;
374
this.lastToken =
Token
.Empty;
387
AutoComplete(
Token
.Doctype);
418
AutoComplete(
Token
.StartElement);
489
AutoComplete(
Token
.StartAttribute);
603
AutoComplete(
Token
.EndAttribute);
614
AutoComplete(
Token
.CData);
637
AutoComplete(
Token
.Comment);
659
AutoComplete(
Token
.PI);
672
AutoComplete(
Token
.Content);
684
AutoComplete(
Token
.Content);
703
AutoComplete(
Token
.Whitespace);
716
AutoComplete(
Token
.Content);
729
AutoComplete(
Token
.Content);
742
AutoComplete(
Token
.Content);
754
AutoComplete(
Token
.RawData);
766
AutoComplete(
Token
.RawData);
779
AutoComplete(
Token
.Base64);
801
AutoComplete(
Token
.Content );
860
AutoComplete(
Token
.Content);
872
AutoComplete(
Token
.Content);
940
AutoComplete(
Token
.Content);
989
void AutoComplete(
Token
token) {
1003
case
Token
.Doctype:
1009
case
Token
.StartElement:
1010
case
Token
.Comment:
1011
case
Token
.PI:
1012
case
Token
.CData:
1020
if (token ==
Token
.CData) {
1028
case
Token
.EndElement:
1029
case
Token
.LongEndElement:
1037
token =
Token
.LongEndElement;
1040
WriteEndStartTag(token ==
Token
.EndElement);
1047
case
Token
.StartAttribute:
1060
case
Token
.EndAttribute:
1067
case
Token
.Whitespace:
1068
case
Token
.Content:
1069
case
Token
.RawData:
1070
case
Token
.Base64:
1072
if (token !=
Token
.Base64 && this.flush) {
1075
if (this.currentState == State.Element && this.lastToken !=
Token
.Content) {
1105
AutoComplete(longFormat ?
Token
.LongEndElement :
Token
.EndElement);
1106
if (this.lastToken ==
Token
.LongEndElement) {