更新 : 2007 年 11 月
エラー メッセージ
'construct' の XML コメントで、cref 属性 'name' の構文が正しくありません。
たとえば <exception> タグ内などで cref タグに渡される文字列が、現在のビルド環境内では使用できないメンバを参照しています。cref タグに渡す文字列は、メンバまたはフィールドの構文的に正しい名前であることが必要です。
詳細については、「ドキュメント コメントとして推奨されるタグ」を参照してください。
次の例では警告 CS1574 が生成されます。
// CS1574.cs
// compile with: /W:1 /doc:x.xml
using System;
/// <exception cref="System.Console.WriteLin">An exception class.</exception> // CS1574
// instead, uncomment and try the following line
// /// <exception cref="System.Console.WriteLine">An exception class.</exception>
class EClass : Exception
{
}
class TestClass
{
public static void Main()
{
try
{
}
catch(EClass)
{
}
}
}