4 references to GetHRForWin32Error
mscorlib (4)
system\security\principal\windowsidentity.cs (4)
852
if (safeTokenHandle == null && hr ==
GetHRForWin32Error
(Win32Native.ERROR_NO_TOKEN)) {
868
hr =
GetHRForWin32Error
(Marshal.GetLastWin32Error());
915
if (hr ==
GetHRForWin32Error
(Win32Native.ERROR_ACCESS_DENIED)) {
920
if (hr ==
GetHRForWin32Error
(Win32Native.ERROR_NO_TOKEN)) {