14 writes to _cacheState
System.Private.Xml (14)
System\Xml\Core\XsdCachingReader.cs (8)
73
_cacheState
= CachingReaderState.Init;
404
_cacheState
= CachingReaderState.Record;
415
_cacheState
= CachingReaderState.ReaderClosed;
444
_cacheState
= CachingReaderState.ReaderClosed;
451
_cacheState
= CachingReaderState.ReaderClosed;
526
_cacheState
= CachingReaderState.ReaderClosed;
552
_cacheState
= CachingReaderState.ReaderClosed;
629
_cacheState
= CachingReaderState.Replay;
System\Xml\Core\XsdCachingReaderAsync.cs (6)
36
_cacheState
= CachingReaderState.Record;
47
_cacheState
= CachingReaderState.ReaderClosed;
76
_cacheState
= CachingReaderState.ReaderClosed;
83
_cacheState
= CachingReaderState.ReaderClosed;
118
_cacheState
= CachingReaderState.ReaderClosed;
136
_cacheState
= CachingReaderState.Replay;
7 references to _cacheState
System.Private.Xml (7)
System\Xml\Core\XsdCachingReader.cs (5)
387
if (
_cacheState
!= CachingReaderState.Replay || _cachedNode!.NodeType != XmlNodeType.Attribute)
401
switch (
_cacheState
)
518
return
_cacheState
== CachingReaderState.ReaderClosed && _coreReader.EOF;
561
Debug.Assert(
_cacheState
== CachingReaderState.Replay);
591
Debug.Assert(
_cacheState
== CachingReaderState.Replay);
System\Xml\Core\XsdCachingReaderAsync.cs (2)
33
switch (
_cacheState
)
127
Debug.Assert(
_cacheState
== CachingReaderState.Replay);