[mono-vb] Re: [Mono-devel-list] MSVB conversion from C# to Mbas status
Rafael Teixeira
Rafael Teixeira <monoman@gmail.com>
Tue, 22 Feb 2005 14:15:49 -0300
Dennis and Jambu,
Nice to hear from you both...
Specifically about
> 1) C# has no notion of Modules. And most of the MSVB namespace is
> composed of Modules. (Class Status page should help here. Just look
> for all classes that have an extra private constructor defined ....)
It may be easier to track the MANDATORY
Microsoft.VisualBasic.CompilerServices.StandardModuleAttribute that
all .NET classes that are to be understood as a vb module by
vbc/mbas/bmcs must sport.
It is easy to look at them like in this snippet from Strings.cs:
<snip>
using Microsoft.VisualBasic.CompilerServices;
namespace Microsoft.VisualBasic
{
[StandardModule]
[StructLayout(LayoutKind.Auto)]
public class Strings
{
...
</snip>
Thanks for the hard work guys,
--
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes.
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.