48 writes to _currentState
dotnet-svcutil-lib (48)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (48)
274
_currentState
= State.Start;
370
_currentState
= State.Error;
393
_currentState
= State.Error;
437
_currentState
= State.Error;
518
_currentState
= State.Error;
560
_currentState
= State.AfterRootEle;
564
_currentState
= State.TopLevel;
570
_currentState
= State.Error;
611
_currentState
= State.AfterRootEle;
615
_currentState
= State.TopLevel;
621
_currentState
= State.Error;
761
_currentState
= State.Error;
876
_currentState
= State.Error;
894
_currentState
= State.Error;
912
_currentState
= State.Error;
963
_currentState
= State.Error;
991
_currentState
= State.Error;
1017
_currentState
= State.Error;
1043
_currentState
= State.Error;
1073
_currentState
= State.Error;
1099
_currentState
= State.Error;
1137
_currentState
= State.Error;
1175
_currentState
= State.Error;
1201
_currentState
= State.Error;
1232
_currentState
= State.Error;
1261
_currentState
= State.Error;
1289
_currentState
= State.Closed;
1303
_currentState
= State.Error;
1335
_currentState
= State.Error;
1405
_currentState
= State.Error;
1419
_currentState
= State.Error;
1433
_currentState
= State.Error;
1447
_currentState
= State.Error;
1461
_currentState
= State.Error;
1475
_currentState
= State.Error;
1489
_currentState
= State.Error;
1503
_currentState
= State.Error;
1517
_currentState
= State.Error;
1543
_currentState
= State.Error;
1565
_currentState
= State.Error;
1583
_currentState
= State.Error;
1630
_currentState
= State.SpecialAttr;
1632
_currentState
= State.RootLevelSpecAttr;
1673
_currentState
= State.Error;
2021
_currentState
= State.Content;
2029
_currentState
= State.Attribute;
2037
_currentState
= State.RootLevelAttr;
2066
_currentState
= newState;
20 references to _currentState
dotnet-svcutil-lib (20)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (20)
308
if ((int)
_currentState
<= (int)State.Error)
310
return s_state2WriteState[(int)
_currentState
];
356
State prevState =
_currentState
;
937
if (
_currentState
!= State.Start)
1239
if (
_currentState
!= State.Closed)
1245
while (
_currentState
!= State.Error && _elemTop > 0)
1252
if (
_currentState
!= State.Error && _elemTop > 0)
1379
if (
_currentState
!= State.Attribute)
1622
return (
_currentState
== State.B64Content ||
_currentState
== State.B64Attribute ||
_currentState
== State.RootLevelB64Attr);
1629
if (State.Attribute ==
_currentState
)
1631
else if (State.RootLevelAttr ==
_currentState
)
1944
if ((int)
_currentState
>= (int)State.Closed)
1946
if (
_currentState
== State.Closed ||
_currentState
== State.Error)
1952
throw new InvalidOperationException(string.Format(ResXml.Xml_WrongToken, tokenName[(int)token], GetStateName(
_currentState
)));
1957
State newState = _stateTable[((int)token << 4) + (int)
_currentState
];
1965
ThrowInvalidStateTransition(token,
_currentState
);
2214
return (int)
_currentState
>= (int)State.Closed;