29 references to RuleSyntaxException
System.Workflow.Activities (29)
Rules\Parser\Parser.cs (19)
1120throw new RuleSyntaxException(ErrorNumbers.Error_MissingLparenAfterCommand, message, parserContext.CurrentToken.StartPosition); 1589throw new RuleSyntaxException(ErrorNumbers.Error_UnknownFieldOrProperty, message, namePosition); 1616throw new RuleSyntaxException(ErrorNumbers.Error_UnknownFieldOrProperty, message, namePosition); 1689throw new RuleSyntaxException(error.ErrorNumber, error.ErrorText, lparenPosition); 1936throw new RuleSyntaxException(ErrorNumbers.Error_MethodNotExists, message, lparenPosition); 1949throw new RuleSyntaxException(error.ErrorNumber, error.ErrorText, lparenPosition); 2024throw new RuleSyntaxException(ErrorNumbers.Error_UnknownIdentifier, message, token.StartPosition); 2088throw new RuleSyntaxException(ErrorNumbers.Error_UnknownNamespaceMember, message, token.StartPosition); 2109throw new RuleSyntaxException(ErrorNumbers.Error_MissingTypeArguments, message, token.StartPosition); 2120throw new RuleSyntaxException(ErrorNumbers.Error_NotAGenericType, message, token.StartPosition); 2128throw new RuleSyntaxException(ErrorNumbers.Error_BadTypeArgCount, message, parserContext.CurrentToken.StartPosition); 2178throw new RuleSyntaxException(ErrorNumbers.Error_MissingTypeArguments, message, namePosition); 2328throw new RuleSyntaxException(ErrorNumbers.Error_BadTypeArgCount, message, parserContext.CurrentToken.StartPosition); 2749throw new RuleSyntaxException(ErrorNumbers.Error_MethodNotExists, message, lparenPosition); 2760throw new RuleSyntaxException(ErrorNumbers.Error_CannotResolveMember, message, lparenPosition); 2775throw new RuleSyntaxException(ErrorNumbers.Error_MethodNotExists, invokeEx.InnerException.Message, lparenPosition); 2817throw new RuleSyntaxException(error.ErrorNumber, error.ErrorText, position); 2833throw new RuleSyntaxException(error.ErrorNumber, error.ErrorText, position); 2849throw new RuleSyntaxException(error.ErrorNumber, error.ErrorText, position);
Rules\Parser\Scanner.cs (10)
339throw new RuleSyntaxException(ErrorNumbers.Error_InvalidCharacter, message, tokenStartPosition); 354throw new RuleSyntaxException(ErrorNumbers.Error_InvalidCharacter, message, tokenStartPosition); 482throw new RuleSyntaxException(ErrorNumbers.Error_InvalidEscapeSequence, message, currentPosition - 1); 603throw new RuleSyntaxException(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition); 616throw new RuleSyntaxException(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition); 629throw new RuleSyntaxException(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition); 644throw new RuleSyntaxException(ErrorNumbers.Error_InvalidIntegerLiteral, message, tokenStartPosition); 735throw new RuleSyntaxException(ErrorNumbers.Error_InvalidExponentDigit, message, currentPosition); 819throw new RuleSyntaxException(ErrorNumbers.Error_InvalidHexDigit, message, currentPosition); 841throw new RuleSyntaxException(ErrorNumbers.Error_InvalidIntegerLiteral, message, tokenStartPosition);