23 references to FuncId
System.Private.Xml (23)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (19)
12using FunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.Xslt.QilGenerator.FuncId>; 113case FuncId.Current: 120case FuncId.Key: 126case FuncId.Document: return CompileFnDocument(args[0], args.Count > 1 ? args[1] : null); 127case FuncId.FormatNumber: return CompileFormatNumber(args[0], args[1], args.Count > 2 ? args[2] : null); 128case FuncId.UnparsedEntityUri: return CompileUnparsedEntityUri(args[0]); 129case FuncId.GenerateId: return CompileGenerateId(args.Count > 0 ? args[0] : env.GetCurrent()!); 130case FuncId.SystemProperty: return CompileSystemProperty(args[0]); 131case FuncId.ElementAvailable: return CompileElementAvailable(args[0]); 132case FuncId.FunctionAvailable: return CompileFunctionAvailable(args[0]); 304table.Add("current", new FunctionInfo(FuncId.Current, 0, 0, null)); 305table.Add("document", new FunctionInfo(FuncId.Document, 1, 2, s_argFnDocument)); 306table.Add("key", new FunctionInfo(FuncId.Key, 2, 2, s_argFnKey)); 307table.Add("format-number", new FunctionInfo(FuncId.FormatNumber, 2, 3, s_argFnFormatNumber)); 308table.Add("unparsed-entity-uri", new FunctionInfo(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString)); 309table.Add("generate-id", new FunctionInfo(FuncId.GenerateId, 0, 1, XPathBuilder.argNodeSet)); 310table.Add("system-property", new FunctionInfo(FuncId.SystemProperty, 1, 1, XPathBuilder.argString)); 311table.Add("element-available", new FunctionInfo(FuncId.ElementAvailable, 1, 1, XPathBuilder.argString)); 312table.Add("function-available", new FunctionInfo(FuncId.FunctionAvailable, 1, 1, XPathBuilder.argString));
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (4)
14using XsltFunctionInfo = System.Xml.Xsl.XPath.XPathBuilder.FunctionInfo<System.Xml.Xsl.Xslt.QilGenerator.FuncId>; 1095QilGenerator.FuncId funcId = xsltFunc.id; 1097if (funcId == QilGenerator.FuncId.Current) 1101else if (funcId == QilGenerator.FuncId.GenerateId && args.Count == 0)