I’m interested in retrieving the names of local variables (and parameters) at run-time in a refactor-safe manner. I have the following extension method:
publ
AFAIK, it's an implementation detail.
However, I think you can bet it won't actually change.
I just tested in VS2012 RC and it works as expected - so you're safe for a couple of years at least.