45 references to Token
dotnet-svcutil-lib (45)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (45)
153
private
Token
_lastToken;
271
_lastToken =
Token
.Empty;
406
_lastToken =
Token
.Empty;
422
AutoComplete(
Token
.Doctype);
459
AutoComplete(
Token
.StartElement);
548
AutoComplete(
Token
.StartAttribute);
690
AutoComplete(
Token
.EndAttribute);
704
AutoComplete(
Token
.CData);
733
AutoComplete(
Token
.Comment);
761
AutoComplete(
Token
.PI);
777
AutoComplete(
Token
.Content);
792
AutoComplete(
Token
.Content);
816
AutoComplete(
Token
.Whitespace);
833
AutoComplete(
Token
.Content);
849
AutoComplete(
Token
.Content);
865
AutoComplete(
Token
.Content);
880
AutoComplete(
Token
.RawData);
895
AutoComplete(
Token
.RawData);
912
AutoComplete(
Token
.Base64);
938
AutoComplete(
Token
.Content);
1008
AutoComplete(
Token
.Content);
1023
AutoComplete(
Token
.Content);
1109
AutoComplete(
Token
.Content);
1167
private void AutoComplete(
Token
token)
1186
case
Token
.Doctype:
1193
case
Token
.StartElement:
1194
case
Token
.Comment:
1195
case
Token
.PI:
1196
case
Token
.CData:
1206
if (token ==
Token
.CData)
1216
case
Token
.EndElement:
1217
case
Token
.LongEndElement:
1228
token =
Token
.LongEndElement;
1232
WriteEndStartTag(token ==
Token
.EndElement);
1240
case
Token
.StartAttribute:
1256
case
Token
.EndAttribute:
1264
case
Token
.Whitespace:
1265
case
Token
.Content:
1266
case
Token
.RawData:
1267
case
Token
.Base64:
1269
if (token !=
Token
.Base64 && _flush)
1273
if (_currentState == State.Element && _lastToken !=
Token
.Content)
1311
AutoComplete(longFormat ?
Token
.LongEndElement :
Token
.EndElement);
1312
if (_lastToken ==
Token
.LongEndElement)