2 writes to _coreReader
System.Private.Xml (2)
System\Xml\Core\XsdCachingReader.cs (2)
61_coreReader = reader; 92_coreReader = reader;
74 references to _coreReader
System.Private.Xml (74)
System\Xml\Core\XsdCachingReader.cs (57)
72_coreReaderNameTable = _coreReader.NameTable; 81if (_coreReader.NodeType == XmlNodeType.Element) 83ValidatingReaderNodeData element = AddContent(_coreReader.NodeType); 84element.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 101return _coreReader.Settings; 184return _coreReader.BaseURI; 212return _coreReader.QuoteChar; 221return _coreReader.XmlSpace; 230return _coreReader.XmlLang; 409if (_coreReader.Read()) 411switch (_coreReader.NodeType) 419recordedNode = AddContent(_coreReader.NodeType); 420recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 430recordedNode = AddContent(_coreReader.NodeType); 431recordedNode.SetItemData(_coreReader.Value); 433recordedNode.Depth = _coreReader.Depth; 453if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 455return _coreReader.Read(); 483Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 485ValidatingReaderNodeData textNode = RecordTextNode(textValue, originalStringValue, _coreReader.Depth + 1, 0, 0); 496Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 497recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 498recordedNode.SetLineInfo(_coreReader as IXmlLineInfo); 499if (_coreReader.IsEmptyElement) 518return _cacheState == CachingReaderState.ReaderClosed && _coreReader.EOF; 525_coreReader.Close(); 534return _coreReader.ReadState; 545if (_coreReader.NodeType != XmlNodeType.EndElement && !_readAhead) 547int startDepth = _coreReader.Depth - 1; 548while (_coreReader.Read() && _coreReader.Depth > startDepth) 551_coreReader.Read(); 579return _coreReader.LookupNamespace(prefix); 637return _coreReader; 692Debug.Assert(_coreReader.NodeType == XmlNodeType.Element); 694_attributeCount = _coreReader.AttributeCount; 695if (_coreReader.MoveToFirstAttribute()) 701attInfo.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 703attInfo.RawValue = _coreReader.Value; 705} while (_coreReader.MoveToNextAttribute()); 706_coreReader.MoveToElement();
System\Xml\Core\XsdCachingReaderAsync.cs (17)
41if (await _coreReader.ReadAsync().ConfigureAwait(false)) 43switch (_coreReader.NodeType) 51recordedNode = AddContent(_coreReader.NodeType); 52recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 62recordedNode = AddContent(_coreReader.NodeType); 63recordedNode.SetItemData(await _coreReader.GetValueAsync().ConfigureAwait(false)); 65recordedNode.Depth = _coreReader.Depth; 85if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 87return await _coreReader.ReadAsync().ConfigureAwait(false); 111if (_coreReader.NodeType != XmlNodeType.EndElement && !_readAhead) 113int startDepth = _coreReader.Depth - 1; 114while (await _coreReader.ReadAsync().ConfigureAwait(false) && _coreReader.Depth > startDepth) 117await _coreReader.ReadAsync().ConfigureAwait(false);