4 writes to Definition
System.Private.Xml (4)
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
253ndFunc.Definition = _contentAnalyzer.Analyze(ndFunc, ndFunc.Definition)!;
System\Xml\Xsl\Xslt\QilGenerator.cs (3)
623func.Definition = CompileVarParValue(par); 670tmpl.Function.Definition = CompileInstructions(tmpl.Content); 2731applyFunction.Definition = _matcherBuilder.BuildMatcher(current, actualArgs, /*otherwise:*/builtinTemplates);
8 references to Definition
System.Private.Xml (8)
System\Xml\Xsl\IlGen\TailCallAnalyzer.cs (1)
27AnalyzeDefinition(ndFunc.Definition);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (2)
250if (IsConstructedExpression(ndFunc.Definition)) 253ndFunc.Definition = _contentAnalyzer.Analyze(ndFunc, ndFunc.Definition)!;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (2)
279NestedVisit(ndFunc.Definition); 281NestedVisitEnsureStack(ndFunc.Definition, GetItemStorageType(ndFunc), !ndFunc.XmlType!.IsSingleton);
System\Xml\Xsl\QIL\QilTypeChecker.cs (1)
659Check(node.Definition.XmlType!.IsSubtypeOf(node.XmlType!), node, "Function definition's xml type must be a subtype of the function's return type");
System\Xml\Xsl\Xslt\QilGenerator.cs (2)
624SetLineInfo(func.Definition, par.SourceLine); 643Debug.Assert(tmpl != null && tmpl.Function != null && tmpl.Function.Definition.NodeType == QilNodeType.Unknown);