2 writes to NodeType
System.Private.Xml (2)
System\Xml\Xsl\Xslt\XslAst.cs (2)
88this.NodeType = nodeType; 96this.NodeType = nodeType;
53 references to NodeType
System.Private.Xml (53)
System\Xml\Xsl\Xslt\Compiler.cs (3)
163Debug.Assert(var.NodeType == XslNodeType.Variable || var.NodeType == XslNodeType.Param); 166if (var.NodeType == XslNodeType.Variable)
System\Xml\Xsl\Xslt\QilGenerator.cs (26)
479Debug.Assert(tmpl.NodeType == XslNodeType.AttributeSet || tmpl.NodeType == XslNodeType.Template); 508Debug.Assert(tmpl.NodeType == XslNodeType.Template); 515if (node.NodeType == XslNodeType.Text) 521if (node.NodeType == XslNodeType.Param) 704XslNodeType nodeType = node.NodeType; 1179Debug.Assert(withParam.NodeType == XslNodeType.WithParam); 1215Debug.Assert(node.NodeType == XslNodeType.ApplyImports); 1417Debug.Assert(when.NodeType == XslNodeType.If || when.NodeType == XslNodeType.Otherwise); 1419if (when.NodeType == XslNodeType.Otherwise) 1460Debug.Assert(node.NodeType == XslNodeType.Variable); 1470Debug.Assert(node.NodeType == XslNodeType.Variable || node.NodeType == XslNodeType.Param || node.NodeType == XslNodeType.WithParam); 1508Debug.Assert(withParam.NodeType == XslNodeType.WithParam); 1726Debug.Assert(sort.NodeType == XslNodeType.Sort); 2223Debug.Assert(varPar.NodeType == XslNodeType.Variable || varPar.NodeType == XslNodeType.Param); 2226if (varPar.NodeType == XslNodeType.Variable) 2259Debug.Assert(varPar.NodeType == XslNodeType.Variable || varPar.NodeType == XslNodeType.Param); 2516node.NodeType == XslNodeType.ApplyTemplates && sheet is RootLevel || 2517node.NodeType == XslNodeType.ApplyImports && sheet is Stylesheet 2581Debug.Assert(actualArgs[actArg].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()"); 2662Debug.Assert(actualArgs[i].NodeType == XslNodeType.WithParam, "All Sorts was removed in CompileSorts()");
System\Xml\Xsl\Xslt\Stylesheet.cs (2)
86Debug.Assert(var.NodeType == XslNodeType.Variable || var.NodeType == XslNodeType.Param);
System\Xml\Xsl\Xslt\XslAst.cs (1)
162Debug.Assert(node != null && node.NodeType == XslNodeType.List);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (17)
187if (instr.NodeType == XslNodeType.Text) 191if (instr.NodeType != XslNodeType.Param) 307if (_currentTemplate != null && (node.NodeType == XslNodeType.Variable || node.NodeType == XslNodeType.Param)) 313$"Instructions always return Rtf. node={node.NodeType} result={result}" 362if (instr.NodeType == XslNodeType.WithParam) 429Debug.Assert(instr.NodeType == XslNodeType.WithParam); 444if (instr.NodeType == XslNodeType.Text) 448if (instr.NodeType != XslNodeType.Param) 534if (child.NodeType == XslNodeType.Sort) 695if (node.NodeType != XslNodeType.WithParam) 714if (_typeDonor != null && node.NodeType != XslNodeType.WithParam) 1345if (NodeTypeTest(node.NodeType, NodesWithSelect)) 1381if (child.NodeType == XslNodeType.Variable || child.NodeType == XslNodeType.Param) 1385if (child.NodeType == XslNodeType.Param) 1394canRewrite = NodeTypeTest(node.NodeType, ParentsOfCallTemplate);
System\Xml\Xsl\Xslt\XsltLoader.cs (3)
803switch (xslNode.NodeType) 2524Debug.Assert(withParam.NodeType == XslNodeType.WithParam); 2527if (node.NodeType == XslNodeType.WithParam && node.Name!.Equals(withParam.Name))
System\Xml\Xsl\Xslt\XslVisitor.cs (1)
11node.NodeType switch