29 instantiations of RuleSyntaxException
System.Workflow.Activities (29)
Rules\Parser\Parser.cs (19)
1120
throw new
RuleSyntaxException
(ErrorNumbers.Error_MissingLparenAfterCommand, message, parserContext.CurrentToken.StartPosition);
1589
throw new
RuleSyntaxException
(ErrorNumbers.Error_UnknownFieldOrProperty, message, namePosition);
1616
throw new
RuleSyntaxException
(ErrorNumbers.Error_UnknownFieldOrProperty, message, namePosition);
1689
throw new
RuleSyntaxException
(error.ErrorNumber, error.ErrorText, lparenPosition);
1936
throw new
RuleSyntaxException
(ErrorNumbers.Error_MethodNotExists, message, lparenPosition);
1949
throw new
RuleSyntaxException
(error.ErrorNumber, error.ErrorText, lparenPosition);
2024
throw new
RuleSyntaxException
(ErrorNumbers.Error_UnknownIdentifier, message, token.StartPosition);
2088
throw new
RuleSyntaxException
(ErrorNumbers.Error_UnknownNamespaceMember, message, token.StartPosition);
2109
throw new
RuleSyntaxException
(ErrorNumbers.Error_MissingTypeArguments, message, token.StartPosition);
2120
throw new
RuleSyntaxException
(ErrorNumbers.Error_NotAGenericType, message, token.StartPosition);
2128
throw new
RuleSyntaxException
(ErrorNumbers.Error_BadTypeArgCount, message, parserContext.CurrentToken.StartPosition);
2178
throw new
RuleSyntaxException
(ErrorNumbers.Error_MissingTypeArguments, message, namePosition);
2328
throw new
RuleSyntaxException
(ErrorNumbers.Error_BadTypeArgCount, message, parserContext.CurrentToken.StartPosition);
2749
throw new
RuleSyntaxException
(ErrorNumbers.Error_MethodNotExists, message, lparenPosition);
2760
throw new
RuleSyntaxException
(ErrorNumbers.Error_CannotResolveMember, message, lparenPosition);
2775
throw new
RuleSyntaxException
(ErrorNumbers.Error_MethodNotExists, invokeEx.InnerException.Message, lparenPosition);
2817
throw new
RuleSyntaxException
(error.ErrorNumber, error.ErrorText, position);
2833
throw new
RuleSyntaxException
(error.ErrorNumber, error.ErrorText, position);
2849
throw new
RuleSyntaxException
(error.ErrorNumber, error.ErrorText, position);
Rules\Parser\Scanner.cs (10)
339
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidCharacter, message, tokenStartPosition);
354
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidCharacter, message, tokenStartPosition);
482
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidEscapeSequence, message, currentPosition - 1);
603
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition);
616
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition);
629
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidRealLiteral, message, tokenStartPosition);
644
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidIntegerLiteral, message, tokenStartPosition);
735
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidExponentDigit, message, currentPosition);
819
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidHexDigit, message, currentPosition);
841
throw new
RuleSyntaxException
(ErrorNumbers.Error_InvalidIntegerLiteral, message, tokenStartPosition);
8 references to RuleSyntaxException
System.Workflow.Activities (8)
Rules\Design\Dialogs\RuleConditionDialog.cs (3)
103
catch (
RuleSyntaxException
ex)
194
if (syntaxException is
RuleSyntaxException
)
195
this.conditionTextBox.SelectionStart = ((
RuleSyntaxException
)syntaxException).Position;
Rules\Design\Dialogs\RuleSetDialog.cs (3)
167
catch (
RuleSyntaxException
ex)
179
catch (
RuleSyntaxException
ex)
191
catch (
RuleSyntaxException
ex)
Rules\Parser\Parser.cs (1)
968
catch (
RuleSyntaxException
ex)
Rules\Parser\Scanner.cs (1)
149
catch (
RuleSyntaxException
)