57 references to Document
dotnet-svcutil-lib (57)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (3)
1451Debug.Assert(0 == (s_isTextualNodeBitmap & (1 << (int)XmlNodeType.Document))); 1478Debug.Assert(0 == (s_canReadContentAsBitmap & (1 << (int)XmlNodeType.Document))); 1505Debug.Assert(0 == (s_hasValueBitmap & (1 << (int)XmlNodeType.Document)));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (14)
231private XmlNodeType _fragmentType = XmlNodeType.Document; 454_fragmentType = XmlNodeType.Document; 847case XmlNodeType.Document: settings.ConformanceLevel = ConformanceLevel.Document; break; 3083case XmlNodeType.Document: 4006if (_fragmentType != XmlNodeType.Document) 4036if (_fragmentType == XmlNodeType.Document || _fragmentType == XmlNodeType.None) 4038_fragmentType = XmlNodeType.Document; 4066if (_fragmentType == XmlNodeType.Document) 4083if (_fragmentType == XmlNodeType.Document) 4126if (_fragmentType == XmlNodeType.Document) 4173if (!_rootElementParsed && _fragmentType == XmlNodeType.Document) 4180_fragmentType = _rootElementParsed ? XmlNodeType.Document : XmlNodeType.Element; 4318if (_index == 0 && _fragmentType != XmlNodeType.Document) 8383_nextParsingFunction = (_index > 0 || _fragmentType != XmlNodeType.Document) ? ParsingFunction.ElementContent
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (1)
1099if (_coreReader.Depth > 0 || _coreReaderImpl.FragmentType != XmlNodeType.Document)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (4)
100case XmlNodeType.Document: 129if (nodeToValidate.ParentNode.NodeType == XmlNodeType.Document) 285case XmlNodeType.Document: 510Debug.Assert(elementToValidate.ParentNode.NodeType != XmlNodeType.Document); //Handle if it is the documentElement seperately
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (2)
538if (nodeType == XmlNodeType.Document) 550if (nodeType == XmlNodeType.Document)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (11)
178case XmlNodeType.Document: 825case XmlNodeType.Document: 1208case XmlNodeType.Document: 1265if (_source.NodeType == XmlNodeType.Document) 1494if (curNT != XmlNodeType.Document && curNT != XmlNodeType.Element) 1520case XmlNodeType.Document: 1537case XmlNodeType.Document: 1556case XmlNodeType.Document: 1579case XmlNodeType.Document: 1636case XmlNodeType.Document: 2144case XmlNodeType.Document:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCDATASection.cs (1)
53case XmlNodeType.Document:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (4)
280get { return XmlNodeType.Document; } 743if (parentType == XmlNodeType.Document 1091case XmlNodeType.Document: 1174return XmlNodeType.Document;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (1)
32Debug.Assert(parent.NodeType == XmlNodeType.Element || parent.NodeType == XmlNodeType.Document);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (1)
756Debug.Assert(parentNode.NodeType != XmlNodeType.Document);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (5)
117if (parentNode.NodeType != XmlNodeType.Document) 173if (parentNode.NodeType == XmlNodeType.Document) 227while (parent != null && !(parent.NodeType == XmlNodeType.Document)) 1012if (nt == XmlNodeType.Document 1047if (NodeType == XmlNodeType.Document)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (4)
90if (nt == XmlNodeType.Document) 196case XmlNodeType.Document: 1523if ((_readerNav.NodeType == XmlNodeType.Document) || (_readerNav.NodeType == XmlNodeType.DocumentFragment)) 1580(((_readerNav.NodeType == XmlNodeType.Document) || (_readerNav.NodeType == XmlNodeType.DocumentFragment)) && _readState == ReadState.Initial));
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlSignificantWhitespace.cs (1)
54case XmlNodeType.Document:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (1)
56case XmlNodeType.Document:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlWhitespace.cs (1)
54case XmlNodeType.Document:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (3)
53XmlNodeType.Document, // XPathNodeType.Root 303&& (_nodeType != XmlNodeType.Document) 316&& (_nodeType != XmlNodeType.Document)