컴파일러 경고(수준 1) CS1584

업데이트: 2007년 11월

오류 메시지

'member'의 XML 주석에 잘못된 cref 특성 'invalid_syntax' 구문이 있습니다.
XML comment on 'member' has syntactically incorrect cref attribute 'invalid_syntax'

문서 주석에 대한 태그로 전달한 매개 변수 중 하나의 구문이 잘못되었습니다. 자세한 내용은 문서 주석에 대한 권장 태그(C# 프로그래밍 가이드)를 참조하십시오.

예제

다음 샘플에서는 CS1584 경고가 발생하는 경우를 보여 줍니다.

// CS1584.cs
// compile with: /W:1 /doc:CS1584.xml
/// <remarks>Test class</remarks>
public class Test
{
   /// <remarks>Called in <see cref="Test.Mai()n"/>.</remarks>   // CS1584
   // try the following line instead
   // /// <remarks>Called in <see cref="Test.Main()"/>.</remarks>
   public static void Test2() {}

   /// <remarks>Main method</remarks>
   public static void Main() {}
}