From 188ae4e7bfe81d6209e1c794216a3189347e01f8 Mon Sep 17 00:00:00 2001 From: Dan Moseley Date: Mon, 4 Jan 2021 15:01:34 -0800 Subject: [PATCH] Improve msg for corrupted perf counters (#46535) * Improve msg for corrupted perf counters * Remove machine name --- .../src/Resources/Strings.resx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/src/Resources/Strings.resx b/src/libraries/System.Diagnostics.PerformanceCounter/src/Resources/Strings.resx index 4aa5413..369fae2 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/src/Resources/Strings.resx +++ b/src/libraries/System.Diagnostics.PerformanceCounter/src/Resources/Strings.resx @@ -120,13 +120,13 @@ Invalid value '{1}' for parameter '{0}'. - Cannot load Category Help data because an invalid index '{0}' was read from the registry. + Cannot load Category Help data because an invalid index '{0}' was read from the registry. Performance counters on the machine may need to be repaired. - Cannot load Counter Name data because an invalid index '{0}' was read from the registry. + Cannot load Counter Name data because an invalid index '{0}' was read from the registry. Performance counters on the machine may need to be repaired. - Cannot load Performance Counter data because an unexpected registry key value type was read from '{0}'. + Cannot load Performance Counter data because an unexpected registry key value type was read from '{0}'. Performance counters on the machine may need to be repaired. Instance names used for writing to custom counters must be 127 characters or less. -- 2.7.4