컴파일러 경고(수준 2) CS1711

업데이트: 2007년 11월

오류 메시지

'type'의 XML 주석에 'parameter'에 대한 형식 매개 변수 태그는 있지만 해당 이름을 가진 형식 매개 변수가 없습니다.
XML comment on 'type' has a typeparam tag for 'parameter', but there is no type parameter by that name

제네릭 형식의 문서에 잘못된 이름의 형식 매개 변수에 대한 태그가 포함되어 있습니다.

예제

다음 코드에서는 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() { }
}