2016-07-18 13:04:50 +03:00
|
|
|
// Syntax tree conversion errors
|
|
|
|
|
%PREFIX%=SYNTAXTREEVISITORSERROR_
|
|
|
|
|
|
|
|
|
|
YIELD_FUNC_MUST_RETURN_SEQUENCE=Functions with yield must return sequences
|
2018-12-30 18:10:07 +03:00
|
|
|
YIELD_FUNC_CANNOT_RETURN_SEQUENCE_OF_ANONYMOUS_DELEGATES=Functions with yield cannot return sequence of anonymous delegates
|
2016-07-18 15:58:32 +03:00
|
|
|
ONLY_FUNCTIONS_CAN_CONTAIN_YIELDS=Only functions can contain yield
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_VAR_CONST_PARAMS_MODIFIERS=Functions with yield cannot contain 'var', 'const' or 'params' modifiers
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_DEFAULT_PARAMETERS=Functions with yield cannot have default parameters
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_RESULT=Functions with yield cannot contain Result variable
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_LOCK=Functions with yield cannot contain lock statement
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_TRY_EXCEPT_FINALLY=Functions with yield cannot contain try..except or try..finally statements
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_NESTED_SUBROUTINES=Functions with yield cannot contain nested subrotines or be nested
|
|
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_LOCAL_TYPE_DEFINITIONS=Functions with yield cannot contain local type definitions
|
2018-11-05 14:57:36 +03:00
|
|
|
FUNCTIONS_WITH_YIELDS_CANNOT_CONTAIN_INHERITED_CALLS=Functions with yield cannot contain calls of inherited methods
|
2016-07-18 15:58:32 +03:00
|
|
|
YIELDS_INSIDE_WITH_ARE_ILLEGAL=with statement cannot contain yields
|
2019-02-13 21:02:35 +03:00
|
|
|
YIELDSEQUENCES_INSIDE_WITH_ARE_ILLEGAL=with statement cannot contain yield sequence
|
2016-07-18 15:58:32 +03:00
|
|
|
LAMBDA_EXPRESSIONS_CANNOT_CONTAIN_YIELD=Lambda-expressions cannot contain yields
|
|
|
|
|
|
2018-06-17 14:15:08 +03:00
|
|
|
PATTERN_MATHING_IS_NOT_SUPPORTED_IN_THIS_CONTEXT=Pattern matching is not supported in this context
|
2018-10-21 12:29:36 +03:00
|
|
|
ONLY_ONE_DECONSTRUCT_ALLOWED=Only one user deconstructor is allowed
|
2018-06-17 14:15:08 +03:00
|
|
|
|
2016-07-18 15:58:32 +03:00
|
|
|
Var_{0}_is_already_defined=Variable {0} is already defined
|
|
|
|
|
|
2018-07-17 10:25:56 +03:00
|
|
|
?._CANNOT_BE_IN_THIS_CONTEXT=Operator ?. cannot be in this context
|