1 write to _currentTemplate
System.Private.Xml (1)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
176
_currentTemplate
= tmpl;
12 references to _currentTemplate
System.Private.Xml (12)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (12)
307
if (
_currentTemplate
!= null && (node.NodeType == XslNodeType.Variable || node.NodeType == XslNodeType.Param))
348
Debug.Assert(
_currentTemplate
is Template, "xsl:apply-imports can only occur within xsl:template");
349
_fwdApplyImportsGraph![(Template)
_currentTemplate
] = (Stylesheet)node.Arg!;
383
if (
_currentTemplate
!= null)
385
AddApplyTemplatesEdge(/*mode:*/node.Name!,
_currentTemplate
);
409
if (
_currentTemplate
!= null)
414
_revCall0Graph!.AddEdge(target,
_currentTemplate
);
419
_revCall1Graph!.AddEdge(target,
_currentTemplate
);
630
if (_compiler!.AttributeSets.TryGetValue(node.Name!, out AttributeSet? attSet) &&
_currentTemplate
!= null)
635
_revCall0Graph!.AddEdge(attSet,
_currentTemplate
);
640
_revCall1Graph!.AddEdge(attSet,
_currentTemplate
);
659
Template? tmpl =
_currentTemplate
as Template;