XML documentation: <see> tag with a few typical type parameters

I am trying to use XML documentation for class members, and in a specific case, I would like to refer to a generic type using a tag. The problem here is that a warning is generated when several parameters of the type type are specified. It was easy enough to find how to refer to a generic type with a single parameter:

<see cref="Func{int}" />

However, when you try something like this, a warning appears:

<see cref="Func{int, bool}" />

It seems like I'm using the wrong syntax for links with more than one type parameter, or such links are not currently supported in XML documents for C #. Oddly enough, I cannot find any information about this in MSDN or in Sandcastle docs (which I use to compile documentation, and also complain about syntax). Any clarifications here would be appreciated.

+3
source share
1 answer

Use .NET names, not C # aliases:

<see cref="Func{Int32, Boolean}" />
+9
source

Source: https://habr.com/ru/post/1702899/


All Articles