186 lines
15 KiB
Plaintext
186 lines
15 KiB
Plaintext
%PREFIX%=SEMANTICERROR_
|
||
CIRCULARITY_IN_RECORD=Cycle in the struct layout
|
||
CAN_NOT_EXECUTE_FOREACH_BY_EXPR_OF_TYPE_{0}='foreach' or 'yield sequence' statement cannot operate on expression of type '{0}'
|
||
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
|
||
BAD_CONSTRUCTED_FORMAT_EXPRESSION=Badly constructed format expression
|
||
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
|
||
INTERFACE_CANNOT_BE_AUTO=Interfaces cannot have 'auto' attribute
|
||
RANGE_TOO_LARGE=The range is too large
|
||
CANNOT_EVALUATE_SIZE=Cannot evaluate size of type {0}
|
||
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
|
||
OPERATOR_SHOULD_HAVE_1_PARAMETER=1 parameter expected
|
||
OPERATOR_SHOULD_HAVE_2_PARAMETERS=2 parameters expected
|
||
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}
|
||
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
|
||
FIRST_PARAMETER_SHOULDBE_ONLY_VALUE_PARAMETER=var is not allowed for first parameter of extension method
|
||
FIRST_PARAMETER_MUST_HAVE_NAME_SELF=Parameter with name 'self' expected
|
||
EXTENSION_METHODS_FOR_CONSTRUCTED_TYPES_NOT_ALLOWED=Cannot extend this type
|
||
EXTENSION_METHODS_IN_INTERFACE_PART_NOT_ALLOWED=Cannot declare extension methods in interface part of unit
|
||
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
|
||
CANNOT_EVALUATE_FUNCTION_TYPE=Cannot infer the return type of function
|
||
TYPE_NAME_EXPECTED=Type name expected
|
||
EXPLICIT_IMPLEMENTATION_EXPECTED=Method implementation expected
|
||
ANONYMOUS_FUNCTION_TYPE_WITH_GENERICS=Anonymous delegates can not use generic parameters
|
||
CLASS_NOT_IMPLEMENT_THIS_INTERFACE=Class doesn't implement this interface
|
||
INTERFACE_EXPECTED=Interface expected
|
||
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
|
||
CANNOT_EXTEND_STANDARD_OPERATORS_FOR_DELEGATE=Can not extend operators +,+=,-,-= for delegates
|
||
FORWARD_EXTENSION_METHODS_NOT_ALLOWED=forward attribute can not be applied to extension methods
|
||
WHERE_SECTION_NOT_ALLOWED=Can not apply 'where' to predefined class
|
||
GENERIC_PARAMETERS_MISMATCH=Generic-parameters mismatch
|
||
EXPECTED_TYPE_AFTER_NEW=type after 'new' expected
|
||
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
|
||
WITH_AND_LAMBDAS_NOT_ALLOWED=Cannot use 'with' and lambdas in the same function
|
||
GOTO_AND_LAMBDAS_NOT_ALLOWED=Cannot use 'goto' and lambdas in the same function
|
||
NO_PROPERTY_TO_OVERRIDE=No property to override
|
||
TYPE_PREDEFINITION_NOT_ALLOWED=Type predefinition in namespaces
|
||
NAMESPACE_SHOULD_CONTAINS_ONLY_TYPES=class, record, enumeration type or functional type expected
|
||
NAMESPACE_REDECLARATION=Namespaces cannot be the same as the names of units or .NET namespaces
|
||
OVERRIDE_NOT_ALLOWED_FOR_SHORT_FUNCTIONS=Can not use override in short functions without explicitly defined return type
|
||
RETURN_VALUE_IMPLICIT_EXPLICIT_EXPECTED=Can not declare implicit and explicit operators without explicitly defined return type
|
||
RETURN_TYPE_UNDEFINED_{0}=Return type of function {0} is not defined and cannot be deduced. Declare the return type explicitly.
|
||
OPERATOR_RETURN_TYPE_UNDEFINED_{0}=Return type of operator {0} is not defined and cannot be deduced. Declare the return type explicitly.
|
||
STRUCT_TYPE_DEFINITION_IN_AUTO_CLASS=Field types in auto classes cannot be record or array definition
|
||
EXTERNAL_METHOD_SHOULD_BE_STATIC=external-methods should be static
|
||
ABSTRACT_CLASS_CANNOT_BE_SEALED=Abstract classes can not be sealed
|
||
ABSTRACT_CLASS_CANNOT_BE_SEALED_BECAUSE_METHOD_NOT_IMPLEMENTED=Class {0} is abstract and connot be sealed, because method {1} not implemented
|
||
ABSTRACT_CLASS_CANNOT_BE_SEALED_BECAUSE_PROPERTIE_NOT_IMPLEMENTED=Class {0} is abstract and connot be sealed, because propertie {1} not implemented
|
||
ABSTRACT_CLASS_CANNOT_BE_SEALED_BECAUSE_ABSTRACT_PROPERTIE=Class {0} is abstract and connot be sealed, because propertie {1} is abstract
|
||
EXPRESSION_EXPECTED=Expression expected
|
||
CLASS_ATTRIBUTE_NOT_ALLOWED_IN_CLASS_PREDEFINTIONS=Can not declare class attributes in class predefintions
|
||
GENERIC_RECORDS_CANNOT_HAVE_EXPLICIT_LAYOUT=Generic-records can not have attribute LayoutKind.&Explicit
|
||
ATTRIBUTE_CANNOT_BE_GENERIC=Attributes cannot be generic
|
||
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
|
||
WHERE_SPECIFIER_MISMATCH=where specifier contradicts with where specifier of base class
|
||
ATTRIBUTE_{0}_NOT_ALLOWED=Attribute {0} is not allowed in this context
|
||
ABSTRACT_PROPERTIES_CANNOT_HAVE_IMPLEMENTATION=Abstract properties cannot have implementation
|
||
ONLY_CLASS_CAN_BE_STATIC=Only classes can be static
|
||
STATIC_CLASS_CANNOT_BE_GENERIC=Static class cannot ne generic
|
||
STATIC_CLASS_CANNOT_HAVE_PARENT=Static class cannot be derived from other classes or implement interfaces
|
||
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
|
||
INTERFACE_PROPERTIES_CANNOT_BE_STATIC=Interface properties can not be static
|
||
ARRAY_RANK_CANNOT_BE_GREATER_32=Rank of multidimensional unsized array cannot be greater 32
|
||
CANNOT_GET_POINTER_TO_DISPOSE=Cannot get a pointer to intrinsic procedure Dispose
|
||
USING_{0}_NOT_ALLOWED_IN_THIS_CONTEXT=Using of {0} is not allowed in this context
|
||
OPERATORS_IN_INTERFACES_NOT_ALLOWED=Interfaces can not contain operators
|
||
STATIC_CLASS_CAN_NOT_BE_USED_AS_PARENT_SPECIFICATOR=Static classes can not be used as generic constraints
|
||
ENUM_MUST_HAVE_SEQUENCED_VALUES=Enum must have sequenced values
|
||
EXTERNAL_METHOD_CANNOT_BE_NESTED=Nested functions cannot be external
|
||
CANNOT_USE_RESERVED_ACCESSOR_NAMES=Can not declare class members with name reserved for property accessors
|
||
PARTIAL_CLASS_ATTRIBUTES_MISMATCH=Mismatch of partial class attributes
|
||
PARTIAL_CLASS_PARENTS_MISMATCH=Partial declarations must not specify different base classes
|
||
PARAMETER_{0}_HAS_TYPE_{1}_FROM_UNIT_{2}=Parameter {0} has type {1} from unit {2}. Add unit {2} to uses section.
|
||
PARTIAL_CLASS_PREDEFINITION_NOT_ALLOWED=Predefinitions of partial classes are not allowed
|
||
AMBIGUOUS_DELEGATES=Ambiguous delegates detected
|
||
EXPECTED_INTERFACE=Interface expected
|
||
EXPECTED_PROPERTY=Property expected
|
||
NON_PUBLIC_RECORD_CONSTRUCTORS_NOT_ALLOWED=Records can not have non-public default constructor
|
||
EXIT_BREAK_CONTINUE_IN_FINALLY_BLOCK=exit, break and continue are not allowed in finally
|
||
ANONYMOUS_DELEGATES_WITH_GENERIC_PARAMS_NOT_ALLOWED=Cannot deduce type of anonymous delegates with generic parameters. Declare the variable type explicitly.
|
||
%PREFIX%=COMPILATIONERROR_
|
||
UNIT_MODULE_EXPECTED_LIBRARY_FOUND=Unit expected, library found
|
||
ASSEMBLY_{0}_READING_ERROR=Error by reading assembly '{0}'
|
||
INVALID_ASSEMBLY_PATH=Assembly path has invalid characters
|
||
INVALID_PATH=The path has invalid characters
|
||
INCLUDE_NAMESPACE_IN_UNIT=Cannot use includenamespace in units
|
||
NAMESPACE_MODULE_EXPECTED=namespace expected |