mono/mono — pull request #323 by crazyjncsu (2012-06-13 14:46:10+00:00)
Title: Fixed execution of parallel PageAsyncTasks

Execution of parallel PageAsyncTasks was broken.

compare line 2272 of Page.cs with line 2330. Both are executing and using the same callback, but they provide different state. For serially-registered tasks it worked, for parallel it did not, because the callback casted the state to a PageAsyncTask, which was wrong. I changed line 2272 to be consistent with 2330, and now it works.