summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-17 20:36:31 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-03-21 16:04:48 -0400
commitfdfb060795a0cca62bc98df97c28160160f4317a (patch)
tree1206bc6ad1f583e9887d85e3299d97a83f21cb4e /src
parentd61bb78b2add425eb385931d36ab4b54e115d870 (diff)
downloadSMAPI-fdfb060795a0cca62bc98df97c28160160f4317a.tar.gz
SMAPI-fdfb060795a0cca62bc98df97c28160160f4317a.tar.bz2
SMAPI-fdfb060795a0cca62bc98df97c28160160f4317a.zip
remove unused code (#767)
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Tests/SMAPI.Tests.csproj2
-rw-r--r--src/SMAPI.Toolkit/Framework/LowLevelEnvironmentUtility.cs7
-rw-r--r--src/SMAPI.Toolkit/Utilities/EnvironmentUtility.cs7
-rw-r--r--src/SMAPI.Web/SMAPI.Web.csproj2
4 files changed, 0 insertions, 18 deletions
diff --git a/src/SMAPI.Tests/SMAPI.Tests.csproj b/src/SMAPI.Tests/SMAPI.Tests.csproj
index 51fe32bf..00623b83 100644
--- a/src/SMAPI.Tests/SMAPI.Tests.csproj
+++ b/src/SMAPI.Tests/SMAPI.Tests.csproj
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
-
<PropertyGroup>
<AssemblyName>SMAPI.Tests</AssemblyName>
<RootNamespace>SMAPI.Tests</RootNamespace>
@@ -33,5 +32,4 @@
</ItemGroup>
<Import Project="..\..\build\common.targets" />
-
</Project>
diff --git a/src/SMAPI.Toolkit/Framework/LowLevelEnvironmentUtility.cs b/src/SMAPI.Toolkit/Framework/LowLevelEnvironmentUtility.cs
index b01d8b21..e635725c 100644
--- a/src/SMAPI.Toolkit/Framework/LowLevelEnvironmentUtility.cs
+++ b/src/SMAPI.Toolkit/Framework/LowLevelEnvironmentUtility.cs
@@ -89,13 +89,6 @@ namespace StardewModdingAPI.Toolkit.Framework
: "StardewValley.exe";
}
- /// <summary>Get whether the platform uses Mono.</summary>
- /// <param name="platform">The current platform.</param>
- public static bool IsMono(string platform)
- {
- return platform == nameof(Platform.Linux) || platform == nameof(Platform.Mac);
- }
-
/*********
** Private methods
diff --git a/src/SMAPI.Toolkit/Utilities/EnvironmentUtility.cs b/src/SMAPI.Toolkit/Utilities/EnvironmentUtility.cs
index 4ef578f7..62bd13cd 100644
--- a/src/SMAPI.Toolkit/Utilities/EnvironmentUtility.cs
+++ b/src/SMAPI.Toolkit/Utilities/EnvironmentUtility.cs
@@ -46,12 +46,5 @@ namespace StardewModdingAPI.Toolkit.Utilities
{
return LowLevelEnvironmentUtility.GetExecutableName(platform.ToString());
}
-
- /// <summary>Get whether the platform uses Mono.</summary>
- /// <param name="platform">The current platform.</param>
- public static bool IsMono(this Platform platform)
- {
- return LowLevelEnvironmentUtility.IsMono(platform.ToString());
- }
}
}
diff --git a/src/SMAPI.Web/SMAPI.Web.csproj b/src/SMAPI.Web/SMAPI.Web.csproj
index 6f9f50f0..6cf8207f 100644
--- a/src/SMAPI.Web/SMAPI.Web.csproj
+++ b/src/SMAPI.Web/SMAPI.Web.csproj
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
-
<PropertyGroup>
<AssemblyName>SMAPI.Web</AssemblyName>
<RootNamespace>StardewModdingAPI.Web</RootNamespace>
@@ -47,5 +46,4 @@
</ItemGroup>
<Import Project="..\..\build\common.targets" />
-
</Project>