E2123 PROCEDURE, FUNCTION, PROPERTY, or VAR expected (Delphi)
Go Up to Error and Warning Messages (Delphi) Index
The tokens that follow class in a member declaration inside a class type are limited to:
procedurefunctionpropertyvaroperator(only in case of Delphi records)