COBCH2301 - COBCH2320
Lists the Syntax Checking error messages from COBCH2301 through COBCH2320.
COBCH2301 Attribute <attrib-name> not allowed on module
The specified attribute cannot be used on module.
COBCH2302 Attribute <attrib-name> not allowed on class
The specified attribute cannot be used on class.
COBCH2303 Attribute <attrib-name> not allowed on value type
The specified attribute cannot be used on value type.
COBCH2304 Attribute <attrib-name> not allowed on enum
The specified attribute cannot be used on enum.
COBCH2305 Attribute <attrib-name> not allowed on constructor
The specified attribute cannot be used on constructor.
COBCH2306 Attribute <attrib-name> not allowed on method
The specified attribute cannot be used on method.
COBCH2307 Attribute <attrib-name> not allowed on property
The specified attribute cannot be used on property.
COBCH2308 Attribute <attrib-name> not allowed on field
The specified attribute cannot be used on field.
COBCH2309 Attribute <attrib-name> not allowed on event
The specified attribute cannot be used on event.
COBCH2310 Attribute <attrib-name> not allowed on interface
The specified attribute cannot be used on interface.
COBCH2311 Attribute <attrib-name> not allowed on parameter
The specified attribute cannot be used on parameter.
COBCH2312 Attribute <attrib-name> not allowed on delegate
The specified attribute cannot be used on delegate.
COBCH2313 Attribute <attrib-name> not allowed on return value
The specified attribute cannot be used on return value.
COBCH2314 Attribute <attrib-name> not allowed on generic parameter
The specified attribute cannot be used on generic parameter.
COBCH2320 An EXTERNAL method requires the DllImport attribute
Parent topic:
Messages COBCH2301 - COBCH2400