62 references to QueryCompileError
System.ServiceModel (62)
System\ServiceModel\Dispatcher\QueryCoreOp.cs (1)
273throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidType, SR.GetString(SR.QueryVariableTypeNotSupported, this.variable.VariableType.ToString())));
System\ServiceModel\Dispatcher\QueryException.cs (3)
84QueryCompileError error; 86internal QueryCompileException(QueryCompileError error, string message) : base(message, null) 91internal QueryCompileException(QueryCompileError error) : this(error, null)
System\ServiceModel\Dispatcher\QueryFunctions.cs (1)
86throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidType, SR.GetString(SR.QueryFunctionTypeNotSupported, this.function.ReturnType.ToString())));
System\ServiceModel\Dispatcher\QueryMatcher.cs (1)
421throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.CouldNotParseExpression));
System\ServiceModel\Dispatcher\QueryModel.cs (1)
862throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidComparison));
System\ServiceModel\Dispatcher\XPathCompiler.cs (11)
183this.ThrowError(QueryCompileError.UnsupportedExpression); 282this.ThrowError(QueryCompileError.InvalidExpression); 304throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.PredicateNestingTooDeep)); 367throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidTypeConversion)); 421this.ThrowError(QueryCompileError.InvalidOrdinal); 426this.ThrowError(QueryCompileError.InvalidOrdinal); 623throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.UnsupportedAxis)); 634throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.PredicateNestingTooDeep)); 748throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.UnsupportedAxis)); 776throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.PredicateNestingTooDeep)); 895void ThrowError(QueryCompileError error)
System\ServiceModel\Dispatcher\XPathExpr.cs (3)
189throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidExpression)); 319throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidTypeConversion)); 340throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QueryCompileException(QueryCompileError.InvalidTypeConversion));
System\ServiceModel\Dispatcher\XPathLexer.cs (11)
658ThrowError(QueryCompileError.UnexpectedToken, CurrentSubstring()); 703ThrowError(QueryCompileError.UnsupportedOperator, CurrentSubstring()); 752ThrowError(QueryCompileError.InvalidVariable, this.ch == char.MinValue ? string.Empty : CurrentSubstring()); 813ThrowError(QueryCompileError.InvalidNCName, this.ch == char.MinValue ? "" : CurrentSubstring()); 955ThrowError(QueryCompileError.InvalidLiteral, CurrentSubstring()); 988ThrowError(QueryCompileError.InvalidOperatorName, qname.Prefix + ":" + qname.Name); 995ThrowError(QueryCompileError.UnsupportedOperator, this.previousID.ToString() + "->" + qname.Name); 1006ThrowError(QueryCompileError.InvalidAxisSpecifier, qname.Prefix + ":" + qname.Name); 1013ThrowError(QueryCompileError.UnsupportedAxis, qname.Name); 1031ThrowError(QueryCompileError.InvalidNodeType, qname.Prefix + ":" + qname.Name); 1050private void ThrowError(QueryCompileError err, string msg)
System\ServiceModel\Dispatcher\XPathParser.cs (30)
32this.ThrowError(QueryCompileError.InvalidFunction); 75XPathToken NextToken(XPathTokenID id, QueryCompileError error) 114this.ThrowError(QueryCompileError.NoNamespaceForPrefix); 129this.ThrowError(QueryCompileError.InvalidExpression); 137this.ThrowError(QueryCompileError.UnexpectedToken); 215this.ThrowError(QueryCompileError.InvalidExpression); 240this.ThrowError(QueryCompileError.InvalidExpression); 265this.ThrowError(QueryCompileError.UnsupportedAxis); 290this.NextToken(XPathTokenID.DblColon, QueryCompileError.InvalidAxisSpecifier); 332this.ThrowError(QueryCompileError.InvalidExpression); 394this.NextToken(XPathTokenID.LParen, QueryCompileError.InvalidFunction); 444this.ThrowError(QueryCompileError.UnsupportedFunction); 447this.NextToken(XPathTokenID.RParen, QueryCompileError.InvalidFunction); 520this.ThrowError(QueryCompileError.InvalidExpression); 545this.ThrowError(QueryCompileError.UnexpectedToken); 576this.ThrowError(QueryCompileError.UnsupportedNodeTest); 599this.ThrowError(QueryCompileError.InvalidNodeType); 603this.NextToken(XPathTokenID.LParen, QueryCompileError.InvalidNodeTest); 604this.NextToken(XPathTokenID.RParen, QueryCompileError.InvalidNodeTest); 639this.ThrowError(QueryCompileError.InvalidExpression); 670this.ThrowError(QueryCompileError.InvalidLocationPath); 686this.ThrowError(QueryCompileError.InvalidLocationPath); 731this.ThrowError(QueryCompileError.InvalidPredicate); 734this.NextToken(XPathTokenID.RBracket, QueryCompileError.InvalidPredicate); 751this.ThrowError(QueryCompileError.InvalidExpression); 817this.ThrowError(QueryCompileError.InvalidLocationPath); 870this.ThrowError(QueryCompileError.InvalidExpression); 920this.ThrowError(QueryCompileError.InvalidLocationStep); 965ThrowError(QueryCompileError.CouldNotParseExpression); 1003internal void ThrowError(QueryCompileError error)