summaryrefslogtreecommitdiff
path: root/src/SMAPI/Program.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-26 19:49:17 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-01-26 19:49:17 -0500
commit22a0a32b6d959946bfd80bf0ca9796378f36e0cd (patch)
tree4dc91461e2a06148c975d12d46986a6a9648e1ff /src/SMAPI/Program.cs
parent1b905205a3073c56e29c46b5e57c4a9cb2ca5832 (diff)
downloadSMAPI-22a0a32b6d959946bfd80bf0ca9796378f36e0cd.tar.gz
SMAPI-22a0a32b6d959946bfd80bf0ca9796378f36e0cd.tar.bz2
SMAPI-22a0a32b6d959946bfd80bf0ca9796378f36e0cd.zip
refactor performance counter code
This commit performs some general refactoring, including... - avoid manually duplicating the event list; - rework the 'is important' event flag; - remove the new packages (Cyotek.Collections can be replaced with built-in types, and System.ValueTuple won't work in the Mono version used on Linux/Mac); - improve performance; - minor cleanup.
Diffstat (limited to 'src/SMAPI/Program.cs')
-rw-r--r--src/SMAPI/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Program.cs b/src/SMAPI/Program.cs
index 933590d3..c26ae29a 100644
--- a/src/SMAPI/Program.cs
+++ b/src/SMAPI/Program.cs
@@ -11,7 +11,7 @@ using StardewModdingAPI.Framework;
using StardewModdingAPI.Toolkit.Utilities;
[assembly: InternalsVisibleTo("SMAPI.Tests")]
-[assembly: InternalsVisibleTo("ConsoleCommands")]
+[assembly: InternalsVisibleTo("ConsoleCommands")] // for performance monitoring commands
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // Moq for unit testing
namespace StardewModdingAPI
{