COBCH1817 Method group can only be used where a suitable delegate type can be inferred.

The program contains a method group used where no suitable delegate type can be inferred.

Resolution:

Correct the code; then recompile.

Example:

In the following example, the methods defined in the group do not accommodate the use of a delegate type.

       class-id a.
       method-id main static.
         display method M1
       end method.
       method-id M1 static.
       end method.
       end class.