Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VB -> C#: Comments lost in root of file #333

Closed
mrmonday opened this issue Jul 18, 2019 · 1 comment
Closed

VB -> C#: Comments lost in root of file #333

mrmonday opened this issue Jul 18, 2019 · 1 comment
Labels
good first issue VB -> C# Specific to VB -> C# conversion

Comments

@mrmonday
Copy link
Contributor

Input code

''' <summary>
''' Something
''' </summary>
Friend Class Program
    Public Shared Sub Main(ByVal args As String())
    End Sub
End Class

Erroneous output

namespace ConsoleApp4
{
    internal class Program
    {
        public static void Main(string[] args)
        {
        }
    }
}

Expected output

namespace ConsoleApp4
{
    /// <summary>
    /// Something
    /// </summary>
    internal class Program
    {
        public static void Main(string[] args)
        {
        }
    }
}

Details

Product in use: VS extension

Version in use: 6.9.0.0

@GrahamTheCoder GrahamTheCoder added the VB -> C# Specific to VB -> C# conversion label Jul 20, 2019
@RachelDavids
Copy link

Given the above input code I am getting the following (using v7.0.0.0 and VS15.9.15)
/// <summary> /// Something /// </summary> namespace ConsoleApp4 { internal class Program { public static void Main(string[] args) { } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue VB -> C# Specific to VB -> C# conversion
Projects
None yet
Development

No branches or pull requests

3 participants