Shorten the IDs in /// comments
Opened this issue · 0 comments
cartermp commented
Today, the tool outputs the fully-qualified IDs in the ///
comments:
/// <summary>Initializes a new instance of the <see cref="T:System.Collections.ArrayList" /> class that is empty and has the specified initial capacity.</summary>
public ArrayList(int capacity) { ... }
We'll have to use the Roslyn Simplifier like this to shorten the ID so that the output looks more like this:
/// <summary>Initializes a new instance of the <see cref="ArrayList" /> class that is empty and has the specified initial capacity.</summary>
public ArrayList(int capacity) { ... }
This will require building the correct set of references when we generate the new syntax tree. An alternative approach is to build an MSBuildWorkspace
on the appropriate project file.