COBCH1701 - COBCH1720
Lists the Syntax Checking error messages from COBCH1701 through COBCH1720.
COBCH1701 A CONSTANT item cannot be a group
The CONSTANT keyword has been specified on a group item.
COBCH1702 The value of CONSTANT item <field1> involves circular definition
A circular definition has been created in the value of a CONSTANT.
COBCH1703 CLSCompliant(false) not needed for <member> as assembly does not have CLSCompliant attribute
The attribute CLSCompliant(true) is not set for the containing assembly, and therefore the attribute CLSCompliant(false) is not required for any of its members.
COBCH1704 CLSCompliant(true) not allowed for <member> as assembly does not have CLSCompliant attribute
The attribute CLSCompliant(true) is not set for the containing assembly, and therefore this element (and other elements in the assembly) cannot claim to be CLS compliant.
COBCH1705 Parameter type <type> of <member> is not CLS compliant
A parameter in the member marked as CLS compliant is not using a compliant type.
COBCH1706 Member type <type> of <member> is not CLS compliant
The member marked as CLS compliant is not using a compliant type.
COBCH1707 Member <member> is not CLS compliant because it differs from another member only by case
A member that is marked as CLS compliant has the same name as another member in the assembly, differing only by case.
COBCH1708 More than one method <method-name> exists in <class-name> requiring parameter truncation
Method invocation has identified more than one possible target method, and those targets may result in parameter truncation.
COBCH1710 <class-name> has no member with name <member-name>
A member has been referenced that does not exist.
COBCH1711 <class-name> has no visible method <method-name> with <number> parameter(s)
The specified type has no method with the specified name and number of parameters.
COBCH1712 <class-name> has no visible instance method <method-name> with <number> parameter(s)
The specified type has no instance method with the specified name and number of parameters.
COBCH1713 <class-name> has no visible static method <method-name> with <number> parameter(s)
The specified type has no static method with the specified name and number of parameters.
COBCH1714 <type-name> has no visible constructor with <number> parameter(s)
The specified type has no constructor with the specified number of parameters.
COBCH1715 Best visible overload found in <type-name> is <member-name> which has invalid parameter <param-num>
The specified type has no method with matching parameters. The error message shows the method with the best match, and indicates the parameter that fails to match.
COBCH1716 Best visible instance overload found in <type-name> is <method-name> which has invalid parameter <param-num>
The specified type has no instance method with matching parameters. The error message shows the method with the best match, and indicates the parameter that fails to match.
COBCH1717 Best visible static overload found in <type-name> is <member-name> which has invalid parameter <param-num>
The specified type has no static method with matching parameters. The error message shows the method with the best match, and indicates the parameter that fails to match.
COBCH1718 Best visible constructor in <type-name> is <member-name> which has invalid parameter <param-num>
The specified type has no constructor with matching parameters. The error message shows the constructor with the best match, and indicates the parameter that fails to match.
COBCH1719 Must specify an EVENT
The target of an
attach
or
detach
statement must refer to an event.
Parent topic:
Messages COBCH1701 - COBCH1800