CodeConverter
CodeConverter copied to clipboard
C# -> VB: XML Documentation is parsed with some spaces missing
Input code
/// <summary></summary>
/// <param name="Variable">My variable</param>
/// <exception cref="Exception">My Exception occures on <paramref name="Variable"/></exception>
Erroneous output
''' <summary></summary>
''' <paramname="Variable">My variable</param>
''' <exceptioncref="Exception">My Exception occures on <paramrefname="Variable"/></exception>
Expected output
''' <summary></summary>
''' <param name="Variable">My variable</param>
''' <exception cref="Exception">My Exception occures on <paramref name="Variable"/></exception>
The problem is that there are spaces missing on every occurrence of a property after a keyword.
Like: param name=
-> paramname=
Details
- Product in use: both
- Version in use: Extension 8.1.6.0
- Using .NET 4.8
- I'm trying to fix this issue tomorrow myself - if this issue exists for every user
Thanks for the report. There are a bunch of general hints in the contributing file. I'd suggest turning the bug report example into a test case and then debug into some of the relevant methods in https://github.com/icsharpcode/CodeConverter/tree/master/CodeConverter/VB/Trivia
Let me know if you want any help 😄
Thanks for the pointers, sadly I weren't able to give it a shot on friday. I think I'll take a look today or tomorrow. I'll let you know if I run into any problems :)