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