2 writes to _coreReader
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (2)
66_coreReader = reader; 96_coreReader = reader;
74 references to _coreReader
dotnet-svcutil-lib (74)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (57)
76_coreReaderNameTable = _coreReader.NameTable; 85if (_coreReader.NodeType == XmlNodeType.Element) 87ValidatingReaderNodeData element = AddContent(_coreReader.NodeType); 88element.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 105return _coreReader.Settings; 188return _coreReader.BaseURI; 216return _coreReader.QuoteChar; 225return _coreReader.XmlSpace; 234return _coreReader.XmlLang; 421if (_coreReader.Read()) 423switch (_coreReader.NodeType) 431recordedNode = AddContent(_coreReader.NodeType); 432recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 442recordedNode = AddContent(_coreReader.NodeType); 443recordedNode.SetItemData(_coreReader.Value); 445recordedNode.Depth = _coreReader.Depth; 465if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 467return _coreReader.Read(); 495Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 497ValidatingReaderNodeData textNode = RecordTextNode(textValue, originalStringValue, _coreReader.Depth + 1, 0, 0); 508Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.Element && _coreReader.IsEmptyElement)); 509recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 510recordedNode.SetLineInfo(_coreReader as IXmlLineInfo); 511if (_coreReader.IsEmptyElement) 530return _cacheState == CachingReaderState.ReaderClosed && _coreReader.EOF; 537_coreReader.Close(); 546return _coreReader.ReadState; 557if (_coreReader.NodeType != XmlNodeType.EndElement && !_readAhead) 559int startDepth = _coreReader.Depth - 1; 560while (_coreReader.Read() && _coreReader.Depth > startDepth) 563_coreReader.Read(); 591return _coreReader.LookupNamespace(prefix); 648return _coreReader; 714Debug.Assert(_coreReader.NodeType == XmlNodeType.Element); 716_attributeCount = _coreReader.AttributeCount; 717if (_coreReader.MoveToFirstAttribute()) 723attInfo.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); 725attInfo.RawValue = _coreReader.Value; 727} while (_coreReader.MoveToNextAttribute()); 728_coreReader.MoveToElement();
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReaderAsync.cs (17)
47if (await _coreReader.ReadAsync().ConfigureAwait(false)) 49switch (_coreReader.NodeType) 57recordedNode = AddContent(_coreReader.NodeType); 58recordedNode.SetItemData(_coreReader.LocalName, _coreReader.Prefix, _coreReader.NamespaceURI, _coreReader.Depth); //Only created for element node type 68recordedNode = AddContent(_coreReader.NodeType); 69recordedNode.SetItemData(await _coreReader.GetValueAsync().ConfigureAwait(false)); 71recordedNode.Depth = _coreReader.Depth; 91if (_coreReader.NodeType != XmlNodeType.Element || _readAhead) 93return await _coreReader.ReadAsync().ConfigureAwait(false); 117if (_coreReader.NodeType != XmlNodeType.EndElement && !_readAhead) 119int startDepth = _coreReader.Depth - 1; 120while (await _coreReader.ReadAsync().ConfigureAwait(false) && _coreReader.Depth > startDepth) 123await _coreReader.ReadAsync().ConfigureAwait(false);