Is there any way to cause Visual Studio 2010 to break while debugging when the argument of Debug.Assert evaluates to false?
Debug.Assert
false
Example: in my
Can't you just throw an exception when !double.IsInfinity(x) instead of using an assertion?
!double.IsInfinity(x)