コンパイラ エラー CS0647

更新 : 2007 年 11 月

エラー メッセージ

'attribute' 属性を作成時にエラーが発生しました --'reason'

次の例では CS0647 エラーが生成されます。

// CS0647.cs
using System.Runtime.InteropServices;

[Guid("z")]   // CS0647, incorrect uuid format.
// try the following line instead
// [Guid("00000000-0000-0000-0000-000000000001")]
public class MyClass
{
   public static void Main()
   {
   }
}