xsharp.eu • Beta 8: error XS1520: Method must have a return type
Page 1 of 1

Beta 8: error XS1520: Method must have a return type

Posted: Sat Jan 12, 2019 8:47 am
by wriedmann
Hello,

in Beta 8 I have a strange compile error:

Code: Select all

error XS1520: Method must have a return type
This error gives no file, no application and no path.
According to the message, the error is occurring on line 1, column 13318.

It seems to have to do with partial classes, because first I had it two times, the first on a constructor on a partial class.

The application is a migrated VO application using the Vulcan classes because I need access to DBFCDX ( I cannot use ADS local server because it does not work on when called from Remote Desktop).

Wolfgang

Beta 8: error XS1520: Method must have a return type

Posted: Sat Jan 12, 2019 9:38 am
by Karl-Heinz
Hi Wolfgang,

it´s a known 2.0.0.8 problem. Currently the partial class names are case sensitive.

https://www.xsharp.eu/forum/public-prod ... pile-error

regards
Karl-Heinz

Beta 8: error XS1520: Method must have a return type

Posted: Sat Jan 12, 2019 9:42 am
by wriedmann
Hi Karl-Heinz,

thank you very much!
Unfortunately this modules are containing a lot of class declarations, so I have to check them all.
The bad thing is that the error message returns no place where the error is occurring.

Wolfgang