xsharp.eu • Why does this NOT give You cannot access the instance member error (XS9112)
Page 1 of 1

Why does this NOT give You cannot access the instance member error (XS9112)

Posted: Fri May 05, 2023 2:35 pm
by ic2
After I sent my latest X# solution to Kees he got 13 errors XS9112: You cannot access the instance member 'Assembly'

E.g. on this line:

Code: Select all

iNewRow:=max(Self:dataGridViewEmails:CurrentRow.Index-1,0)
The setting "Allow DOT for instance variable" is not set for me.

Why didn't I get this error? (using X# 2.14)

Dick

Why does this NOT give You cannot access the instance member error (XS9112)

Posted: Fri May 05, 2023 2:55 pm
by wriedmann
Hi Dick,
please see below:
05-05-2023_16-54-55.png
05-05-2023_16-54-55.png (80.63 KiB) Viewed 365 times
Wolfgang

Why does this NOT give You cannot access the instance member error (XS9112)

Posted: Fri May 05, 2023 4:21 pm
by ic2
Hello Wolfgang,

Good catch.

I am using 2.14 because Winforms could get lost in 2.15. Probably in combination with some specific installed VS plugins but I didn't want to takte the risk.

Dick