reference to generic type in XML code comment [duplicate]

Solution 1:

Here's a citation of a no longer available, good article on documentation:

The compiler team decided to improve this by allowing an alternate syntax to refer to generic types and methods in doc comments. Specifically, instead of using the open and close angle-brackets it’s legal to use the open and close curly braces. The example above would then become:

class Program
{
    /// <summary>
    /// DoSomething takes a <see cref="List{T}"/>
    /// </summary>
    void DoSomething(List<int> al) { }
}

So, in your case:

///<see cref="name.space.typename{T}(paramtype)"/>

Here are a couple of newer references from Microsoft:

  • XML Documentation Comments (C# Programming Guide)
  • Documenting your code with XML comments

Solution 2:

Use curly brackets:

///<see cref="name.space.typename{T}(paramtype)">