私は私の場合はVisual StudioのコミュニティへのVisual Studio 2012から2013 を切り替えたとき、私はそれは私が書いていない巨大なファイル(25K行、だった一つのプロジェクトでは、このエラーを得ました)はList<string[]>
がコレクションの初期設定によって初期化されていました。
このような何か:
public class Class
{
public List<string[]> BigList
{
get
{
return new List<string[]>()
{
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
.
.
.
.
.
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"}
}
}
}
}
私はstring[][]
にそれを変更し、プロジェクトが
public class Class
{
public string[][] BigList
{
get
{
return new string[][]
{
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
.
.
.
.
.
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"},
new string[]{"foo","bar"}
}
}
}
}
コンパイルを妨げているかもしれないアドオン/拡張機能が有効になっていますか? – drharris
私は現在、「Go To Definition」と「Productivity Power Tools」がインストールされ、有効にされ、更新されています。 –
私は約6以上のプロジェクト/ソリューションを扱うことができません...私はあなたのために多くの痛みを感じる。 –