コンパイラ エラー CS0739

更新 : 2007 年 11 月

エラー メッセージ

'型名' が TypeForwardedToAttribute と重複しています。

アセンブリは、外部型に複数の TypeForwardedToAttribute を指定できません。

このエラーを解決するには

使用例

次のコードは CS0739 を生成します。

// CS0739.cs
// CS0739
// Assume that a class Test is declared in a separate dll
// with a namespace that is named cs739dll.
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(cs739dll.Test))]
namespace cs0739
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}

参照

参照

TypeForwardedToAttribute