28 writes to _currentState
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (28)
270
_currentState
= State.Start;
405
_currentState
= State.Start;
410
_currentState
= State.Error;
449
_currentState
= State.Error;
526
_currentState
= State.Error;
680
_currentState
= State.Error;
694
_currentState
= State.Error;
719
_currentState
= State.Error;
743
_currentState
= State.Error;
766
_currentState
= State.Error;
782
_currentState
= State.Error;
797
_currentState
= State.Error;
821
_currentState
= State.Error;
839
_currentState
= State.Error;
854
_currentState
= State.Error;
870
_currentState
= State.Error;
885
_currentState
= State.Error;
900
_currentState
= State.Error;
927
_currentState
= State.Error;
943
_currentState
= State.Error;
991
_currentState
= State.Closed;
1013
_currentState
= State.Error;
1053
_currentState
= State.Error;
1123
_currentState
= State.Error;
1140
_currentState
= State.Prolog;
1162
_currentState
= State.Error;
1286
_currentState
= newState;
1340
_currentState
= State.Error;
19 references to _currentState
dotnet-svcutil-lib (19)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (19)
324
if (
_currentState
!= State.Start)
393
if (
_currentState
!= State.Epilog)
395
if (
_currentState
== State.Closed)
953
switch (
_currentState
)
1031
if (
_currentState
!= State.Attribute)
1135
if (
_currentState
!= State.Start)
1169
if (
_currentState
== State.Closed)
1173
else if (
_currentState
== State.Error)
1178
State newState = _stateTable[(int)token * 8 + (int)
_currentState
];
1181
throw new InvalidOperationException(string.Format(ResXml.Xml_WrongToken, s_tokenName[(int)token], s_stateName[(int)
_currentState
]));
1187
if (_indented &&
_currentState
!= State.Start)
1197
if (
_currentState
== State.Attribute)
1202
else if (
_currentState
== State.Element)
1210
else if (_indented &&
_currentState
!= State.Start)
1222
if (
_currentState
== State.Attribute)
1226
if (
_currentState
== State.Content)
1245
if (
_currentState
== State.Attribute)
1250
else if (
_currentState
== State.Element)
1273
if (
_currentState
== State.Element && _lastToken != Token.Content)