spelling: debug, assert...

This commit is contained in:
Josh Soref committed 2016-08-28 21:46:20 +00:00
1 parent ceda3cfac4
commit 857def02cc
21 files changed
+41 -41

No files matched your search

@@ -1389,9 +1389,9 @@ namespace Microsoft.PowerShell.Commands
Dictionary<string, string> alias2resolvedCommandName,
PSObject remoteCommandInfo)
{
Dbg.Assert(name2commandMetadata != null, "name2commandMetadata paremeter != null");
Dbg.Assert(alias2resolvedCommandName != null, "alias2resolvedCommandName paremeter != null");
Dbg.Assert(remoteCommandInfo != null, "remoteCommandInfo paremeter != null");
Dbg.Assert(name2commandMetadata != null, "name2commandMetadata parameter != null");
Dbg.Assert(alias2resolvedCommandName != null, "alias2resolvedCommandName parameter != null");
Dbg.Assert(remoteCommandInfo != null, "remoteCommandInfo parameter != null");
string resolvedCommandName;
CommandMetadata commandMetadata = RehydrateCommandMetadata(remoteCommandInfo, out resolvedCommandName);
@@ -1455,8 +1455,8 @@ namespace Microsoft.PowerShell.Commands
private void AddRemoteTypeDefinition(IList<ExtendedTypeDefinition> listOfTypeDefinitions, PSObject remoteTypeDefinition)
{
Dbg.Assert(listOfTypeDefinitions != null, "listOfTypeDefinitions paremeter != null");
Dbg.Assert(remoteTypeDefinition != null, "remoteTypeDefinition paremeter != null");
Dbg.Assert(listOfTypeDefinitions != null, "listOfTypeDefinitions parameter != null");
Dbg.Assert(remoteTypeDefinition != null, "remoteTypeDefinition parameter != null");
ExtendedTypeDefinition typeDefinition = ConvertTo<ExtendedTypeDefinition>("Get-FormatData", remoteTypeDefinition);
if (!IsSafeTypeDefinition(typeDefinition))
@@ -371,7 +371,7 @@ namespace Microsoft.PowerShell.Commands
{
CommandInfo commandInfo;
this.GetCommandInfoAndModules(out commandInfo, out _importedModules);
Diagnostics.Assert(commandInfo != null, "GetCommandInfoAndModules would throw a termninating error/exception");
Diagnostics.Assert(commandInfo != null, "GetCommandInfoAndModules would throw a terminating error/exception");
try
{
@@ -376,7 +376,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
Dbg.Assert(false, "Either RunspaceConfiguration or InitiaSessionState must be non-null for Update-Typedata to work");
Dbg.Assert(false, "Either RunspaceConfiguration or InitialSessionState must be non-null for Update-Typedata to work");
}
}
}
@@ -494,7 +494,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
Dbg.Assert(false, "Either RunspaceConfiguration or InitiaSessionState must be non-null for Update-Typedata to work");
Dbg.Assert(false, "Either RunspaceConfiguration or InitialSessionState must be non-null for Update-Typedata to work");
}
}
}
@@ -887,7 +887,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
Dbg.Assert(false, "Either RunspaceConfiguration or InitiaSessionState must be non-null for Update-Typedata to work");
Dbg.Assert(false, "Either RunspaceConfiguration or InitialSessionState must be non-null for Update-Typedata to work");
}
}
@@ -1069,7 +1069,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
Dbg.Assert(false, "Either RunspaceConfiguration or InitiaSessionState must be non-null for Update-FormatData to work");
Dbg.Assert(false, "Either RunspaceConfiguration or InitialSessionState must be non-null for Update-FormatData to work");
}
}
}
@@ -1289,7 +1289,7 @@ namespace Microsoft.PowerShell.Commands
}
else
{
Dbg.Assert(false, "Either RunspaceConfiguration or InitiaSessionState must be non-null for Remove-Typedata to work");
Dbg.Assert(false, "Either RunspaceConfiguration or InitialSessionState must be non-null for Remove-Typedata to work");
}
}
}