在我的代码中,我添加了条件[email protected]"$this.Text"
在行resxKey = d.Key.ToString();
(见下文)的断点。
当我在没有任何条件的情况下添加此断点并手动检测该值时,变量resxKey
等于"$this.Text"
。但是,如果我添加条件[email protected]"$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 [email protected]"$this.Text"
条件和折点在哪里? – Kaf 2013-03-17 07:55:44