diff --git a/src/Ellie.Marmalade/Ellie.Marmalade.csproj b/src/Ellie.Marmalade/Ellie.Marmalade.csproj
index b01a911..db33025 100644
--- a/src/Ellie.Marmalade/Ellie.Marmalade.csproj
+++ b/src/Ellie.Marmalade/Ellie.Marmalade.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/src/EllieBot.Coordinator/EllieBot.Coordinator.csproj b/src/EllieBot.Coordinator/EllieBot.Coordinator.csproj
index af90db3..b4f964d 100644
--- a/src/EllieBot.Coordinator/EllieBot.Coordinator.csproj
+++ b/src/EllieBot.Coordinator/EllieBot.Coordinator.csproj
@@ -13,7 +13,7 @@
-
+
diff --git a/src/EllieBot.Coordinator/Services/CoordinatorRunner.cs b/src/EllieBot.Coordinator/Services/CoordinatorRunner.cs
index de870ca..780afc4 100644
--- a/src/EllieBot.Coordinator/Services/CoordinatorRunner.cs
+++ b/src/EllieBot.Coordinator/Services/CoordinatorRunner.cs
@@ -417,8 +417,7 @@ namespace EllieBot.Coordinator
{
lock (locker)
{
- if (shardId >= _shardStatuses.Length)
- throw new ArgumentOutOfRangeException(nameof(shardId));
+ ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(shardId, _shardStatuses.Length);
return _shardStatuses[shardId];
}