Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (25 sloc) 715 Bytes
title ms.date f1_keywords helpviewer_keywords ms.assetid
Compiler Warning (level 2) CS1711
07/20/2015
CS1711
CS1711
0021275a-43eb-4295-929e-bb3283577a11

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.

Example

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() { }  
}  
You can’t perform that action at this time.