So there I was, playing with the Slider Puzzle sample that comes with the .NET Framework 2.0 SDK (this sample is for the Compact Framework), which is a C# sample, and it runs fine, Though I did find a bug in the MS code, even though I don't know C# (BoardForm.CS line 107, should be @"/" instead of @"\" apparently).
Anyhow, I was playing around with the "Convert buffer C# to VB.NET". The Tile.cs and Puzzle.cs files converted fine, then I tried to convert the Boardform.cs file. This is the error that came up. As the exception window indicated, I figured you guys might like to know about it!
.NET Version : 2.0.50727.42
OS Version : Microsoft Windows NT 5.1.2600 Service Pack 2
Current culture : English (United States)
Working Set Memory : 55656kb
SharpDevelop Version : 2.0.0.724
Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.NRefactory.Parser.CSharpToVBNetConvertVisitor.ConvertForStatement(ForStatement forStatement)
at ICSharpCode.NRefactory.Parser.CSharpToVBNetConvertVisitor.ConvertForStatements()
at ICSharpCode.NRefactory.Parser.CSharpToVBNetConvertVisitor.Visit(TypeDeclaration td, Object data)
at ICSharpCode.NRefactory.Parser.AST.TypeDeclaration.AcceptVisitor(IASTVisitor visitor, Object data)
at ICSharpCode.NRefactory.Parser.AST.AbstractNode.AcceptChildren(IASTVisitor visitor, Object data)
at ICSharpCode.NRefactory.Parser.AbstractASTVisitor.Visit(NamespaceDeclaration namespaceDeclaration, Object data)
at ICSharpCode.NRefactory.Parser.AST.NamespaceDeclaration.AcceptVisitor(IASTVisitor visitor, Object data)
at ICSharpCode.NRefactory.Parser.AST.AbstractNode.AcceptChildren(IASTVisitor visitor, Object data)
at ICSharpCode.NRefactory.Parser.AbstractASTVisitor.Visit(CompilationUnit compilationUnit, Object data)
at ICSharpCode.SharpDevelop.Commands.VBConvertBuffer.Run()
at ICSharpCode.Core.MenuCommand.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)