MSIR.0788 Subroutines cannot have a datatype
This is a compilation error for a class or structure definition. Class functions and properties require a datatype, that is, an Is clause (although the keyword Is is optional). A class subroutine may not have a datatype.