Explorar el Código

Interim Update

Frank van den Bos hace 2 años
padre
commit
f322887c70
Se han modificado 1 ficheros con 1 adiciones y 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;