The error is not in that code: it cannot generate it, so it's likely to be in the code for the class that
is derived from:
- which we have no access to.
Start with Visual Studio: double click on then error message in the error pane, and it will take you directly to the line it thinks caused the problem. Since CS1026 is a "missing close bracket" it should be on that line, but it may be caused by code several lines above ion some cases. Start by looking at the colours of the code: are keyboards correctly highlighted in blue? Or is all the code red for example? The latter might indicate that you may have missed a closing double quotes earlier:
myMethod(@"a parameter string);
string s = "hello";
--- CS1026 could be thrown here.
If you still can't spot it, copy'n'paste the line of code plus a dozen or so lines above and below it, copy'n'paste the errors(s) and indicate exactly which line the problem(s) show up on. We can't do anything without access to the code!