> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mono-vb- > [EMAIL PROTECTED] On Behalf Of Tony Yu > Sent: martes, 06 de marzo de 2007 8:21 > To: [email protected] > 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 > >[EMAIL PROTECTED]:$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 [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
