23 references to FuncId
System.Data.SqlXml (23)
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (19)
17using FunctionInfo = XPathBuilder.FunctionInfo<QilGenerator.FuncId>; 101case FuncId.Current : 107case FuncId.Key : 112case FuncId.Document : return CompileFnDocument(args[0], args.Count > 1 ? args[1] : null); 113case FuncId.FormatNumber : return CompileFormatNumber(args[0], args[1], args.Count > 2 ? args[2] : null); 114case FuncId.UnparsedEntityUri : return CompileUnparsedEntityUri(args[0]); 115case FuncId.GenerateId : return CompileGenerateId(args.Count > 0 ? args[0] : env.GetCurrent()); 116case FuncId.SystemProperty : return CompileSystemProperty(args[0]); 117case FuncId.ElementAvailable : return CompileElementAvailable(args[0]); 118case FuncId.FunctionAvailable : return CompileFunctionAvailable(args[0]); 253table.Add("current" , new FunctionInfo(FuncId.Current , 0, 0, null)); 254table.Add("document" , new FunctionInfo(FuncId.Document , 1, 2, argFnDocument)); 255table.Add("key" , new FunctionInfo(FuncId.Key , 2, 2, argFnKey)); 256table.Add("format-number" , new FunctionInfo(FuncId.FormatNumber , 2, 3, argFnFormatNumber)); 257table.Add("unparsed-entity-uri", new FunctionInfo(FuncId.UnparsedEntityUri, 1, 1, XPathBuilder.argString)); 258table.Add("generate-id" , new FunctionInfo(FuncId.GenerateId , 0, 1, XPathBuilder.argNodeSet)); 259table.Add("system-property" , new FunctionInfo(FuncId.SystemProperty , 1, 1, XPathBuilder.argString)); 260table.Add("element-available" , new FunctionInfo(FuncId.ElementAvailable , 1, 1, XPathBuilder.argString)); 261table.Add("function-available" , new FunctionInfo(FuncId.FunctionAvailable, 1, 1, XPathBuilder.argString));
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (4)
19using XsltFunctionInfo = XPathBuilder.FunctionInfo<QilGenerator.FuncId>; 980QilGenerator.FuncId funcId = xsltFunc.id; 982if (funcId == QilGenerator.FuncId.Current) { 984} else if (funcId == QilGenerator.FuncId.GenerateId && args.Count == 0) {