28 references to CachingReaderState
System.Private.Xml (28)
System\Xml\Core\XsdCachingReader.cs (17)
35
private
CachingReaderState
_cacheState;
73
_cacheState =
CachingReaderState
.Init;
387
if (_cacheState !=
CachingReaderState
.Replay || _cachedNode!.NodeType != XmlNodeType.Attribute)
403
case
CachingReaderState
.Init:
404
_cacheState =
CachingReaderState
.Record;
405
goto case
CachingReaderState
.Record;
407
case
CachingReaderState
.Record:
415
_cacheState =
CachingReaderState
.ReaderClosed;
444
_cacheState =
CachingReaderState
.ReaderClosed;
448
case
CachingReaderState
.Replay:
451
_cacheState =
CachingReaderState
.ReaderClosed;
518
return _cacheState ==
CachingReaderState
.ReaderClosed && _coreReader.EOF;
526
_cacheState =
CachingReaderState
.ReaderClosed;
552
_cacheState =
CachingReaderState
.ReaderClosed;
561
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
591
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
629
_cacheState =
CachingReaderState
.Replay;
System\Xml\Core\XsdCachingReaderAsync.cs (11)
35
case
CachingReaderState
.Init:
36
_cacheState =
CachingReaderState
.Record;
37
goto case
CachingReaderState
.Record;
39
case
CachingReaderState
.Record:
47
_cacheState =
CachingReaderState
.ReaderClosed;
76
_cacheState =
CachingReaderState
.ReaderClosed;
80
case
CachingReaderState
.Replay:
83
_cacheState =
CachingReaderState
.ReaderClosed;
118
_cacheState =
CachingReaderState
.ReaderClosed;
127
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
136
_cacheState =
CachingReaderState
.Replay;