Update files from Source Depot changeset [SD:715912]

Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
This commit is contained in:
PowerShell Team authored and Andrew Schwartzmeyer committed 2016-06-15 18:02:03 -07:00
1 parent d9b11669ce
commit 8ee6d6ca43
74 files changed
+1376 -1336

No files matched your search

@@ -3843,6 +3843,7 @@ namespace Microsoft.PowerShell.Commands
/// <summary>
/// get a list of store names at the specified location
/// </summary>
[ArchitectureSensitive]
internal static List<string> GetStoreNamesAtLocation(StoreLocation location)
{
Security.NativeMethods.CertStoreFlags locationFlag =
@@ -83,6 +83,7 @@ namespace Microsoft.PowerShell.Commands
/// digital signature.
/// </summary>
[Parameter(Mandatory = true, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, ParameterSetName = "ByContent")]
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
public string[] SourcePathOrExtension
{
get
@@ -622,4 +623,4 @@ namespace Microsoft.PowerShell.Commands
return SigningOption.AddFullCertificateChainExceptRoot;
}
}
}
}
@@ -131,6 +131,7 @@ namespace Microsoft.PowerShell
///
/// <remarks> </remarks>
///
[ArchitectureSensitive]
internal static string GetStringFromSecureString(SecureString ss)
{
IntPtr p = Marshal.SecureStringToGlobalAllocUnicode(ss);