mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Update files from Source Depot changeset [SD:715912]
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user