28 references to CachingReaderState
dotnet-svcutil-lib (28)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (17)
40
private
CachingReaderState
_cacheState;
77
_cacheState =
CachingReaderState
.Init;
400
if (_cacheState !=
CachingReaderState
.Replay || _cachedNode.NodeType != XmlNodeType.Attribute)
415
case
CachingReaderState
.Init:
416
_cacheState =
CachingReaderState
.Record;
417
goto case
CachingReaderState
.Record;
419
case
CachingReaderState
.Record:
427
_cacheState =
CachingReaderState
.ReaderClosed;
456
_cacheState =
CachingReaderState
.ReaderClosed;
460
case
CachingReaderState
.Replay:
463
_cacheState =
CachingReaderState
.ReaderClosed;
530
return _cacheState ==
CachingReaderState
.ReaderClosed && _coreReader.EOF;
538
_cacheState =
CachingReaderState
.ReaderClosed;
564
_cacheState =
CachingReaderState
.ReaderClosed;
573
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
603
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
640
_cacheState =
CachingReaderState
.Replay;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReaderAsync.cs (11)
41
case
CachingReaderState
.Init:
42
_cacheState =
CachingReaderState
.Record;
43
goto case
CachingReaderState
.Record;
45
case
CachingReaderState
.Record:
53
_cacheState =
CachingReaderState
.ReaderClosed;
82
_cacheState =
CachingReaderState
.ReaderClosed;
86
case
CachingReaderState
.Replay:
89
_cacheState =
CachingReaderState
.ReaderClosed;
124
_cacheState =
CachingReaderState
.ReaderClosed;
133
Debug.Assert(_cacheState ==
CachingReaderState
.Replay);
142
_cacheState =
CachingReaderState
.Replay;