I would like to retrieve the XML documentation of elements (like classes, properties) from my C# code using Roslyn. However, the only relevant method I found is GetDocumentationCommentXml, which just gives me the whole XML, but not the parsed elements.
In another SO post someone asked the same question and got an answer. But that question is 3 years old and the API changed: The suggested GetDocumentationComment method does not exist anymore.