Hi, A slightly different version of the patch has been applied.
Thanks a lot! Rolf > -----Mensaje original----- > De: [email protected] [mailto:mono-vb- > [email protected]] En nombre de John Lenz > Enviado el: jueves, 08 de abril de 2010 20:02 > Para: [email protected] > Asunto: [mono-vb] Multi-dim arrays of structures > > Hi, > > The following code was giving me a 9997 error. > > Public Class Main > > Public Structure Foo > Public T As Integer > End Structure > > Public Shared Sub Main() > Dim b(,) As Boolean = { {True,False}, {False,False}} > System.Console.Out.WriteLine(b(0,1).ToString()) > > Dim f(2, 2) As Foo > f(1,2).T = 5 > > System.Console.WriteLine(f(1,2).T.ToString()) > End Sub > > End Class > > I looked at the IL produced by gmcs for equivalent C# code and found > gmcs was using a virtual call to the Address method. The attached > patch fixes the problem for me. > > Thanks, > John > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.801 / Virus Database: 271.1.1/2796 - Release Date: > 04/07/10 20:32:00 _______________________________________________ Mono-vb mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-vb
