开发者

"Go To Definition" is greyed out but I can find variable via search in same file

I'm debugging c# good in vs2008 SP1, .NET Framework 3.5.

In a .cs file, I have this code:

internal protected bool Refreshing{  
        get { return refreshing;}  
        set { refreshing = value;}  
}  

elsewhere, in the same file, I have this statement:

if (Refreshing) return;  

When I am debugging and right click "Refreshing"开发者_开发百科,

"Go To Definition" is greyed out.

It's not just properties for which "Go To Definition" is greyed out;

it's methods too and probably everything else.

It seems to be "Go To Definition" is especially useful

during debugging; more so than when just looking at code.

Any ideas why?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜