An object-oriented programming language developed by Microsoft that can be used in .NET.
Hi @Peter Volz ,
Starting in VS2012, the compiler does not allow methods to contain both "GoTo on error" statements and lambda or query expressions.
If you don't consider replacing the exception-handling code that uses the "Goto statement on error" with Try... Capture the statement, then you can only compile this code in VS2010.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.