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