私のコードでは、resxKey==@"$this.Text"
行の条件でブレークポイントを追加していますresxKey = d.Key.ToString();
(以下を参照)。
このブレークポイントを条件なしで追加し、値を手動で検出すると、変数resxKey
は に等しくなり"$this.Text"
ます。ただし、条件を追加するresxKey==@"$this.Text"
と、行がヒットすることはありません。
なぜこれが起こっているのか誰にも教えてもらえますか?
resxReader = new ResXResourceReader(resxPathName);
string resxKey = "";
string resxValue = "";
foreach (DictionaryEntry d in resxReader)
{
int i;
resxKey = d.Key.ToString(); // I add a breakpoint at this line
} //with condtion resxKey==@"$this.Text"