Bug 46950 - vbnc does not understand "Auto-Implemented" Properties (aka single-line properties)
Summary: vbnc does not understand "Auto-Implemented" Properties (aka single-line prope...
Alias: None
Product: Compilers
Classification: Mono
Component: VisualBasic ()
Version: 4.0.0
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Rolf Bjarne Kvinge [MSFT]
Depends on:
Reported: 2016-11-14 19:41 UTC by PH
Modified: 2018-05-22 12:36 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description PH 2016-11-14 19:41:25 UTC
For code such as:

Public Property Title As String
Public Property ShortName As String

Instead of compiling, the compiler fatal errors with:

Error VBNC90019: Expected 'End'. (VBNC90019) (libDashboard)
Error VBNC30205: End of statement expected. (VBNC30205) (libDashboard)
Error VBNC30124: Property without a 'ReadOnly' or 'WriteOnly' specifier must provide both a 'Get' and a 'Set'. (VBNC30124) (libDashboard)

Linux Arch 4.4.27-1-lts #1 SMP Sat Oct 22 17:17:59 CEST 2016 x86_64 GNU/Linux
extra/mono [installed]
extra/mono-addins 1.1-1 [installed]
extra/mono-basic 4.0.1-1 [installed]
Comment 1 Rolf Bjarne Kvinge [MSFT] 2018-05-22 12:36:06 UTC
Moved to: https://github.com/mono/mono-basic/issues/46