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 */
289
if ((int)_currentState <= (int)State.
Error
)
351
_currentState = State.
Error
;
371
_currentState = State.
Error
;
415
_currentState = State.
Error
;
488
_currentState = State.
Error
;
540
_currentState = State.
Error
;
591
_currentState = State.
Error
;
727
_currentState = State.
Error
;
846
_currentState = State.
Error
;
861
_currentState = State.
Error
;
876
_currentState = State.
Error
;
921
_currentState = State.
Error
;
946
_currentState = State.
Error
;
972
_currentState = State.
Error
;
998
_currentState = State.
Error
;
1025
_currentState = State.
Error
;
1051
_currentState = State.
Error
;
1077
_currentState = State.
Error
;
1103
_currentState = State.
Error
;
1129
_currentState = State.
Error
;
1148
_currentState = State.
Error
;
1161
while (_currentState != State.
Error
&& _elemTop > 0)
1168
if (_currentState != State.
Error
&& _elemTop > 0)
1177
_currentState = State.
Error
;
1219
_currentState = State.
Error
;
1248
_currentState = State.
Error
;
1316
_currentState = State.
Error
;
1330
_currentState = State.
Error
;
1344
_currentState = State.
Error
;
1358
_currentState = State.
Error
;
1372
_currentState = State.
Error
;
1386
_currentState = State.
Error
;
1400
_currentState = State.
Error
;
1414
_currentState = State.
Error
;
1428
_currentState = State.
Error
;
1454
_currentState = State.
Error
;
1476
_currentState = State.
Error
;
1494
_currentState = State.
Error
;
1570
_currentState = State.
Error
;
1842
if (_currentState == State.Closed || _currentState == State.
Error
)
1856
if ((int)newState >= (int)State.
Error
)
1860
case State.
Error
:
1973
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
;