2015-05-14 22:35:07 +03:00
%PREFIX%=SEMANTICERROR_
CIRCULARITY_IN_RECORD=Cycle in the struct layout
2016-07-19 21:16:08 +03:00
CAN_NOT_EXECUTE_FOREACH_BY_EXPR_OF_TYPE_{0}='foreach' or 'yield sequence' statement cannot operate on expression of type '{0}'
2015-05-14 22:35:07 +03:00
FOREACH_LOOP_CONTROL_MUST_BE_SIMPLE_LOCAL_VARIABLE=Loop variable must be simple local variable
TYPES_OF_VAR_AND_ELEMENTS_IN_FOREACH_MUST_BE_EQUAL_{0}_{1}=Type {0} of variable in foreach must be equal to a type {1} of elements in the iterable collection
CLASS_{0}_DOES_NOT_IMPLEMENT_MEMBER_{2}_OF_CLASS_{1}=Class '{0}' doesn't implement inherited abstract member '{2}' of class '{1}'
RECORD_{0}_DOES_NOT_IMPLEMENT_MEMBER_{2}_OF_CLASS_{1}=Record '{0}' doesn't implement inherited abstract member '{2}' of record '{1}'
RAISE_WITHOUT_PARAMETERS_MUST_BE_IN_CATCH_BLOCK=A raise statement with no arguments is not allowed outside of a except clause
NIL_WITH_VALUE_TYPES_NOT_ALLOWED=Cannot convert nil-type to value type
POINTERS_OF_REF_TYPES_NOT_ALLOWED=Pointers to reference types are not allowed
DIRECTIVE_{0}_NOT_ALLOWED=Modifier '{0}' is not valid in this context
BLOCK_VARIABLES_CANNOT_HAVE_NAMES_UPPER_SCOPE=A local variable cannot be declared in this scope because it would give a different meaning to other variable, which is already used in a parent scope to denote something else
INVALID_PARAMETER_COUNT_IN_INDEXER=Wrong number of indices
TYPE_CAN_NOT_HAVE_THIS_SIZE_{0}=Wrong size of type '{0}'
CONSTRUCTOR_CAN_NOT_BE_OVERRIDE=Constructor cannot be override
CANNOT_ASSIGN_TO_READONLY_FIELD=A readonly field cannot be assigned to
CANNOT_ASSIGN_TO_READONLY_PROPERTY=A readonly property cannot be assigned to
DESTRUCTOR_CANNOT_HAVE_PARAMETERS=Destructor cannot have parameters
USING_MODIFIERS{0}_{1}_TOGETHER_NOT_ALLOWED=Modifier '{0}' has conflicts with modifier '{1}'
CONST_PARAMETERS_CANNOT_HAVE_DEFAULT_VALUE=const-parameters cannot have default value
FORMAT_EXPRESSION_CAN_USE_ONLY_IN_THESE_PROCEDURES=Format expression can be used only in calls of write, writeln и str
2016-03-14 13:05:49 +03:00
BAD_CONSTRUCTED_FORMAT_EXPRESSION=Badly constructed format expression
2015-05-14 22:35:07 +03:00
NIL_IN_SET_CONSTRUCTOR_NOT_ALLOWED=nil cannot be used in a set constructor
POINTERS_IN_SETS_NOT_ALLOWED=Set cannot contain pointers
VOID_NOT_VALID=Type 'System.Void' cannot be used in this context
EXPECTED_TYPE=Type expected
INTERFACE_CANNOT_BE_SEALED=Interfaces cannot be sealed
2018-10-07 07:51:32 +03:00
INTERFACE_CANNOT_BE_AUTO=Interfaces cannot have 'auto' attribute
2015-05-14 22:35:07 +03:00
RANGE_TOO_LARGE=The range is too large
CANNOT_EVALUATE_SIZE=Cannot evaluate size of record
CANNOT_CALL_NEW_BECAUSE_OF_UNDEFINED_SIZE=Cannot call 'New' because the structure hasn't predefined size
CANNOT_BE_ABSTRACT_STATIC_METHOD=Abstract method cannot be static
ABSTRACT_METHOD_IN_RECORD=Abstract methods are not valid in records
ABSTRACT_METHOD_WITH_BODY=Abstract methods cannot have a body
ABSTRACT_METHOD_IN_SEALED_CLASS=Abstract methods are not valid in sealed classes
ABSTRACT_CONSTRUCTOR_{0}_CALL=Cannot create an instance of the abstract class '{0}'
CONSTRUCTOR_CANNOT_BE_ABSTRACT=Constructor can not be abstract
CANNOT_ASSIGN_TO_LOOP_VARIABLE=Cannot change a value of loop variable
CANNOT_CALL_ABSTRACT_METHOD=Cannot call an abstract base member
NIL_IN_THIS_CONTEXT_NOT_ALLOWED=Nil cannot be used in this context
ACCESSOR_{0}_MUST_BE_STATIC=Accessor '{0}' must be static
ACCESSOR_{0}_CANNOT_BE_STATIC=Accessor '{0}' must be non-static
EVENT_MUST_HAVE_TYPE=Event type expected
EVENT_TYPE_MUST_BE_DELEGATE=Е vents must be of a delegate type
EVENT_{0}_MUST_BE_IN_LEFT_PART=The event '{0}' can only appear on the left hand side of += or -=
CLASS_CONSTANT_CAN_HAVE_ONLY_PRIMITIVE_VALUE=Class constant can have only primitive value
CIRCULARITY_IN_POINTER=Circularity in pointer type
UNEXPECTED_EXPRESSION_IN_WITH=Expression of this type cannot be in with clause
TYPE_{0}_NOT_VALID=Type '{0}' cannot be used in this context
NO_DEFAULT_CONSTRUCTOR_INT_TYPE_{0}=The class '{0}' has no default constructor
LABELED_DECLARATION_NOT_ALLOWED=Cannot set a label on variable definition
NAME_IN_BASE_CLASS_MUST_BE_METHOD=The virtual method in the base class with same parameters not found
NO_CONSTRUCTOR_IN_BASE_CLASS_WITH_SAME_PARAMETERS=No constructor found with same parameters in the base class
INVALID_ARRAY_REPRESENTATION=Invalid indexer representation
{0}_PARAMETERS_EXPECTED={0} parameters expected
RANK_MISMATCH_IN_INITILIALIZER=Mismatch of array initializer dimension and array type
RETURN_VALUE_SHOULD_HAVE_TYPE_{0}=Return value or parameter should have type '{0}'
CIRCURAL_TYPE_CONVERSION_DEFINITION=User-defined operator cannot take an object of the enclosing type and convert to an object of the enclosing type
THIS_EXPRESSION_CAN_NOT_BE_PASSED_BY_CONST=This expression can not be passed as constant parameter
EXTENSION_METHOD_FOR_INTERFACE=Cannot declare extensions-method of interface
EXTENSION_METHOD_FOR_GENERIC_INSTANCES=Cannot declare extensions-method of generic instance
EXTENSION_CONSTRUCTOR_NOT_ALLOWED=Cannot declare extensions-constructors
CLASS_MEMBER_{0}_EXPECTED='{0}' must be method or constructor
DESTRUCTOR_MUST_HAVE_NAME=Destructor must have name
STRING_CONSTANT_EXPECTED=String constant expected
STRING_CONSTANT_OR_IDENTIFIER_EXPECTED=String constant or identifier expected
FUNCTION_MUST_HAVE_DLLIMPORT_ATTRIBUTE=DllImport attribute expected
EXPECTED_ATTRIBUTE_INITIALIZER=Attribute initializer expected
CLASS_{0}_NOT_ATTRIBUTE=The class '{0}' is not attribute
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_DELEGATE=Attribute {0} is not applicable to functional types
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_INTERFACE=Attribute {0} is not applicable to interfaces
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_ENUM=Attribute {0} is not applicable to enums
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_CLASS=Attribute {0} is not applicable to classes
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_STRUCT=Attribute {0} is not applicable to records
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_FIELD=Attribute {0} is not applicable to fields
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_METHOD=Attribute {0} is not applicable to methods
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_CONSTRUCTOR=Attribute {0} is not applicable to constructors
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_PROPERTY=Attribute {0} is not applicable to properties
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_EVENT=Attribute {0} is not applicable to events
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_PARAMETER=Attribute {0} is not applicable to parameters
ATTRIBUTE_{0}_NOT_APPLICABLE_TO_ASSEMBLY=Attribute {0} is not applicable to assemblies (units)
INDEX_PROPERTY_INITIALIZING_NOT_VALID=Index property initialization isn't permissible
ATTRIBUTES_APPLICABLE_ONLY_TO_THESE_TYPES=Attributes are applicable only to records, classes, interfaces, delegates and enums
DUPLICATE_ATTRIBUTE_{0}_APPLICATION=Attribute {0} can't be applicable twice
ATTRIBUTES_FOR_NESTED_FUNCTIONS_NOT_ALLOWED=Attributes for nested subrotines are not permissible
DLLIMPORT_ATTRIBUTE_CANNOT_BE_APPLIED_TO_METHOD=Attribute DllImport is not permissible to methods (only to external-subrotines)
EXPECTED_EXTERNAL_STATEMENT=external expected
FUNCTION_MUST_HAVE_ONLY_EXTERNAL_STATEMENT=Unit name after external subrotines with attribute DllImport is illegal
FIELD_MUST_HAVE_FIELD_OFFSET_ATTRIBUTE=Field must have attribute FieldOffset
ALL_ENUM_CONSTANTS_NEEDED=Enum constant value must be explicitly declared
OUT_OF_RANGE=Out of range
EXPECTED_ASSEMBLY_NAME=Assembly name expected
EVENT_MUST_BE_IN_CLASS_OR_NAMESPACE=Events must be declared in class or unit only
RECORD_CONST_NOT_ALLOWED_{0}=Incompatible types '{0}' and record
ONLY_CLASS_CAN_BE_PARTIAL=partial is applicable to classes only
OPERATORS_SHOULD_HAVE_{0}_PARAMETERS={0} parameter(s) expected
2016-02-02 02:28:54 +03:00
OPERATOR_SHOULD_HAVE_1_PARAMETER=1 parameter expected
OPERATOR_SHOULD_HAVE_2_PARAMETERS=2 parameters expected
2015-05-14 22:35:07 +03:00
OPERATORS_SHOULD_HAVE_1_OR_2_PARAMETERS=1 or 2 parameters expected
LEAST_ONE_PARAMETER_TYPE_SHOULD_EQ_DECLARING_TYPE_{0}=At least one parameter should have type {0}
2015-10-11 17:51:27 +03:00
EXTENSION_ATTRIBUTE_ONLY_FOR_NAMESPACE_FUNCTIONS_ALLOWED=extensionmethod attribute can be applied only to global functions
EXTENSION_METHODS_MUST_HAVE_LEAST_ONE_PARAMETER=Parameter with name 'self' expected
2019-02-24 23:00:38 +03:00
FIRST_PARAMETER_SHOULDBE_ONLY_VALUE_PARAMETER=var is not allowed for first parameter of extension method
2015-10-11 17:51:27 +03:00
FIRST_PARAMETER_MUST_HAVE_NAME_SELF=Parameter with 'name' self expected
EXTENSION_METHODS_FOR_CONSTRUCTED_TYPES_NOT_ALLOWED=Cannot extend this type
2015-12-03 21:59:37 +03:00
EXTENSION_METHODS_IN_INTERFACE_PART_NOT_ALLOWED=Cannot declare extension methods in interface part of unit
2015-12-10 00:11:38 +03:00
OPERATOR_SHOULD_BE_EXTENSION_METHOD=Operator should be extension method
UNABLE_TO_CONVERT_FUNCTIONAL_TYPE_TO_PROCEDURAL_TYPE=Unable to convert functional type to procedural type
ILLEGAL_PARAMETERS_IN_LAMBDA=Illegal parameters in lambda
ILLEGAL_LAMBDA_VARIABLE_TYPE=Illegal lambda variable type
ILLEGAL_LAMBDA_PARAMETERS_NUMBER=Illegal lambda parameters number
IMPOSSIBLE_TO_INFER_TYPES_IN_LAMBDA=Unable to infer types in lambda
ANONYMOUS_DELEGATE_IN_INTERFACE_NOT_ALLOWED=Using of anonymous delegate in interface is not allowed. Declare the delegate type explicitly.
PARAMETER_REFERENCE_IN_DEFAULT_PARAMETER_NOT_ALLOWED=Parameter references in default parameter value are not allowed
2016-02-07 23:54:29 +03:00
CANNOT_EVALUATE_FUNCTION_TYPE=Cannot infer the return type of function
TYPE_NAME_EXPECTED=Type name expected
2016-02-12 18:49:02 +03:00
EXPLICIT_IMPLEMENTATION_EXPECTED=Method implementation expected
2016-03-12 22:13:45 +03:00
ANONYMOUS_FUNCTION_TYPE_WITH_GENERICS=Anonymous delegates can not use generic parameters
2016-03-13 20:50:38 +03:00
CLASS_NOT_IMPLEMENT_THIS_INTERFACE=Class doesn't implement this interface
INTERFACE_EXPECTED=Interface expected
2016-04-02 22:28:35 +03:00
IMPLICIT_EXPLICIT_OPERATOR_EXTENSION_ONLY_FOR_COMPILED_CLASSES_ALLOWED=Operators implicit and explicit can be extended only for classes from another .NET assemblies
EXTENSIONMETHOD_KEYWORD_NOT_ALLOWED=extensionmethod is not allowed in this context
2016-04-14 22:02:37 +03:00
CANNOT_EXTEND_STANDARD_OPERATORS_FOR_DELEGATE=Can not extend operators +,+=,-,-= for delegates
2016-07-09 16:01:56 +03:00
FORWARD_EXTENSION_METHODS_NOT_ALLOWED=forward attribute can not be applied to extension methods
2016-08-02 22:38:16 +03:00
WHERE_SECTION_NOT_ALLOWED=Can not apply 'where' to predefined class
GENERIC_PARAMETERS_MISMATCH=Generic-parameters mismatch
2016-09-02 20:09:52 +03:00
EXPECTED_TYPE_AFTER_NEW=type after 'new' expected
2016-12-18 20:18:51 +03:00
USE_ANONYMOUS_FUNCTION_TYPE_WITH_GENERICS=Using of anonymous delegates in generic subroutine. Define a generic-delegate outside the procedure and instant it with generic-parameters of function
2017-04-23 16:22:30 +03:00
WITH_AND_LAMBDAS_NOT_ALLOWED=Cannot use 'with' and lambdas in the same function
2017-07-02 15:00:57 +03:00
GOTO_AND_LAMBDAS_NOT_ALLOWED=Cannot use 'goto' and lambdas in the same function
2017-08-08 19:24:42 +03:00
NO_PROPERTY_TO_OVERRIDE=No property to override
2017-09-24 13:12:27 +03:00
TYPE_PREDEFINITION_NOT_ALLOWED=Type predefinition in namespaces
NAMESPACE_SHOULD_CONTAINS_ONLY_TYPES=class, record, enumeration type or functional type expected
2017-10-03 21:18:37 +03:00
NAMESPACE_REDECLARATION=Namespaces cannot be the same as the names of units or .NET namespaces
2017-11-05 18:58:04 +03:00
OVERRIDE_NOT_ALLOWED_FOR_SHORT_FUNCTIONS=Can not use override in short functions without explicitly defined return type
2017-12-29 18:47:02 +03:00
RETURN_VALUE_IMPLICIT_EXPLICIT_EXPECTED=Can not declare implicit and explicit operators without explicitly defined return type
2017-12-29 20:35:00 +03:00
RETURN_TYPE_UNDEFINED_{0}=Return type of function {0} is not defined and cannot be deduced. Declare the return type explicitly.
2017-12-31 14:28:34 +03:00
OPERATOR_RETURN_TYPE_UNDEFINED_{0}=Return type of operator {0} is not defined and cannot be deduced. Declare the return type explicitly.
2018-01-29 22:14:36 +03:00
STRUCT_TYPE_DEFINITION_IN_AUTO_CLASS=Field types in auto classes cannot be record or array definition
2018-02-20 22:53:51 +03:00
EXTERNAL_METHOD_SHOULD_BE_STATIC=external-methods should be static
2018-03-18 17:12:35 +03:00
ABSTRACT_CLASS_CANNOT_BE_SEALED=Abstract classes can not be sealed
2018-03-19 23:05:44 +03:00
EXPRESSION_EXPECTED=Expression expected
2018-05-06 15:24:30 +03:00
CLASS_ATTRIBUTE_NOT_ALLOWED_IN_CLASS_PREDEFINTIONS=Can not declare class attributes in class predefintions
2018-08-19 13:52:36 +03:00
GENERIC_RECORDS_CANNOT_HAVE_EXPLICIT_LAYOUT=Generic-records can not have attribute LayoutKind.&Explicit
2018-08-27 22:09:54 +03:00
ATTRIBUTE_CANNOT_BE_GENERIC=Attributes cannot be generic
2018-09-04 22:02:18 +03:00
EXTERNAL_METHOD_CANNOT_BE_DECLARED_IN_GENERIC_TYPE=external-methods can not be declared in generic type
EXTERNAL_METHOD_CANNOT_BE_GENERIC=external-methods can not be generic
2018-09-09 20:10:15 +03:00
WHERE_SPECIFIER_MISMATCH=where specifier contradicts with where specifier of base class
2018-09-20 22:57:02 +03:00
ATTRIBUTE_{0}_NOT_ALLOWED=Attribute {0} is not allowed in this context
2018-09-22 13:35:36 +03:00
ABSTRACT_PROPERTIES_CANNOT_HAVE_IMPLEMENTATION=Abstract properties cannot have implementation
2018-09-22 18:49:47 +03:00
ONLY_CLASS_CAN_BE_STATIC=Only classes can be static
STATIC_CLASS_CANNOT_BE_GENERIC=Static class cannot ne generic
2018-09-23 12:50:56 +03:00
STATIC_CLASS_CANNOT_HAVE_PARENT=Static class cannot be derived from other classes or implement interfaces
2018-09-22 18:49:47 +03:00
STATIC_CLASSES_CANNOT_NON_STATIC_MEMBERS=Static class can have only static members
VARIABLES_OF_STATIC_CLASS_NOT_ALLOWED=Can not declare variables, parameters, fields with type of static class
STATIC_CONSTRUCTOR_CALL=Can not instance the static classes
USING_STATIC_CLASS_NOT_VALID=Using of static class is not allowed in this context
2018-10-07 13:42:34 +03:00
INTERFACE_PROPERTIES_CANNOT_BE_STATIC=Interface properties can not be static
2018-10-28 13:16:15 +03:00
ARRAY_RANK_CANNOT_BE_GREATER_32=Rank of multidimensional unsized array cannot be greater 32
2018-10-28 16:28:12 +03:00
CANNOT_GET_POINTER_TO_DISPOSE=Cannot get a pointer to intrinsic procedure Dispose
2018-12-30 17:37:16 +03:00
USING_{0}_NOT_ALLOWED_IN_THIS_CONTEXT=Using of {0} is not allowed in this context
2019-01-03 00:40:04 +03:00
OPERATORS_IN_INTERFACES_NOT_ALLOWED=Interfaces can not contain operators
2019-03-28 22:31:27 +03:00
STATIC_CLASS_CAN_NOT_BE_USED_AS_PARENT_SPECIFICATOR=Static classes can not be used as generic constraints
2019-03-28 23:09:26 +03:00
ENUM_MUST_HAVE_SEQUENCED_VALUES=Enum must have sequenced values
2015-05-14 22:35:07 +03:00
%PREFIX%=COMPILATIONERROR_
UNIT_MODULE_EXPECTED_LIBRARY_FOUND=Unit expected, library found
2016-01-06 18:28:35 +03:00
ASSEMBLY_{0}_READING_ERROR=Error by reading assembly '{0}'
2017-09-24 13:12:27 +03:00
INVALID_ASSEMBLY_PATH=Assembly path has invalid characters
INCLUDE_NAMESPACE_IN_UNIT=Cannot use includenamespace in units
NAMESPACE_MODULE_EXPECTED=namespace expected