Explorar o código

Interim Update

Frank van den Bos %!s(int64=2) %!d(string=hai) anos
pai
achega
f322887c70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;