CSharpRepl icon indicating copy to clipboard operation
CSharpRepl copied to clipboard

Overload help - incorrect parsing of custom xml doc (at least for example bellow)

Open kindermannhubert opened this issue 3 years ago • 1 comments

Version

last

What happened?

/// <summary>Description</summary>
int M() => 0;

Xml received from roslyn is

<member name="M:Script.M">
    <summary>Description</summary>
</member>

we do not expect <member> tag.

kindermannhubert avatar Aug 09 '22 17:08 kindermannhubert

Perhaps we could replace our parsing with Roslyn's internal one: https://github.com/dotnet/roslyn/blob/main/src/Workspaces/Core/Portable/Shared/Utilities/DocumentationComment.cs https://github.com/dotnet/roslyn/blob/main/src/Compilers/Core/Portable/InternalUtilities/DocumentationCommentXmlNames.cs https://github.com/dotnet/roslyn/blob/main/src/Workspaces/Core/Portable/Shared/Utilities/XmlFragmentParser.cs

kindermannhubert avatar Aug 11 '22 15:08 kindermannhubert