Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I tried to compile sample code from MSDN (legacy VB6 style): http://msdn.microsoft.com/en-us/library/ms973849.aspx (Listing 1)
The code compiles in Visual Studio but not with Mono.
Resume ExitHere produces the following error:
Error VBNC30205: Expected end of statement. (VBNC30205)
On Error GoTo HandleErrors
' Do something in here that
' might raise an error.
' Perform cleanup code here.
' Disregard errors in this
' cleanup code.
On Error Resume Next
' Perform cleanup code.
Select Case Err.Number
' Add cases for each
' error number you want to trap.
' Add "last-ditch" error handler.
Console.WriteLine("Error: " & Err.Description)