diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-02 16:38:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-08-02 16:38:51 -0400 |
commit | 8da88b8fe5b41739c5cd0df3280b9770fc7f10a4 (patch) | |
tree | aed3679d01ee546726851982862daac2bad38b41 /src/SMAPI/Framework/PerformanceMonitoring | |
parent | ba0dff819f2e65b16a0c7bc7a9233fdb101994d0 (diff) | |
parent | b96bcb21894257f06716e6a51102f74d2aba5178 (diff) | |
download | SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.tar.gz SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.tar.bz2 SMAPI-8da88b8fe5b41739c5cd0df3280b9770fc7f10a4.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI/Framework/PerformanceMonitoring')
-rw-r--r-- | src/SMAPI/Framework/PerformanceMonitoring/PerformanceCounterCollection.cs | 2 | ||||
-rw-r--r-- | src/SMAPI/Framework/PerformanceMonitoring/PerformanceMonitor.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/PerformanceMonitoring/PerformanceCounterCollection.cs b/src/SMAPI/Framework/PerformanceMonitoring/PerformanceCounterCollection.cs index 0bb78c74..29a06794 100644 --- a/src/SMAPI/Framework/PerformanceMonitoring/PerformanceCounterCollection.cs +++ b/src/SMAPI/Framework/PerformanceMonitoring/PerformanceCounterCollection.cs @@ -189,7 +189,7 @@ namespace StardewModdingAPI.Framework.PerformanceMonitoring public void ResetSource(string source) { foreach (var i in this.PerformanceCounters) - if (i.Value.Source.Equals(source, StringComparison.InvariantCultureIgnoreCase)) + if (i.Value.Source.Equals(source, StringComparison.OrdinalIgnoreCase)) i.Value.Reset(); } diff --git a/src/SMAPI/Framework/PerformanceMonitoring/PerformanceMonitor.cs b/src/SMAPI/Framework/PerformanceMonitoring/PerformanceMonitor.cs index dfc4f31a..3f2608aa 100644 --- a/src/SMAPI/Framework/PerformanceMonitoring/PerformanceMonitor.cs +++ b/src/SMAPI/Framework/PerformanceMonitoring/PerformanceMonitor.cs @@ -23,7 +23,7 @@ namespace StardewModdingAPI.Framework.PerformanceMonitoring private readonly Stopwatch InvocationStopwatch = new Stopwatch(); /// <summary>The underlying performance counter collections.</summary> - private readonly IDictionary<string, PerformanceCounterCollection> Collections = new Dictionary<string, PerformanceCounterCollection>(StringComparer.InvariantCultureIgnoreCase); + private readonly IDictionary<string, PerformanceCounterCollection> Collections = new Dictionary<string, PerformanceCounterCollection>(StringComparer.OrdinalIgnoreCase); /********* |