From b44e91e565590308a19adad36581cc5e92b1dc0f Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 1 Sep 2016 13:55:34 +0000 Subject: [PATCH] spelling: locals in src/System.Management.Automation/singleshell --- .../singleshell/config/MshSnapinInfo.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs index 5711e6e32..d79b4aa1c 100644 --- a/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs +++ b/src/System.Management.Automation/singleshell/config/MshSnapinInfo.cs @@ -501,7 +501,7 @@ namespace System.Management.Automation // PS V3 snapin information is stored under 1 registry key.. // so no need to iterate over twice. - Collection filterdVersions = new Collection(); + Collection filteredVersions = new Collection(); foreach (string version in versions) { string temp = PSVersionInfo.GetRegisteryVersionKeyForSnapinDiscovery(version); @@ -510,13 +510,13 @@ namespace System.Management.Automation temp = version; } - if (!filterdVersions.Contains(temp)) + if (!filteredVersions.Contains(temp)) { - filterdVersions.Add(temp); + filteredVersions.Add(temp); } } - foreach (string version in filterdVersions) + foreach (string version in filteredVersions) { if (string.IsNullOrEmpty(version)) {