Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Type parameter 'type parameter' has no matching typeparam tag in the XML comment on 'type' (but other type parameters do)
The documentation of a generic type is missing a typeparam tag. For more information, see <typeparam>.
Example
The following code generates warning CS1712. To resolve this error, add a typeparam tag for the type parameter S.
// CS1712.cs
// compile with: /doc:cs1712.xml
using System;
class Test
{
public static void Main() {}
/// <param name="j"> This is the j parameter.</param>
/// <typeparam name="T"> This is the T type parameter.</typeparam>
public void bar<T,S>(int j) {} // CS1712
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.