60 writes to _validationState
System.Private.Xml (60)
System\Xml\Core\XsdValidatingReader.cs (39)
142
_validationState
= ValidatingReaderState.Init;
1187
_validationState
= ValidatingReaderState.OnAttribute;
1197
_validationState
= ValidatingReaderState.OnDefaultAttribute;
1210
_validationState
= _savedState;
1231
_validationState
= ValidatingReaderState.OnAttribute;
1253
_validationState
= ValidatingReaderState.OnDefaultAttribute;
1265
_validationState
= _savedState;
1291
_validationState
= ValidatingReaderState.OnAttribute;
1299
_validationState
= ValidatingReaderState.OnDefaultAttribute;
1306
_validationState
= _savedState;
1325
_validationState
= ValidatingReaderState.OnAttribute;
1334
_validationState
= ValidatingReaderState.OnDefaultAttribute;
1344
_validationState
= _savedState;
1367
_validationState
= ValidatingReaderState.OnAttribute;
1376
_validationState
= ValidatingReaderState.OnDefaultAttribute;
1386
_validationState
= _savedState;
1399
_validationState
= ValidatingReaderState.ClearAttributes;
1422
_validationState
= ValidatingReaderState.EOF;
1439
_validationState
= ValidatingReaderState.ParseInlineSchema;
1444
_validationState
= ValidatingReaderState.Read;
1451
_validationState
= ValidatingReaderState.Read;
1455
_validationState
= _savedState;
1461
_validationState
= ValidatingReaderState.Read;
1495
_validationState
= ValidatingReaderState.ReaderClosed;
1527
_validationState
= ValidatingReaderState.ReadAhead;
1572
_validationState
= _savedState;
1581
_validationState
= ValidatingReaderState.OnReadAttributeValue;
1614
_validationState
= _savedState;
1622
_validationState
= ValidatingReaderState.OnReadBinaryContent;
1641
_validationState
= _savedState;
1649
_validationState
= ValidatingReaderState.OnReadBinaryContent;
1668
_validationState
= _savedState;
1676
_validationState
= ValidatingReaderState.OnReadBinaryContent;
1695
_validationState
= _savedState;
1703
_validationState
= ValidatingReaderState.OnReadBinaryContent;
2055
_validationState
= ValidatingReaderState.ParseInlineSchema;
2059
_validationState
= ValidatingReaderState.ClearAttributes;
2126
_validationState
= ValidatingReaderState.ClearAttributes;
2349
_validationState
= ValidatingReaderState.Read;
System\Xml\Core\XsdValidatingReaderAsync.cs (21)
235
_validationState
= ValidatingReaderState.EOF;
259
_validationState
= ValidatingReaderState.EOF;
270
_validationState
= ValidatingReaderState.Read;
282
_validationState
= ValidatingReaderState.Read;
305
_validationState
= ValidatingReaderState.ParseInlineSchema;
310
_validationState
= ValidatingReaderState.Read;
320
_validationState
= _savedState;
325
_validationState
= ValidatingReaderState.Read;
365
_validationState
= ValidatingReaderState.ReadAhead;
397
_validationState
= _savedState;
405
_validationState
= ValidatingReaderState.OnReadBinaryContent;
424
_validationState
= _savedState;
432
_validationState
= ValidatingReaderState.OnReadBinaryContent;
451
_validationState
= _savedState;
459
_validationState
= ValidatingReaderState.OnReadBinaryContent;
478
_validationState
= _savedState;
486
_validationState
= ValidatingReaderState.OnReadBinaryContent;
554
_validationState
= ValidatingReaderState.ParseInlineSchema;
558
_validationState
= ValidatingReaderState.ClearAttributes;
624
_validationState
= ValidatingReaderState.ClearAttributes;
672
_validationState
= ValidatingReaderState.Read;
47 references to _validationState
System.Private.Xml (47)
System\Xml\Core\XsdValidatingReader.cs (32)
217
if ((int)
_validationState
< 0)
241
if (
_validationState
== ValidatingReaderState.OnDefaultAttribute)
262
if ((int)
_validationState
< 0)
277
if ((int)
_validationState
< 0)
292
if ((int)
_validationState
< 0)
307
if ((int)
_validationState
< 0)
321
if ((int)
_validationState
< 0)
336
if ((int)
_validationState
< 0)
370
if (
_validationState
== ValidatingReaderState.OnDefaultAttribute)
1206
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1261
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1302
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1340
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1382
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1395
if (_coreReader.MoveToElement() || (int)
_validationState
< 0)
1409
switch (
_validationState
)
1503
return (
_validationState
== ValidatingReaderState.Init) ? ReadState.Initial : _coreReader.ReadState;
1568
if (
_validationState
== ValidatingReaderState.OnReadBinaryContent)
1577
if (
_validationState
== ValidatingReaderState.OnDefaultAttribute)
1607
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
1610
_savedState =
_validationState
;
1621
_savedState =
_validationState
;
1634
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
1637
_savedState =
_validationState
;
1648
_savedState =
_validationState
;
1661
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
1664
_savedState =
_validationState
;
1675
_savedState =
_validationState
;
1688
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
1691
_savedState =
_validationState
;
1702
_savedState =
_validationState
;
2372
if (
_validationState
== ValidatingReaderState.OnDefaultAttribute)
System\Xml\Core\XsdValidatingReaderAsync.cs (15)
22
if ((int)
_validationState
< 0)
289
switch (
_validationState
)
390
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
393
_savedState =
_validationState
;
404
_savedState =
_validationState
;
417
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
420
_savedState =
_validationState
;
431
_savedState =
_validationState
;
444
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
447
_savedState =
_validationState
;
458
_savedState =
_validationState
;
471
if (
_validationState
!= ValidatingReaderState.OnReadBinaryContent)
474
_savedState =
_validationState
;
485
_savedState =
_validationState
;
698
if (
_validationState
== ValidatingReaderState.OnDefaultAttribute)