[mono-vb] Unexpected error when compiling vb class with Property	method.
    Tony Yu 
    tony2u at gmail.com
       
    Tue Mar  6 02:20:49 EST 2007
    
    
  
Hi,
   When I have compiled the simple class via vbnc under mono 2.0, the
follow error returned. I guessed that should be normally compiled under
MS.NET 2.0. Any hint?
Public Class PropTestClass
    Private poActiveObject As Object = Nothing
    Public Property ActiveObject() As Object
        Get
            Return poActiveObject
        End Get
        Set(ByVal aoValue As Object)
            poActiveObject = aoValue
        End Set
    End Property
End Class
>tony2u at tony-laptop:$vbnc /out:Infrastructure.Base.dll /target:library
PropTestClass.vb
VisualBasic.Net Compiler version 0.0.0.4805
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
Unexpected error: An error message should have been shown: 'Name
'aoValue' could not be resolved, PropTestClass.vb (10,37)'
Compilation took 00:00:02.2359150
Regards!
Tony
    
    
More information about the Mono-vb
mailing list