IFDEF in interface

There is a problem with class method used in interface and in IFDEF. Without IFDEF everything works fine. If I add IFDEF error raise

(E425) Element is not allowed in an interface type

ClassLibrary1.zip (5.7 KB)

Thanks, logged as bugs://80181

bugs://80181 got closed with status fixed.