Solution :
While my project was in the debug mode, my solution was not. So when I changed it, everything worked for me.
OR
I had this same issue when I was using the VS 2010. My solution configuration has a (Debug) selected. I resolved this by simply unchecking a Optimize Code property under a project properties. Follow it Project (right Click)=> Properties => Build (tab) => uncheck Optimize code
OR
In the VS2013 go to: Tools -> Options -> Debugging -> General and enable the 'Use managed compatibility mode'. This disables your new function evaluation behavior.
Hope above solutions help you in resolving your issue.