Compiler Warning (level 2) CS1711

XML comment on 'type' has a typeparam tag for 'parameter', but there is no type parameter by that name

The documentation of a generic type includes a tag for the type parameter that has the wrong name.


The following code generates warning CS1711.

// cs1711.cs  
// compile with: /doc:cs1711.xml  
// CS1711 expected  
using System;  
///<typeparam name="WrongName">can be an int</typeparam>  
class CMain  
    public static void Main() { }