Commit Graph
6 Commits
Author SHA1 Message Date
Marek Safar 52df2fce97 Warnings cleanup
svn path=/trunk/mcs/; revision=111915
2008-08-29 13:07:43 +00:00
Jb Evain e0e4361e63 cleanup System.ComponentModel for SL2
svn path=/trunk/mcs/; revision=109344
2008-07-31 13:49:49 +00:00
Jonathan Pobst 7f29c4c77e 2008-07-16 Jonathan Pobst <[email protected]>
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
2008-07-16 15:00:10 +00:00
Igor Zelmanovich f27dcc17d5 2007-05-08 Igor Zelmanovich <[email protected]>
* RunWorkerCompletedEventArgs.cs: added 'new' keyword, cause 
	UserState hides inherit property.


svn path=/trunk/mcs/; revision=76919
2007-05-08 11:25:07 +00:00
Atsushi Eno ce95277afa 2006-04-17 Atsushi Enomoto <[email protected]>
* BackgroundWorker.cs, RunWorkerCompletedEventArgs.cs :
	  cosmetic attribute fixes.


svn path=/trunk/mcs/; revision=59533
2006-04-17 11:14:07 +00:00
Atsushi Eno 574b90cd78 2006-04-17 Atsushi Enomoto <[email protected]>
* AsyncOperation.cs,
	  AsyncOperationManager.cs
	  BackgroundWorker.cs
	  DoWorkEventArgs.cs
	  DoWorkEventHandler.cs
	  RunWorkerCompletedEventArgs.cs
	  RunWorkerCompletedEventHandler.cs :
	  Initial implementation of AsyncOperation and BackgroundWorker.

	  (However I think it does not work as expected - it depends on
	  SynchronizationContext.Post() and I doubt it works fine - the
	  callback should run synchronously while it does not look so.)

	* System.dll.sources : Added AsyncOperation.cs,
	  AsyncOperationManager.cs, BackgroundWorker.cs,
	  DoWorkEventHandler.cs, DoWorkEventArgs.cs,
	  RunWorkerCompletedEventArgs.cs and
	  RunWorkerCompletedEventHandler.cs.


svn path=/trunk/mcs/; revision=59532
2006-04-17 10:56:45 +00:00