ForEach

In my recent post about coding styles one particular thing provoked the majority of feedback and discussions: the ForEach extension method on IEnumerable<T>. Justin Etheredge has a good post about this method here. StackOverflow.com also has a good question: Why is there not a ForEach extension method on the IEnumerable interface? Note: If you’d like…

16

How to disable optimizations during debugging

Sooner or later you may run into a situation where you need to evaluate a local variable under debugger and all you get is this: "Cannot obtain value of local or argument ‘whatever’ as it is not available at this instruction pointer, possibly because it has been optimized away’. Well, it turns out there are…

4

Call Hierarchy Navigation in Visual Studio 2010

We’re currently designing a new IDE feature named Call Hierarchy. Essentially, it allows you to find places where a given method is called, which is similar to how Find All References currently works. However, unlike Find All References, the Call Hierarchy feature provides more deep understanding and more detailed information about calls. Invocation You can…

31