[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-vb
Subject:    Re: [mono-vb] Unexpected error when compiling vb class with
From:       "Rolf Bjarne Kvinge" <rolflists () ya ! com>
Date:       2007-03-10 12:10:19
Message-ID: 025d01c7630d$12d349b0$3879dd10$ () com
[Download RAW message or body]



> -----Original Message-----
> From: mono-vb-bounces@lists.ximian.com [mailto:mono-vb-
> bounces@lists.ximian.com] On Behalf Of Tony Yu
> Sent: martes, 06 de marzo de 2007 8:21
> To: mono-vb@lists.ximian.com
> Subject: [mono-vb] Unexpected error when compiling vb class with
> Property method.
> 
> 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@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
> 
This is a bug in the compiler, please file a bug report here:
http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%3A%20Compilers

Rolf


_______________________________________________
Mono-vb mailing list
Mono-vb@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-vb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic