diff --git a/src/Tgstation.Server.Host/Program.cs b/src/Tgstation.Server.Host/Program.cs
index ab0b58943d..fa83a096a9 100644
--- a/src/Tgstation.Server.Host/Program.cs
+++ b/src/Tgstation.Server.Host/Program.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
@@ -14,7 +14,6 @@ namespace Tgstation.Server.Host
///
static class Program
{
-#pragma warning disable SA1401 // Fields must be private
///
/// The expected host watchdog .
///
@@ -24,7 +23,6 @@ namespace Tgstation.Server.Host
/// The to use.
///
internal static IServerFactory ServerFactory = Application.CreateDefaultServerFactory();
-#pragma warning restore SA1401 // Fields must be private
///
/// Entrypoint for the
diff --git a/src/Tgstation.Server.Host/Swarm/SwarmService.cs b/src/Tgstation.Server.Host/Swarm/SwarmService.cs
index 3cf7efc2b4..d52f3fb2b6 100644
--- a/src/Tgstation.Server.Host/Swarm/SwarmService.cs
+++ b/src/Tgstation.Server.Host/Swarm/SwarmService.cs
@@ -975,7 +975,7 @@ namespace Tgstation.Server.Host.Swarm
var request = new HttpRequestMessage(
httpMethod,
- swarmServer.Address + subroute.Substring(1));
+ swarmServer.Address + subroute[1..]);
request.Headers.Add(SwarmConstants.ApiKeyHeader, swarmConfiguration.PrivateKey);
request.Headers.UserAgent.Clear();
diff --git a/tests/Tgstation.Server.Host.Tests/Components/Repository/TestRepositoryFactory.cs b/tests/Tgstation.Server.Host.Tests/Components/Repository/TestRepositoryFactory.cs
index 43b4c66124..a57e899721 100644
--- a/tests/Tgstation.Server.Host.Tests/Components/Repository/TestRepositoryFactory.cs
+++ b/tests/Tgstation.Server.Host.Tests/Components/Repository/TestRepositoryFactory.cs
@@ -28,7 +28,7 @@ namespace Tgstation.Server.Host.Components.Repository.Tests
[TestMethod]
public void TestInMemoryRepoCreation()
{
- new LibGit2RepositoryFactory(Mock.Of>()).CreateInMemory().Dispose();
+ new LibGit2RepositoryFactory(Mock.Of>()).CreateInMemory();
}
[TestMethod]