views:

50

answers:

0

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?