Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan@xamarin.com>2013-07-29 22:59:35 +0400
committerAlan McGovern <alan@xamarin.com>2013-07-29 22:59:35 +0400
commitbec0b7f5ed2bd908adf39be0d910a4b413a6df98 (patch)
tree8512ca938ef934f0ae0203aa3dedbc11a92a3be7
parenteed5c806ad2d52cc1c58cdf62ad0c6b22b0f7de8 (diff)
Ensure we always propagate the right return value
-rwxr-xr-xsrc/framework/Internal/Reflect.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/framework/Internal/Reflect.cs b/src/framework/Internal/Reflect.cs
index da4d1d4..d526ae8 100755
--- a/src/framework/Internal/Reflect.cs
+++ b/src/framework/Internal/Reflect.cs
@@ -234,8 +234,7 @@ namespace NUnit.Framework.Internal
if (result is System.Threading.Tasks.Task)
((System.Threading.Tasks.Task) result).Wait ();
- else
- return result;
+ return result;
}
catch(Exception e)
{