[Mono-bugs] [Bug 431988] New: VBNC30124 error for Property without ReadOnly keyword
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 3 10:29:35 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=431988
Summary: VBNC30124 error for Property without ReadOnly keyword
Product: Mono: Compilers
Version: unspecified
Platform: i686
OS/Version: Linux
Status: NEW
Keywords: build
Severity: Normal
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: abatishchev at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
Hello!
An error VBNC30124: CHANGEME occurs when there is a property only with Get but
without ReadOnly keyword
Here is code example:
Public Class Test
Property Foo1() As Boolean
Get
Return True
End Get
End Property
End Class
Monodevelop output:
vbnc -out:"/home/godfather/Dev/Test/bin/Debug/Test.dll" -nologo -utf8output
-target:library "/home/godfather/Dev/Test/Application.vb"
"/home/godfather/Dev/Test/AssemblyInfo.vb"
/home/godfather/Dev/Test/Application.vb (5,10) : Error VBNC30124: CHANGEME
Visual Studio 2008 in this case said: Error 14 Property without a 'ReadOnly' or
'WriteOnly' specifier must provide both a 'Get' and a 'Set'.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list