15 references to Document
System.Private.Xml (15)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
3256else if ((object)typItem == (object)TypeFactory.Document) kinds |= XmlNodeKindFlags.Document; 3282case XmlNodeKindFlags.Document: kindsRuntime = XPathNodeType.Root; break; 3303if ((kinds & XmlNodeKindFlags.Document) != 0) kindsUnion |= (1 << (int)XPathNodeType.Root);
System\Xml\Xsl\QIL\QilTypeChecker.cs (1)
972if ((node.Child.XmlType!.NodeKinds & XmlNodeKindFlags.Document) != 0)
System\Xml\Xsl\XmlQueryType.cs (1)
531if (this.TypeCode == other.TypeCode && (this.NodeKinds & (XmlNodeKindFlags.Document | XmlNodeKindFlags.Element | XmlNodeKindFlags.Attribute)) != 0)
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
519XmlTypeCode.Document => XmlNodeKindFlags.Document,
System\Xml\Xsl\XPath\XPathBuilder.cs (4)
378/*Root */ XmlNodeKindFlags.Document, 730/*Ancestor */ XmlNodeKindFlags.Element | XmlNodeKindFlags.Document, 739/*Parent */ XmlNodeKindFlags.Element | XmlNodeKindFlags.Document, 743/*Root */ XmlNodeKindFlags.Document,
System\Xml\Xsl\Xslt\MatcherBuilder.cs (1)
347case XmlNodeKindFlags.Document: _documentPatterns.Add(pattern); break;
System\Xml\Xsl\Xslt\QilGenerator.cs (4)
1316else if (node.XmlType.NodeKinds == XmlNodeKindFlags.Document) 1322else if ((node.XmlType.NodeKinds & (XmlNodeKindFlags.Element | XmlNodeKindFlags.Document)) == XmlNodeKindFlags.None) 1345if (selectExpr.XmlType.IsNotRtf && (selectExpr.XmlType.NodeKinds & XmlNodeKindFlags.Document) == XmlNodeKindFlags.None) 1865case XmlNodeKindFlags.Document: return _f.IsType(testNode, T.Document);