summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModLoading
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-14 13:32:13 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-14 13:32:13 -0400
commit3a4758dfa63f0f8e03166bffa15e16f7995499d7 (patch)
tree6b54e3c25c12cd923ec12d74e713b71558d54faf /src/SMAPI/Framework/ModLoading
parenta9cadc7f32fd9fd244fc3e22c62a35e7c257c084 (diff)
downloadSMAPI-3a4758dfa63f0f8e03166bffa15e16f7995499d7.tar.gz
SMAPI-3a4758dfa63f0f8e03166bffa15e16f7995499d7.tar.bz2
SMAPI-3a4758dfa63f0f8e03166bffa15e16f7995499d7.zip
remove warning for mods which use `dynamic`
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r--src/SMAPI/Framework/ModLoading/AssemblyLoader.cs5
-rw-r--r--src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs3
2 files changed, 0 insertions, 8 deletions
diff --git a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
index a6756e0e..fb5ebc01 100644
--- a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
+++ b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs
@@ -414,11 +414,6 @@ namespace StardewModdingAPI.Framework.ModLoading
mod.SetWarning(ModWarning.UsesUnvalidatedUpdateTick);
break;
- case InstructionHandleResult.DetectedDynamic:
- template = $"{logPrefix}Detected 'dynamic' keyword ($phrase) in assembly {filename}.";
- mod.SetWarning(ModWarning.UsesDynamic);
- break;
-
case InstructionHandleResult.DetectedConsoleAccess:
template = $"{logPrefix}Detected direct console access ($phrase) in assembly {filename}.";
mod.SetWarning(ModWarning.AccessesConsole);
diff --git a/src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs b/src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs
index baffc50e..e3f108cb 100644
--- a/src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs
+++ b/src/SMAPI/Framework/ModLoading/InstructionHandleResult.cs
@@ -20,9 +20,6 @@ namespace StardewModdingAPI.Framework.ModLoading
/// <summary>The instruction is compatible, but affects the save serializer in a way that may make saves unloadable without the mod.</summary>
DetectedSaveSerializer,
- /// <summary>The instruction is compatible, but uses the <c>dynamic</c> keyword which won't work on Linux/macOS.</summary>
- DetectedDynamic,
-
/// <summary>The instruction is compatible, but references <see cref="ISpecializedEvents.UnvalidatedUpdateTicking"/> or <see cref="ISpecializedEvents.UnvalidatedUpdateTicked"/> which may impact stability.</summary>
DetectedUnvalidatedUpdateTick,