I have a WPF test and converted one of the steps to code. My project is configured to use Visual Basic as coding language and the error is on line 46 of the Pages.g.vb file - BC30201: Expression expected.
There are no issues if the project is configured to use C#.