15 references to GetPInvokeErrorMessage
Microsoft.AspNetCore.Server.HttpSys (1)
_generated\10\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)
_generated\8\Windows.Win32.HRESULT.g.cs (1)
87 return string.Format("{0} {1}", ToString(), global::System.Runtime.InteropServices.Marshal.GetPInvokeErrorMessage((int)this.Value));
Microsoft.DotNet.HotReload.Watch (1)
Utilities\ProcessUtilities.cs (1)
32return $"{Marshal.GetPInvokeErrorMessage(error)} (code {error})";
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\StartupHook.cs (1)
156return $"{Marshal.GetPInvokeErrorMessage(error)} (code {error})";
System.IO.FileSystem.AccessControl (1)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
85return Marshal.GetPInvokeErrorMessage(errorCode);
System.Net.Sockets (1)
src\runtime\src\libraries\Common\src\System\Net\Sockets\SocketExceptionFactory.cs (1)
12return Marshal.GetPInvokeErrorMessage(nativeSocketError) + " " + endPoint.ToString();
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (1)
33public Win32Exception(int error) : this(error, Marshal.GetPInvokeErrorMessage(error))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
1373return GetPInvokeErrorMessage(GetLastPInvokeError());
System.Private.Windows.Core (1)
_generated\120\Windows.Win32.HRESULT.g.cs (1)
87 return string.Format("{0} {1}", ToString(), global::System.Runtime.InteropServices.Marshal.GetPInvokeErrorMessage((int)this.Value));
System.Security.Principal.Windows (5)
System\Security\Principal\SID.cs (1)
612throw new ArgumentException(Marshal.GetPInvokeErrorMessage(error), "sidType/domainSid");
System\Security\Principal\WindowsIdentity.cs (4)
759throw new SecurityException(Marshal.GetPInvokeErrorMessage(hr)); 823throw new SecurityException(Marshal.GetPInvokeErrorMessage(hr)); 849return new SecurityException(Marshal.GetPInvokeErrorMessage((int)win32ErrorCode)); 951throw new SecurityException(Marshal.GetPInvokeErrorMessage(dwErrorCode));
System.Threading.AccessControl (1)
src\runtime\src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
85return Marshal.GetPInvokeErrorMessage(errorCode);