94 references to ValidatingReaderState
System.Private.Xml (94)
System\Xml\Core\XsdValidatingReader.cs (59)
66
private
ValidatingReaderState
_validationState;
118
private
ValidatingReaderState
_savedState;
142
_validationState =
ValidatingReaderState
.Init;
241
if (_validationState ==
ValidatingReaderState
.OnDefaultAttribute)
370
if (_validationState ==
ValidatingReaderState
.OnDefaultAttribute)
1187
_validationState =
ValidatingReaderState
.OnAttribute;
1197
_validationState =
ValidatingReaderState
.OnDefaultAttribute;
1206
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1231
_validationState =
ValidatingReaderState
.OnAttribute;
1253
_validationState =
ValidatingReaderState
.OnDefaultAttribute;
1261
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1291
_validationState =
ValidatingReaderState
.OnAttribute;
1299
_validationState =
ValidatingReaderState
.OnDefaultAttribute;
1302
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1325
_validationState =
ValidatingReaderState
.OnAttribute;
1334
_validationState =
ValidatingReaderState
.OnDefaultAttribute;
1340
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1367
_validationState =
ValidatingReaderState
.OnAttribute;
1376
_validationState =
ValidatingReaderState
.OnDefaultAttribute;
1382
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1399
_validationState =
ValidatingReaderState
.ClearAttributes;
1411
case
ValidatingReaderState
.Read:
1422
_validationState =
ValidatingReaderState
.EOF;
1428
case
ValidatingReaderState
.ParseInlineSchema:
1432
case
ValidatingReaderState
.OnAttribute:
1433
case
ValidatingReaderState
.OnDefaultAttribute:
1434
case
ValidatingReaderState
.ClearAttributes:
1435
case
ValidatingReaderState
.OnReadAttributeValue:
1439
_validationState =
ValidatingReaderState
.ParseInlineSchema;
1440
goto case
ValidatingReaderState
.ParseInlineSchema;
1444
_validationState =
ValidatingReaderState
.Read;
1445
goto case
ValidatingReaderState
.Read;
1448
case
ValidatingReaderState
.ReadAhead: // Will enter here on calling Skip()
1451
_validationState =
ValidatingReaderState
.Read;
1454
case
ValidatingReaderState
.OnReadBinaryContent:
1460
case
ValidatingReaderState
.Init:
1461
_validationState =
ValidatingReaderState
.Read;
1470
goto case
ValidatingReaderState
.Read;
1473
case
ValidatingReaderState
.ReaderClosed:
1474
case
ValidatingReaderState
.EOF:
1495
_validationState =
ValidatingReaderState
.ReaderClosed;
1503
return (_validationState ==
ValidatingReaderState
.Init) ? ReadState.Initial : _coreReader.ReadState;
1527
_validationState =
ValidatingReaderState
.ReadAhead;
1568
if (_validationState ==
ValidatingReaderState
.OnReadBinaryContent)
1577
if (_validationState ==
ValidatingReaderState
.OnDefaultAttribute)
1581
_validationState =
ValidatingReaderState
.OnReadAttributeValue;
1607
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
1622
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
1634
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
1649
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
1661
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
1676
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
1688
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
1703
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
2055
_validationState =
ValidatingReaderState
.ParseInlineSchema;
2059
_validationState =
ValidatingReaderState
.ClearAttributes;
2126
_validationState =
ValidatingReaderState
.ClearAttributes;
2349
_validationState =
ValidatingReaderState
.Read;
2372
if (_validationState ==
ValidatingReaderState
.OnDefaultAttribute)
System\Xml\Core\XsdValidatingReaderAsync.cs (35)
235
_validationState =
ValidatingReaderState
.EOF;
259
_validationState =
ValidatingReaderState
.EOF;
270
_validationState =
ValidatingReaderState
.Read;
282
_validationState =
ValidatingReaderState
.Read;
291
case
ValidatingReaderState
.Read:
295
case
ValidatingReaderState
.ParseInlineSchema:
298
case
ValidatingReaderState
.OnAttribute:
299
case
ValidatingReaderState
.OnDefaultAttribute:
300
case
ValidatingReaderState
.ClearAttributes:
301
case
ValidatingReaderState
.OnReadAttributeValue:
305
_validationState =
ValidatingReaderState
.ParseInlineSchema;
306
goto case
ValidatingReaderState
.ParseInlineSchema;
310
_validationState =
ValidatingReaderState
.Read;
311
goto case
ValidatingReaderState
.Read;
314
case
ValidatingReaderState
.ReadAhead: // Will enter here on calling Skip()
319
case
ValidatingReaderState
.OnReadBinaryContent:
324
case
ValidatingReaderState
.Init:
325
_validationState =
ValidatingReaderState
.Read;
333
goto case
ValidatingReaderState
.Read;
336
case
ValidatingReaderState
.ReaderClosed:
337
case
ValidatingReaderState
.EOF:
365
_validationState =
ValidatingReaderState
.ReadAhead;
390
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
405
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
417
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
432
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
444
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
459
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
471
if (_validationState !=
ValidatingReaderState
.OnReadBinaryContent)
486
_validationState =
ValidatingReaderState
.OnReadBinaryContent;
554
_validationState =
ValidatingReaderState
.ParseInlineSchema;
558
_validationState =
ValidatingReaderState
.ClearAttributes;
624
_validationState =
ValidatingReaderState
.ClearAttributes;
672
_validationState =
ValidatingReaderState
.Read;
698
if (_validationState ==
ValidatingReaderState
.OnDefaultAttribute)