2 writes to NodeType
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XslAst.cs (2)
87
this.
NodeType
= nodeType;
94
this.
NodeType
= nodeType;
52 references to NodeType
System.Data.SqlXml (52)
System\Xml\Xsl\Xslt\Compiler.cs (3)
162
Debug.Assert(var.
NodeType
== XslNodeType.Variable || var.
NodeType
== XslNodeType.Param);
164
if (var.
NodeType
== XslNodeType.Variable) {
System\Xml\Xsl\Xslt\QilGenerator.cs (26)
417
Debug.Assert(tmpl.
NodeType
== XslNodeType.AttributeSet || tmpl.
NodeType
== XslNodeType.Template);
441
Debug.Assert(tmpl.
NodeType
== XslNodeType.Template);
447
if (node.
NodeType
== XslNodeType.Text) {
452
if (node.
NodeType
== XslNodeType.Param) {
606
XslNodeType nodeType = node.
NodeType
;
999
Debug.Assert(withParam.
NodeType
== XslNodeType.WithParam);
1033
Debug.Assert(node.
NodeType
== XslNodeType.ApplyImports);
1196
Debug.Assert(when.
NodeType
== XslNodeType.If || when.
NodeType
== XslNodeType.Otherwise);
1198
if (when.
NodeType
== XslNodeType.Otherwise) {
1232
Debug.Assert(node.
NodeType
== XslNodeType.Variable);
1240
Debug.Assert(node.
NodeType
== XslNodeType.Variable || node.
NodeType
== XslNodeType.Param || node.
NodeType
== XslNodeType.WithParam);
1271
Debug.Assert(withParam.
NodeType
== XslNodeType.WithParam);
1443
Debug.Assert(sort.
NodeType
== XslNodeType.Sort);
1866
Debug.Assert(varPar.
NodeType
== XslNodeType.Variable || varPar.
NodeType
== XslNodeType.Param);
1869
if (varPar.
NodeType
== XslNodeType.Variable) {
1895
Debug.Assert(varPar.
NodeType
== XslNodeType.Variable || varPar.
NodeType
== XslNodeType.Param);
2100
node.
NodeType
== XslNodeType.ApplyTemplates && sheet is RootLevel ||
2101
node.
NodeType
== XslNodeType.ApplyImports && sheet is Stylesheet
2151
Debug.Assert(actualArgs[actArg].
NodeType
== XslNodeType.WithParam, "All Sorts was removed in CompileSorts()");
2218
Debug.Assert(actualArgs[i].
NodeType
== XslNodeType.WithParam, "All Sorts was removed in CompileSorts()");
System\Xml\Xsl\Xslt\Stylesheet.cs (2)
80
Debug.Assert(var.
NodeType
== XslNodeType.Variable || var.
NodeType
== XslNodeType.Param);
System\Xml\Xsl\Xslt\XslAst.cs (1)
196
Debug.Assert(node != null && node.
NodeType
== XslNodeType.List);
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (16)
166
if (instr.
NodeType
== XslNodeType.Text) {
169
if (instr.
NodeType
!= XslNodeType.Param) {
336
if (currentTemplate != null && (node.
NodeType
== XslNodeType.Variable || node.
NodeType
== XslNodeType.Param)) {
341
"Instructions always return Rtf. node=" + node.
NodeType
.ToString() + " result=" + result.ToString()
383
if (instr.
NodeType
== XslNodeType.WithParam) {
438
Debug.Assert(instr.
NodeType
== XslNodeType.WithParam);
451
if (instr.
NodeType
== XslNodeType.Text) {
454
if (instr.
NodeType
!= XslNodeType.Param) {
524
if (child.
NodeType
== XslNodeType.Sort) {
677
if (typeDonor != null && node.
NodeType
!= XslNodeType.WithParam) {
1194
if (NodeTypeTest(node.
NodeType
, NodesWithSelect)) {
1227
if (child.
NodeType
== XslNodeType.Variable || child.
NodeType
== XslNodeType.Param) {
1230
if (child.
NodeType
== XslNodeType.Param) {
1237
canRewrite = NodeTypeTest(node.
NodeType
, ParentsOfCallTemplate);
System\Xml\Xsl\Xslt\XsltLoader.cs (3)
660
switch (xslNode.
NodeType
) {
2346
Debug.Assert(withParam.
NodeType
== XslNodeType.WithParam);
2348
if (node.
NodeType
== XslNodeType.WithParam && node.Name.Equals(withParam.Name)) {
System\Xml\Xsl\Xslt\XslVisitor.cs (1)
12
switch (node.
NodeType
) {