spelling: debug, tracer, ...

This commit is contained in:
Josh Soref committed 2016-08-29 18:06:24 +00:00
1 parent d3f4eac6c1
commit 2f980faac5
8 files changed
+21 -21

No files matched your search

@@ -1223,7 +1223,7 @@ namespace System.Management.Automation
resolvedPath = null;
CommandDiscovery.discoveryTracer.TraceError(
"The relative path with wildcard resolved to mutiple paths. {0}",
"The relative path with wildcard resolved to multiple paths. {0}",
path);
}
else
@@ -2969,7 +2969,7 @@ namespace System.Management.Automation
}
/// <summary>
/// This method is necessary becausean overridden property in a specific class derived from a generic one will
/// This method is necessary because an overridden property in a specific class derived from a generic one will
/// appear twice. The second time, it should be ignored.
/// </summary>
private static bool PropertyAlreadyPresent(List<PropertyInfo> previousProperties, PropertyInfo property)
@@ -5187,7 +5187,7 @@ namespace System.Management.Automation
Dbg.Assert(typeParameter != null, "Caller should verify typeParameter != null");
Dbg.Assert(
_typeParametersOfTheMethod.Contains(typeParameter),
"Caller should verify that typeParameter is actuall a generic type parameter of the method");
"Caller should verify that typeParameter is actually a generic type parameter of the method");
#endif
ICollection<Type> inferenceCandidates =
@@ -5284,7 +5284,7 @@ namespace System.Management.Automation
#if DEBUG
Dbg.Assert(
_typeParametersOfTheMethod.Contains(parameterType),
"Only uninstantinated generic type parameters encountered in real life, should be the ones coming from the method");
"Only uninstantiated generic type parameters encountered in real life, should be the ones coming from the method");
#endif
HashSet<Type> inferenceCandidates = _typeParameterIndexToSetOfInferenceCandidates[parameterType.GenericParameterPosition];
@@ -4670,7 +4670,7 @@ namespace System.Management.Automation
providerPath,
context);
s_tracer.WriteLine("sourcIsContainer = {0}", sourceIsContainer);
s_tracer.WriteLine("sourceIsContainer = {0}", sourceIsContainer);
if (sourceIsContainer)
{
@@ -624,32 +624,32 @@ namespace System.Management.Automation.Remoting
}
catch (ArgumentException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
catch (PathTooLongException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
catch (FileNotFoundException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
catch (IOException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
catch (System.Security.SecurityException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
catch (UnauthorizedAccessException e)
{
s_tracer.TraceWarning("Not able to change curent working directory to {0}: {1}",
s_tracer.TraceWarning("Not able to change current working directory to {0}: {1}",
applicationBase, e.Message);
}
}