1 instantiation of Stylesheet
System.Private.Xml (1)
System\Xml\Xsl\Xslt\Compiler.cs (1)
86Stylesheet sheet = new Stylesheet(this, CurrentPrecedence);
31 references to Stylesheet
System.Private.Xml (31)
System\Xml\Xsl\Xslt\Compiler.cs (8)
27public RootLevel(Stylesheet principal) 29base.Imports = new Stylesheet[] { principal }; 84public Stylesheet CreateStylesheet() 86Stylesheet sheet = new Stylesheet(this, CurrentPrecedence); 131private void MergeWhitespaceRules(Stylesheet sheet) 141private void MergeAttributeSets(Stylesheet sheet) 159private void MergeGlobalVarPars(Stylesheet sheet) 180public void MergeWithStylesheet(Stylesheet sheet)
System\Xml\Xsl\Xslt\MatcherBuilder.cs (3)
355private void CollectPatternsInternal(Stylesheet sheet, QilName mode) 358foreach (Stylesheet import in sheet.Imports!) 374foreach (Stylesheet import in sheet.Imports!)
System\Xml\Xsl\Xslt\QilGenerator.cs (3)
2137private void CompileAndSortMatches(Stylesheet sheet) 2165foreach (Stylesheet import in sheet.Imports!) 2517node.NodeType == XslNodeType.ApplyImports && sheet is Stylesheet
System\Xml\Xsl\Xslt\Stylesheet.cs (1)
13public Stylesheet[]? Imports;
System\Xml\Xsl\Xslt\XslAst.cs (1)
377public static XslNode ApplyImports(QilName mode, Stylesheet? sheet, XslVersion xslVer)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (9)
40private Dictionary<Template, Stylesheet>? _fwdApplyImportsGraph = new Dictionary<Template, Stylesheet>(); 214foreach (KeyValuePair<Template, Stylesheet> pair in _fwdApplyImportsGraph!) 216foreach (Stylesheet import in pair.Value.Imports!) 250private void AddImportDependencies(Stylesheet sheet, Template focusDonor) 259foreach (Stylesheet import in sheet.Imports!) 265private static void FillModeFlags(Dictionary<QilName, XslFlags> parentModeFlags, Stylesheet sheet) 268foreach (Stylesheet import in sheet.Imports!) 349_fwdApplyImportsGraph![(Template)_currentTemplate] = (Stylesheet)node.Arg!;
System\Xml\Xsl\Xslt\XsltLoader.cs (6)
30private Stylesheet? _curStylesheet; // Current stylesheet 225private Stylesheet LoadStylesheet(Uri uri, bool include) 233private Stylesheet LoadStylesheet(XmlReader reader, bool include) 240Stylesheet? prevStylesheet = _curStylesheet; 242Stylesheet thisStylesheet = include ? _curStylesheet! : _compiler.CreateStylesheet(); 255_curStylesheet.Imports = new Stylesheet[importHrefs.Count];