28 references to CachingReaderState
System.Xml (28)
System\Xml\Core\XsdCachingReader.cs (17)
39
private
CachingReaderState
cacheState;
74
cacheState =
CachingReaderState
.Init;
334
if (cacheState !=
CachingReaderState
.Replay || cachedNode.NodeType != XmlNodeType.Attribute) {
346
case
CachingReaderState
.Init:
347
cacheState =
CachingReaderState
.Record;
348
goto case
CachingReaderState
.Record;
350
case
CachingReaderState
.Record:
356
cacheState =
CachingReaderState
.ReaderClosed;
384
cacheState =
CachingReaderState
.ReaderClosed;
388
case
CachingReaderState
.Replay:
390
cacheState =
CachingReaderState
.ReaderClosed;
448
return cacheState ==
CachingReaderState
.ReaderClosed && coreReader.EOF;
455
cacheState =
CachingReaderState
.ReaderClosed;
476
cacheState =
CachingReaderState
.ReaderClosed;
485
Debug.Assert(cacheState ==
CachingReaderState
.Replay);
510
Debug.Assert(cacheState ==
CachingReaderState
.Replay);
540
cacheState =
CachingReaderState
.Replay;
System\Xml\Core\XsdCachingReaderAsync.cs (11)
30
case
CachingReaderState
.Init:
31
cacheState =
CachingReaderState
.Record;
32
goto case
CachingReaderState
.Record;
34
case
CachingReaderState
.Record:
40
cacheState =
CachingReaderState
.ReaderClosed;
68
cacheState =
CachingReaderState
.ReaderClosed;
72
case
CachingReaderState
.Replay:
74
cacheState =
CachingReaderState
.ReaderClosed;
104
cacheState =
CachingReaderState
.ReaderClosed;
113
Debug.Assert(cacheState ==
CachingReaderState
.Replay);
121
cacheState =
CachingReaderState
.Replay;