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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to