Update files from Source Depot changeset [SD:700586]

Corresponds to 84837459913bb00660964d19ea07f5e0c7b4b442 in psl-monad.
This commit is contained in:
PowerShell Team
2016-04-28 13:53:04 -07:00
committed by Andrew Schwartzmeyer
parent a7ba3395b9
commit 3998ce06ba
40 changed files with 1631 additions and 484 deletions
@@ -24,6 +24,7 @@ using Parser = System.Management.Automation.Language.Parser;
using ScriptBlock = System.Management.Automation.ScriptBlock;
using Token = System.Management.Automation.Language.Token;
using System.Collections.ObjectModel;
using Microsoft.PowerShell.Telemetry.Internal;
#if CORECLR
// Use stub for SecurityZone.
@@ -266,7 +267,7 @@ namespace Microsoft.PowerShell.Commands
}
set
{
if (value == null)
if (string.IsNullOrWhiteSpace(value))
{
BaseMaximumVersion = null;
}
@@ -1752,6 +1753,8 @@ namespace Microsoft.PowerShell.Commands
if (null != foundModule)
{
SetModuleBaseForEngineModules(foundModule.Name, this.Context);
TelemetryAPI.ReportModuleLoad(foundModule);
}
}
}