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