5 references to GetPInvokeErrorMessage
System.Net.Sockets (1)
src\libraries\Common\src\System\Net\Sockets\SocketExceptionFactory.cs (1)
12
return Marshal.
GetPInvokeErrorMessage
(nativeSocketError) + " " + endPoint.ToString();
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (1)
33
public Win32Exception(int error) : this(error, Marshal.
GetPInvokeErrorMessage
(error))
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (2)
61
throw new OutOfMemoryException(Marshal.
GetPInvokeErrorMessage
(errorCode));
64
throw new ArgumentException(Marshal.
GetPInvokeErrorMessage
(errorCode));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1271
return
GetPInvokeErrorMessage
(GetLastPInvokeError());