45 references to Token
System.Private.Xml (45)
System\Xml\Core\XmlTextWriter.cs (45)
158
private
Token
_lastToken;
276
_lastToken =
Token
.Empty;
431
_lastToken =
Token
.Empty;
447
AutoComplete(
Token
.Doctype);
484
AutoComplete(
Token
.StartElement);
574
AutoComplete(
Token
.StartAttribute);
721
AutoComplete(
Token
.EndAttribute);
735
AutoComplete(
Token
.CData);
766
AutoComplete(
Token
.Comment);
796
AutoComplete(
Token
.PI);
812
AutoComplete(
Token
.Content);
827
AutoComplete(
Token
.Content);
851
AutoComplete(
Token
.Whitespace);
868
AutoComplete(
Token
.Content);
884
AutoComplete(
Token
.Content);
900
AutoComplete(
Token
.Content);
915
AutoComplete(
Token
.RawData);
930
AutoComplete(
Token
.RawData);
947
AutoComplete(
Token
.Base64);
973
AutoComplete(
Token
.Content);
1043
AutoComplete(
Token
.Content);
1058
AutoComplete(
Token
.Content);
1148
AutoComplete(
Token
.Content);
1203
private void AutoComplete(
Token
token)
1222
case
Token
.Doctype:
1229
case
Token
.StartElement:
1230
case
Token
.Comment:
1231
case
Token
.PI:
1232
case
Token
.CData:
1242
if (token ==
Token
.CData)
1252
case
Token
.EndElement:
1253
case
Token
.LongEndElement:
1264
token =
Token
.LongEndElement;
1268
WriteEndStartTag(token ==
Token
.EndElement);
1276
case
Token
.StartAttribute:
1292
case
Token
.EndAttribute:
1300
case
Token
.Whitespace:
1301
case
Token
.Content:
1302
case
Token
.RawData:
1303
case
Token
.Base64:
1305
if (token !=
Token
.Base64 && _flush)
1309
if (_currentState == State.Element && _lastToken !=
Token
.Content)
1349
AutoComplete(longFormat ?
Token
.LongEndElement :
Token
.EndElement);
1350
if (_lastToken ==
Token
.LongEndElement)