summaryrefslogtreecommitdiff
path: root/src/SMAPI/Metadata
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/Metadata
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/Metadata')
-rw-r--r--src/SMAPI/Metadata/InstructionMetadata.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/SMAPI/Metadata/InstructionMetadata.cs b/src/SMAPI/Metadata/InstructionMetadata.cs
index 9b56f963..4d512546 100644
--- a/src/SMAPI/Metadata/InstructionMetadata.cs
+++ b/src/SMAPI/Metadata/InstructionMetadata.cs
@@ -67,7 +67,6 @@ namespace StardewModdingAPI.Metadata
/****
** detect code which may impact game stability
****/
- yield return new TypeFinder("System.Runtime.CompilerServices.CallSite", InstructionHandleResult.DetectedDynamic);
yield return new FieldFinder(typeof(SaveGame).FullName!, new[] { nameof(SaveGame.serializer), nameof(SaveGame.farmerSerializer), nameof(SaveGame.locationSerializer) }, InstructionHandleResult.DetectedSaveSerializer);
yield return new EventFinder(typeof(ISpecializedEvents).FullName!, new[] { nameof(ISpecializedEvents.UnvalidatedUpdateTicked), nameof(ISpecializedEvents.UnvalidatedUpdateTicking) }, InstructionHandleResult.DetectedUnvalidatedUpdateTick);