[mono-vb] Using Variables
John Lenz
jlenz2 at math.uiuc.edu
Wed Jan 13 02:21:59 EST 2010
Hi,
The following test code compiles fine with Microsoft's compiler but
fails with the mono vbnc.
Imports System
Public Class Main
Public Shared Sub Main()
Using fStream As IO.FileStream = IO.File.OpenWrite("test.txt"), _
writer As New IO.StreamWriter(fStream)
writer.WriteLine("hi")
End Using
End Sub
End Class
I took a look at the code. The attached patch fixes the problem but I
am not sure if it is the correct fix. I developed the patch against the
mono-basic-2.6.tar.gz tarball, but it applies cleanly to SVN.
Thanks,
John
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: using
Url: http://lists.ximian.com/pipermail/mono-vb/attachments/20100113/b09e30dd/attachment.pl
More information about the Mono-vb
mailing list