I need some education on how Refactor -> Extract Method is supposed to work.
If I select the following code and chose Extract Method, why can't I specify
a return value?
if (hours < 0)
throw new ArgumentException("Hours must be greater than or
equal to zero",
if (hours > MAXHOURS)
throw new ArgumentException("Hours above company limit!",
I'm trying to pull out these two blocks of code to a boolean method, but
the Return Value portion of the Extract Method dialog isn't available. What
am I missing?