86 references to Document
PresentationBuildTasks (2)
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
511
XmlNodeType.
Document
, // parsing document
Framework\System\Windows\Markup\XamlParser.cs (1)
90
multipleRoots ? XmlNodeType.Element : XmlNodeType.
Document
,
PresentationFramework (1)
src\Framework\System\Windows\Markup\XamlReader.cs (1)
214
XmlTextReader reader = new XmlTextReader(stream, XmlNodeType.
Document
, parserContext);
System.Data (6)
fx\src\data\System\NewXml\DataPointer.cs (4)
412
case XmlNodeType.
Document
:
627
} else if ( NodeType == XmlNodeType.
Document
) {
641
} else if ( NodeType == XmlNodeType.
Document
) {
655
} else if ( NodeType == XmlNodeType.
Document
) {
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
49
xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.
Document
)] = (int)XPathNodeType.Root;
320
if ( this._node.NodeType == XmlNodeType.
Document
) {
System.Data.Services (2)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
138
case XmlNodeType.
Document
:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
348
case XmlNodeType.
Document
:
System.Data.SqlXml (5)
System\Xml\Xsl\Xslt\XsltInput.cs (1)
59
this.nodeType = XmlNodeType.
Document
;
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
78
case XmlNodeType.
Document
:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
403
case XmlNodeType.
Document
:
448
case XmlNodeType.
Document
:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
62
case XmlNodeType.
Document
:
System.Xml (63)
System\Xml\Core\XmlTextReaderImpl.cs (14)
242
XmlNodeType fragmentType = XmlNodeType.
Document
;
482
fragmentType = XmlNodeType.
Document
;
845
case XmlNodeType.
Document
: settings.ConformanceLevel = ConformanceLevel.Document; break;
2769
case XmlNodeType.
Document
:
3594
if ( fragmentType != XmlNodeType.
Document
) {
3617
if ( fragmentType == XmlNodeType.
Document
|| fragmentType == XmlNodeType.None ) {
3618
fragmentType = XmlNodeType.
Document
;
3641
if ( fragmentType == XmlNodeType.
Document
) {
3655
if ( fragmentType == XmlNodeType.
Document
) {
3692
if ( fragmentType == XmlNodeType.
Document
) {
3733
if ( !rootElementParsed && fragmentType == XmlNodeType.
Document
) {
3738
fragmentType = rootElementParsed ? XmlNodeType.
Document
: XmlNodeType.Element;
3853
if ( index == 0 && fragmentType != XmlNodeType.
Document
) {
7406
nextParsingFunction = ( index > 0 || fragmentType != XmlNodeType.
Document
) ? ParsingFunction.ElementContent
System\Xml\Core\XmlTextReaderImplAsync.cs (9)
1412
if (fragmentType != XmlNodeType.
Document
) {
1431
if (fragmentType == XmlNodeType.
Document
|| fragmentType == XmlNodeType.None) {
1432
fragmentType = XmlNodeType.
Document
;
1452
if (fragmentType == XmlNodeType.
Document
) {
1473
if (fragmentType == XmlNodeType.
Document
) {
1496
if (fragmentType == XmlNodeType.
Document
) {
1582
if (!rootElementParsed && fragmentType == XmlNodeType.
Document
) {
1586
fragmentType = rootElementParsed ? XmlNodeType.
Document
: XmlNodeType.Element;
1684
if (index == 0 && fragmentType != XmlNodeType.
Document
) {
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
924
if ( coreReader.Depth > 0 || coreReaderImpl.FragmentType != XmlNodeType.
Document
) {
System\Xml\Dom\DocumentSchemaValidator.cs (4)
95
case XmlNodeType.
Document
:
119
if (nodeToValidate.ParentNode.NodeType == XmlNodeType.
Document
) {
245
case XmlNodeType.
Document
:
441
Debug.Assert(elementToValidate.ParentNode.NodeType != XmlNodeType.
Document
); //Handle if it is the documentElement seperately
System\Xml\Dom\DocumentXmlWriter.cs (2)
447
if (nodeType == XmlNodeType.
Document
) {
457
if (nodeType == XmlNodeType.
Document
) {
System\Xml\Dom\DocumentXPathNavigator.cs (11)
148
case XmlNodeType.
Document
:
674
case XmlNodeType.
Document
:
983
case XmlNodeType.
Document
:
1030
if (source.NodeType == XmlNodeType.
Document
) {
1221
if ( curNT != XmlNodeType.
Document
&& curNT != XmlNodeType.Element ) {
1242
case XmlNodeType.
Document
:
1257
case XmlNodeType.
Document
:
1274
case XmlNodeType.
Document
:
1295
case XmlNodeType.
Document
:
1344
case XmlNodeType.
Document
:
1762
case XmlNodeType.
Document
:
System\Xml\Dom\XmlCDataSection.cs (1)
44
case XmlNodeType.
Document
:
System\Xml\Dom\XmlDocument.cs (4)
258
get { return XmlNodeType.
Document
; }
660
if (parentType == XmlNodeType.
Document
966
case XmlNodeType.
Document
:
1034
return XmlNodeType.
Document
;
System\Xml\Dom\XmlElementList.cs (1)
32
Debug.Assert( parent.NodeType == XmlNodeType.Element || parent.NodeType == XmlNodeType.
Document
);
System\Xml\Dom\XmlLoader.cs (1)
658
Debug.Assert( parentNode.NodeType != XmlNodeType.
Document
);
System\Xml\Dom\XmlNode.cs (5)
105
if (parentNode.NodeType != XmlNodeType.
Document
) {
151
if ( parentNode.NodeType == XmlNodeType.
Document
)
198
while (parent != null && !( parent.NodeType == XmlNodeType.
Document
))
870
if ( nt == XmlNodeType.
Document
901
if (NodeType == XmlNodeType.
Document
)
System\Xml\Dom\XmlNodeReader.cs (4)
87
if ( nt == XmlNodeType.
Document
)
175
case XmlNodeType.
Document
:
1282
if ( ( readerNav.NodeType == XmlNodeType.
Document
) || ( readerNav.NodeType == XmlNodeType.DocumentFragment ) ) {
1331
( ( ( readerNav.NodeType == XmlNodeType.
Document
) || ( readerNav.NodeType == XmlNodeType.DocumentFragment ) ) && readState == ReadState.Initial) );
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
46
case XmlNodeType.
Document
:
System\Xml\Dom\XmlText.cs (1)
47
case XmlNodeType.
Document
:
System\Xml\Dom\XmlWhitespace.cs (1)
46
case XmlNodeType.
Document
:
System\Xml\XPath\XPathNavigatorReader.cs (3)
50
XmlNodeType.
Document
, // XPathNodeType.Root
261
&& ( this.nodeType !=XmlNodeType.
Document
)
272
&& ( this.nodeType !=XmlNodeType.
Document
)
System.Xml.Linq (7)
System\Xml\Linq\XLinq.cs (4)
5134
if (node is XDocument) throw new ArgumentException(Res.GetString(Res.Argument_AddNode, XmlNodeType.
Document
));
5507
return XmlNodeType.
Document
;
6008
case XmlNodeType.
Document
:
6009
throw new ArgumentException(Res.GetString(Res.Argument_AddNode, XmlNodeType.
Document
));
System\Xml\Linq\XNodeNavigator.cs (2)
187
case XmlNodeType.
Document
:
247
case XmlNodeType.
Document
:
System\Xml\Linq\XNodeValidator.cs (1)
41
case XmlNodeType.
Document
: