- Joined
- Feb 27, 2011
- Messages
- 5,354
I'm learning to use IDA but I'm not familiar with it yet
Emj is the doman mahjong window, but all windows throw the same Exception when I trying to access their RemoteButton.Label.Text.
If I replace {button.Label?.Text} with {button.Label != null}, the code can run:
but it doesn’t make sense...
In the results of my mine, IsVaild always returns true.
Are you testing that in the console, a test file, or a compiled assembly?
Unless you manually upgraded the roslyn compiler the $ and ? is unsupported in the console/files.
But regardless of that, there can be buttons without labels, so check that button.isvalid and button.label.isvalid, as the button simply contains a label.