COBCH1821 - COBCH1840
Lists the Syntax Checking error messages from COBCH1821 through COBCH1840.
COBCH1821 An extension method must have at least one parameter
The program defines an extension method that has no parameters. This is not allowed.
COBCH1822 Cannot INVOKE a cast expression
The program contains a cast expression (AS type-name) that is the object of an INVOKE statement. This is not allowed.
COBCH1833 Cannot have instance of STATIC class, or FINAL class without constructor
The program declares an instance of a static class, or of a final class that has no constructor. This is not allowed.
COBCH1834 class-name does not implement indexer indexer-signature of abstract class abstract-class-name
The program contains a non-abstract class of
class-name
that is declared as inheriting an abstract class of
abstract-class-name
that includes an abstract indexer of
indexer-signature
, and that indexer is not overridden by the class. This is not allowed.
COBCH1835 class-name does not have public implementation of get accessor for property property-name of interface interface-name
The program contains the class specified, which is declared as implementing an interface including a property with a getter, and that getter is not implemented by the class.
COBCH1836 class-name does not have public implementation of set accessor for property property-name of interface interface-name
The program contains the class specified, which is declared as implementing an interface including a property with a setter, and that setter is not implemented by the class.
COBCH1837 class-name does not have public implementation of get accessor for indexer indexer-signature of interface interface-name
The specified class is declared as implementing an interface including an indexer with a getter, and that getter is not implemented by the class.
COBCH1838 class-name does not have public implementation of set accessor for indexer indexer-signature of interface interface-name
The specified class is declared as implementing an interface including an indexer with a setter, and that setter is not implemented by the class.
COBCH1839 <type-name> does not implement get accessor for property <property-name> of abstract class <type-name>
COBCH1840 <type-name> does not implement set accessor for property <property-name> of abstract class <type-name>
Parent topic:
Messages COBCH1801 - COBCH1900