Don't throw an exception when task array is empty in WaitAll and throw in case a...
authorJérémie Laval <jeremie.laval@gmail.com>
Sun, 13 Mar 2011 17:29:59 +0000 (18:29 +0100)
committerJérémie Laval <jeremie.laval@gmail.com>
Mon, 14 Mar 2011 11:47:53 +0000 (12:47 +0100)
commitf6985b47a63ac811a9730fda8ae76bb341a363f5
treed11369461682478f6b86d1fea6100196f7bb3db5
parent5372c31b606c2128d98e174cffe433bc94ce1cf8
Don't throw an exception when task array is empty in WaitAll and throw in case a null element is encountered in it.

Fix for #679183
mcs/class/corlib/System.Threading.Tasks/Task.cs