Browse Source

Interim Update

Frank van den Bos 2 năm trước cách đây
mục cha
commit
f322887c70
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      InABox.Mobile/InABox.Mobile.Shared/MobileUtils.cs

+ 1 - 1
InABox.Mobile/InABox.Mobile.Shared/MobileUtils.cs

@@ -49,7 +49,7 @@ namespace InABox.Mobile
             if (!flag && !source.Any<Exception>())
                 return false;
             if (source.Count<Exception>() == 1)
-                throw source[0];
+                throw source.First();
             if (source.Count<Exception>() > 1)
                 throw new AggregateException((IEnumerable<Exception>)source);
             return flag;