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#: Weird whitespace for comments #334

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

Comments

@mrmonday
Copy link
Contributor

commented Jul 18, 2019

Input code

Class Foo

End Class

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

Erroneous output

namespace ConsoleApp4
{
    class Foo
    {
    }

    /// <summary>

/// Something

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

Expected output

namespace ConsoleApp4
{
    class Foo
    {
    }

    /// <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

This comment has been minimized.

Copy link
Member

commented Jul 20, 2019

We should make sure this is covered in the project and solution tests when it's fixed. Though previously I found a similar issue caused by newline differences, which makes it annoying to test because git gets involved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.