1 write to currentTemplate
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
157
currentTemplate
= tmpl;
12 references to currentTemplate
System.Data.SqlXml (12)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (12)
336
if (
currentTemplate
!= null && (node.NodeType == XslNodeType.Variable || node.NodeType == XslNodeType.Param)) {
371
Debug.Assert(
currentTemplate
is Template, "xsl:apply-imports can only occur within xsl:template");
372
fwdApplyImportsGraph[(Template)
currentTemplate
] = (Stylesheet)node.Arg;
399
if (
currentTemplate
!= null) {
400
AddApplyTemplatesEdge(/*mode:*/node.Name,
currentTemplate
);
423
if (
currentTemplate
!= null) {
426
revCall0Graph.AddEdge(target,
currentTemplate
);
429
revCall1Graph.AddEdge(target,
currentTemplate
);
611
} else if (
currentTemplate
!= null) {
614
revCall0Graph.AddEdge(attSet,
currentTemplate
);
617
revCall1Graph.AddEdge(attSet,
currentTemplate
);
632
Template tmpl =
currentTemplate
as Template;