1 instantiation of TemplateMatch
System.Private.Xml (1)
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
56matchesForMode.Add(new TemplateMatch(template, filter));
18 references to TemplateMatch
System.Private.Xml (18)
System\Xml\Xsl\Xslt\MatcherBuilder.cs (13)
225internal sealed class TemplateMatchComparer : IComparer<TemplateMatch> 232public int Compare(TemplateMatch? x, TemplateMatch? y) 247public readonly TemplateMatch Match; 252public Pattern(TemplateMatch match, int priority) 318private readonly List<List<TemplateMatch>> _allMatches = new List<List<TemplateMatch>>(); 335private void AddPatterns(List<TemplateMatch> matches) 338foreach (TemplateMatch match in matches) 363List<TemplateMatch>? matchesForMode; 380private QilNode MatchPattern(QilIterator it, TemplateMatch match) 513foreach (List<TemplateMatch> list in _allMatches) 515foreach (TemplateMatch match in list)
System\Xml\Xsl\Xslt\Stylesheet.cs (5)
47public Dictionary<QilName, List<TemplateMatch>> TemplateMatches = new Dictionary<QilName, List<TemplateMatch>>(); 51List<TemplateMatch>? matchesForMode; 54matchesForMode = TemplateMatches[template.Mode] = new List<TemplateMatch>(); 63TemplateMatches[mode].Sort(TemplateMatch.Comparer);