Apply patches from Jordan Callicoat (MonkeeSage at gmail dot com)
* AsyncCompleteEventArgs.cs: RaiseExceptionIfNecessary should throw
TargetInvocationException if there was an exception, and IOE if
the operation was cancelled.
* BackgroundWorker.cs: Do not call RunWorkerCompleted from CancelAsync,
setting cancel_pending to true is enough.
* RunWorkerCompletedEventArgs.cs: Raise exceptions when user tries
to access the Result if there are any exceptions.
[Fixes bugs #328830 and 373153]
2008-07-16 Jonathan Pobst <[email protected]>
* BackgroundWorkerTest.cs: Add tests for bugs 328830 and 373153.
svn path=/trunk/mcs/; revision=108039