diff --git a/src/System.Management.Automation/help/CommandHelpProvider.cs b/src/System.Management.Automation/help/CommandHelpProvider.cs
index ce5a6911ee..ff96a56e85 100644
--- a/src/System.Management.Automation/help/CommandHelpProvider.cs
+++ b/src/System.Management.Automation/help/CommandHelpProvider.cs
@@ -717,7 +717,7 @@ namespace System.Management.Automation
{
UserDefinedHelpData userDefinedHelpData = UserDefinedHelpData.Load(node);
- ProcessUserDefineddHelpData(helpFileIdentifier, userDefinedHelpData);
+ ProcessUserDefinedHelpData(helpFileIdentifier, userDefinedHelpData);
}
}
}
@@ -730,7 +730,7 @@ namespace System.Management.Automation
///
/// PSSnapIn Name for the current help file.
///
- private void ProcessUserDefineddHelpData(string mshSnapInId, UserDefinedHelpData userDefinedHelpData)
+ private void ProcessUserDefinedHelpData(string mshSnapInId, UserDefinedHelpData userDefinedHelpData)
{
if (userDefinedHelpData == null)
return;
diff --git a/src/System.Management.Automation/help/HelpProviderWithCache.cs b/src/System.Management.Automation/help/HelpProviderWithCache.cs
index 94a7a1ce7d..5bf03d8083 100644
--- a/src/System.Management.Automation/help/HelpProviderWithCache.cs
+++ b/src/System.Management.Automation/help/HelpProviderWithCache.cs
@@ -135,11 +135,11 @@ namespace System.Management.Automation
else
{
int countOfHelpInfoObjectsFound = 0;
- WildcardPattern helpMatchter = WildcardPattern.Get(wildcardpattern, WildcardOptions.IgnoreCase);
+ WildcardPattern helpMatcher = WildcardPattern.Get(wildcardpattern, WildcardOptions.IgnoreCase);
foreach (string key in _helpCache.Keys)
{
- if ((!searchOnlyContent && helpMatchter.IsMatch(key)) ||
- (searchOnlyContent && ((HelpInfo)_helpCache[key]).MatchPatternInContent(helpMatchter)))
+ if ((!searchOnlyContent && helpMatcher.IsMatch(key)) ||
+ (searchOnlyContent && ((HelpInfo)_helpCache[key]).MatchPatternInContent(helpMatcher)))
{
countOfHelpInfoObjectsFound++;
yield return (HelpInfo)_helpCache[key];
diff --git a/src/System.Management.Automation/help/MamlUtil.cs b/src/System.Management.Automation/help/MamlUtil.cs
index 719a0c5d80..f4e97a74e6 100644
--- a/src/System.Management.Automation/help/MamlUtil.cs
+++ b/src/System.Management.Automation/help/MamlUtil.cs
@@ -101,7 +101,7 @@ namespace System.Management.Automation
// Add maml2 first since we are prepending.
// For maml2: Add as collection or single item. No-op if
- PSPropertyInfo propertyInfo2 = GetProperyInfo(maml2, parametersPath);
+ PSPropertyInfo propertyInfo2 = GetPropertyInfo(maml2, parametersPath);
var array = propertyInfo2.Value as Array;
if (array != null)
{
@@ -115,7 +115,7 @@ namespace System.Management.Automation
// Extend maml1 to make sure the property-path exists - since we'll be modifying it soon.
EnsurePropertyInfoPathExists(maml1, parametersPath);
// For maml1: Add as collection or single item. Do nothing if null or some other type.
- PSPropertyInfo propertyInfo1 = GetProperyInfo(maml1, parametersPath);
+ PSPropertyInfo propertyInfo1 = GetPropertyInfo(maml1, parametersPath);
List