Save some allocations by passing state into TaskAsyncHelper.Series.
Fixed fxcop errors.