Expressions breaking code when compiled using VS2015 Update 1
问题 After installing Visual Studio 2015 Update 1 on my machine I saw that some of my unit tests failed. After doing some investigation I was able to reduce the problem to this line of code: Expression<Func<GameObject, bool>> expression = t => t.X == 0 && t.Y == 0 && t.GameObjectType == GameObjectType.WindMill; When hovering over the expression variable the results were different in the versions of Visual Studio: VS 2015: VS 2015 Update 1: The logic that was doing the comparison for the enums