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