PowerShell/src/System.Management.Automation
Dan Travison 5488131931 remoting: Handle DLLImport failure of libpsrpclient (#5622)
Issue #4029 exposed two problems when failing to load libpsrpclient.

WSManAPIDataCommon.ctor was not identifying the binary that failed DLLImport; hindering diagnosability
PrioritySendDataCollection.Clear() would throw a NullReferenceException when called from the finalizer after an error path.
This change addresses both of the above:

Guard against null arrays in PrioritySendDataCollection.Clear() - called from finalizer in error paths.

Diagnosability: Log the DllNotFoundException in WSManAPIDataCommon ctor and also include it as the internal exception when throwing PSRemotingTransportException.
2018-01-04 13:08:33 -08:00
..
cimSupport Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
CoreCLR Redirect ETW logging to Syslog on Linux (#5144) 2017-11-06 08:32:29 -08:00
DscSupport PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
engine remoting: Handle DLLImport failure of libpsrpclient (#5622) 2018-01-04 13:08:33 -08:00
FormatAndOutput Clean Up Full CLR Code From Web Cmdlets (#5376) 2017-11-10 22:00:11 +04:00
help Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
logging Redirect ETW logging to Syslog on Linux (#5144) 2017-11-06 08:32:29 -08:00
namespaces Fix 'get-item -literalpath a*b' to return error if a*b doesn't actually exist (#5197) 2017-10-26 14:14:46 -07:00
resources Enable conversions from PSMethod to Delegate (#5287) 2017-12-01 18:40:35 -08:00
security Make 'AllSigned' execution policy require modules under $PSHome to be signed (#5511) 2017-11-28 17:34:37 -08:00
singleshell/config Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
utils Use explicit libpsl-native binary name for dllimport. (#5580) 2017-11-30 08:17:16 -08:00
AssemblyInfo.cs Refactor MSBuild project files by adding the common property file 'PowerShell.Common.props' (#4106) 2017-06-29 10:25:49 -07:00
PowerShellProperties.json Enable auto EOL on git repo side, fix some character encoding issues (#4912) 2017-09-25 15:14:39 -07:00
System.Management.Automation.csproj Add dependency nuget instructions for PowerShell.Core.Instrumentation resource binary (#5396) 2017-11-13 10:40:31 -08:00