spelling: locals in src/Microsoft.PowerShell.Commands.Utility

This commit is contained in:
Josh Soref committed 2016-08-30 02:48:16 +00:00
1 parent 281f2a3ea1
commit b2dfcf3835
5 files changed
+12 -12

No files matched your search

@@ -361,15 +361,15 @@ namespace Microsoft.PowerShell.Commands
PSObject result = new PSObject();
if (matchedProperties.Count != 0)
{
HashSet<string> propertNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
HashSet<string> propertyNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
foreach (PSNoteProperty noteProperty in matchedProperties)
{
try
{
if (!propertNames.Contains(noteProperty.Name))
if (!propertyNames.Contains(noteProperty.Name))
{
propertNames.Add(noteProperty.Name);
propertyNames.Add(noteProperty.Name);
result.Properties.Add(noteProperty);
}
else