diff options
Diffstat (limited to 'mcs/class/corlib/System/AggregateException.cs')
-rw-r--r-- | mcs/class/corlib/System/AggregateException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/corlib/System/AggregateException.cs b/mcs/class/corlib/System/AggregateException.cs index 145319acdd..c0df741af1 100644 --- a/mcs/class/corlib/System/AggregateException.cs +++ b/mcs/class/corlib/System/AggregateException.cs @@ -163,7 +163,7 @@ namespace System public override Exception GetBaseException () { - if (innerExceptions == null || innerExceptions.Count == 0) + if (innerExceptions == null || innerExceptions.Count != 1) return this; return innerExceptions[0].GetBaseException (); } |