Closed 0xced closed 3 years ago
Making it easier to step into the Execute method with a debugger.
Execute
Also using a direct cast to ITask instead of as ITask because an InvalidCastException is easier to diagnose than a NullReferenceException several instructions later.
ITask
as ITask
InvalidCastException
NullReferenceException
Huh, I don’t remember why I used reflection here.
Yeah, that seemed unnecessary. Thanks for merging all my pull requests so quickly. 😃
Making it easier to step into the
Execute
method with a debugger.Also using a direct cast to
ITask
instead ofas ITask
because anInvalidCastException
is easier to diagnose than aNullReferenceException
several instructions later.