1 write to _cachingReader
System.Private.Xml (1)
System\Xml\Core\XsdValidatingReader.cs (1)
2751
_cachingReader
= new XsdCachingReader(_coreReader, _lineInfo, new CachingEventHandler(CachingCallBack));
19 references to _cachingReader
System.Private.Xml (19)
System\Xml\Core\XsdValidatingReader.cs (15)
2140
Debug.Assert(
_cachingReader
!= null);
2141
_cachingReader
.RecordTextNode(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
2142
_cachingReader
.RecordEndElementNode();
2143
_cachingReader
.SetToReplayMode();
2626
Debug.Assert(
_cachingReader
!= null);
2627
_cachingReader
.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString);
2646
Debug.Assert(
_cachingReader
!= null);
2682
_cachingReader
.SwitchTextNodeAndEndElement(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue!), _originalAtomicValueString);
2693
_cachingReader
.SetToReplayMode();
2709
Debug.Assert(
_cachingReader
!= null);
2711
_cachingReader
.SetToReplayMode();
2749
if (
_cachingReader
== null)
2755
_cachingReader
.Reset(_coreReader);
2758
_lineInfo =
_cachingReader
as IXmlLineInfo;
2759
return
_cachingReader
;
System\Xml\Core\XsdValidatingReaderAsync.cs (4)
638
Debug.Assert(
_cachingReader
!= null);
639
_cachingReader
.RecordTextNode(_xmlSchemaInfo.XmlType!.ValueConverter.ToString(_atomicValue), _originalAtomicValueString, depth + 1, 0, 0);
640
_cachingReader
.RecordEndElementNode();
641
await
_cachingReader
.SetToReplayModeAsync().ConfigureAwait(false);