8 references to GetPInvokeErrorMessage
Microsoft.AspNetCore.Server.HttpSys (1)
Windows.Win32.HRESULT.g.cs (1)
87
return string.Format("{0} {1}", ToString(), global::System.Runtime.InteropServices.Marshal.
GetPInvokeErrorMessage
((int)this.Value));
Microsoft.AspNetCore.Server.IIS (1)
Windows.Win32.HRESULT.g.cs (1)
87
return string.Format("{0} {1}", ToString(), global::System.Runtime.InteropServices.Marshal.
GetPInvokeErrorMessage
((int)this.Value));
Microsoft.AspNetCore.Shared.Tests (1)
Windows.Win32.HRESULT.g.cs (1)
87
return string.Format("{0} {1}", ToString(), global::System.Runtime.InteropServices.Marshal.
GetPInvokeErrorMessage
((int)this.Value));
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)
1371
return
GetPInvokeErrorMessage
(GetLastPInvokeError());