mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
spelling: locals in src/Microsoft.PowerShell.Commands.Utility
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user