350 references to Error
System.Private.Xml (350)
System\Xml\Core\XmlWellFormedWriter.cs (304)
199
/* Token.StartDocument */ State.Document, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
200
/* Token.EndDocument */ State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.
Error
, State.EndDocument, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
201
/* Token.PI */ State.StartDoc, State.TopLevel, State.Document, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
202
/* Token.Comment */ State.StartDoc, State.TopLevel, State.Document, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
203
/* Token.Dtd */ State.StartDoc, State.TopLevel, State.Document, State.
Error
, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
204
/* Token.StartElement */ State.StartDocEle, State.Element, State.Element, State.StartContentEle, State.Element, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrSEle, State.EndAttrSEle, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
205
/* Token.EndElement */ State.
Error
, State.
Error
, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrEEle, State.EndAttrEEle, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
206
/* Token.StartAttribute */ State.
Error
, State.
Error
, State.
Error
, State.Attribute, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrSAttr, State.EndAttrSAttr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
207
/* Token.EndAttribute */ State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.Element, State.Element, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
208
/* Token.Text */ State.
Error
, State.
Error
, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.Attribute, State.SpecialAttr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
209
/* Token.CData */ State.
Error
, State.
Error
, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
210
/* Token.AtomicValue */ State.
Error
, State.
Error
, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.Attribute, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
211
/* Token.Base64 */ State.
Error
, State.
Error
, State.
Error
, State.StartContentB64, State.B64Content, State.B64Content, State.B64Attribute, State.
Error
, State.B64Attribute, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
212
/* Token.RawData */ State.StartDoc, State.
Error
, State.Document, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.Attribute, State.SpecialAttr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
,
213
/* Token.Whitespace */ State.StartDoc, State.TopLevel, State.Document, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.Attribute, State.SpecialAttr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
218
/* Token.StartDocument */ State.Document, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.StartDocument */
219
/* Token.EndDocument */ State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.
Error
, State.EndDocument, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.EndDocument */
220
/* Token.PI */ State.TopLevel, State.TopLevel, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.PI */
221
/* Token.Comment */ State.TopLevel, State.TopLevel, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.Comment */
222
/* Token.Dtd */ State.StartDoc, State.TopLevel, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.Dtd */
223
/* Token.StartElement */ State.StartFragEle, State.Element, State.
Error
, State.StartContentEle, State.Element, State.PostB64Cont, State.PostB64Attr, State.Element, State.EndAttrSEle, State.EndAttrSEle, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.StartElement */
224
/* Token.EndElement */ State.
Error
, State.
Error
, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrEEle, State.EndAttrEEle, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.EndElement */
225
/* Token.StartAttribute */ State.RootLevelAttr, State.
Error
, State.
Error
, State.Attribute, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.EndAttrSAttr, State.EndAttrSAttr, State.
Error
, State.StartRootLevelAttr, State.StartRootLevelAttr, State.PostB64RootAttr, State.RootLevelAttr, State.
Error
, /* Token.StartAttribute */
226
/* Token.EndAttribute */ State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.PostB64Cont, State.PostB64Attr, State.
Error
, State.Element, State.Element, State.
Error
, State.AfterRootLevelAttr, State.AfterRootLevelAttr, State.PostB64RootAttr, State.
Error
, State.
Error
, /* Token.EndAttribute */
227
/* Token.Text */ State.StartFragCont, State.StartFragCont, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.Content, State.Attribute, State.SpecialAttr, State.
Error
, State.RootLevelAttr, State.RootLevelSpecAttr, State.PostB64RootAttr, State.
Error
, State.
Error
, /* Token.Text */
228
/* Token.CData */ State.StartFragCont, State.StartFragCont, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.Content, State.EndAttrSCont, State.EndAttrSCont, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, State.
Error
, /* Token.CData */
229
/* Token.AtomicValue */ State.StartFragCont, State.StartFragCont, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.Content, State.Attribute, State.
Error
, State.
Error
, State.RootLevelAttr, State.
Error
, State.PostB64RootAttr, State.
Error
, State.
Error
, /* Token.AtomicValue */
230
/* Token.Base64 */ State.StartFragB64, State.StartFragB64, State.
Error
, State.StartContentB64, State.B64Content, State.B64Content, State.B64Attribute, State.B64Content, State.B64Attribute, State.
Error
, State.
Error
, State.RootLevelB64Attr, State.
Error
, State.RootLevelB64Attr, State.
Error
, State.
Error
, /* Token.Base64 */
231
/* Token.RawData */ State.StartFragCont, State.TopLevel, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.Content, State.Attribute, State.SpecialAttr, State.
Error
, State.RootLevelAttr, State.RootLevelSpecAttr, State.PostB64RootAttr, State.AfterRootLevelAttr, State.
Error
, /* Token.RawData */
232
/* Token.Whitespace */ State.TopLevel, State.TopLevel, State.
Error
, State.StartContent, State.Content, State.PostB64Cont, State.PostB64Attr, State.AfterRootEle, State.Attribute, State.SpecialAttr, State.
Error
, State.RootLevelAttr, State.RootLevelSpecAttr, State.PostB64RootAttr, State.AfterRootLevelAttr, State.
Error
, /* Token.Whitespace */
292
if ((int)_currentState <= (int)State.
Error
)
354
_currentState = State.
Error
;
374
_currentState = State.
Error
;
418
_currentState = State.
Error
;
491
_currentState = State.
Error
;
543
_currentState = State.
Error
;
594
_currentState = State.
Error
;
730
_currentState = State.
Error
;
849
_currentState = State.
Error
;
864
_currentState = State.
Error
;
879
_currentState = State.
Error
;
924
_currentState = State.
Error
;
949
_currentState = State.
Error
;
975
_currentState = State.
Error
;
1001
_currentState = State.
Error
;
1028
_currentState = State.
Error
;
1054
_currentState = State.
Error
;
1080
_currentState = State.
Error
;
1106
_currentState = State.
Error
;
1132
_currentState = State.
Error
;
1151
_currentState = State.
Error
;
1164
while (_currentState != State.
Error
&& _elemTop > 0)
1171
if (_currentState != State.
Error
&& _elemTop > 0)
1180
_currentState = State.
Error
;
1222
_currentState = State.
Error
;
1251
_currentState = State.
Error
;
1319
_currentState = State.
Error
;
1333
_currentState = State.
Error
;
1347
_currentState = State.
Error
;
1361
_currentState = State.
Error
;
1375
_currentState = State.
Error
;
1389
_currentState = State.
Error
;
1403
_currentState = State.
Error
;
1417
_currentState = State.
Error
;
1431
_currentState = State.
Error
;
1457
_currentState = State.
Error
;
1479
_currentState = State.
Error
;
1497
_currentState = State.
Error
;
1573
_currentState = State.
Error
;
1845
if (_currentState == State.Closed || _currentState == State.
Error
)
1859
if ((int)newState >= (int)State.
Error
)
1863
case State.
Error
:
1976
if (state >= State.
Error
)
System\Xml\Core\XmlWellFormedWriterAsync.cs (46)
54
_currentState = State.
Error
;
75
_currentState = State.
Error
;
119
_currentState = State.
Error
;
145
_currentState = State.
Error
;
172
_currentState = State.
Error
;
197
_currentState = State.
Error
;
254
_currentState = State.
Error
;
268
_currentState = State.
Error
;
297
_currentState = State.
Error
;
311
_currentState = State.
Error
;
326
_currentState = State.
Error
;
355
_currentState = State.
Error
;
389
_currentState = State.
Error
;
405
_currentState = State.
Error
;
434
_currentState = State.
Error
;
470
_currentState = State.
Error
;
589
_currentState = State.
Error
;
603
_currentState = State.
Error
;
618
_currentState = State.
Error
;
638
_currentState = State.
Error
;
748
_currentState = State.
Error
;
764
_currentState = State.
Error
;
780
_currentState = State.
Error
;
825
_currentState = State.
Error
;
850
_currentState = State.
Error
;
876
_currentState = State.
Error
;
902
_currentState = State.
Error
;
930
_currentState = State.
Error
;
957
_currentState = State.
Error
;
978
_currentState = State.
Error
;
992
_currentState = State.
Error
;
1018
_currentState = State.
Error
;
1044
_currentState = State.
Error
;
1070
_currentState = State.
Error
;
1097
_currentState = State.
Error
;
1111
_currentState = State.
Error
;
1124
_currentState = State.
Error
;
1169
_currentState = State.
Error
;
1187
_currentState = State.
Error
;
1223
_currentState = State.
Error
;
1273
if (_currentState == State.Closed || _currentState == State.
Error
)
1287
if ((int)newState >= (int)State.
Error
)
1291
case State.
Error
:
1412
while (_currentState != State.
Error
&& _elemTop > 0)
1419
if (_currentState != State.
Error
&& _elemTop > 0)
1428
_currentState = State.
Error
;